code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/lib/HotModuleReplacementPlugin.js b/lib/HotModuleReplacementPlugin.js @@ -153,7 +153,7 @@ module.exports = class HotModuleReplacementPlugin { const buf = [source]; buf.push(""); buf.push("// __webpack_hash__"); - buf.push(`${this.requireFn}.h = () => hotCurrentHash`); + buf.push(this.requireFn + ".h = func...
1
diff --git a/samples/csharp_dotnetcore/14.nlp-with-dispatch/NlpDispatch/NlpDispatchBot.cs b/samples/csharp_dotnetcore/14.nlp-with-dispatch/NlpDispatch/NlpDispatchBot.cs @@ -79,39 +79,39 @@ public NlpDispatchBot(BotServices services) /// There are no dialogs used, since it's "single turn" processing, meaning a single //...
10
diff --git a/public/app/js/cbus-ui.js b/public/app/js/cbus-ui.js @@ -695,9 +695,9 @@ cbus.broadcast.listen("episode_completed_status_change", function(e) { // move to the first point ctx.lineTo(0, CANVAS_BASELINE - (streamDataSkipped[0] / 500 * canvas.height)); - for (i = 1; i < streamDataSkipped.length - 2; i++) { - v...
7
diff --git a/token-metadata/0x3A9FfF453d50D4Ac52A6890647b823379ba36B9E/metadata.json b/token-metadata/0x3A9FfF453d50D4Ac52A6890647b823379ba36B9E/metadata.json "symbol": "SHUF", "address": "0x3A9FfF453d50D4Ac52A6890647b823379ba36B9E", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/magda-storage-api/src/createApiRouter.ts b/magda-storage-api/src/createApiRouter.ts -import { ApiError } from "@google-cloud/common"; import express from "express"; import { OutgoingHttpHeaders } from "http"; import ObjectStoreClient from "./ObjectStoreClient"; @@ -49,8 +48,7 @@ export default function cre...
9
diff --git a/pages/base-adresse-nationale.js b/pages/base-adresse-nationale.js @@ -69,21 +69,17 @@ function BaseAdresseNationale({address}) { }, [address, initialHash]) useEffect(() => { - if (!initialHash && address) { - if (address?.positions?.length > 1) { - const coordinates = [] - address.positions.forEach(p => { ...
7
diff --git a/ui/build/build.types.js b/ui/build/build.types.js @@ -90,7 +90,7 @@ function convertTypeVal (type, def) { function getTypeVal (def) { return Array.isArray(def.type) - ? def.type.map(type => convertTypeVal(type, def)).join(' | ') + ? def.tsType || def.type.map(type => convertTypeVal(type, def)).join(' | ') ...
1
diff --git a/site/how.xml b/site/how.xml @@ -174,7 +174,7 @@ limitations under the License. James Governor discusses how messaging in the cloud, specifically with RabbitMQ, is changing the way applications are architected. The slides on that page (by Matt Biddulph) are definitely worth a look. </li> - <li><a href="http...
14
diff --git a/src/renderWrapper.js b/src/renderWrapper.js @@ -41,7 +41,7 @@ class ErrorBoundary extends React.Component { fontSize: 'small', }, }, - `Error when rendering component=${component}, variant${variant}\n\n${error.stack}`, + `Error when rendering component "${component}", variant "${variant}"\n\n${error.stack}...
7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -56,8 +56,12 @@ jobs: # Define the type of virtual host machine on which to run the job: runs-on: ${{ matrix.OS }} - # Define the build matrix... + # Define the build matrix strategy... strategy: + # Specify whether to cancel all in-progress jobs if an...
12
diff --git a/contribs/gmf/src/controllers/desktop.scss b/contribs/gmf/src/controllers/desktop.scss @@ -769,6 +769,13 @@ hr.ngeo-filter-separator-rules { border-color: $color; } +// handle long text in dropdown +ngeo-filter { + .dropdown-menu li > a { + white-space: normal; + } +} + /** * Ngeo Rule component */ @@ -782,...
9
diff --git a/src/views/components/mod/mod_log/index.tsx b/src/views/components/mod/mod_log/index.tsx @@ -41,10 +41,11 @@ class ModLog extends React.Component { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { var logs = JSON.parse(xmlhttp.responseText); if (Object.keys(logs).length == 0) { - pages -= numIncremen...
1
diff --git a/tests/test_ProxiedContracts.py b/tests/test_ProxiedContracts.py @@ -7,6 +7,7 @@ from tests.contract_interfaces.extern_state_fee_token_interface import ExternSta from tests.contract_interfaces.havven_escrow_interface import PublicHavvenEscrowInterface from tests.contract_interfaces.court_interface import Fa...
7
diff --git a/src/generators/constrain.less b/src/generators/constrain.less .define-constrains(@variants) { .generate-utility-variants('constrain'; @variants; { max-width: extract(@__variant-value, 2); - flex-basis: extract(@__variant-value, 2); }); } .define-constrains(@variants); .generate-responsive-utility-variants(...
2
diff --git a/html/utilities/validation/isValidMonetary.js b/html/utilities/validation/isValidMonetary.js const isValidMonetary = (value) => { const expression = /(^\$?(\d+|\d{1,3}(,\d{3})*)(\.\d+)?$)|^$/; return expression.test(value); -} +}; export { isValidMonetary as default }; \ No newline at end of file
3
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb @@ -149,6 +149,12 @@ describe User do @organization.destroy end + def create_role(user) + # NOTE: It's hard to test the real Groups API call here, it needs a Rails server up and running + # Instead, we test the main step that this function does internally...
7
diff --git a/.travis.yml b/.travis.yml @@ -3,14 +3,16 @@ node_js: - '10' cache: directories: - - "$HOME/.cache/yarn" - - ".cache" -dist: trusty + - node_modules + yarn: true +dist: xenial os: - linux script: - yarn test before_deploy: rm -rf node_modules +before_install: + - npm install -g yarn deploy: provider: heroku...
7
diff --git a/src/store/actions/performNextAction.js b/src/store/actions/performNextAction.js @@ -30,8 +30,12 @@ async function withInterval (func) { async function hasSwapExpired ({ getters }, { network, walletId, order }) { const fromClient = getters.client(network, walletId, order.from) + try { const latestBlock = aw...
1
diff --git a/userscript.user.js b/userscript.user.js @@ -72848,7 +72848,7 @@ var $$IMU_EXPORT$$; if (domain_nosub === "userapi.com") { // https://sun6-14.userapi.com/impg/c200620/v200620345/27c83/89QyoQ7VCt8.jpg?size=200x0&quality=90&sign=e60754261191285d162c2466eddcc1a8 // https://sun6-14.userapi.com/c200620/v20062034...
7
diff --git a/src/apps.json b/src/apps.json "js": { "particleJS": "" }, - "script": "/particles(?:\\min)?\\.js", + "script": "/particles(?:\\.min)?\\.js", "html": "<div id=\"particles\\-js\">", "website": "https://vincentgarreau.com/particles.js/" },
1
diff --git a/sources/osgShader/CompilerVertex.js b/sources/osgShader/CompilerVertex.js @@ -170,9 +170,9 @@ var CompilerVertex = { return boneMatrix; }, - getTarget: function(name, i) { - var type = name.indexOf('Tangent') !== -1 ? 'vec4' : 'vec3'; - return this.getOrCreateAttribute(type, name + '_' + i); + getTarget: f...
7
diff --git a/resources/views/laravel-medialibrary/v7/downloading-media/downloading-multiple-files.md b/resources/views/laravel-medialibrary/v7/downloading-media/downloading-multiple-files.md @@ -6,7 +6,7 @@ You might want to let users be able to download multiple files at once. Traditio The medialibrary is able to zip ...
10
diff --git a/src/data/icons.yaml b/src/data/icons.yaml viewBox: 0 0 64 64 description: Used to illustrate the direction an action can be taken or where the user will be taken after the action is taken. +- name: chevron-down-circle + viewBox: 0 0 64 64 + description: ... - name: chevron-down-circle-filled viewBox: 0 0 6...
3
diff --git a/tests/e2e/plugins/reset.php b/tests/e2e/plugins/reset.php @@ -12,4 +12,17 @@ use Google\Site_Kit\Core\Util\Reset; register_activation_hook( __FILE__, static function () { ( new Reset( new Context( GOOGLESITEKIT_PLUGIN_MAIN_FILE ) ) )->all(); + + /** + * Remove anything left behind. + * @link https://github...
3
diff --git a/test/www/jxcore/bv_tests/testThaliMobileNative.js b/test/www/jxcore/bv_tests/testThaliMobileNative.js @@ -343,6 +343,7 @@ function shiftData (t, sock, exchangeData) { } }); sock.on('close', function () { + t.equal(receivedData, exchangeData, 'got the same data back'); resolve(); });
0
diff --git a/src/styles/StyleUtils.js b/src/styles/StyleUtils.js @@ -470,38 +470,38 @@ function getPaymentMethodMenuWidth(isSmallScreenWidth) { * @returns {Array} The RGB components of the RGBA color converted to RGB. */ function convertRGBAToRGB(foregroundRGB, backgroundRGB, opacity) { - const [foregroundR, foreground...
10
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/pagebrowser/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/pagebrowser/template.vue type: "checkbox", label: "Open in new window?", model: "newWindow", - default: true + default: false } ] },
12
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,74 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master where X.Y.Z is the semver of most recent plotly.js release. +## [1.42.0] -- 2018-10-29 + +### Added +- Add `parcats` (aka parallel categories) trace type [#2963, #3072] +- Add new gl3d tick and title ...
3
diff --git a/src/App/components/StoryMaster/NuxJoinCard/index.js b/src/App/components/StoryMaster/NuxJoinCard/index.js @@ -36,15 +36,20 @@ class NuxJoinCard extends Component { componentWillMount = () => { const { user: { frequencies } } = this.props; const usersFrequencies = Object.keys(frequencies); + let featuredArr...
1
diff --git a/src/formio.form.js b/src/formio.form.js @@ -238,10 +238,19 @@ export class FormioForm extends FormioComponents { } keyboardCatchableElement(element) { + if (element.nodeName === 'TEXTAREA') { + return false; + } + + if (element.nodeName === 'INPUT') { return [ - 'INPUT', - 'TEXTAREA' - ].indexOf(element.no...
7
diff --git a/src/api/message.js b/src/api/message.js @@ -34,6 +34,12 @@ const SEND_MESSAGE_OPTIONS = { __typename: 'Message', sender: { ...ownProps.currentUser, + contextPermissions: { + isOwner: false, + isModerator: false, + reputation: 0, + __typename: 'ContextPermissions', + }, __typename: 'User', }, timestamp: +ne...
1
diff --git a/src/js/utils/modal.js b/src/js/utils/modal.js @@ -128,12 +128,17 @@ function createModalOverlay() { * @param {HTMLElement} targetElement The element the opening will expose * @param {SVGElement} openingElement The svg mask for the opening */ -function positionModalOpening(targetElement, openingElement) { +...
0
diff --git a/.github/VISION.md b/.github/VISION.md @@ -124,6 +124,17 @@ Thanks for your support! ***TL-BR***: This list is most likely not even complete. You don't need to be a genius in math to figure out that this is a massive amount of work. +If I would create neo.mjs just for myself, there would be no Docs app, no ...
12
diff --git a/js/whitebit.js b/js/whitebit.js // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); -const { ExchangeNotAvailable, ExchangeError, DDoSProtection, BadSymbol, InvalidOrder, ArgumentsRequired } = require ('./base/errors'); +const { Excha...
9
diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js @@ -459,7 +459,6 @@ module.exports = function(RED) { if(!opts || typeof opts !== "object") { return; //nothing to change, simply return } - // const originalBrokerURL = node.brokeru...
2
diff --git a/src/style/themes/base/base-theme.config.js b/src/style/themes/base/base-theme.config.js @@ -32,20 +32,6 @@ export default (palette) => { size: '14px' }, - field: { - text: { - size: { - primary: '14px', - secondary: '16px' - } - }, - padding: { - primary: '9px 1px', - secondary: '9px 4px', - tertiary: '9px...
13
diff --git a/tests/functional/aws-node-sdk/test/object/100-continue.js b/tests/functional/aws-node-sdk/test/object/100-continue.js @@ -78,7 +78,7 @@ class ContinueRequestHandler { assert.strictEqual(req.socket.bytesWritten, expected); return cb(); }); - //req.on('error', err => cb(err)); + req.on('error', err => cb(err...
13
diff --git a/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/LegacyDashboardAllTraffic.js b/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/LegacyDashboardAllTraffic.js @@ -30,7 +30,6 @@ import DashboardModuleHeader from '../../../../../components/dashboard/Dashboar...
2
diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx @@ -114,7 +114,7 @@ const Editor = createClass({ let editorPageCount = 2; // start counting from page 2 - const lineNumbers = _.reduce(this.props.brew.text.split('\n'), (r, line, lineNumber)=>{ + _.forEach(this.props.brew.text.split('\n'...
14
diff --git a/packages/@uppy/core/src/_common.scss b/packages/@uppy/core/src/_common.scss Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; line-height: 1; -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } .uppy-Root *, .uppy-Root *:before, .uppy-Root *:after { max-...
2
diff --git a/articles/software-testing-part2/index.md b/articles/software-testing-part2/index.md @@ -72,7 +72,7 @@ Then, we create a first test that fulfills our first condition. from factorial import find_factorial -def test_find_factorial(): +def test_find_factorial_of_zero(): num = 0 assert find_factorial(num) == 1 ...
10
diff --git a/packages/react-filerobot-image-editor/src/utils/cloudimageQueryToDesignState.js b/packages/react-filerobot-image-editor/src/utils/cloudimageQueryToDesignState.js @@ -173,8 +173,10 @@ const cloudimageQueryToDesignState = ( ? { [WATERMARK_ANNOTATION_ID]: { ...watermark, + x: (crop.x || 0) + (watermark.x || 0...
7
diff --git a/includes/Core/Authentication/Clients/OAuth_Client.php b/includes/Core/Authentication/Clients/OAuth_Client.php @@ -208,6 +208,21 @@ final class OAuth_Client { $this->google_client->setScopes( $this->get_required_scopes() ); $this->google_client->prepareScopes(); + // This is called when the client refreshes...
12
diff --git a/ui/src/screens/SearchScreen/SearchScreen.jsx b/ui/src/screens/SearchScreen/SearchScreen.jsx @@ -131,7 +131,7 @@ class SearchScreen extends React.Component { icon: 'person' } ]; - this.state = {facets: facets, toggle: false}; + this.state = {facets: facets, hideFacets: false}; this.updateQuery = this.update...
10
diff --git a/character-controller.js b/character-controller.js @@ -58,7 +58,20 @@ class PlayerHand extends THREE.Object3D { this.enabled = false; } } -class Player extends THREE.Object3D { +class PlayerBase extends THREE.Object3D { + constructor() { + super(); + + this.leftHand = new PlayerHand(); + this.rightHand = ne...
0
diff --git a/articles/api-auth/tutorials/implicit-grant.md b/articles/api-auth/tutorials/implicit-grant.md @@ -41,7 +41,7 @@ Where: Auth0 returns profile information in a [structured claim format as defined by the OIDC specification](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims). This means that...
0
diff --git a/codegens/libcurl/test/unit/convert.test.js b/codegens/libcurl/test/unit/convert.test.js @@ -36,13 +36,15 @@ function runSnippet (codeSnippet, collection, done) { return callback(stderr); } - return exec('./executableFile', function (err, stdout, stderr) { + exec('./executableFile', function (err, stdout, s...
1
diff --git a/test/www/jxcore/bv_tests/testThaliMobileNative.js b/test/www/jxcore/bv_tests/testThaliMobileNative.js @@ -339,10 +339,10 @@ function shiftData (t, sock, exchangeData) { sock.on('data', function (chunk) { receivedData += chunk.toString(); if (receivedData === exchangeData) { - sock.end(); + sock.destroy(); ...
14
diff --git a/package-lock.json b/package-lock.json "pick-by-alias": "^1.2.0", "raf": "^3.4.1", "regl-scatter2d": "^3.1.9" + }, + "dependencies": { + "@plotly/point-cluster": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/@plotly/point-cluster/-/point-cluster-3.1.9.tgz", + "integrity": "sha512-MwaI6g9...
3
diff --git a/waitlist/test/test_views.py b/waitlist/test/test_views.py from django.contrib.auth.models import User from django.test import TestCase from django.utils import timezone +from unittest.mock import patch from books.models import Book, BookCopy, Library from waitlist.models import WaitlistItem @@ -16,17 +17,2...
7
diff --git a/polyfills/TypedArray/prototype/at/tests.js b/polyfills/TypedArray/prototype/at/tests.js /* global proclaim, Int8Array */ // use "Int8Array" as a proxy for all "TypedArray" subclasses -if ('Int8Array' in self) { + it('is a function', function () { proclaim.isFunction(Int8Array.prototype.at); }); @@ -60,4 +6...
2
diff --git a/publish/src/commands/deploy/check-aggregator-prices.js b/publish/src/commands/deploy/check-aggregator-prices.js 'use strict'; -const Web3 = require('web3'); +const ethers = require('ethers'); const axios = require('axios'); const { gray, yellow, red, cyan } = require('chalk'); @@ -11,7 +11,7 @@ module.expo...
2
diff --git a/src/views/Details/NFTAssetDetails.vue b/src/views/Details/NFTAssetDetails.vue @@ -192,7 +192,8 @@ export default { showFullscreen: false, activeTab: 'overview', nftAsset: null, - accountId: '' + accountId: '', + prevRoute: null } }, components: { @@ -203,6 +204,11 @@ export default { NavBar, Star }, + befo...
3
diff --git a/metaverse_modules/ki/index.js b/metaverse_modules/ki/index.js @@ -12,7 +12,9 @@ const identityQuaternion = new THREE.Quaternion(); let kiGlbApp = null; const loadPromise = (async () => { - kiGlbApp = await metaversefile.load(baseUrl + 'ki.glb'); + kiGlbApp = await metaversefile.createAppAsync({ + start_url...
4
diff --git a/edit.html b/edit.html <i class="fal fa-cube"></i> <div class=label>Shapes [7]</div> </a> - <a id=weapon-8 class="weapon" weapon="light"> + <a id=weapon-8 class="weapon" weapon="inventory"> + <i class="fal fa-backpack"></i> + <div class=label>Inventory [8]</div> + </a> + <a id=weapon-9 class="weapon" weapon...
0
diff --git a/src/lib/traceTypes.js b/src/lib/traceTypes.js @@ -12,10 +12,10 @@ export const chartCategory = _ => { value: 'CHARTS_3D', label: _('3D charts'), }, - FINANCIAL: { - value: 'FINANCIAL', - label: _('Finance'), - }, + // FINANCIAL: { + // value: 'FINANCIAL', + // label: _('Finance'), + // }, DISTRIBUTIONS: { ...
5
diff --git a/lib/assets/core/test/spec/cartodb3/editor/layers/layer-content-view/analyses/analyses-form-models/filter-by-node-column.spec.js b/lib/assets/core/test/spec/cartodb3/editor/layers/layer-content-view/analyses/analyses-form-models/filter-by-node-column.spec.js @@ -147,39 +147,5 @@ describe('editor/layers/laye...
2
diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js @@ -198,9 +198,10 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ , 'deliverAt' : deliverAt // The time at which the microbolus should be delivered }; - var basaliob; - if (iob_data.basaliob)...
11
diff --git a/lib/node_modules/@stdlib/blas/ddot/lib/main.js b/lib/node_modules/@stdlib/blas/ddot/lib/main.js @@ -86,10 +86,10 @@ function ddot( x, y ) { }; x = array( x, opts ); y = array( y, opts ); - if ( x.ndims !== 1 ) { + if ( x.shape.length !== 1 ) { throw new TypeError( 'invalid argument. First argument must be ...
4
diff --git a/public/javascripts/SVLabel/src/SVLabel/task/TaskContainer.js b/public/javascripts/SVLabel/src/SVLabel/task/TaskContainer.js @@ -434,14 +434,6 @@ function TaskContainer (navigationModel, neighborhoodModel, streetViewService, s * - If the street you just audited connects to any of those, pick the highest pri...
3
diff --git a/extensions/projection/README.md b/extensions/projection/README.md @@ -90,8 +90,8 @@ If the transform is defined in an item's properties it is used as the default tr | Field Name | Type | Description | | ---------- | -------- | -------------------------------------------- | -| proj:shape | [number] | See it...
1
diff --git a/generators/client/templates/angular/webpack/_webpack.common.js b/generators/client/templates/angular/webpack/_webpack.common.js @@ -122,8 +122,7 @@ module.exports = function (options) { { from: './src/main/webapp/favicon.ico', to: 'favicon.ico' }, { from: './src/main/webapp/manifest.webapp', to: 'manifest....
2
diff --git a/builds/jazz-build-module/sls-app/sbr.groovy b/builds/jazz-build-module/sls-app/sbr.groovy @@ -7,10 +7,10 @@ import org.json.* echo "sbr.groovy is being loaded" -def steps +def output -def initialize(steps,aWhitelistValidator) { - this.steps = steps +def initialize(output,aWhitelistValidator) { + this.outpu...
10
diff --git a/lib/tasks/connectors_api.rake b/lib/tasks/connectors_api.rake @@ -51,7 +51,7 @@ namespace :cartodb do puts "Organization not found: #{args.org}" if org.blank? if provider.present? && org.present? org_config = Carto::ConnectorConfiguration.where( - connector_provider_id: provider.id, organization_id: user.o...
1
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -8,11 +8,9 @@ Some of the tests require databases to run locally. The easiest way to run these ### Making a new release To make a release, you first need to ensure that the released version will either be a semver minor or patch release so that automatic updates are wor...
4
diff --git a/source/server.js b/source/server.js @@ -266,8 +266,9 @@ app.get('/serverdata.js', (req, res) => { const text = `ungit.config = ${JSON.stringify(config)};\n` + `ungit.userHash = "${hash}";\n` + `ungit.version = "${config.ungitDevVersion}";\n` + - `ungit.platform = "${os.platform()}"\n` + - `ungit.pluginApiV...
12
diff --git a/base/tile_events/RopeEvent.ts b/base/tile_events/RopeEvent.ts @@ -9,7 +9,7 @@ import { event_types, TileEvent } from "./TileEvent"; * over a rope. */ export class RopeEvent extends TileEvent { - private static readonly SWING_SIZE = 3; + private static readonly SWING_SIZE = 2; /** Whether the char will be w...
7
diff --git a/lod.js b/lod.js @@ -398,6 +398,32 @@ const sortTasks = (tasks, worldPosition) => { }); return taskDistances.map(taskDistance => taskDistance.task); }; */ + +class DataRequest { + constructor(node) { + this.node = node; + + this.abortController = new AbortController(); + this.signal = this.abortController.s...
0
diff --git a/src/apps.json b/src/apps.json "icon": "jQuery.svg", "implies": "jQuery", "js": { - "jQuery.migrateVersion": "([\\d.]+)\\;version:\\1" + "jQuery.migrateVersion": "([\\d.]+)\\;version:\\1", + "jQuery.migrateWarnings": "", + "jqueryMigrate": "" }, - "script": "jquery[.-]migrate(?:-([\\d.]))?(?:\\.min)?\\.js(?...
7
diff --git a/tests/test_Owned.py b/tests/test_Owned.py @@ -36,32 +36,48 @@ class TestOwned(unittest.TestCase): cls.owned_event_map = generate_topic_event_map(compiled['Owned']['abi']) - def test_owner_is_master(self): + def test_constructor(self): self.assertEqual(self.owned.owner(), MASTER) + self.assertEqual(self.own...
7
diff --git a/packages/gallery/src/components/item/pure.js b/packages/gallery/src/components/item/pure.js @@ -5,7 +5,6 @@ import { GALLERY_CONSTS, utils, isSEOMode } from 'pro-gallery-lib'; function getSlideAnimationStyles({ idx, activeIndex, options, container }) { const { isRTL, slideAnimation } = options; const baseS...
2
diff --git a/packages/app/src/components/Layout/RawLayout.tsx b/packages/app/src/components/Layout/RawLayout.tsx -import React, { ReactNode } from 'react'; +import React, { ReactNode, useEffect, useState } from 'react'; -import { useTheme } from 'next-themes'; import Head from 'next/head'; import { useGrowiTheme } from...
12
diff --git a/src/modules/auto-updater/implementation/ot-auto-updater.js b/src/modules/auto-updater/implementation/ot-auto-updater.js @@ -240,13 +240,14 @@ class OTAutoUpdater { const command = `cd ${destination} && npm ci --omit=dev --ignore-scripts`; const child = exec(command); - + let rejected = false; child.stdout....
3
diff --git a/src/common/integrations/GoogleDrive.js b/src/common/integrations/GoogleDrive.js @@ -186,7 +186,7 @@ class GoogleDrive { .setVisible(true); }) .catch(e => { - if (error.status && error.status === 401) { + if (e.status && e.status === 401) { this.signOut(); }
3
diff --git a/core/worker/.gitlab-ci.yml b/core/worker/.gitlab-ci.yml @@ -37,14 +37,14 @@ build: - echo ${HKUBE_CI_TOKEN} | docker login -u yehiyam --password-stdin registry.gitlab.com - export PRIVATE_REGISTRY=registry.gitlab.com/greenapes/hkube/registry - npm run build -.deploy: +deploy: stage: deploy only: - triggers...
0
diff --git a/app/src/renderer/components/PageDelegate.vue b/app/src/renderer/components/PageDelegate.vue @@ -80,7 +80,7 @@ export default { // reduce unallocated atoms by assigned atoms this.fields.candidates.forEach(f => (value -= f.atoms)) - return value > 0 ? value : 0 + return value }, unallocatedAtomsPercent () { ...
11
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.207.3", + "version": "0.207.4", "license": "MIT", "activationCommands": { "atom-workspace": [
6
diff --git a/test/jasmine/tests/hover_label_test.js b/test/jasmine/tests/hover_label_test.js @@ -4798,11 +4798,6 @@ describe('hovermode: (x|y)unified', function() { } }) .then(function(gd) { - _hover(gd, { xpx: 25, ypx: 250 }); - assertLabel({title: 'Jan 1, 2017', items: [ - 'scatter : 1' - ]}); - _hover(gd, { xpx: 50,...
0
diff --git a/token-metadata/0x995dE3D961b40Ec6CDee0009059D48768ccbdD48/metadata.json b/token-metadata/0x995dE3D961b40Ec6CDee0009059D48768ccbdD48/metadata.json "symbol": "UFC", "address": "0x995dE3D961b40Ec6CDee0009059D48768ccbdD48", "decimals": 8, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" }...
3
diff --git a/protocols/delegate-manager/test/DelegateManager.js b/protocols/delegate-manager/test/DelegateManager.js @@ -21,8 +21,7 @@ contract('DelegateManager Integration Tests', async accounts => { let indexer let delegateFactory let delegateManager - let delegateAddress1 - let delegateAddress2 + let delegateAddress...
3
diff --git a/includes/Modules/Search_Console.php b/includes/Modules/Search_Console.php @@ -19,7 +19,6 @@ use Google\Site_Kit\Core\Modules\Module_With_Screen; use Google\Site_Kit\Core\Modules\Module_With_Screen_Trait; use Google\Site_Kit\Core\Modules\Module_With_Scopes; use Google\Site_Kit\Core\Modules\Module_With_Scope...
2
diff --git a/addon/components/base/bs-form.js b/addon/components/base/bs-form.js @@ -260,7 +260,11 @@ export default Component.extend({ assert('You cannot use the form element\'s default onChange action for form elements if not using a model or setting the value directly on a form element. You must add your own onChang...
4
diff --git a/sirepo/job_supervisor.py b/sirepo/job_supervisor.py @@ -111,8 +111,10 @@ class _ComputeJob(PKDict): job.PENDING: _cancel_queued, job.RUNNING: _cancel_running, }) + self.status = job.CANCELED return await d[self.status](self, req) if self.computeJobHash != req.content.computeJobHash: + self.status = job.CAN...
12
diff --git a/debian/rules b/debian/rules @@ -9,9 +9,7 @@ include /usr/share/cdbs/1/class/ant.mk #include /usr/share/cdbs/1/rules/dpatch.mk #include /usr/share/cdbs/1/rules/simple-patchsys.mk -JAVA_HOME_DIRS := /usr/lib/jvm/default-java \ - /usr/lib/jvm/adoptopenjdk-8-jdk-hotspot \ - /usr/lib/jvm/java-8-openjdk-arm64 +J...
14
diff --git a/js/app.js b/js/app.js @@ -263,6 +263,15 @@ var App = function() { this.stop(); process.exit(0); }); + + /* We also need to listen to SIGTERM signals so we stop everything when we are asked to stop by the OS. + */ + process.on("SIGTERM", () => { + console.log("[SIGTERM] Received. Shutting down server..."); ...
9
diff --git a/views/about.pug b/views/about.pug @@ -97,7 +97,7 @@ block content p. In May 2018, we created #[a(href='https://opencollective.com/getbootstrapcdn', rel='noopener', target='_blank') an organization on Open Collective]. - We use the collective for any money we make from advertisements (CarbonAds) or affiliat...
0
diff --git a/pages/claim.js b/pages/claim.js @@ -16,7 +16,11 @@ const ALLOWED_CONTEXT = ['claim', 'access'] const Claim = ({ router: { query }, t }) => { let { context, email, code } = query - context = ALLOWED_CONTEXT.includes(context) && context + context = + ALLOWED_CONTEXT.includes(context) && + (code && code.lengt...
8
diff --git a/src/traces/carpet/axis_attributes.js b/src/traces/carpet/axis_attributes.js var extendFlat = require('../../lib/extend').extendFlat; var fontAttrs = require('../../plots/font_attributes'); var colorAttrs = require('../../components/color/attributes'); +var axesAttrs = require('../../plots/cartesian/layout_...
2
diff --git a/src/userscript.ts b/src/userscript.ts @@ -87050,7 +87050,12 @@ var $$IMU_EXPORT$$; if (domain === "imgs.ototoy.jp") { // https://imgs.ototoy.jp/imgs/jacket/0036/00121822.1375675376.146_320.jpg // https://imgs.ototoy.jp/imgs/jacket/0036/00121822.1375675376.146orig.jpg - return src.replace(/(\/imgs\/+jacket\...
7
diff --git a/bin/endtoend-build b/bin/endtoend-build @@ -20,3 +20,4 @@ rm ./test/endtoend/package-lock.json cp ./test/endtoend/node_modules/uppy/dist/uppy.min.css ./test/endtoend/dist cp ./test/endtoend/src/index.html ./test/endtoend/dist browserify ./test/endtoend/src/main.js -o ./test/endtoend/dist/bundle.js -t babel...
2
diff --git a/spec/e2e/text-editing.spec.js b/spec/e2e/text-editing.spec.js @@ -5,8 +5,6 @@ jasmine.DEFAULT_TIMEOUT_INTERVAL = 50000; var helpers = require('./helpers'); var driver = require('selenium-webdriver'); -var blockTypes = ["text"]; // jshint ignore:line - var pressShift = function() { return helpers.browser.ac...
7
diff --git a/src/algorithms/utils/jest-extensions/toBeCloseToArraySnapshot.ts b/src/algorithms/utils/jest-extensions/toBeCloseToArraySnapshot.ts @@ -89,7 +89,7 @@ export default function toBeCloseToArraySnapshot(this: Context, received: number message: () => `expected: ${expected}\n received: ${received}`, actual: seri...
1
diff --git a/js/kiri-driver-cam.js b/js/kiri-driver-cam.js @@ -921,7 +921,7 @@ var gs_kiri_cam = exports; widgetCount = widgetArray.length, widget = widgetArray[widgetIndex]; - if (widgetIndex >= widgetCount || !widget) return; + if (widgetIndex >= widgetCount || !widget || !widget.getCamBounds) return; var slices = wi...
9
diff --git a/js/core/bis_bidsutils.js b/js/core/bis_bidsutils.js @@ -357,9 +357,10 @@ let dicom2BIDS = async function (opts) { * Call this function after image files have been altered in some way, e.g. by a user changing where files are in the file tree. * * @param {Array} changedFiles - Names of files that have alread...
1
diff --git a/test/test.js b/test/test.js @@ -156,6 +156,31 @@ module.exports = function (redom) { onunmount: true }); }); + t.test('component lifecycle events inside node element', function (t) { + t.plan(1); + var eventsFired = {}; + function Item() { + this.el = el('p'); + this.onmount = function () { + eventsFired.o...
0
diff --git a/apps.json b/apps.json "icon": "app.png", "version":"0.01", "description": "A simple vertical watch face with the date.", + "type":"clock", "tags": "clock, clock-face, face", "storage": [ {"name":"verticalface.app.js","url":"app.js"},
11
diff --git a/test/integration-test.js b/test/integration-test.js @@ -1551,8 +1551,8 @@ vows.describe('integration tests') 'a{font-family:Helvetica,Arial}' ], 'keeps quoting for generic families' : [ - '.block{font-family:"cursive","default","emoji","fangsong","fantasy","inherit","initial","math","monospace",font-family...
1
diff --git a/edit.js b/edit.js @@ -2475,11 +2475,10 @@ document.getElementById('inventory-drop-zone').addEventListener('drop', async e jsonItem.getAsString(resolve); }); const j = JSON.parse(s); - let {name, dataHash, id, iconHash, contractAddress} = j; + let {name, dataHash, id, iconHash} = j; if (!dataHash) { const p...
2
diff --git a/magda-web-client/src/UI/Notification.js b/magda-web-client/src/UI/Notification.js @@ -10,9 +10,18 @@ function Notification(props) { let content = props.conent; if (!content) content = {}; + if (content instanceof Error) { + type = "error"; + content = { + title: "Error:", + detail: content.message + }; + }...
7
diff --git a/js/views/Map.js b/js/views/Map.js @@ -120,7 +120,8 @@ function labelz(txt, min, max) { //var maxZoom = 100; // for 2d orthographic view -var perspective = 55; +// https://gamedev.stackexchange.com/questions/53601/why-is-90-horz-60-vert-the-default-fps-field-of-view +var perspective = 60; // XXX This is not...
7