code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/transform.js b/transform.js @@ -19,15 +19,56 @@ module.exports = ({ types: t, template }) => { `); } - const returnIfAbruptTemplateGeneric = template.expression(` - do { - const hygenicTemp = ARG; + // Take care not to evaluate ARGUMENT multiple times. + const templates = { + Q: { + dontCare: template.stat...
2
diff --git a/token-metadata/0x3F382DbD960E3a9bbCeaE22651E88158d2791550/metadata.json b/token-metadata/0x3F382DbD960E3a9bbCeaE22651E88158d2791550/metadata.json "symbol": "GHST", "address": "0x3F382DbD960E3a9bbCeaE22651E88158d2791550", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/closure/goog/structs/pool.js b/closure/goog/structs/pool.js @@ -136,7 +136,7 @@ goog.structs.Pool.prototype.setMinimumCount = function(min) { /** * Sets the maximum count of the pool. - * If max is less than the max count of the pool, an error is thrown. + * If max is less than the min count of the pool, a...
1
diff --git a/app/models/mushroom_observer_import_flow_task.rb b/app/models/mushroom_observer_import_flow_task.rb @@ -99,7 +99,7 @@ class MushroomObserverImportFlowTask < FlowTask return existing if existing o = Observation.new( user: user ) o.observation_field_values.build( observation_field: mo_url_observation_field, ...
1
diff --git a/character-controller.js b/character-controller.js @@ -799,19 +799,6 @@ class StatePlayer extends PlayerBase { } actions.push([action]); } - setMicMediaStream(mediaStream) { - if (this.microphoneMediaStream) { - this.microphoneMediaStream.disconnect(); - this.microphoneMediaStream = null; - } - if (mediaStr...
2
diff --git a/src/core/edgeNetwork/injectExtractEdgeInfo.js b/src/core/edgeNetwork/injectExtractEdgeInfo.js @@ -16,7 +16,13 @@ export default ({ logger }) => adobeEdgeHeader => { if (headerParts.length >= 2 && headerParts[1].length > 0) { try { const regionId = parseInt(headerParts[1], 10); - if (!Number.isNaN(regionId)...
1
diff --git a/components/mapbox/ban-map/popups.js b/components/mapbox/ban-map/popups.js @@ -15,9 +15,14 @@ function popupNumero({numero, suffixe, lieuDitComplementNom, nomVoie, nomCommune <b>{numero}{suffixe} {nomVoie} {lieuDitComplementNom ? `(${lieuDitComplementNom})` : ''}</b> <Tag type='numero' /> </div> - <div>{nom...
7
diff --git a/crypto.js b/crypto.js @@ -36,8 +36,10 @@ const mintToken = async (file, {description = ''} = {}) => { tokenId = null; } if (status) { - console.log('minting', ['NFT', 'mint', address, '0x' + hash, file.name, description, quantity]); - const result = await runSidechainTransaction(mnemonic)('NFT', 'mint', ad...
0
diff --git a/package.json b/package.json ], "homepage": "https://github.com/aerospike/aerospike-client-nodejs", "license": "Apache-2.0", - "main": "./build/Release/aerospike", + "main": "lib/aerospike", "engines": { "node": ">=4" },
1
diff --git a/test/tests.front.js b/test/tests.front.js @@ -7,7 +7,6 @@ mocha.setup({ }) window.expect = chai.expect -describe('math editor', () => { const $el = {} const pasteEventMock = { type: 'paste', originalEvent: { @@ -18,8 +17,9 @@ describe('math editor', () => { } } +describe('rich text editor', () => { before(...
2
diff --git a/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MissingFocusableChild.ts b/accessibility-checker-engine/src/v4/rules/Rpt_Aria_MissingFocusableChild.ts @@ -49,7 +49,7 @@ export let Rpt_Aria_MissingFocusableChild: Rule = { return; //skip the check if the element requires presentational children only - if ...
3
diff --git a/src/components/Player/Pages/Histograms/Histograms.jsx b/src/components/Player/Pages/Histograms/Histograms.jsx @@ -11,15 +11,17 @@ import { browserHistory } from 'react-router'; import strings from 'lang'; const Histogram = ({ routeParams, columns, playerId, error, loading }) => ( - <Container style={{ font...
1
diff --git a/devices/ikea.js b/devices/ikea.js @@ -38,7 +38,8 @@ const configureRemote = async (device, coordinatorEndpoint, logger) => { // - https://github.com/Koenkk/zigbee2mqtt/issues/7716 const endpoint = device.getEndpoint(1); const version = device.softwareBuildID.split('.').map((n) => Number(n)); - const bindTa...
7
diff --git a/src/encoded/schemas/file.json b/src/encoded/schemas/file.json { "not": { "required": ["status"] + }, + "properties": { + "no_file_available": { + "enum": [false] + } } }, { - "required": ["file_size"], + "required": ["file_size", "status"], "properties": { "status": { "enum": ["in progress", "revoked", "ar...
0
diff --git a/source/views/controls/RichTextView.js b/source/views/controls/RichTextView.js @@ -420,7 +420,7 @@ const RichTextView = Class({ const showToolbar = this.get('showToolbar'); return new ToolbarView({ - className: 'v-Toolbar v-RichText-toolbar', + className: 'v-Toolbar v-Toolbar--preventOverlap v-RichText-tool...
0
diff --git a/src/payment-flows/native.js b/src/payment-flows/native.js @@ -41,7 +41,7 @@ const NATIVE_DOMAIN_SANDBOX = 'https://www.paypal.com'; // Popup domain needs to be different than native domain for app switch to work on iOS const NATIVE_POPUP_DOMAIN = 'https://ic.paypal.com'; -const NATIVE_POPUP_DOMAIN_SANDBOX ...
4
diff --git a/doc/includes/API.md b/doc/includes/API.md @@ -6737,30 +6737,55 @@ Type|Description ## transaction -See the section on [transaction callback](#transaction-callback) +See the section about [transactions](#passing-around-a-transaction-object) ### Methods #### start -See the section on [transaction object](#tr...
7
diff --git a/edit.js b/edit.js @@ -2023,8 +2023,11 @@ function animate(timestamp, frame) { pe.setRigMatrix(null); } - velocity.x *= 0.7; - velocity.z *= 0.7; + const terminalVelocity = 50; + const _clampToTerminalVelocity = v => Math.min(Math.max(v, -terminalVelocity), terminalVelocity); + velocity.x = _clampToTerminal...
0
diff --git a/test/image/compare_pixels_test.js b/test/image/compare_pixels_test.js @@ -116,10 +116,9 @@ if(allMock || argv.filter) { var FLAKY_LIST = [ 'treemap_coffee', - 'treemap_sunburst_marker_colors', 'treemap_textposition', 'treemap_with-without_values', - 'gl3d_directions-streamtube1', + 'sunburst_with-without_v...
3
diff --git a/bin/deploy-gh-pages.sh b/bin/deploy-gh-pages.sh @@ -24,7 +24,6 @@ fi git pull --ff-only --no-stat cp -r "$ROOT/doc" "$ROOT/dist" . -cp -r "$ROOT/visualizer/" ./editor # Temporary until main repo is changed. git add doc dist editor git commit -m "Update from cdglabs/ohm@${OHM_REV}" git push origin master
1
diff --git a/.travis.yml b/.travis.yml @@ -13,6 +13,6 @@ notifications: on_failure: always before_install: - openssl aes-256-cbc -K $encrypted_32b6c04b6d48_key -iv $encrypted_32b6c04b6d48_iv - -in deploy-key.enc -out ~\.ssh/deploy-key -d + -in deploy-key.enc -out ~/.ssh/deploy-key -d after_success: - bin/deploy.sh \ No...
1
diff --git a/src/redux/Checkout/actions.js b/src/redux/Checkout/actions.js @@ -607,22 +607,25 @@ export function updateCart(payload, cb) { const { cart } = getState().checkout + if (payload.shippingAddress) { const shippingAddress = { ...cart.shippingAddress, ...payload.shippingAddress, } + payload = { + ...payload, + ...
11
diff --git a/pages/commune/[codeCommune].js b/pages/commune/[codeCommune].js @@ -30,12 +30,10 @@ function Commune({communeInfos, mairieInfos, revisions, codeCommune, currentRevi typeComposition={typeCompositionAdresses} hasMigratedBAL={hasRevision} /> + {typeCompositionAdresses !== 'assemblage' && ( <> - <BalQuality - ...
2
diff --git a/src/components/TableResize.js b/src/components/TableResize.js @@ -99,7 +99,7 @@ class TableResize extends React.Component { onResizeMove = (id, e) => { const { isResize, resizeCoords } = this.state; const fixedMinWidth = 100; - const idNumber = parseInt(id); + const idNumber = parseInt(id,10); const finalC...
0
diff --git a/public/js/office.web.js b/public/js/office.web.js @@ -242,11 +242,11 @@ $(() => { }); officeIo.onParticipantStartedMeet(function (user,roomId){ - showUserInRoom(user,roomId,officeIo.getSocketIo()); + showUserInRoom(user,roomId); }); officeIo.onParticipantLeftMeet(function (user,roomId){ - showUserInRoom(us...
1
diff --git a/plugins/auth/auth_ldap.js b/plugins/auth/auth_ldap.js @@ -7,7 +7,7 @@ exports.hook_capabilities = function (next, connection) { // Don't offer AUTH capabilities by default unless session is encrypted if (connection.tls.enabled) { const methods = [ 'LOGIN' ]; - connection.capabilities.push('AUTH ' + methods...
14
diff --git a/src/charts/Pie.js b/src/charts/Pie.js @@ -217,9 +217,8 @@ class Pie { startAngle = endAngle prevStartAngle = prevEndAngle - endAngle = (startAngle + sectorAngleArr[i]) % this.fullAngle - prevEndAngle = - (prevStartAngle + this.prevSectorAngleArr[i]) % this.fullAngle + endAngle = startAngle + sectorAngleArr...
1
diff --git a/token-metadata/0x7AfB39837Fd244A651e4F0C5660B4037214D4aDF/metadata.json b/token-metadata/0x7AfB39837Fd244A651e4F0C5660B4037214D4aDF/metadata.json "symbol": "SODA", "address": "0x7AfB39837Fd244A651e4F0C5660B4037214D4aDF", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/src/playbacks/html5_video/html5_video.js b/src/playbacks/html5_video/html5_video.js @@ -200,7 +200,11 @@ export default class HTML5Video extends Playback { this._stopped = false this._setupSrc(this._src) this._handleBufferingEvents() - this.el.play() + let promise = this.el.play() + // For more details, se...
9
diff --git a/articles/clients/client-settings/_settings-pt2.md b/articles/clients/client-settings/_settings-pt2.md - **Allowed Callback URLs**: Set of URLs to which Auth0 is allowed to redirect the users after they authenticate. You can specify multiple valid URLs by comma-separating them (typically to handle different...
0
diff --git a/core/openseadragon-measurement-tool.js b/core/openseadragon-measurement-tool.js close.style.border = '1px solid black'; close.style.display = 'none'; this._ruler.appendChild(close); - + this._ruler.style.zIndex = 101; // h const h_scale = document.createElement('div'); h_scale.style.position = 'absolute';
1
diff --git a/src/app/Http/Controllers/Operations/ListOperation.php b/src/app/Http/Controllers/Operations/ListOperation.php @@ -76,7 +76,7 @@ trait ListOperation $this->crud->applyUnappliedFilters(); - $startIndex = (int) request()->input('start'); + $start = (int) request()->input('start'); $length = (int) request()->i...
10
diff --git a/sirepo/pkcli/job_agent.py b/sirepo/pkcli/job_agent.py @@ -302,6 +302,7 @@ class _SbatchCmd(_Cmd): if not self.msg.get('shifterImage'): return super().job_cmd_source_bashrc() return f''' +ulimit -c 0 unset PYTHONPATH unset PYTHONSTARTUP export PYENV_ROOT=/home/vagrant/.pyenv
12
diff --git a/token-metadata/0x84294FC9710e1252d407d3D80A84bC39001bd4A8/metadata.json b/token-metadata/0x84294FC9710e1252d407d3D80A84bC39001bd4A8/metadata.json "symbol": "NUTS", "address": "0x84294FC9710e1252d407d3D80A84bC39001bd4A8", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/token-metadata/0x1DaE0680f6b8059C8945DE6A8a93009e054417b4/metadata.json b/token-metadata/0x1DaE0680f6b8059C8945DE6A8a93009e054417b4/metadata.json "symbol": "YNEF", "address": "0x1DaE0680f6b8059C8945DE6A8a93009e054417b4", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/src/pages/MetricDocs/Documentation/Documentation.js b/src/pages/MetricDocs/Documentation/Documentation.js @@ -11,7 +11,7 @@ import type { ComponentType } from "react"; import { APILabel, APIMetric, - APIMetricContainer, + APIMetricContainer, Deprecated, MarkdownContent, MetadataContainer } from "./Document...
7
diff --git a/token-metadata/0xfc05987bd2be489ACCF0f509E44B0145d68240f7/metadata.json b/token-metadata/0xfc05987bd2be489ACCF0f509E44B0145d68240f7/metadata.json "symbol": "ESS", "address": "0xfc05987bd2be489ACCF0f509E44B0145d68240f7", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/src/vaadin-date-picker.html b/src/vaadin-date-picker.html @@ -258,7 +258,7 @@ This program is available under Apache License Version 2.0, available at https:/ } _onVaadinOverlayClose(e) { - if (this._openedWithFocusRing) { + if (this._openedWithFocusRing && this.hasAttribute('focused')) { this.focusElement...
12
diff --git a/aurelia-v1.1.0/src/main.js b/aurelia-v1.1.0/src/main.js @@ -3,7 +3,8 @@ Bluebird.config({ warnings: false }); export async function configure(aurelia) { aurelia.use - .standardConfiguration(); + .defaultBindingLanguage() + .defaultResources(); await aurelia.start(); aurelia.setRoot('app');
4
diff --git a/fabfile/assets.py b/fabfile/assets.py @@ -57,13 +57,15 @@ def sync(path): local_paths.append(full_path) - # Prevent case sensitivity differences between OSX and S3 from screwing us up + # Prevent case sensitivity differences between OSX and S3 + # from screwing us up if not_lowercase: - print 'The followin...
7
diff --git a/packages/bitcore-node/src/models/events.ts b/packages/bitcore-node/src/models/events.ts @@ -23,10 +23,7 @@ export class EventModel extends BaseModel<IEvent> { async onConnect() { await this.collection.createIndex({ type: 1, emitTime: 1 }, { background: true }); - const capped = await this.collection.isCapp...
12
diff --git a/README.md b/README.md @@ -57,7 +57,9 @@ Built on top of [node-postgres], this library adds the following: # Support & Sponsorship -<a href='https://lisk.io' alt='LISK'>![lisk](https://user-images.githubusercontent.com/5108906/35188739-863a8e40-fe33-11e7-8ec4-f3fe13f43ca7.jpg)</a> +<a href='https://lisk.io'...
7
diff --git a/contracts/swap/test/Swap.js b/contracts/swap/test/Swap.js @@ -108,21 +108,15 @@ contract('Swap', async accounts => { }) describe('Approving...', async () => { - it('Alice approves Swap to spend 200 AST', async () => { + it('Checks approvals (Alice 250 AST and 0 DAI, Bob 0 AST and 500 DAI)', async () => { e...
1
diff --git a/tests/test_IssuanceController.py b/tests/test_IssuanceController.py @@ -94,7 +94,6 @@ class TestIssuanceController(HavvenTestCase): cls.issuanceController = IssuanceControllerInterface(cls.issuanceControllerContract, "IssuanceController") cls.havven = PublicHavvenInterface(cls.havven_contract, "Havven") cl...
1
diff --git a/docs/API.md b/docs/API.md @@ -60,10 +60,13 @@ For example: Accessing the data for a chat report will return the data if the re - For deep links like `StartAppWhileSignedInAndOpenWorkspace`, create separate commands for each specific scenario like `StartAppWhileSignedIn` and `OpenWorkspace`, where both requ...
4
diff --git a/src/pages/gettingstarted/design-principles.hbs b/src/pages/gettingstarted/design-principles.hbs @@ -8,8 +8,8 @@ title: Design Principles <div class="drizzle-o-Layout-content drizzle-b-LongFormText"> <div class="drizzle-o-ContentGrouping"> <p> - Our design principles are shared guidelines that capture the e...
3
diff --git a/source/swap/contracts/Swap.sol b/source/swap/contracts/Swap.sol @@ -501,7 +501,7 @@ contract Swap is ISwap, Ownable, EIP712 { uint256 indexInGroup = nonce % 256; uint256 group = _nonceGroups[signatory][groupKey]; - // If it is already used, return cancel and revert + // Revert if nonce is already used if (...
3
diff --git a/lib/plugins/browsertime/analyzer.js b/lib/plugins/browsertime/analyzer.js @@ -15,7 +15,8 @@ const defaultBrowsertimeOptions = { const chromeIphoneEmulationOptions = { mobileEmulation: { - deviceName: 'iPhone 6' + deviceName: 'iPhone 6', + pixelRatio: 2.0 } };
12
diff --git a/vue.config.js b/vue.config.js @@ -15,6 +15,7 @@ module.exports = { { from: "src/components", to: "components", + ignore: ["**/*.stories.js", "**/*.spec.ts", "**/*.md"], transformPath(targePath) { return targePath.split("/").slice(-1)[0]; },
8
diff --git a/api/Methods/annotation.php b/api/Methods/annotation.php @@ -66,7 +66,7 @@ $deleteMarkups = function () use ($app){ }; // define routes -$app->get("/", function() use($app){ return "{message:'Select a function.'}";}); +$app->get("/", function() use($app){ echo "{message:'Select a function.'}";}); $app->get(...
1
diff --git a/tests/e2e/specs/UndoRedo.spec.js b/tests/e2e/specs/UndoRedo.spec.js @@ -351,7 +351,6 @@ describe('Undo/redo', () => { const initialNumberOfElements = 3; getGraphElements().should('have.length', initialNumberOfElements); - cy.get('[data-test=undo]').click({ force: true }); cy.get('[data-test=undo]').click({...
2
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js @@ -27,7 +27,7 @@ class KeyringController extends EventEmitter { constructor (opts) { super() const initState = opts.initState || {} - this.keyringTypes = keyringTypes + this.keyringTypes = opts.keyringTypes || keyringTypes this.store = ...
11
diff --git a/src/processMonitors/uptimeHealthcheck.js b/src/processMonitors/uptimeHealthcheck.js @@ -60,7 +60,7 @@ export default class UptimeHealthcheck extends Uptime { .catch(error => { env.logger.log({ level: 'error', - message: error + message: `UptimeHealthcheck cannot send heartbeat: ${error.message}` }); }); }
7
diff --git a/components/Discussion/graphql/enhancers/isAdmin.js b/components/Discussion/graphql/enhancers/isAdmin.js @@ -8,4 +8,4 @@ import withAuthorization from '../../../Auth/withAuthorization' * } */ -export const isAdmin = withAuthorization(['admin', 'editor'], 'isAdmin') +export const isAdmin = withAuthorization(...
14
diff --git a/src/pages/team.js b/src/pages/team.js @@ -15,12 +15,12 @@ import Footer from '../components/Footer' const Header = Box.extend` padding-top: 0 !important; - background-color: ${props => props.theme.colors.blue[5]}; + background-color: ${props => props.theme.colors.indigo[5]}; background-image: linear-gradie...
7
diff --git a/css/taskOverlay.css b/css/taskOverlay.css .task-tab-item { position: relative; } -.task-container button.closeTab { + +/* close tab button */ + +.task-tab-item button.closeTab { position: absolute; - width: 1.5em; - height: 1.5em; - left: -1em; - top: calc(0.55em - 1px); /* searchbar styles padding-top */ ...
3
diff --git a/src/tagui_header.js b/src/tagui_header.js @@ -29,7 +29,7 @@ function snap_image() {snap_image_count++; return (flow_path + '/' + 'snap' + sn // checking if selector is xpath selector function is_xpath_selector(selector) {if (selector.length == 0) return false; -if ((selector.indexOf('/') >= 0) || (selector...
7
diff --git a/ccxt.js b/ccxt.js @@ -13294,10 +13294,21 @@ var poloniex = { async fetchOrderTrades (id, params = {}) { await this.loadMarkets (); + let parsedTrades = undefined; + try { let trades = await this.privatePostReturnOrderTrades (this.extend ({ 'orderNumber': id, }, params)); - return this.parseTrades (trades);...
9
diff --git a/sandbox/airplane/airplane1.js b/sandbox/airplane/airplane1.js @@ -5,7 +5,6 @@ import { EntityCollection } from "../../src/og/entity/EntityCollection.js"; import { Globe } from "../../src/og/Globe.js"; import { XYZ } from "../../src/og/layer/XYZ.js"; import { GlobusTerrain } from "../../src/og/terrain/Globu...
2
diff --git a/generators/server/templates/src/main/java/package/config/LoggingConfiguration.java.ejs b/generators/server/templates/src/main/java/package/config/LoggingConfiguration.java.ejs @@ -129,8 +129,6 @@ public class LoggingConfiguration { // More documentation is available at: https://github.com/logstash/logstash...
2
diff --git a/scripts/menu/client/cl_menu.lua b/scripts/menu/client/cl_menu.lua + -- Variable that determines whether a player can even access the menu menuIsAccessible = false isMenuDebug = false @@ -94,24 +95,22 @@ function toggleMenuVisibility(visible) end -- Command to be used with the register key mapping -Register...
1
diff --git a/src/components/app.js b/src/components/app.js @@ -36,7 +36,10 @@ function NetworkCheck(props, context) { MetaMask should be on <strong>Rinkeby</strong> Network.<br /> Currently on { web3Context.networkId == 1 ? - "Main Network" : `network ${web3Context.networkId}` + "Currently on Main Network" : + web3Cont...
9
diff --git a/src/lib/wallet/WalletClassSelector.js b/src/lib/wallet/WalletClassSelector.js import Config from '../../config/config' +import logger from '../../lib/logger/js-logger' -let GoodWallet -if (['production'].includes(Config.env) === false) { - GoodWallet = require('./GoodWalletClass').GoodWallet -} else { - Go...
0
diff --git a/src/kiri-mode/laser/driver.js b/src/kiri-mode/laser/driver.js "use strict"; -(function() { - - if (!self.kiri.driver) self.kiri.driver = { }; - if (self.kiri.driver.LASER) return; - - let KIRI = self.kiri, - BASE = self.base, - UTIL = BASE.util, - POLY = BASE.polygons, - FDM = KIRI.driver.FDM, - CAM = KIRI...
3
diff --git a/lib/rows.js b/lib/rows.js @@ -35,6 +35,12 @@ function Rows(client) { * @namespace rows */ +/** @ignore */ +function queryOutputTransform(headers, data) { + /*jshint validthis:true */ + return data.content; +} + /** * Executes an execution plan built by a {@link planBuilder}. A plan * enables you to query d...
0
diff --git a/contribs/gmf/src/controllers/abstractmobile.js b/contribs/gmf/src/controllers/abstractmobile.js @@ -169,6 +169,7 @@ gmf.AbstractMobileController = function(config, $scope, $injector) { }); this.manageResize = true; + this.resizeTransition = 500; }; ol.inherits(gmf.AbstractMobileController, gmf.AbstractCont...
12
diff --git a/wallet-web-app/src/angular/controllers/guest/loading-controller.js b/wallet-web-app/src/angular/controllers/guest/loading-controller.js @@ -71,12 +71,12 @@ function GuestLoadingController($rootScope, $scope, $log, $q, $timeout, $state, WalletService.importUsingKeystoreFilePath(wmd.keystoreFilePath).then((w...
13
diff --git a/articles/connections/database/mysql.md b/articles/connections/database/mysql.md @@ -9,13 +9,13 @@ toc: true # Authenticate Users with Username and Password using a Custom Database -Applications often rely on user databases for authentication. Auth0 enables you to easily connect to these repositories and us...
0
diff --git a/src/editor/components/RefListComponent.js b/src/editor/components/RefListComponent.js @@ -230,6 +230,7 @@ export default class RefListComponent extends NodeComponent { idrefs = without(idrefs, refId) xref.setAttribute('rid', idrefs.join(' ')) }) + tx.setSelection(null) }) } // Make sure labels are regenera...
12
diff --git a/src/routes/Collection.js b/src/routes/Collection.js @@ -26,11 +26,12 @@ class Collection extends React.Component { } componentDidMount() { - require.ensure([], (require) => { - const module = require('@hackoregon/civic-housing/src/components/App').default; - this.setState({ rendered: true, module }); - // ...
2
diff --git a/package.json b/package.json "gl-plot2d": "^1.3.1", "gl-plot3d": "^1.5.10", "gl-pointcloud2d": "^1.0.1", - "gl-scatter3d": "git://github.com/gl-vis/gl-scatter3d.git#8915d2ec6a89b7dc76e216487e82143dbc165c6f", + "gl-scatter3d": "^1.0.13", "gl-select-box": "^1.0.2", "gl-spikes2d": "^1.0.1", "gl-streamtube3d": ...
4
diff --git a/src/screens/editor/children/beneficiarySelectionContent.tsx b/src/screens/editor/children/beneficiarySelectionContent.tsx @@ -65,7 +65,7 @@ const BeneficiarySelectionContent = ({handleOnSaveBeneficiaries, draftId }) => { }) } handleOnSaveBeneficiaries(beneficiaries); - _resetInputs(); + _resetInputs(false)...
7
diff --git a/test/integration/offline.js b/test/integration/offline.js @@ -95,6 +95,53 @@ describe('Offline', () => { }); + context('with private function and noAuth option set', () => { + let offline; + const validToken = 'valid-token' + + before(done => { + offline = new OfflineBuilder(new ServerlessBuilder(), { apiK...
0
diff --git a/app/modules/account.js b/app/modules/account.js @@ -32,16 +32,14 @@ export function setKeys (keys: any) { } export const loginNep2 = (passphrase: string, wif: string, history: Object) => (dispatch: DispatchType) => { - if (!passphrase || !wif) { return null } - if (!validatePassphrase(passphrase)) { dispat...
3
diff --git a/core/algorithm-builder/environments/nodejs/wrapper/package.json b/core/algorithm-builder/environments/nodejs/wrapper/package.json "author": "", "license": "ISC", "dependencies": { - "@hkube/nodejs-wrapper": "^2.0.45" + "@hkube/nodejs-wrapper": "^2.0.50" }, "devDependencies": {} } \ No newline at end of fil...
3
diff --git a/src/components/ProductDetailOptionsList/ProductDetailOptionsList.js b/src/components/ProductDetailOptionsList/ProductDetailOptionsList.js @@ -3,7 +3,6 @@ import PropTypes from "prop-types"; import Grid from "material-ui/Grid"; import { withStyles } from "material-ui/styles"; import { inject, observer } fro...
2
diff --git a/tests/e2e/config/bootstrap.js b/tests/e2e/config/bootstrap.js @@ -312,14 +312,6 @@ beforeAll( async () => { page.on( 'response', observeRestResponse ); } - page.on( 'response', ( res ) => { - if ( res.status() > 399 ) { - const req = res.request(); - // eslint-disable-next-line no-console - console.debug( ...
2
diff --git a/package.json b/package.json { "name": "prettier-atom", "main": "./dist/main.js", - "version": "0.44.0", + "version": "0.45.0", "description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration", "keywords": [ "atom",
6
diff --git a/character-controller.js b/character-controller.js @@ -688,6 +688,13 @@ class StatePlayer extends PlayerBase { removeActionIndex(index) { this.getActionsState().delete(index); } + clearActions() { + const actionsState = this.getActionsState(); + const numActions = actionsState.length; + for (let i = numActi...
0
diff --git a/network.js b/network.js @@ -1909,6 +1909,8 @@ function handleJustsaying(ws, subject, body){ case 'bugreport': if (!body) return; + if (conf.ignoreBugreportRegexp && new RegExp(conf.ignoreBugreportRegexp).test(body.message)) + return console.log('ignoring bugreport'); mail.sendBugEmail(body.message, body.ex...
8
diff --git a/tests/e2e/plugins/site-verification-api-mock.php b/tests/e2e/plugins/site-verification-api-mock.php */ use Google\Site_Kit\Core\REST_API\REST_Routes; -use Google\Site_Kit\Plugin; register_activation_hook( __FILE__, function () { delete_transient( 'gsk_e2e_site_verified' ); @@ -19,23 +18,15 @@ register_deac...
14
diff --git a/assets/src/dashboard/app/api/useStoryApi.js b/assets/src/dashboard/app/api/useStoryApi.js @@ -117,6 +117,7 @@ const useStoryApi = (dataAdapter, { editStoryURL, wpApi }) => { const response = await dataAdapter.get(path, { parse: false, + cache: 'no-cache', }); const totalPages =
12
diff --git a/src/struct/commands/Command.js b/src/struct/commands/Command.js @@ -60,7 +60,7 @@ class Command extends AkairoModule { this.argumentRunner = new ArgumentRunner(this); this.argumentGenerator = Array.isArray(args) ? ArgumentRunner.fromArguments(args.map(arg => [arg.id, new Argument(this, arg)])) - : args; + ...
1
diff --git a/activity/settings/base.py b/activity/settings/base.py @@ -124,7 +124,7 @@ SECRET_KEY = os.environ.get('SECRET_KEY') # SITE CONFIGURATION # Hosts/domain names that are valid for this site # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts -ALLOWED_HOSTS = ['127.0.0.1'] +ALLOWED_HOSTS = ...
0
diff --git a/modules/Layout.js b/modules/Layout.js @@ -29,7 +29,7 @@ layoutObject has: * `undefined` - blank, can be used for padding * `"txt"` - a text label, with value `label` and `r` for text rotation. 'font' is required * `"btn"` - a button, with value `label` and callback `cb` - * `"img"` - an image where the fun...
11
diff --git a/src/plugins/modules/_anchor.js b/src/plugins/modules/_anchor.js @@ -293,7 +293,7 @@ export default { setLinkPreview: function (context, value) { const preview = context.preview; const protocol = this.options.linkProtocol; - const reservedProtocol = /^(mailto\:|https*\:\/\/|#)/.test(value); + const reserved...
3
diff --git a/src/pages/settings/Profile/ProfilePage.js b/src/pages/settings/Profile/ProfilePage.js @@ -213,9 +213,9 @@ class ProfilePage extends Component { </Text> <FullNameInputRow firstName={this.state.firstName} - hasFirstNameError={PersonalDetails.getMaxCharacterError(this.state.firstNameError)} + firstNameError={...
10
diff --git a/tests/e2e/specs/plugin-reset.test.js b/tests/e2e/specs/plugin-reset.test.js @@ -28,22 +28,22 @@ describe( 'Plugin Reset', () => { it( 'displays a confirmation dialog when clicking the "Reset Site Kit" link', async() => { await expect( page ).toClick( 'button.googlesitekit-cta-link', { text: 'Reset Site Kit...
3
diff --git a/app/models/organization.rb b/app/models/organization.rb @@ -60,11 +60,6 @@ class Organization < Sequel::Model DEFAULT_OBS_GENERAL_QUOTA = 0 DEFAULT_MAPZEN_ROUTING_QUOTA = nil - def initialize(attrs = {}) - super - self.password_expiration_in_d ||= default_password_expiration_in_d - end - def default_passwo...
2
diff --git a/package.json b/package.json "babel-preset-es2015": "^6.24.1", "bookshelf-jsdoc-theme": "^0.2.0", "chai": "^3.5.0", - "eslint": "4.17.0", + "eslint": "^4.17.0", "istanbul": "^0.4.5", "jsdoc": "^3.4.0", "knex": "^0.14.0",
11
diff --git a/lib/routes/universities/hit/today.js b/lib/routes/universities/hit/today.js @@ -36,9 +36,15 @@ module.exports = async (ctx) => { return Promise.resolve(JSON.parse(cache)); } - const response = await got.get(link); + const response = await got({ + method: 'get', + url: link, + headers: { + Referer: host, + ...
1
diff --git a/packages/vulcan-accounts/imports/ui/components/LoginForm.jsx b/packages/vulcan-accounts/imports/ui/components/LoginForm.jsx @@ -52,7 +52,7 @@ export class AccountsLoginForm extends Tracker.Component { // Set inital state. this.state = { messages: [], - waiting: true, + waiting: false, formState: props.form...
12
diff --git a/src/components/crafts-table/index.js b/src/components/crafts-table/index.js @@ -65,7 +65,7 @@ function costItemsCell({ value }) { }; function CraftTable(props) { - const {selectedStation, freeFuel, nameFilter, levelFilter} = props; + const {selectedStation, freeFuel, nameFilter, levelFilter = 3} = props; c...
12
diff --git a/src/encoded/types/experiment.py b/src/encoded/types/experiment.py @@ -542,6 +542,7 @@ class Experiment(Dataset, 'award.project', 'assembly', 'internal_status', + 'lab.title', 'audit_category' # Added for auditmatrix ], 'group_by': ['biosample_type', 'biosample_term_name'],
0
diff --git a/lang/main.json b/lang/main.json "title": "__app__ needs to use your microphone and camera." }, "suspendedoverlay": { - "title": "Your video call was interrupted, because this computer went to sleep.", - "text": "Press <i>Rejoin</i> button to connect back to your conversation.", + "title": "Your video call ...
7
diff --git a/website/siteConfig.js b/website/siteConfig.js @@ -108,6 +108,7 @@ const siteConfig = { (md) => { extlink(md, { host: 'sdk.apify.com', // The hrefs that you DON'T want to be external + rel: 'noopener', // We want to keep referrer and follow for analytics on apify.com }); }, ],
11
diff --git a/webaverse.js b/webaverse.js @@ -354,6 +354,7 @@ export default class Webaverse extends EventTarget { } } +let diorama = null; window.addEventListener('keydown', e => { if (e.which === 219) { // [ const localPlayer = metaversefileApi.useLocalPlayer(); @@ -392,7 +393,12 @@ window.addEventListener('keydown', ...
0
diff --git a/src/core/background/extension.js b/src/core/background/extension.js 'use strict'; +/** + * The extension uses `browser.runtime.sendMessage` function for communication + * between different modules using the following message types: + * + * 1) events: + * - EVENT_STATE_CHANGED: The connector state is change...
5
diff --git a/metaverse_modules/land/index.js b/metaverse_modules/land/index.js @@ -11,6 +11,9 @@ export default e => { { "start_url": "https://webaverse.github.io/dual-contouring-terrain/" }, + { + "start_url": "https://webaverse.github.io/water/" + }, /* { "start_url": "https://webaverse.github.io/silk-grass/" },
0
diff --git a/src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx b/src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx @@ -46,12 +46,12 @@ const SlackIntegration = (props) => { const fetchSlackIntegrationData = useCallback(async() => { try { const response = await appContainer.apiv3.ge...
9