code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss // Colors -$color-black: #000; -$color-gray: #939393; -$color-pink: #e02177; -$color-red: #D32F2F; -$color-green: #7AC824; -$color-orange: #F6A623; -$color-yellow: #FFD600; -$color-white: #fff; -$color-almost-white: #FAFAFA; -$color-cornflower-blue: #4A90...
11
diff --git a/lib/ferryman/lib/ferryman.js b/lib/ferryman/lib/ferryman.js @@ -741,7 +741,10 @@ class Ferryman { } - if (self.settings.DATAHUB_BASE_URL && passedCfg.nodeSettings.idLinking) { + if (self.settings.DATAHUB_BASE_URL + && passedCfg.nodeSettings + && passedCfg.nodeSettings.idLinking + ) { log.info('In onData ID...
9
diff --git a/semantics-3.0/Semantics.hs b/semantics-3.0/Semantics.hs @@ -445,11 +445,11 @@ processTransaction tx state contract = let inputs = txInputs tx in case fixInterval (txInterval tx) state of IntervalTrimmed env fixState -> case applyAllInputs env fixState contract inputs of - ApplyAllSuccess warnings effects n...
10
diff --git a/app/scripts/TiledPlot.js b/app/scripts/TiledPlot.js @@ -932,7 +932,7 @@ class TiledPlot extends React.Component { } } } else { - if (this.props.tracks.center[0].uid == uid) { + if (this.props.tracks.center && this.props.tracks.center.length && this.props.tracks.center[0].uid == uid) { trackObj.is2d = true;...
1
diff --git a/packages/yoga/src/Feedback/web/StyledFeedback.jsx b/packages/yoga/src/Feedback/web/StyledFeedback.jsx @@ -18,7 +18,10 @@ export const TextContainer = styled.div` }, }) => css` + max-width: 100%; + @media (min-width: 769px) { max-width: ${feedback.text.maxWidth}px; + } `}} `;
1
diff --git a/token-metadata/0x5c4ac68aAc56eBe098D621Cd8CE9F43270Aaa355/metadata.json b/token-metadata/0x5c4ac68aAc56eBe098D621Cd8CE9F43270Aaa355/metadata.json "symbol": "BXIOT", "address": "0x5c4ac68aAc56eBe098D621Cd8CE9F43270Aaa355", "decimals": 6, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/package.json b/package.json "memleak": "node benchmark/memleak-test.js", "proto": "pbjs -t static-module -w commonjs -o src/serializers/proto/packets.proto.js src/serializers/proto/packets.proto", "thrift": "thrift -gen js:node -o src\\serializers\\thrift src\\serializers\\thrift\\packets.thrift", - "test"...
1
diff --git a/templates/master/index.js b/templates/master/index.js @@ -112,8 +112,7 @@ module.exports={ "Type":"String", "Description":"Email address for the admin user. Will be used for loging in and for setting the admin password. This email will receive the temporary password for the admin user.", "AllowedPattern":"...
2
diff --git a/packages/server/public/saltcorn.js b/packages/server/public/saltcorn.js @@ -184,7 +184,7 @@ var logged_errors = []; function globalErrorCatcher(message, source, lineno, colno, error) { if (logged_errors.includes(message)) return; logged_errors.push(message); - var data = { message, stack: error.stack || ""...
11
diff --git a/package.json b/package.json "react-addons-test-utils": "^15.4.2", "react-dom": "^15.4.0", "reify": "^0.4.4", + "source-map-loader": "^0.2.1", "spy": "^1.0.0", "tap-browser-color": "^0.1.2", "tape": "^4.5.1",
0
diff --git a/redactions/partnerDetail.js b/redactions/partnerDetail.js @@ -4,15 +4,23 @@ import 'isomorphic-fetch'; /** * CONSTANTS */ -const GET_PARTNER_SUCCESS = 'explore/GET_PARTNER_SUCCESS'; -const GET_PARTNER_ERROR = 'explore/GET_PARTNER_ERROR'; -const GET_PARTNER_LOADING = 'explore/GET_PARTNER_LOADING'; +const GE...
6
diff --git a/README.md b/README.md @@ -21,12 +21,20 @@ A Plugin for the popular java web framework struts2 to provide ajax functionalit * Add the Tag-Lib to your JSP `<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>` * Place the [HeadTag Head Tag] inside your html head tags +### versions and compatibility +| `struts2...
3
diff --git a/test/Air/AirParser.test.js b/test/Air/AirParser.test.js @@ -10,7 +10,7 @@ const xmlFolder = __dirname + '/../FakeResponses/Air'; describe('#AirParser', function () { describe('AIR_LOW_FARE_SEARCH()', () => { it('should test parsing of low fare search request', () => { - const uParser = new ParserUapi('air:...
14
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -2237,15 +2237,14 @@ class Avatar { const { animationTrackName: k, dst, - isTop, + // isTop, + isPosition, } = spec; - if (isTop) { const isCombo = Array.isArray(this.useAnimation); const useAnimationName = isCombo ? this.useAnimation[this.useAnimationIndex] : thi...
0
diff --git a/js/bitmex.js b/js/bitmex.js @@ -1539,7 +1539,7 @@ module.exports = class bitmex extends Exchange { const side = this.safeStringLower (trade, 'side'); // price * amount doesn't work for all symbols (e.g. XBT, ETH) let fee = undefined; - const feeCostString = Precise.stringDiv (this.safeString (trade, 'execC...
13
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml @@ -72,7 +72,6 @@ jobs: BUILD_NUMBER: ${{ github.run_number }} run: | echo "Creating release number ${BUILD_NUMBER}" - b:929 929 x: y:${GITHUB_RUN_NUMBER} 929 929 gh: 929 929 echo "ENV=development" >> $GITHUB_ENV echo "BRANCH=${{ github.ref }}" ...
3
diff --git a/src/utils/innerSliderUtils.js b/src/utils/innerSliderUtils.js @@ -45,24 +45,3 @@ export const slidesOnRight = spec => ( ? Math.floor((spec.slidesToShow - 1) / 2) + 1 + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : spec.slidesToShow ) - -export const elementInViewport = el => { - var top = el.offsetTop; - va...
2
diff --git a/src/pages/auth.js b/src/pages/auth.js import React, { Component } from "react"; import PropTypes from "prop-types"; +import { Router } from "routes"; class AuthPage extends Component { static propTypes = { - url: PropTypes.object.isRequired - } - - state = { - isAuthenticating: true + router: PropTypes.obj...
3
diff --git a/karma.conf.js b/karma.conf.js @@ -181,6 +181,7 @@ module.exports = (config) => { } else { options.concurrency = 1; options.captureTimeout = 300000; + options.browserNoActivityTimeout = 300000; options.reporters.push("BrowserStack"); options.customLaunchers = { "Chrome 26 on Windows 7": {
12
diff --git a/js/views/Map.js b/js/views/Map.js @@ -193,7 +193,13 @@ function points(el, props) { var intersects = raycaster.intersectObjects(pointGroups, false); if (intersects.length) { - var i = intersects[0].index; + var i; + if (twoD) { + // lower index is always on the bottom + i = _.maxWith(intersects, (a, b) => ...
7
diff --git a/pages/evenements.js b/pages/evenements.js @@ -50,12 +50,14 @@ function Evenements() { <div className='events-container'> {futureEvents.length > 0 ? ( futureEvents.map(event => { + const id = `${event.titre}-${event.date}` return ( <Event key={`${event.titre}-${event.date}`} event={event} - id={`${event.tit...
7
diff --git a/PostBanDeletedPosts.user.js b/PostBanDeletedPosts.user.js // @description When user posts on SO Meta regarding a post ban, fetch and display deleted posts (must be mod) and provide easy way to copy the results into a comment // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -//...
8
diff --git a/test/test.js b/test/test.js @@ -176,7 +176,7 @@ module.exports = function (redom) { }); }); t.test('lifecycle with shadow root', function (t) { - t.plan(1); + t.plan(2); var div = document.createElement('div'); var root = div.createShadowRoot(); var eventsFired = {}; @@ -186,11 +186,19 @@ module.exports = ...
0
diff --git a/src/utility/index.jsx b/src/utility/index.jsx @@ -846,5 +846,6 @@ export function getColStyle(column) { borderLeft: column.borderLeft, borderRight: column.borderRight, backgroundColor: column.backgroundColor, + direction: column.textAlign === 'right' && 'rtl', }; }
13
diff --git a/icons/mdi.js b/icons/mdi.js @@ -7,10 +7,10 @@ export default { warning: 'mdi-exclamation' }, arrow: { - up: 'mdi-arrow-upward', - right: 'mdi-arrow-forward', - down: 'mdi-arrow-downward', - left: 'mdi-arrow-back' + up: 'mdi-arrow-up', + right: 'mdi-arrow-right', + down: 'mdi-arrow-down', + left: 'mdi-arrow...
1
diff --git a/components/Discussion/DiscussionComposer/DiscussionComposer.tsx b/components/Discussion/DiscussionComposer/DiscussionComposer.tsx @@ -83,12 +83,6 @@ const DiscussionComposer = ({ response = await editCommentHandler(commentId, value, tags) } - setActive(false) - - if (onClose) { - onClose() - } - return res...
9
diff --git a/docs/plugins/syntaxhighlight.md b/docs/plugins/syntaxhighlight.md @@ -61,10 +61,10 @@ const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight"); module.exports = function(eleventyConfig) { eleventyConfig.addPlugin(syntaxHighlight, { - // Change which syntax highlighters are installed + // Ch...
3
diff --git a/src/apps.json b/src/apps.json }, "cpe": "cpe:/a:kentico:kentico_cms", "icon": "Kentico CMS.png", + "js": { + "CMS.Application": "" + }, + "script": "/CMSPages/GetResource\\.ashx", "meta": { "generator": "Kentico CMS ([\\d.R]+ \\(build [\\d.]+\\))\\;version:\\1" },
7
diff --git a/lib/models/base_token.js b/lib/models/base_token.js @@ -90,7 +90,7 @@ module.exports = function getBaseToken(provider) { static async find(token = '', { ignoreExpiration = false } = {}) { try { - const jti = this.getJtiFromToken(token); + const jti = this.getTokenId(token); assert(jti); const stored = awai...
10
diff --git a/src/pdf.image_decoders.js b/src/pdf.image_decoders.js */ import { getVerbosityLevel, setVerbosityLevel } from "./shared/util.js"; -import { Jbig2mage } from "./core/jbig2.js"; +import { Jbig2Image } from "./core/jbig2.js"; import { JpegImage } from "./core/jpg.js"; import { JpxImage } from "./core/jpx.js";...
1
diff --git a/app/renderer/assets/locales/en-US/tools.json b/app/renderer/assets/locales/en-US/tools.json "tools_menu_keyvalidator": "Key Validator", "tools_menu_permissions": "Permissions", "tools_menu_proxy": "Register Voting Proxy", - "tools_menu_recommendation": "Recommendations", + "tools_menu_recommendation": "Sec...
10
diff --git a/src/components/organisms/RecentBlogPosts/index.js b/src/components/organisms/RecentBlogPosts/index.js @@ -2,7 +2,7 @@ import React from 'react' import { useStaticQuery, graphql } from 'gatsby' import { CardGrid, Container } from 'components/atoms' import { CardDefault } from 'components/molecules' -const {...
4
diff --git a/metaverse_modules/land/index.js b/metaverse_modules/land/index.js @@ -118,6 +118,14 @@ export default e => { } return result; }; + app.getChunkForPhysicsObject = physicsObject => { + for (const subApp of subApps) { + if (subApp.getChunkForPhysicsObject) { + return subApp.getChunkForPhysicsObject(physicsObj...
0
diff --git a/src/screens/ParadeNavigator/component.js b/src/screens/ParadeNavigator/component.js // @flow -import React from "react"; -import { View, StyleSheet } from "react-native"; import { createMaterialTopTabNavigator } from "react-navigation"; import { PARADE_INFORMATION, PARADE_MAP } from "../../constants/routes...
4
diff --git a/components/Discussion/graphql/enhancers/withDiscussionComments.js b/components/Discussion/graphql/enhancers/withDiscussionComments.js @@ -19,7 +19,7 @@ import { discussionQuery, commentsSubscription } from '../documents' export const withDiscussionComments = graphql(discussionQuery, { props: ({ - ownProps:...
10
diff --git a/scenes/shadows.scn b/scenes/shadows.scn }, { "type": "application/quest", + "position": [19.5, -4, 59.5], + "components": [ + { + "key": "size", + "value": [10, 2, 4] + }, + { + "key": "cameraPosition", + "value": [0, 5, 10] + }, + { + "key": "cameraQuaternion", + "value": [-0.19509032201612825, -0, -0, 0....
0
diff --git a/README.md b/README.md @@ -13,5 +13,8 @@ Public demo of the latest version &rarr; [https://grocy.projectdemos.berrnd.org] ## How to install Just unpack the [latest release](https://github.com/berrnd/grocy/releases/latest) on your PHP enabled webserver, copy `config-dist.php` to `data/config.php`, edit it to...
0
diff --git a/src/utils/wallet.ts b/src/utils/wallet.ts @@ -483,6 +483,73 @@ export const fetchCoinActivities = async ( }; }; + +const fetchEngineTokensData = async (username:string, hivePrice:number, vsCurrency:string) => { + + const engineCoinData:{ [key: string]: CoinData } = {}; + + try{ + const engineData = await f...
9
diff --git a/src/lib/svg_text_utils.js b/src/lib/svg_text_utils.js @@ -252,7 +252,13 @@ var TAG_CLOSE = { sub: '<tspan dy="-0.21em">&#x200b;</tspan>' }; -var PROTOCOLS = ['http:', 'https:', 'mailto:']; +/* + * Whitelist of protocols in user-supplied urls. Mostly we want to avoid javascript + * and related attack vector...
0
diff --git a/app/components/namespace-resource-quota/template.hbs b/app/components/namespace-resource-quota/template.hbs <thead> <tr> <th>{{t 'formResourceQuota.table.type.label'}}</th> - <th width="200px">{{t 'formResourceQuota.table.resources.label'}}</th> + <th>{{t 'formResourceQuota.table.resources.label'}}</th> <t...
2
diff --git a/packages/angular/src/flyout-menu/flyout-menu-pane.component.ts b/packages/angular/src/flyout-menu/flyout-menu-pane.component.ts @@ -128,7 +128,7 @@ export class FlyoutMenuPane extends Dialog { let topFix = (closestRel ? closestRel.getBoundingClientRect().top * -1 : 0) - chevronHeight / 2 + - 1.5 * borderWi...
1
diff --git a/src/components/Calendar.js b/src/components/Calendar.js @@ -82,6 +82,14 @@ class Calendar extends React.Component { } } + componentDidUpdate (prevProps, prevState) { + if (prevState.focusedDay !== this.state.focusedDay) { + const focusedDayRef = this[this.state.focusedDay]; + + if (focusedDayRef && focused...
9
diff --git a/app/src/scripts/dataset/tools/jobs/index.js b/app/src/scripts/dataset/tools/jobs/index.js @@ -461,10 +461,10 @@ class JobMenu extends React.Component { _applyDefaults(parameters, metadata) { Object.keys(metadata).forEach(param => { - if ('defaultChecked' in metadata[param]) { + const type = metadata[param]...
1
diff --git a/packages/bitcore-lib-doge/test/networks.js b/packages/bitcore-lib-doge/test/networks.js @@ -18,16 +18,15 @@ describe('Networks', function() { it('will enable/disable regtest Network', function() { networks.enableRegtest(); networks.testnet.networkMagic.should.deep.equal(new Buffer('fabfb5da', 'hex')); - ne...
3
diff --git a/controllers/BaseController.php b/controllers/BaseController.php @@ -219,7 +219,6 @@ class BaseController } $requestBody = $request->getParsedBody(); - return $requestBody; foreach ($requestBody as $key => &$value) { // HTMLPurifier removes boolean values (true/false) and arrays, so explicitly keep them
2
diff --git a/package.json b/package.json "immutable": "^3.8.1", "jest": "^19.0.2", "jquery": "3.1.1", - "js-interpreter": "^1.2.0", + "js-interpreter": "^1.4.0-alpha.3", "json-loader": "^0.5.4", "loader-utils": "^1.0.3", "lz-string": "^1.4.4",
3
diff --git a/content/articles/docker-push-for-publishing-images-to-docker-hub/index.md b/content/articles/docker-push-for-publishing-images-to-docker-hub/index.md @@ -6,7 +6,7 @@ url: /docker-push-for-publishing-images-to-docker-hub/ title: Docker Push for Publishing Images to Docker Hub description: This article guide...
1
diff --git a/tests/playgrounds/advanced_playground.html b/tests/playgrounds/advanced_playground.html <script src="../../blocks/procedures.js"></script> <script src="../themes/test_themes.js"></script> <script src="./screenshot.js"></script> -<script src="./test_blocks_toolbox.js"></script> <script src="https://unpkg.co...
2
diff --git a/web3swift.xcodeproj/project.pbxproj b/web3swift.xcodeproj/project.pbxproj 3AA815F52276E44100F5DB52 /* Promise+Web3+Eth+GetBlockByNumber.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AA8157C2276E44100F5DB52 /* Promise+Web3+Eth+GetBlockByNumber.swift */; }; 3AA815F62276E44100F5DB52 /* Promise+Web3+Et...
3
diff --git a/layouts/partials/fragments/list.html b/layouts/partials/fragments/list.html where functions achieving this. First where gets all the pages in blog section, the second one removes current page from the mix and the last one removes the section (.Site.Pages returns the current section as a page). */}} -{{- .p...
1
diff --git a/src/containers/FlightDirector/SoftwarePanels/draggingLine.js b/src/containers/FlightDirector/SoftwarePanels/draggingLine.js @@ -19,14 +19,14 @@ const DraggingLine = ({ x = toComp.x * width; y = toComp.y * height; } + const offset = 5; return ( <path className="drag-line" onClick={() => { onClick(id); }} - ...
1
diff --git a/layouts/_default/list.html b/layouts/_default/list.html {{- define "main" -}} + {{- if .CurrentSection -}} {{- $list_page := .Site.GetPage "page" (printf "%s%s" .CurrentSection.Dir "_index") -}} {{- partial "helpers/fragments.html" (dict "root" $ "real_page" . "page" $list_page "page_scratch" $.Scratch) -}...
1
diff --git a/config/vars.yml b/config/vars.yml -lock_url: 'https://cdn.auth0.com/js/lock/11.2.2/lock.min.js' -lock_urlv10: 'https://cdn.auth0.com/js/lock/10.24.1/lock.min.js' -lock_urlv11: 'https://cdn.auth0.com/js/lock/11.2.2/lock.min.js' +lock_url: 'https://cdn.auth0.com/js/lock/11.3.0/lock.min.js' +lock_urlv10: 'htt...
3
diff --git a/common/components/componentsBySection/FindProjects/ProjectSearchContainer.jsx b/common/components/componentsBySection/FindProjects/ProjectSearchContainer.jsx @@ -34,9 +34,11 @@ class ProjectSearchContainer extends React.PureComponent<{||}, State> { render(): React$Node { return ( <div> - <p className="Intr...
5
diff --git a/api/dist/apihelp/apihelp.html b/api/dist/apihelp/apihelp.html @@ -126,7 +126,7 @@ var map = new demo.Map({ div: 'map4', zoom: 0, center: [2590000, 1170000], - layers: ['ch.astra.ausnahmetransportrouten', 'polygon', 'point'] + layers: ['ch.astra.hauptstrassennetz', 'polygon', 'point'] }); </pre> </div>
14
diff --git a/generators/server/templates/src/main/java/package/config/CacheConfiguration.java.ejs b/generators/server/templates/src/main/java/package/config/CacheConfiguration.java.ejs @@ -113,7 +113,6 @@ import org.slf4j.LoggerFactory; import tech.jhipster.config.JHipsterProperties; import java.util.concurrent.TimeUni...
14
diff --git a/src/connectors/monstercat.js b/src/connectors/monstercat.js 'use strict'; -const playerBar = '.controls'; +const mainPlayerBar = '.controls'; -Connector.playerSelector = playerBar; +if (isMainPlayer()) { + Util.debugLog('Setup the connector for main player'); -Connector.artistTrackSelector = `${playerBar} ...
7
diff --git a/src/draw.js b/src/draw.js @@ -56,6 +56,7 @@ function _updateEdge(edge, x1, y1, x2, y2, shortening, attributes) { var arrowHeadLength = 10; var arrowHeadWidth = 7; + var margin = 0.174; var arrowHeadPoints = [ [0, -arrowHeadWidth / 2], @@ -69,8 +70,8 @@ function _updateEdge(edge, x1, y1, x2, y2, shortening,...
4
diff --git a/src/util/resolveConfig.js b/src/util/resolveConfig.js @@ -12,13 +12,8 @@ function resolveFunctionKeys(object) { }, {}) } -function without(object, key) { - /* eslint-disable no-unused-vars */ - return (({ [key]: _, ...rest }) => rest)(object) -} - -function mergeExtensions(theme) { - return mergeWith({}, w...
2
diff --git a/src/components/nodes/sequenceFlow/sequenceFlow.vue b/src/components/nodes/sequenceFlow/sequenceFlow.vue @@ -24,7 +24,7 @@ export default { definition: null, sourceShape: null, target: null, - anchorPadding: 30, + anchorPadding: 40, }; }, computed: { @@ -128,7 +128,11 @@ export default { this.updateCrownPos...
14
diff --git a/ot-node.js b/ot-node.js @@ -374,7 +374,7 @@ class OTNode { async executeCleanOperationalDatabaseMigration() { const repositoryModuleManager = this.container.resolve('repositoryModuleManager'); const cleanOperationalDatabaseMigration = new CleanOperationalDatabaseMigration( - 'CleanOperationalDatabaseMigrat...
3
diff --git a/packages/material-ui-shell/src/providers/Filter/Provider.js b/packages/material-ui-shell/src/providers/Filter/Provider.js @@ -72,7 +72,6 @@ const Provider = ({ children, persistKey = 'mui_filter' }) => { Provider.propTypes = { children: PropTypes.any, - firebaseApp: PropTypes.any, } export default Provider...
2
diff --git a/src/library/managers/SortieManager.js b/src/library/managers/SortieManager.js @@ -947,13 +947,15 @@ Stores and manages states and functions during sortie of fleets (including PvP b // If new enemy and not in sim yet, fill stats if (masterId > simAbyssMasterIdMax) { + const master = KC3Master.ship(masterId)...
1
diff --git a/index.js b/index.js @@ -108,7 +108,8 @@ nativeBindings.nativeGl.onconstruct = (gl, canvas) => { nativeWindow.setWindowTitle(windowHandle, title); if (document.hidden) { - const [framebuffer, colorTexture, depthStencilTexture] = nativeWindow.createRenderTarget(gl, canvasWidth, canvasHeight, 1, sharedColorTe...
4
diff --git a/dist/uPlot.esm.d.ts b/dist/uPlot.esm.d.ts @@ -276,7 +276,7 @@ declare namespace uPlot { max?: number, } - export type SpanGap = [number, number] + export type DataGap = [number, number] export interface Series { /** series on/off. when off, it will not affect its scale */ @@ -289,7 +289,7 @@ declare namesp...
10
diff --git a/package.json b/package.json "name": "find-and-replace", "main": "./lib/find", "description": "Find and replace within buffers and across the project.", - "version": "0.215.6", + "version": "0.215.7", "license": "MIT", "activationCommands": { "atom-workspace": [
6
diff --git a/src/userscript.ts b/src/userscript.ts @@ -88945,6 +88945,14 @@ var $$IMU_EXPORT$$; // https://4.img-dpreview.com/files/w/TC16x9S280x157?url=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fkd7wdYetKbY%2Fhqdefault.jpg&signature=dm28vBZUdFr6S2adlJT4X0Wj3Ak%3D&v=5105 newsrc = src.replace(/^[a-z]+:\/\/[^/]+\/+files\/+w\/+[^/?...
7
diff --git a/token-metadata/0x8727c112C712c4a03371AC87a74dD6aB104Af768/metadata.json b/token-metadata/0x8727c112C712c4a03371AC87a74dD6aB104Af768/metadata.json "symbol": "JET", "address": "0x8727c112C712c4a03371AC87a74dD6aB104Af768", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/docs/appstate.md b/docs/appstate.md @@ -48,7 +48,7 @@ const AppStateExample = () => { return () => { AppState.removeEventListener("change", _handleAppStateChange); }; - }, []); + }, [_handleAppStateChange]); const _handleAppStateChange = (nextAppState) => { if (appState.current.match(/inactive|background/)...
1
diff --git a/tools/markdown/tex-equation-to-svg/test/test.cli.js b/tools/markdown/tex-equation-to-svg/test/test.cli.js @@ -137,17 +137,17 @@ tape( 'the function converts a TeX or LaTeX string to an SVG (no options)', opts t.fail( error.message ); } else { svg = stdout.toString(); - t.equal( typeof svg, 'string', 'retur...
4
diff --git a/src/transitions/Collapse.spec.js b/src/transitions/Collapse.spec.js @@ -85,21 +85,87 @@ describe('<Collapse />', () => { }); describe('handleEntering()', () => { + let heightMock; let element; before(() => { - element = { style: { height: 0 } }; - instance.wrapper = { clientHeight: 666 }; + heightMock = 66...
0
diff --git a/src/web/index.js b/src/web/index.js @@ -23,7 +23,7 @@ function createLocalization(defaultLocale, availableLangs, resIds, name) { // `ResourceBundle`s. function requestBundles(requestedLangs = navigator.languages) { const newLangs = negotiateLanguages( - availableLangs, requestedLangs, { defaultLocale } + r...
1
diff --git a/src/components/stepFour/index.js b/src/components/stepFour/index.js @@ -104,10 +104,6 @@ export class stepFour extends React.Component { this.setState({ showModal: false }) } - userHideModal = () => { - this.hideModal() - } - handleContentByParent(content, index = 0) { const { parent } = content @@ -452,7 ...
2
diff --git a/src/functions.js b/src/functions.js @@ -545,7 +545,7 @@ var _ = Mavo.Functions = { return array.filter(number => !isNaN(number) && val(number) !== "" && val(number) !== null).map(n => +n); }, aggregateCaller: function(array, computation) { - if (array[Mavo.groupedBy]) { // grouped structures + if (Mavo.in(...
1
diff --git a/src/lib/libraries/extensions/index.jsx b/src/lib/libraries/extensions/index.jsx @@ -21,19 +21,19 @@ import makeymakeyInsetIconURL from './makeymakey/makeymakey-small.svg'; import microbitIconURL from './microbit/microbit.png'; import microbitInsetIconURL from './microbit/microbit-small.svg'; -import microb...
10
diff --git a/src/scripts/interactive-video.js b/src/scripts/interactive-video.js @@ -280,6 +280,11 @@ function InteractiveVideo(params, id, contentData) { return; } + // Handle video container loaded + self.video.on('containerLoaded', function () { + self.trigger('resize'); + }); + // Handle video source loaded events ...
9
diff --git a/CHANGELOG.md b/CHANGELOG.md ## [1.9](https://github.com/ericmdantas/generator-ng-fullstack/releases/tag/v1.9.0) -Stuff for 1.9. Coming soon. +### New Stuff + +#### Server + +- Added Koa web framework for Node servers +- Added Gin web framework for Go servers +- Added Nodemon as a module to restart the Node...
3
diff --git a/components/post.js b/components/post.js @@ -10,8 +10,15 @@ import Section from '@/components/section' function Post({title, published_at, feature_image, html, backLink}) { useEffect(() => { if (html) { + const videoPlayer = [...document.querySelectorAll('video')] const dropdownDiv = [...document.querySelec...
0
diff --git a/lib/windshaft/models/mapconfig.js b/lib/windshaft/models/mapconfig.js @@ -129,7 +129,13 @@ MapConfig.prototype.hasIncompatibleLayers = function () { MapConfig.prototype.isVectorLayergroup = function () { const layers = this._cfg.layers; - let isVectorLayergroup = true; + let isVectorLayergroup = false; + +...
7
diff --git a/Source/Core/EllipsoidOutlineGeometry.js b/Source/Core/EllipsoidOutlineGeometry.js @@ -41,10 +41,10 @@ define([ * @param {Object} [options] Object with the following properties: * @param {Cartesian3} [options.radii=Cartesian3(1.0, 1.0, 1.0)] The radii of the ellipsoid in the x, y, and z directions. * @param...
3
diff --git a/contracts/modules/LoanMaintenance.sol b/contracts/modules/LoanMaintenance.sol @@ -73,10 +73,10 @@ contract LoanMaintenance is LoanOpeningsEvents, LoanMaintenanceEvents, VaultCont } /** - * @notice Deposit the loan collateral. + * @notice Increase the margin of a position by depositing additional collateral...
7
diff --git a/token-metadata/0x4922a015c4407F87432B179bb209e125432E4a2A/metadata.json b/token-metadata/0x4922a015c4407F87432B179bb209e125432E4a2A/metadata.json "symbol": "XAUT", "address": "0x4922a015c4407F87432B179bb209e125432E4a2A", "decimals": 6, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/package.json b/package.json "log-update-async-hook": "^2.0.6", "make-dir": "^3.0.0", "mime-db": "^1.41.0", - "moment": "^2.10.3", + "moment": "^2.29.3", "moment-duration-format-commonjs": "^1.0.0", "mustache": "^2.1.2", "nanoid": "^3.1.31",
3
diff --git a/backend/import/keyCards.js b/backend/import/keyCards.js @@ -7,7 +7,7 @@ const keyBy = (getGroup, getValue, cards = []) => ( const groupCardsBy = (getGroup, getValue, baseSetSize = 0, cards = []) => ( cards.reduce((acc, card) => { - if (baseSetSize >= card.number) { + if (baseSetSize >= parseInt(card.number...
11
diff --git a/index.d.ts b/index.d.ts @@ -14,7 +14,7 @@ declare module 'informed' { [key: string]: FormValue } - export type FormError = string | undefined + export type FormError = any export interface FormStateBasic<V = FormValues> { values: V
11
diff --git a/core/server/api/canary/utils/permissions.js b/core/server/api/canary/utils/permissions.js @@ -2,9 +2,13 @@ const debug = require('@tryghost/debug')('api:canary:utils:permissions'); const Promise = require('bluebird'); const _ = require('lodash'); const permissions = require('../../../services/permissions')...
14
diff --git a/src/index.js b/src/index.js @@ -35,7 +35,7 @@ if (style.styleSheet) { * decide if we need to clear storage */ const upgradeVersion = async () => { - const required = Config.isEToro ? 'etoro' : 'beta.11' + const required = Config.isEToro ? 'etoro' : 'alphav3' const version = await AsyncStorage.getItem('GD_v...
0
diff --git a/.travis.yml b/.travis.yml @@ -14,6 +14,7 @@ before_install: - sudo dpkg -i google-chrome*.deb # Install yarn - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.17.3 + - export PATH=$HOME/.yarn/bin:$PATH before_script: - export PATH="`pwd`/node_modules/.bin:$PATH" script: gulp presubmit
12
diff --git a/packages/laconia-acceptance-test/serverless.yml b/packages/laconia-acceptance-test/serverless.yml @@ -6,9 +6,9 @@ plugins: provider: name: aws - runtime: ${env:NODE_RUNTIME} - stage: ${env:NODE_VERSION} - region: ${env:AWS_REGION} + runtime: ${env:NODE_RUNTIME, 'nodejs8.10' } + stage: ${env:NODE_VERSION, '...
12
diff --git a/components/lookup/lookup.jsx b/components/lookup/lookup.jsx @@ -85,7 +85,7 @@ const Lookup = createReactClass({ * * `overflowBoundaryElement` - The dialog will overflow scrolling parents. Use on elements that are aligned to the left or right of their target and don't care about the target being within a sc...
10
diff --git a/src/module/dice.js b/src/module/dice.js @@ -613,7 +613,6 @@ export class DiceSFRPG { finalFormula.formula = finalFormula.formula.endsWith("+") ? finalFormula.formula.substring(0, finalFormula.formula.length - 1).trim() : finalFormula.formula; const preparedRollExplanation = DiceSFRPG.formatFormula(finalFor...
2
diff --git a/localization/en/strings.php b/localization/en/strings.php @@ -307,7 +307,6 @@ return array( 'Add #3 #1 of #2 to stock' => 'Add #3 #1 of #2 to stock', 'Adding shopping list item #1 of #2' => 'Adding shopping list item #1 of #2', 'Use a specific stock item' => 'Use a specific stock item', - 'Expires on #1; b...
2
diff --git a/packages/node_modules/@node-red/nodes/core/logic/15-change.js b/packages/node_modules/@node-red/nodes/core/logic/15-change.js @@ -304,7 +304,6 @@ module.exports = function(RED) { return done(undefined,msg); } var r = node.rules[currentRule]; - var rulePromise; if (r.t === "move") { if ((r.tot !== r.pt) || ...
2
diff --git a/contracts/KyberNetwork.sol b/contracts/KyberNetwork.sol @@ -115,9 +115,7 @@ contract KyberNetwork is Withdrawable, Utils2, KyberNetworkInterface, Reentrancy tradeInput.walletId = walletId; tradeInput.hint = hint; - uint actualDestAmount = trade(tradeInput); - - return actualDestAmount; + return trade(trade...
13
diff --git a/config/router.js b/config/router.js @@ -12,6 +12,7 @@ FlowRouter.route('/', { Session.set('currentBoard', null); Session.set('currentList', null); Session.set('currentCard', null); + Session.set('popupCard', null); Filter.reset(); Session.set('sortBy', ''); @@ -34,6 +35,7 @@ FlowRouter.route('/public', { S...
12
diff --git a/package-lock.json b/package-lock.json "karma-viewport": "^1.0.8", "lodash": "^4.17.21", "madge": "^5.0.1", - "mathjax-v2": "npm:mathjax@^2.7.5", + "mathjax-v2": "npm:mathjax@2.7.5", "mathjax-v3": "npm:mathjax@^3.2.0", "minify-stream": "^2.1.0", "npm-link-check": "^4.0.0",
3
diff --git a/server/views/sources/collectionedit.py b/server/views/sources/collectionedit.py @@ -229,7 +229,7 @@ def _create_or_update_sources(source_list_from_csv, create_new): results.append(src) # process all the entries we think are updates in parallel so it happens quickly if len(sources_to_update) > 0: - use_pool...
12
diff --git a/common/lib/client/realtimechannel.ts b/common/lib/client/realtimechannel.ts @@ -422,7 +422,7 @@ class RealtimeChannel extends Channel { const [event, listener, callback] = RealtimeChannel.processListenerArgs(args); if (!callback && this.realtime.options.promises) { - return Utils.promisify(this, 'subscribe...
1
diff --git a/Sources/Proxy/Core/ViewProxy/index.js b/Sources/Proxy/Core/ViewProxy/index.js @@ -68,10 +68,10 @@ function vtkViewProxy(publicAPI, model) { AnnotatedCubePresets.applyPreset('default', model.orientationAxesCube); AnnotatedCubePresets.applyPreset('lps', model.orientationAxesCube); - model.orientationAxesList...
14
diff --git a/src/containers/tags/tags.gql b/src/containers/tags/tags.gql #import "./tagFragment.gql" -query tagsQuery($shopId: ID!) { - tags(shopId: $shopId) { +query tagsQuery($shopId: ID!, $cursor: ConnectionCursor) { + tags(shopId: $shopId, first: 50, after: $cursor) { + pageInfo { + endCursor + startCursor + hasNex...
3