code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/server/workers/pubmed/renv.lock b/server/workers/pubmed/renv.lock "Repository": "CRAN", "Hash": "022c42d49c28e95d69ca60446dbabf88" }, + "data.table": { + "Package": "data.table", + "Version": "1.14.2", + "Source": "Repository", + "Repository": "CRAN", + "Hash": "36b67b5adf57b292923f5659f5f0c853" + }, "doPa...
3
diff --git a/login.js b/login.js @@ -353,6 +353,49 @@ class LoginManager extends EventTarget { } } + async uploadToInventory(file) { + if (loginToken) { + const {name} = file; + if (name) { + const {mnemonic, addr} = loginToken; + + let hash; + { + const res = await fetch('https://storage.exokit.org/', { + method: 'POS...
0
diff --git a/token-metadata/0x675Ce995953136814cb05aaAA5d02327E7Dc8c93/metadata.json b/token-metadata/0x675Ce995953136814cb05aaAA5d02327E7Dc8c93/metadata.json "symbol": "BBC", "address": "0x675Ce995953136814cb05aaAA5d02327E7Dc8c93", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/src/lib/apollo/withApolloClient.js b/src/lib/apollo/withApolloClient.js @@ -71,7 +71,8 @@ export default function withApolloClient(WrappedComponent) { // In server, if a 401 Unauthorized error occurred, redirect to /signin. // This will re-authenticate without showing a login page and a new token is issued...
1
diff --git a/js/fcoin.js b/js/fcoin.js @@ -242,11 +242,12 @@ module.exports = class fcoin extends Exchange { return this.parseBalance (result); } - convertOrderBook (bidasks) { + parseBidsAsks (bidasks, priceKey = 0, amountKey = 1) { let newbidasks = []; let length = bidasks.length / 2; - for (let i = 0; i < length; i+...
1
diff --git a/packages/vulcan-lib/lib/server/apollo_server.js b/packages/vulcan-lib/lib/server/apollo_server.js @@ -25,6 +25,7 @@ export let executableSchema; // see https://github.com/apollographql/apollo-cache-control const engineApiKey = getSetting('apolloEngine.apiKey'); +const engineLogLevel = getSetting('apolloEng...
11
diff --git a/.travis.yml b/.travis.yml @@ -10,8 +10,8 @@ jobs: - stage: check contract format script: - | - val=$(node checkContract.js); - if [[ $val != 0 ]]; then + contractErrors=$(node checkContract.js); + if [[ $contractErrors != 0 ]]; then echo "Formatting errors! Please check your object keys spellings, commas a...
14
diff --git a/src/js/services/incomingData.js b/src/js/services/incomingData.js @@ -5,7 +5,7 @@ angular.module('canoeApp.services').factory('incomingData', function ($log, $sta root.showMenu = function (data) { $rootScope.$broadcast('incomingDataMenu.showMenu', data) - }; + } root.redir = function (data) { $log.debug('P...
1
diff --git a/src/components/dragelement/index.js b/src/components/dragelement/index.js 'use strict'; var mouseOffset = require('mouse-event-offset'); +var hasHover = require('has-hover'); var Plotly = require('../../plotly'); var Lib = require('../../lib'); @@ -63,11 +64,16 @@ dragElement.init = function init(options) ...
2
diff --git a/src/components/ChangeLogComponent/ChangeLogItem.js b/src/components/ChangeLogComponent/ChangeLogItem.js import React, { useState, useMemo } from "react"; import moment from "moment"; -import { Markdown } from "./ChangeLogComponent.styles"; +import { Markdown, ChangeLogSpan } from "./ChangeLogComponent.styl...
4
diff --git a/generators/upgrade/index.js b/generators/upgrade/index.js @@ -356,13 +356,13 @@ module.exports = class extends BaseGenerator { prepareUpgradeBranch() { const done = this.async(); - const getGitVersion = callback => { + const getGitVersion = () => { const gitVersion = this.gitExec(['--version'], { silent: t...
2
diff --git a/lib/node_modules/@stdlib/_tools/pkgs/namespace-deps/lib/deps.js b/lib/node_modules/@stdlib/_tools/pkgs/namespace-deps/lib/deps.js @@ -27,6 +27,7 @@ var readFileSync = require( '@stdlib/fs/read-file' ).sync; var startsWith = require( '@stdlib/string/starts-with' ); var replace = require( '@stdlib/string/rep...
9
diff --git a/src/transitions/Collapse.spec.js b/src/transitions/Collapse.spec.js import React from 'react'; import { assert } from 'chai'; import { spy, stub } from 'sinon'; -import { createShallow } from 'src/test-utils'; +import { createShallow, createMount } from 'src/test-utils'; import Collapse, { styleSheet } fro...
0
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md -<!-- Before creating an issue please make sure you are using the latest version of webpack-dev-middleware and webpack. --> +> The Issues page for this repository is not a support forum. **Please ask questions on StackOverflow or the webpack Gitter (htt...
3
diff --git a/core/block_render_svg.js b/core/block_render_svg.js @@ -383,7 +383,7 @@ Blockly.BlockSvg.typeVarShapes_ = { Blockly.BlockSvg.TAB_WIDTH + ',-7.5 s ' + Blockly.BlockSvg.TAB_WIDTH + ',2.5 ' + Blockly.BlockSvg.TAB_WIDTH + ',-7.5', - height: 20 + height: Blockly.BlockSvg.TAB_HEIGHT } } @@ -940,9 +940,9 @@ Block...
4
diff --git a/includes/Modules/TagManager.php b/includes/Modules/TagManager.php @@ -268,8 +268,8 @@ final class TagManager extends Module implements Module_With_Scopes { 'account-id' => '', 'container-id' => '', // GET. - 'list-accounts' => 'tagmanager', - 'list-containers' => 'tagmanager', + 'accounts-containers' => 't...
3
diff --git a/admin-base/materialize/custom/_vue-form-generator.scss b/admin-base/materialize/custom/_vue-form-generator.scss } } } + } + &.field-checkbox { + .field-wrap { + display: inline-block; + padding-left: 0.75rem; + [type="checkbox"] { + position: relative; + opacity: 1; + left: auto; + } + } + } + &.field-mate...
11
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editors/monaco.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editors/monaco.js @@ -764,7 +764,7 @@ RED.editor.codeEditor.monaco = (function() { if(!options.stateId && options.stateId !== false) { - options.stat...
11
diff --git a/src/models/http/httpRequest.js b/src/models/http/httpRequest.js @@ -54,10 +54,17 @@ function isUrlEncodedForm (contentType) { function createFrom (request) { const Q = require('q'), deferred = Q.defer(); - request.body = ''; - request.setEncoding('utf8'); - request.on('data', chunk => { request.body += chu...
9
diff --git a/src/components/HeaderWithCloseButton.js b/src/components/HeaderWithCloseButton.js @@ -9,7 +9,6 @@ import Icon from './Icon'; import * as Expensicons from './Icon/Expensicons'; import withLocalize, {withLocalizePropTypes} from './withLocalize'; import Tooltip from './Tooltip'; -import InboxCallButton from '...
14
diff --git a/packages/gatsby/src/joi-schemas/joi.js b/packages/gatsby/src/joi-schemas/joi.js @@ -49,7 +49,7 @@ export const nodeSchema = Joi.object() type: Joi.string().required(), owner: Joi.string().required(), fieldOwners: Joi.array(), - content: Joi.string(), + content: Joi.string().allow(""), }), }) .unknown()
11
diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js @@ -231,16 +231,17 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ uci = round((minAvgDelta - bgi),1); // ISF (mg/dL/U) / CR (g/U) = CSF (mg/dL/g) var csf = sens / profile.carb_ratio - // set...
4
diff --git a/articles/quickstart/native/windows-uwp-csharp/01-login.md b/articles/quickstart/native/windows-uwp-csharp/01-login.md @@ -31,6 +31,7 @@ For UWP applications, the callback URL needs to be in the format **ms-app://SID* Alternatively - or if you have not associated your application with the Store yet - you ca...
0
diff --git a/source/components/Options.js b/source/components/Options.js @@ -72,8 +72,18 @@ class OptionsBase extends Component<Props, State> { } componentDidMount() { + if (this.props.isOpen) { document.addEventListener('keydown', this._handleKeyDown, false); } + } + + componentWillReceiveProps(nextProps: Props) { + i...
7
diff --git a/metaverse-modules.js b/metaverse-modules.js @@ -20,6 +20,7 @@ const moduleUrls = { cameraPlaceholder: './metaverse_modules/camera-placeholder/', targetReticle: './metaverse_modules/target-reticle/', halo: './metaverse_modules/halo/', + silks: './metaverse_modules/silks/', magic: './metaverse_modules/magic/...
0
diff --git a/src/components/Select.js b/src/components/Select.js @@ -6,6 +6,7 @@ const React = require('react'); const ReactDOM = require('react-dom'); const Icon = require('./Icon'); +const { Listbox, Option } = require('./accessibility/Listbox'); const StyleConstants = require('../constants/Style'); @@ -52,28 +53,40 ...
9
diff --git a/src/utilities/flex.less b/src/utilities/flex.less justify-content: space-around; } -.flex-grow { flex-grow: 1; } .flex-fill { max-width: 100%; flex: 1; } .flex-no-shrink { flex-shrink: 0; } .flex-inline { display: inline-flex; } .flex-11 { flex: 11; } .flex-12 { flex: 12; } -.flex-basis-1 { flex-basis: 100...
2
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -233,14 +233,6 @@ jobs: - run: name: Test certain bundles against function constructors command: npm run no-new-func - - test-dist2: - docker: - - image: circleci/node:12.22.1 - working_directory: ~/plotly.js - steps: - - attach_workspace: - at: ~/ - run: name...
5
diff --git a/src/components/button/_button.scss b/src/components/button/_button.scss // When colours are overridden, for example when users have a dark mode, // backgrounds and box-shadows disappear, so we need to ensure there's a // transparent outline which will be set to a visible colour. + // Since Internet Explore...
7
diff --git a/src/models/data.js b/src/models/data.js @@ -162,7 +162,7 @@ const DataModel = Model.extend({ "concept_type", "domain", "totals_among_entities", - "indicator_url", + "source_url", "color", "scales", "interpolation", @@ -201,7 +201,7 @@ const DataModel = Model.extend({ concept["concept"] = d.concept; concept...
14
diff --git a/src/kiri/main.js b/src/kiri/main.js } function moveSelection(x, y, z, abs) { - setViewMode(VIEWS.ARRANGE); + if (viewMode !== VIEWS.ARRANGE) return; + // setViewMode(VIEWS.ARRANGE); forSelectedGroups(function (w) { w.move(x, y, z, abs); }); } function scaleSelection() { - setViewMode(VIEWS.ARRANGE); + if (...
13
diff --git a/src/components/containers/UpdateMenuAccordion.js b/src/components/containers/UpdateMenuAccordion.js @@ -2,7 +2,7 @@ import Fold from './Fold'; import TraceRequiredPanel from './TraceRequiredPanel'; import PropTypes from 'prop-types'; import React, {Component} from 'react'; -import {connectUpdateMenuToLayou...
7
diff --git a/src/views/SwapConfirm.vue b/src/views/SwapConfirm.vue <div class="form-group"> <label>Network Fees</label> <div v-for="(fee, asset) in totalFees" :key="asset"> - <strong>~ {{ fee }}</strong>&nbsp;<span class="text-muted">{{ asset }}</span>&nbsp;<span>(${{prettyFiatBalance(fee, fiatRates[asset])}})</span> +...
9
diff --git a/src/config/config.js b/src/config/config.js const Config = { "env": process.env.REACT_ENV || "development", "serverUrl": process.env.REACT_APP_SERVER_URL || "http://localhost:3003", - "publicUrl": process.env.REACT_APP_PUBLIC_URL || "http://localhost:3000", + "publicUrl": process.env.REACT_APP_PUBLIC_URL |...
2
diff --git a/src/lib/geolocation.js b/src/lib/geolocation.js @@ -126,6 +126,18 @@ export const locationStream = () => }; }); +/* +Returns a stream of LocationStatus values. Automatically streams +location updates if permissions allow this to be done passively. +Example steaming output: +|-A---B---C---D---E +Where: +A =...
0
diff --git a/devices/bticino.js b/devices/bticino.js @@ -26,7 +26,7 @@ module.exports = [ }, { zigbeeModel: [' Dimmer switch with neutral\u0000\u0000\u0000\u0000'], - model: 'L441C/N4411C/NT4411C', + model: 'L4411C/N4411C/NT4411C', vendor: 'BTicino', description: 'Dimmer switch with neutral', extend: extend.light_onoff...
10
diff --git a/declarations/plugins/HashedModuleIdsPlugin.d.ts b/declarations/plugins/HashedModuleIdsPlugin.d.ts @@ -18,7 +18,7 @@ export interface HashedModuleIdsPluginOptions { */ hashDigestLength?: number; /** - * The hashing algorithm to use, defaults to 'md5'. All functions from Node.JS' crypto.createHash are suppor...
1
diff --git a/lib/runtime/console2.js b/lib/runtime/console2.js @@ -28,7 +28,8 @@ export function activate (ink) { terminal.getTitle = () => {return 'Console'} terminal.class = 'julia-terminal' - terminal.write('\x1b[32mPress Enter to start Julia.\x1b[0m') + + terminal.write('\x1b[1m\x1b[32mPress Enter to start Julia.\x...
4
diff --git a/src/doc_replicator.erl b/src/doc_replicator.erl -export([start_link/4]). -start_link(Module, Name, GetNodes, ServerName) -> - proc_lib:start_link(erlang, apply, [fun start_loop/4, [Module, Name, GetNodes, ServerName]]). +start_link(Module, Name, GetNodes, StorageFrontend) -> + proc_lib:start_link(erlang, a...
10
diff --git a/README.md b/README.md @@ -28,7 +28,7 @@ To learn more about this installation method, refer to the [Quick Start Guide](d # Community -Netlify CMS has a [public Gitter channel](https://gitter.im/netlify/NetlifyCMS) where members of the community hang out and share things about the project. +Netlify CMS has ...
3
diff --git a/src/core/createConsent.js b/src/core/createConsent.js @@ -215,8 +215,6 @@ export default ({ consentState.refreshFromCookies(); }) .catch(error => { - // Even if there was an error, the consent cookies may - // have been successfully set. consentState.refreshFromCookies(); throw error; }); @@ -251,8 +249,6 ...
2
diff --git a/test/test_contract.sh b/test/test_contract.sh @@ -22,15 +22,12 @@ echo Deploying contract to temporary accountId ../bin/near dev-deploy echo Calling functions -RESULT=$(../bin/near call $testaccount welcome '{"name":"TEST"}' --accountId=test.near) -TEXT=$RESULT.text -EXPECTED='Welcome, TEST. Welcome to NEA...
1
diff --git a/src/server/routes/apiv3/slack-integration-settings.js b/src/server/routes/apiv3/slack-integration-settings.js @@ -56,7 +56,8 @@ module.exports = (crowi) => { .isIn(['officialBot', 'customBotWithoutProxy', 'customBotWithProxy']), ], proxyUri: [ - body('proxyUri').trim().matches(/^(https?:\/\/)/).isURL({ req...
11
diff --git a/common/lib/client/realtimechannel.ts b/common/lib/client/realtimechannel.ts @@ -295,7 +295,7 @@ class RealtimeChannel extends Channel { this.requestState('attaching', attachReason); } - this.once(function(this: { event: string }, stateChange: ConnectionStateChange) { + this.once(function(this: { event: str...
1
diff --git a/content/questions/template-literals/index.md b/content/questions/template-literals/index.md @@ -13,7 +13,7 @@ answers: - stage-6 --- -Which transpiler language supports `Template Literals Syntax`? +Which JavaScript language version supports template literals syntax, like below? ```javascript `helloworld - ...
7
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -91,7 +91,7 @@ jobs: git add -A git commit -m "Updated: Github data (automatic): ${CIRCLE_SHA1} [skip ci]" --allow-empty git push -q https://${GH_TOKEN}@github.com/developersdo/opensource.git $SOURCE_BRANCH - echo $(git show HEAD --summary) + echo "$(git show ...
3
diff --git a/apps/arrow/app.js b/apps/arrow/app.js @@ -127,12 +127,12 @@ function docalibrate(e,first){ function action(b){ if (b) { buf1.setColor(1); - buf1.setFont("Vector", 30); + buf1.setFont("Vector", 20); buf1.setFontAlign(0,-1); - buf1.drawString("Figure 8s",80, 40); - buf1.drawString("to",80, 80); - buf1.drawSt...
7
diff --git a/test/integration/client/configuration-tests.js b/test/integration/client/configuration-tests.js @@ -18,7 +18,7 @@ suite.test('default values are used in new clients', function () { password: null, port: 5432, rows: 0, - poolSize: 10 + max: 10, }) var client = new pg.Client()
14
diff --git a/runtime.js b/runtime.js @@ -421,7 +421,7 @@ const _loadGltf = async (file, {optimize = false, physics = false, physics_url = mesh.getPhysicsIds = () => physicsIds; mesh.getStaticPhysicsIds = () => staticPhysicsIds; mesh.getAnimations = () => animations; - // mesh.components = components; + mesh.getComponen...
0
diff --git a/lib/taiko.js b/lib/taiko.js @@ -1512,6 +1512,7 @@ module.exports.evaluate = async (selector, callback, options = {}) => { functionDeclaration: evalFunc.toString(), arguments: [{ value: callback.toString() }], awaitPromise: true, + returnByValue: true, objectId }); });
1
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.209.0", + "version": "0.209.1", "license": "MIT", "activationCommands": { "atom-workspace": [
6
diff --git a/test.js b/test.js @@ -29,7 +29,7 @@ process.on ('unhandledRejection', e => { log.bright.red.error (e); process.exit /* ------------------------------------------------------------------------ */ -log.bright ('\nTESTING', ccxtFile.magenta, { exchange: exchangeId, symbol: exchangeSymbol || 'all' }, '\n') +lo...
1
diff --git a/lambda/proxy-es/lib/handler.js b/lambda/proxy-es/lib/handler.js @@ -44,7 +44,7 @@ async function get_es_query(event) { keyword_syntax_types: _.get(settings,'ES_KEYWORD_SYNTAX_TYPES'), syntax_confidence_limit: _.get(settings,'ES_SYNTAX_CONFIDENCE_LIMIT'), score_answer_field: _.get(settings,'ES_SCORE_ANSWER_...
1
diff --git a/middleware/cache.js b/middleware/cache.js @@ -58,8 +58,12 @@ module.exports = (ttl) => async (ctx, next) => { ctx.response.set('Cache-Control', 'no-store'); } - // Try and get cache - if (ctx.request.method !== 'GET' || ctx.request.method !== 'POST') { + // Only allow cache on whitelist methods + if (!['GE...
1
diff --git a/src/agent/io.js b/src/agent/io.js @@ -11,6 +11,7 @@ function read (params) { return r2frida.hookedRead(offset, count); } if (r2frida.safeio) { + try { if (cachedRanges.length === 0) { cachedRanges = Process.enumerateRanges('').map( (map) => [map.base, ptr(map.base).add(map.size)]); @@ -30,6 +31,9 @@ functi...
7
diff --git a/packages/react-router/docs/guides/migrating.md b/packages/react-router/docs/guides/migrating.md @@ -76,7 +76,7 @@ In v3, the `<Route>` was not really a component. Instead, all of your applicatio With v4, you layout your app's components just like a regular React application. Anywhere that you want to rende...
1
diff --git a/assets/js/modules/idea-hub/components/dashboard/DashboardIdeasWidget/DraftIdeas.js b/assets/js/modules/idea-hub/components/dashboard/DashboardIdeasWidget/DraftIdeas.js @@ -25,7 +25,6 @@ import PropTypes from 'prop-types'; * WordPress dependencies */ import { __ } from '@wordpress/i18n'; -import { Fragment,...
2
diff --git a/test.html b/test.html indexURL: "https://s3.amazonaws.com/igv.broadinstitute.org/annotations/hg19/genes/refGene.hg19.bed.gz.tbi", order: Number.MAX_VALUE, visibilityWindow: 300000000, - displayMode: "EXPANDED" + displayMode: "EXPANDED", + autoHeight: true } ] };
12
diff --git a/Source/Core/IntersectionTests.js b/Source/Core/IntersectionTests.js @@ -5,6 +5,7 @@ define([ './defaultValue', './defined', './DeveloperError', + './Interval', './Math', './Matrix3', './QuadraticRealPolynomial', @@ -16,6 +17,7 @@ define([ defaultValue, defined, DeveloperError, + Interval, CesiumMath, Matri...
3
diff --git a/src/traces/table/plot.js b/src/traces/table/plot.js @@ -57,13 +57,14 @@ module.exports = function plot(gd, wrappedTraceHolders) { .classed(c.cn.tableControlView, true) .style('box-sizing', 'content-box'); if(dynamic) { + let wheelEvent = 'onwheel' in document ? 'wheel' : 'mousewheel' cvEnter .on('mousemove...
7
diff --git a/src/client/js/components/PaginationWrapper.jsx b/src/client/js/components/PaginationWrapper.jsx @@ -158,7 +158,7 @@ PaginationWrapper.propTypes = { activePage: PropTypes.number.isRequired, changePage: PropTypes.func.isRequired, totalItemsCount: PropTypes.number.isRequired, - pagingLimit: PropTypes.number.i...
12
diff --git a/lib/hls/hls_parser.js b/lib/hls/hls_parser.js @@ -1123,7 +1123,7 @@ shaka.hls.HlsParser = class { shaka.log.debug('Guessing audio-only.'); type = ContentType.AUDIO; ignoreStream = true; - } else if (res.video.length) { + } else if (res.video.length && !res.audio.length) { // There are associated video stre...
1
diff --git a/Block/Menu.php b/Block/Menu.php @@ -369,7 +369,7 @@ class Menu extends Template implements DataObject\IdentityInterface ->setMenuClass($this->getMenu()->getCssClass()) ->setMenuCode($this->getData('menu')) ->setTarget($node->getTarget()) - ->setExtraData($node->getExtraData()); + ->setAdditionalData($node-...
14
diff --git a/README.md b/README.md @@ -564,7 +564,7 @@ By clicking the **Watch** button, you will stay tuned for updates to the library * For specific questions, please use [Stack Overflow tags d3.js & graphviz](https://stackoverflow.com/tags/d3.js+graphviz). -* For general discussions regarding d3-graphviz, please use...
14
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file. -## Head +## 14.7.1 - Fixed: a regression for `/* stylelint-disable */` comments ([#6018](https://github.com/stylelint/stylelint/pull/6018)). - Fixed: `font-family-name-quotes` false positives for `ui-*` generic sy...
6
diff --git a/src/mode/cam/slice.js b/src/mode/cam/slice.js let traces = []; // find and trim polys (including open) to shadow let oneach = (data, index, total) => { + if (single) { + for (let line of data.lines) { + if (line.p1.distTo2D(line.p2) > 1) { + traces.push(newPolygon().append(line.p1).append(line.p2).setOpen(...
4
diff --git a/Gruntfile.js b/Gruntfile.js @@ -335,7 +335,7 @@ module.exports = function( grunt ) { 'test', 'browser_test', 'clean', 'shell:cloneDeploy', 'clean:deploy', 'only_build' ] ); grunt.registerTask( 'deploy', [ - 'build-for-deploy', 'shell:commitDeploy', 'shell:review' + 'build_for_deploy', 'shell:commitDeploy',...
4
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -571,13 +571,13 @@ RED.editor = (function() { }); valueField.typedInput('type', opt.parent?(opt.type||opt.parent.type):opt.type); - valueField.typedInput('value', opt.par...
11
diff --git a/catchup.js b/catchup.js @@ -25,6 +25,8 @@ function prepareCatchupChain(catchupRequest, callbacks){ if (!Array.isArray(arrWitnesses)) return callbacks.ifError("no witnesses"); + mutex.lock(['prepareCatchupChain'], function(unlock){ + var start_ts = Date.now(); var objCatchupChain = { unstable_mc_joints: [],...
6
diff --git a/src/components/general/character-select/CharacterSelect.jsx b/src/components/general/character-select/CharacterSelect.jsx @@ -128,6 +128,7 @@ export const CharacterSelect = () => { const [ selectCharacter, setSelectCharacter ] = useState(null); const [ arrowPosition, setArrowPosition ] = useState(null); co...
0
diff --git a/token-metadata/0x3e780920601D61cEdb860fe9c4a90c9EA6A35E78/metadata.json b/token-metadata/0x3e780920601D61cEdb860fe9c4a90c9EA6A35E78/metadata.json "symbol": "BOOST", "address": "0x3e780920601D61cEdb860fe9c4a90c9EA6A35E78", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/articles/protocols/saml/saml-configuration/special-configuration-scenarios/index.md b/articles/protocols/saml/saml-configuration/special-configuration-scenarios/index.md --- description: Special configuration scenarios when setting up a SAML Integration -url: /docs/protocols/saml/saml-configuration/special...
1
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -5646,7 +5646,10 @@ function convertgreydec(){ for (var i = 1; i < result1.length; i++) x += parseInt(result1[i - 1] ^ result1[i]).toString(); } - + if(input=="") + { + x=""; + } result2.innerHTML = x; }
1
diff --git a/js/base/functions/type.js b/js/base/functions/type.js @@ -20,7 +20,7 @@ const prop = (o, k) => (isObject (o) ? o[k] : undefined) /* ............................................. */ const asFloat = x => ((isNumber (x) || isString (x)) ? parseFloat (x) : NaN) - , asInteger = x => ((isNumber (x) || isString (...
7
diff --git a/generators/typedlang.js b/generators/typedlang.js @@ -204,7 +204,7 @@ Blockly.TypedLang.finish = function(code) { * @return {string} Legal line of code. */ Blockly.TypedLang.scrubNakedValue = function(line) { - return line + ';\n'; + return line + '\n'; }; /**
2
diff --git a/articles/the-knapsack-problem/index.md b/articles/the-knapsack-problem/index.md @@ -59,10 +59,10 @@ If we select the item, our optimal value can be written as $v_i+k[i-1,j-w_i]$. T If we don't include the item, the optimal value will be the subproblem considering all the items before the current item, $k[i...
13
diff --git a/Source/Core/PolygonPipeline.js b/Source/Core/PolygonPipeline.js @@ -2,10 +2,10 @@ define([ '../ThirdParty/earcut-2.1.1', './Cartesian2', './Cartesian3', + './Check', './ComponentDatatype', './defaultValue', './defined', - './DeveloperError', './Ellipsoid', './Geometry', './GeometryAttribute', @@ -16,10 +16...
14
diff --git a/src/routes.js b/src/routes.js @@ -136,7 +136,7 @@ export function loadPlanFromCSV(assignmentList, state) { partCount = cols[3], pluralType = cols[4]; if (unitId.includes("_")) { - unitId = unitId.split("_")[1]; + unitId = unitId.split("_").slice(1).join("_"); } if (placeId !== state.place.id) {
11
diff --git a/demo/combo-box-basic-demos.html b/demo/combo-box-basic-demos.html <h3>Lazy Loading</h3> - + <p> + The <code>dataProvider</code> property can be assigend a function to provide + data from a remote source. + </p> + <p> + <b>Note:</b> the total number of items must be provided as the second argument of the da...
7
diff --git a/base/tile_events/TileEvent.ts b/base/tile_events/TileEvent.ts @@ -269,7 +269,7 @@ export abstract class TileEvent { * @returns returns an direction. */ get_activation_direction(): directions { - return this.activation_directions.values().next().value; + return this._initial_activation_directions.values().n...
1
diff --git a/src/components/languagechooser/languagechooser.jsx b/src/components/languagechooser/languagechooser.jsx @@ -21,7 +21,7 @@ class LanguageChooser extends React.Component { ]); } handleSetLanguage (name, value) { - jar.set('scratchlanguage', value); + jar.set('scratchlanguage', value, {domain: `.${window.loca...
12
diff --git a/python/ccxt/huobipro.py b/python/ccxt/huobipro.py @@ -249,7 +249,8 @@ class huobipro (Exchange): ohlcv['high'], ohlcv['low'], ohlcv['close'], - ohlcv['vol'], + # Huobipro defines 'vol' as sum(deal_price * deal_amount) + ohlcv['amount'] ] def fetch_ohlcv(self, symbol, timeframe='1m', since=None, limit=None,...
1
diff --git a/Tests/web3swiftTests/localTests/TransactionsTests.swift b/Tests/web3swiftTests/localTests/TransactionsTests.swift @@ -638,7 +638,7 @@ class TransactionsTests: XCTestCase { writeTX.transaction.from = from writeTX.transaction.value = value! let policies = Policies(gasLimitPolicy: .manual(78423)) - let result...
1
diff --git a/core/server/web/shared/middlewares/uncapitalise.js b/core/server/web/shared/middlewares/uncapitalise.js const errors = require('@tryghost/errors'); const urlUtils = require('../../../../shared/url-utils'); -const i18n = require('../../../../shared/i18n'); +const tpl = require('@tryghost/tpl'); const localU...
14
diff --git a/examples/get-started/pure-js/carto/package.json b/examples/get-started/pure-js/carto/package.json "dependencies": { "@deck.gl/core": "^8.2.7", "@deck.gl/layers": "^8.2.7", + "@deck.gl/geo-layers": "^8.2.7", + "@deck.gl/mesh-layers": "^8.2.7", + "@deck.gl/carto": "^8.3.0", "mapbox-gl": "^1.12.0" }, "devDepe...
0
diff --git a/docs/implementing-cards.md b/docs/implementing-cards.md @@ -583,26 +583,6 @@ this.interrupt({ }); ``` -#### Multiple choice reactions and interrupts - -A few cards provide reactions or interrupts that have more than a yes or no choice. For example, Asako Diplomat can be used to honor or dishonor a characte...
2
diff --git a/engine/components/IgeTiledComponent.js b/engine/components/IgeTiledComponent.js @@ -132,24 +132,11 @@ var IgeTiledComponent = IgeClass.extend({ z = x + (y * mapWidth); if (layerData[z] > 0 && layerData[z] !== 2147483712) { - if (ige.isClient) { - // Paint the tile - currentTexture = textureCellLookup[layer...
1
diff --git a/static/js/syna.js b/static/js/syna.js @@ -11,6 +11,7 @@ $(function() { } }); +if ($.validate) { $.validate({ modules: 'html5, toggleDisabled', validateOnEvent: true, @@ -49,6 +50,7 @@ $.validate({ return false; } }); +} function onContactCaptcha($form) { $('form.contact').submit();
1
diff --git a/lib/istio/addon/components/cru-destination-rule/component.js b/lib/istio/addon/components/cru-destination-rule/component.js @@ -8,6 +8,7 @@ import Errors from 'ui/utils/errors'; import EmberObject from '@ember/object'; import ChildHook from 'shared/mixins/child-hook'; import { flattenLabelArrays } from 'sh...
2
diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml @@ -151,7 +151,6 @@ jobs: test-storybook: name: Test Storybook runs-on: ubuntu-latest - # Tried this but keeps failing needs: build-storybook timeout-minutes: 20 if: false == ( ( github.event_name == 'pull_request' && ( github.event.action =...
2
diff --git a/help/_config.yml b/help/_config.yml -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature...
12
diff --git a/src/core/Core.test.js b/src/core/Core.test.js @@ -708,13 +708,68 @@ describe('src/Core', () => { }) describe('checkRestrictions', () => { + it('should enforce the maxNumberOfFiles rule', () => { + const core = new Core({ + autoProceed: false, + restrictions: { + maxNumberOfFiles: 1 + } + }) + + // add 2 fi...
0
diff --git a/install.php b/install.php @@ -307,7 +307,7 @@ function install($adminPassword, $timezone) } // System directories - $systemDirectories = array(PATH_UPLOADS_PROFILES, PATH_TMP, PATH_WORKSPACES, PATH_UPLOADS_PAGES); + $systemDirectories = array(PATH_UPLOADS_PROFILES, PATH_TMP, PATH_WORKSPACES); foreach ($sys...
2
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml @@ -31,15 +31,15 @@ jobs: - name: dotnet test [FunctionalTests] run: dotnet test ./tests/FunctionalTests/FunctionalTests.csproj -c $BUILD_CONFIG --no-build - name: dotnet pack [Esquio] - run: dotnet pack ./src/Esquio/Esquio.csproj -o ./artifacts...
12
diff --git a/skeleton/docker/Dockerfile b/skeleton/docker/Dockerfile @@ -80,6 +80,10 @@ COPY src ./src COPY test ./test // @endif +// @if feat["cli-bundler"] && feat["dotnet-core"] +COPY wwwroot ./wwwroot +// @endif + // @if feat.jest || feat.karma # RUN UNIT TESTS RUN au test @@ -103,11 +107,15 @@ WORKDIR /usr/share/n...
1
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml @@ -126,6 +126,14 @@ jobs: matrix: include: + - description: Verify package build + name: test-build-package + run: npm run build:package + + - description: Verify distribution build + name: test-build-dist + run: npm run build:dist + - description:...
5
diff --git a/public/index.html b/public/index.html _animateControllers(); const device = renderer.vr.getDevice(); - if (device && device instanceof FakeDisplay) { + if (device && device instanceof FakeVRDisplay) { camera.position.copy(device.position); camera.quaternion.copy(device.quaternion);
10
diff --git a/src/agent/index.js b/src/agent/index.js @@ -159,9 +159,9 @@ const commandHandlers = { 'dt.': traceHere, 'dt-': clearTrace, 'dtr': traceRegs, - 'T': traceLogDump, - 'T-': traceLogClear, - 'T*': traceLog, + 'dtl': traceLogDump, + 'dtl-': traceLogClear, + 'dtl*': traceLog, 'dts': stalkTraceEverything, 'dts?':...
10
diff --git a/rollup.config.js b/rollup.config.js @@ -34,8 +34,10 @@ const isExternal = id => !id.startsWith('\0') && !id.startsWith('.') && !id.star const licenseHeaderOptions = { sourcemap: true, banner: { + content: { file: path.join(__dirname, 'LICENSE') } + } }; const configs = [
4
diff --git a/src/components/site-logo.js b/src/components/site-logo.js @@ -4,7 +4,7 @@ const SiteLogo = () => ( /* eslint-disable max-len */ <svg - class="sprk-c-Masthead__logo" + className="sprk-c-Masthead__logo" xmlns="http://www.w3.org/2000/svg" width="365.4" height="101.35"
3