code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb b/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb @@ -1232,10 +1232,11 @@ class VirtualMachine < VCenterDriver::Template unmanaged_nics.each do |unic| vnic = select.call(unic['BRIDGE']) - if unic['MODEL'] && !unic['MODEL'].empty? && !unic[...
7
diff --git a/admin-base/materialize/custom/_explorer.scss b/admin-base/materialize/custom/_explorer.scss .toggle-fullscreen { position: absolute; right: 0; - top: 0; + top: 1.25rem; border: 0; background: none; padding: 0; .material-icons { - font-size: 30px; - color: color("blue-grey", "base"); + font-size: 34px; + co...
7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -50,11 +50,14 @@ jobs: test-try: name: Scenario Tests runs-on: ubuntu-latest + continue-on-error: ${{ matrix.allow-failure || false }} needs: - test strategy: fail-fast: false matrix: + allow-failure: + - false scenario: - ember-lts-3.16 - ember-releas...
11
diff --git a/policykit/integrations/slack/views.py b/policykit/integrations/slack/views.py @@ -156,6 +156,9 @@ def oauth(request): response = redirect('/login?success=true') return response +def is_policykit_bot_action(community, event): + return event.get('user') == community.bot_id + def is_policykit_action(integrati...
8
diff --git a/Bundle/PageBundle/Helper/PageHelper.php b/Bundle/PageBundle/Helper/PageHelper.php @@ -210,7 +210,7 @@ class PageHelper if ($result instanceof Redirection) { return new RedirectResponse($this->container->get('victoire_widget.twig.link_extension')->victoireLinkUrl( $result->getLink()->getParameters() - )); +...
12
diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts @@ -63,10 +63,10 @@ export interface MiddlewareData { }>; }; hide?: { - referenceHidden: boolean; - escaped: boolean; - referenceHiddenOffsets: SideObject; - escapedOffsets: SideObject; + referenceHidden?: boolean; + escaped?: boolean; + referenceHidd...
1
diff --git a/src/parsers/GmlSeeker.hx b/src/parsers/GmlSeeker.hx @@ -50,7 +50,7 @@ class GmlSeeker { private static var jsDoc_full = new RegExp("^///\\s*" // start + "(?:@desc(?:ription)?\\s+)?" // opt: "@desc " - + "\\w+(\\(.+)"); + + "\\w*[ \t]*(\\(.+)"); private static var jsDoc_param = new RegExp("^///\\s*@(?:arg|p...
11
diff --git a/articles/quickstart/spa/angular-beta/_includes/_centralized_login.md b/articles/quickstart/spa/angular-beta/_includes/_centralized_login.md <!-- markdownlint-disable MD041 MD034 MD002 --> -<%= include('../../_includes/_login_preamble', { library: 'Angular 7+', embeddedLoginLink: 'https://github.com/auth0-s...
2
diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml @@ -45,3 +45,4 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ${{ steps.get_asset.outputs.asset_path }} asset_name: $(basename ${{ steps.name_asset.outputs.asset_path }}) + asset_content_type: a...
12
diff --git a/src/components/stripeCardForm/form.js b/src/components/stripeCardForm/form.js @@ -38,7 +38,10 @@ class Form extends React.Component<Props, State> { this.setState({ isLoading: true }); const communityId = this.props.community.id; - const { id: sourceId } = await this.createSource(); + const source = await t...
9
diff --git a/src/1_utils.js b/src/1_utils.js @@ -952,11 +952,11 @@ utils.removePropertiesFromObject = function(objectToModify, keysToRemove) { } }; -utils.getPropertyValueByNameFromObject = function(object, name) { - if (object && typeof object === "object") { - for (var key in object) { - if (object.hasOwnProperty(key...
10
diff --git a/test/unit/specs/root.spec.js b/test/unit/specs/root.spec.js -const { join } = require(`path`) -const { homedir } = require(`os`) +const { join, resolve } = require(`path`) const mockFsExtra = require(`../helpers/fs-mock`).default describe(`Root UI Directory`, () => { @@ -24,7 +23,10 @@ describe(`Root UI Di...
3
diff --git a/world.js b/world.js @@ -505,6 +505,19 @@ world.getWorldJson = async q => { return spec; }; +world.getObjectFromPhysicsId = physicsId => { + const objects = world.getObjects().concat(world.getStaticObjects()); + for (const object of objects) { + if (object.getPhysicsIds) { + const physicsIds = object.getPhy...
0
diff --git a/token-metadata/0x6f259637dcD74C767781E37Bc6133cd6A68aa161/metadata.json b/token-metadata/0x6f259637dcD74C767781E37Bc6133cd6A68aa161/metadata.json "symbol": "HT", "address": "0x6f259637dcD74C767781E37Bc6133cd6A68aa161", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" }...
3
diff --git a/test/utils/custom-asymmetric-matchers.js b/test/utils/custom-asymmetric-matchers.js /** * We make ourselves compatible with AsymmetricMatcher class used by Jest - * @see https://github.com/facebook/jest/blob/master/packages/expect/src/asymmetric_matchers.js + * @see https://github.com/facebook/jest/blob/ma...
3
diff --git a/content/questions/merge-two-arrays/index.md b/content/questions/merge-two-arrays/index.md @@ -27,8 +27,6 @@ console.log([...a, ...b]); console.log(a + b); ``` - - <!-- explanation --> -Option C in this case is the right choice, because the arithmetic operator `+` only works for numeric values and not array...
2
diff --git a/assets/js/modules/adsense/components/common/UseSnippetSwitch.js b/assets/js/modules/adsense/components/common/UseSnippetSwitch.js * External dependencies */ import PropTypes from 'prop-types'; +import { useUpdateEffect } from 'react-use'; /** * WordPress dependencies @@ -62,17 +63,14 @@ export default func...
4
diff --git a/frameworks/non-keyed/incr_dom/src/Util.re b/frameworks/non-keyed/incr_dom/src/Util.re open! Core_kernel; -let random = max => Random.int(max); - let adjectives = [| "pretty", "large", @@ -84,17 +82,17 @@ let makeBy = (count_, maker) => { }; let build_data_impl = () => { - let state = ref(1); + let state = ...
4
diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js @@ -812,5 +812,5 @@ define({ "DESCRIPTION_RECENT_FILES_NAV" : "Enable/disable navigation in recent files", "DESCRIPTION_LIVEDEV_WEBSOCKET_PORT" : "Port on which WebSocket Server runs for Live Preview", "DESCRIPTION_LIVE_DEV_HIGHLIGHT_SETTINGS" : "Live Previ...
1
diff --git a/test/unit/specs/components/common/TmSessionWelcome.spec.js b/test/unit/specs/components/common/TmSessionWelcome.spec.js @@ -92,7 +92,10 @@ describe(`TmSessionWelcome`, () => { } TmSessionWelcome.methods.back.call(self) expect($store.commit).toHaveBeenCalledWith(`pauseHistory`, true) - expect(self.$router.p...
3
diff --git a/docs/api-reference/core/layer.md b/docs/api-reference/core/layer.md @@ -550,14 +550,13 @@ deck.gl will already have created the `state` object at this time, and added the Called during each rendering cycle when layer [properties](/docs/api-reference/core/layer.md#constructor) or [context](/docs/api-referen...
2
diff --git a/app/src/renderer/components/governance/TabParameters.vue b/app/src/renderer/components/governance/TabParameters.vue </div> <div class="column"> <dl class="info_dl"> - <dt v-tooltip.top="depositTooltips.max_deposit_period"> + <dt> Maximum Deposit Period <i v-tooltip.top="depositTooltips.max_deposit_period"
1
diff --git a/Specs/Scene/ImageryLayerCollectionSpec.js b/Specs/Scene/ImageryLayerCollectionSpec.js @@ -382,24 +382,6 @@ describe( }); }); - it("pickImageryLayers returns undefined if no tiles are picked", function () { - return updateUntilDone(globe, scene).then(function () { - var ellipsoid = Ellipsoid.WGS84; - for (v...
3
diff --git a/src/components/taglib/preserve-tag-browser.js b/src/components/taglib/preserve-tag-browser.js @@ -10,8 +10,7 @@ module.exports = function render(input, out) { // If so, then reuse the existing DOM node instead of re-rendering // the children. We have to put a placeholder node that will get // replaced out ...
7
diff --git a/packages/@uppy/core/types/index.d.ts b/packages/@uppy/core/types/index.d.ts @@ -7,6 +7,8 @@ export interface UppyFile { meta: { name: string; type?: string; + [key: string]: any; + [key: number]: any; }; name: string; preview?: string; @@ -38,6 +40,9 @@ export interface PluginOptions { } export class Plugi...
1
diff --git a/articles/connections/database/migrating.md b/articles/connections/database/migrating.md @@ -59,7 +59,7 @@ You can enable these validations for a connection using the [Update a connection "queryString": [], "postData": { "mimeType": "application/json", - "text": "{ \"options\": { \"strategy_version\": 2 } }...
0
diff --git a/app/containers/ColumnBookmark/saga.js b/app/containers/ColumnBookmark/saga.js @@ -6,6 +6,7 @@ import { getToken } from 'containers/LoginModal/saga' import { getRequest, fetchAuth } from 'services/api' import * as Actions from './constants' import * as actions from './actions' +import type { Action } from '...
10
diff --git a/js/webcomponents/bisweb_filetreepanel.js b/js/webcomponents/bisweb_filetreepanel.js @@ -212,11 +212,11 @@ class FileTreePanel extends HTMLElement { } let listElement = this.panel.getWidget(); - listElement.empty(); + listElement.find('.file-container').remove(); let listContainer = $(`<div class='file-cont...
1
diff --git a/content/questions/object-clone-stringify/index.md b/content/questions/object-clone-stringify/index.md @@ -10,7 +10,6 @@ answers: - 'true true true false' - 'true true false true // correct' - 'false false false false' - --- Consider objects `a` and `b` below. What gets logged? @@ -33,4 +32,4 @@ console.log...
2
diff --git a/packages/core/src/internal/proc.js b/packages/core/src/internal/proc.js @@ -203,7 +203,7 @@ export default function proc( to track the main flow (besides other forked tasks) **/ const task = newTask(parentEffectId, meta, iterator, cont) - const mainTask = { meta, cancel: cancelMain, isRunning: true } + con...
10
diff --git a/src/assets/styles/_common.scss b/src/assets/styles/_common.scss @@ -61,7 +61,7 @@ $vzb-stroke-opacity: 0.7; // ---------------------------------------------------------------------------- $vzb-loader-speed: 0.6s; $vzb-loader-thickness: 4px; -$vzb-loader-size: 30px; +$vzb-loader-size: 150px; $vzb-loader-bgc...
14
diff --git a/packages/node_modules/@node-red/registry/lib/localfilesystem.js b/packages/node_modules/@node-red/registry/lib/localfilesystem.js @@ -472,7 +472,7 @@ function getPackageList() { try { var userPackage = path.join(settings.userDir,"package.json"); var pkg = JSON.parse(fs.readFileSync(userPackage,"utf-8")); -...
9
diff --git a/src/components/Card/Card.js b/src/components/Card/Card.js @@ -26,7 +26,7 @@ import { } from './Card.styles'; import numeral from 'numeral' import ReactTooltip from "react-tooltip"; -import { colours, fieldToStructure, strFormat, analytics } from "common/utils"; +import { colours, fieldToStructure, analytic...
14
diff --git a/.travis.yml b/.travis.yml @@ -16,6 +16,6 @@ matrix: - node_js: "10" script: - ./node_modules/.bin/grunt no-coverage - - node_js: "8" - script: - - ./node_modules/.bin/grunt no-coverage + #- node_js: "8" + # script: + # - ./node_modules/.bin/grunt no-coverage
2
diff --git a/src/scripts/interaction.js b/src/scripts/interaction.js @@ -239,7 +239,12 @@ function Interaction(parameters, player, previousState) { height: 'initial' }); self.trigger('display', $interaction); - setTimeout(() => $interaction.removeClass('h5p-hidden'), 0); + setTimeout(() => { + if ($interaction) { + // ...
0
diff --git a/scss/form/_radio.scss b/scss/form/_radio.scss // Website: https://www.siimple.xyz // @import "../_variables.scss"; +@import "../_functions.scss"; //Radio variables $siimple-radio-width: 18px; @@ -19,12 +20,12 @@ $siimple-radio-border: 3px; $siimple-radio-circle: 6px; //Radio inactive variables -$siimple-ra...
1
diff --git a/src/core/operations/DNSOverHTTPS.mjs b/src/core/operations/DNSOverHTTPS.mjs * @copyright Crown Copyright 2019 * @license Apache-2.0 */ -import jpath from "jsonpath"; import Operation from "../Operation"; import OperationError from "../errors/OperationError"; @@ -19,7 +18,7 @@ class HTTPSOverDNS extends Ope...
2
diff --git a/hardhat/tasks/task-node.js b/hardhat/tasks/task-node.js @@ -23,10 +23,10 @@ task('node', 'Run a node') const networkHostReplace = (taskArguments.useOvm ? 'optimism-' : '') + network; if (network === 'mainnet' && !useOvm) { - taskArguments.fork = process.env.PROVIDER_URL_MAINNET.replace( - 'network', - netw...
3
diff --git a/src/parser/statement.js b/src/parser/statement.js @@ -255,9 +255,9 @@ module.exports = { return result(args); case this.tok.T_INLINE_HTML: - var result = this.node('inline')(this.text()); + var result = this.node('inline'), value = this.text(); this.next(); - return result; + return result(value); case thi...
1
diff --git a/extensions/projection/README.md b/extensions/projection/README.md @@ -40,7 +40,9 @@ The `proj` prefix is short for "projection", and is not a reference to the PROJ/ | proj:shape | \[integer] | Number of pixels in Y and X directions for the default grid | | proj:transform | \[number] | The affine transforma...
0
diff --git a/lib/socket.js b/lib/socket.js @@ -632,7 +632,7 @@ function IOSocket(server, settings, adapter, objects, store) { socket.on('getObjectView', function (design, search, params, callback) { if (updateSession(socket) && checkPermissions(socket, 'getObjectView', callback, search)) { - adapter.objects.getObjectVi...
14
diff --git a/src/components/SaveEventButton.test.js b/src/components/SaveEventButton.test.js @@ -5,14 +5,12 @@ import ReactNativeHapticFeedback from "react-native-haptic-feedback"; import { shallow } from "enzyme"; import SaveEventButton from "./SaveEventButton"; -jest.mock("react-native-haptic-feedback", () => { - con...
1
diff --git a/.codeclimate.yml b/.codeclimate.yml @@ -22,14 +22,9 @@ engines: ratings: paths: - Gemfile.lock - - "**.js" + - "src/**.js" - "**.css" - "**.md" - "bin/mb" - "build" - "scripts/**/*" -exclude_paths: -- test/ -- functionalTest/ -- performanceTest/ -
8
diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js @@ -649,7 +649,7 @@ function buildOptimisticIOUReport(ownerEmail, recipientEmail, total, chatReportI ownerEmail, reportID: ReportUtils.generateReportID(), state: CONST.STATE.SUBMITTED, - stateNum: CONST.STATUS.SUBMITTED, + stateNum: 1, total, }; }
14
diff --git a/devices.js b/devices.js @@ -17105,9 +17105,9 @@ const devices = [ vendor: 'Lidl', description: 'Livarno Lux smart LED light strip 2.5m', ...preset.light_onoff_brightness_colortemp_color({disableColorTempStartup: true}), - meta: {applyRedFix: true, configureKey: 1}, + meta: {applyRedFix: true, enhancedHue: ...
12
diff --git a/src/content/en/ilt/pwa/lab-integrating-analytics.md b/src/content/en/ilt/pwa/lab-integrating-analytics.md @@ -367,7 +367,7 @@ gtag('event', 'unsubscribe', { }); ``` -Save the script and refresh the app. Now test the __Subscribe__ and __Unsubscribe__ buttons. Confirm that you see the custom events in the th...
1
diff --git a/packages/vulcan-users/lib/server/on_create_user.js b/packages/vulcan-users/lib/server/on_create_user.js @@ -8,7 +8,7 @@ function onCreateUserCallback (options, user) { delete options.password; // we don't need to store the password digest delete options.username; // username is already in user object - opt...
10
diff --git a/src/core/index.js b/src/core/index.js @@ -38,16 +38,7 @@ const instanceNamespaces = window.__alloyNS; const createNamespacedStorage = storageFactory(window); -let console; - -// #if _REACTOR -// When running within the Reactor extension, we want logging to be -// toggled when Reactor logging is toggled. Th...
2
diff --git a/lib/util.js b/lib/util.js @@ -602,11 +602,15 @@ module.exports = { responseBody: '' }; } + let headers = Object.keys(contentObj); - if (Object.keys(contentObj)) { - if (this.getHeaderFamily(Object.keys(contentObj)[0])) { - cTypeHeader = Object.keys(contentObj)[0]; + for (let i = 0; i < headers.length; i++)...
9
diff --git a/bin/oref0-ns-loop.sh b/bin/oref0-ns-loop.sh @@ -148,6 +148,8 @@ function upload { function upload_ns_status { #echo Uploading devicestatus grep -q iob monitor/iob.json || die "IOB not found" + # set the timestamp on enact/suggested.json to match the deliverAt time + touch -d $(cat enact/suggested.json | jq...
12
diff --git a/pages/status.js b/pages/status.js @@ -220,7 +220,11 @@ const PrimaryCTA = ({ params: { package: 'ABO' } } text = 'Mitglied werden' - } else if (questionnaire.userIsEligible && !questionnaire.userHasSubmitted) { + } else if ( + questionnaire && + questionnaire.userIsEligible && + !questionnaire.userHasSubmi...
9
diff --git a/ui/component/common/icon-custom.jsx b/ui/component/common/icon-custom.jsx @@ -44,7 +44,15 @@ const buildIcon = (iconStrokes: React$Node, customSvgValues = {}) => export const icons = { // The LBRY icon is different from the base icon set so don't use buildIcon() [ICONS.LBRY]: (props: IconProps) => ( - <svg...
11
diff --git a/app/views/admin/shared/_trial_notification.html.erb b/app/views/admin/shared/_trial_notification.html.erb <div class="CDB-Text FlashMessage FlashMessage--main"> <div class="u-inner"> <div class="FlashMessage FlashMessage-info FlashMessage--main u-flex u-justifySpace u-alignCenter"> - <p class="u-flex">You'...
2
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml @@ -10,7 +10,7 @@ on: branches: [ master ] jobs: - ci:test-unit: + test-unit: runs-on: ubuntu-latest strategy: matrix: @@ -28,7 +28,7 @@ jobs: - run: npm run build - run: npm run build:dev - run: npm run ci:test-unit - ci:test-e2e-layouts: + test-e2e-...
2
diff --git a/test_environment.js b/test_environment.js @@ -2,6 +2,7 @@ const NodeEnvironment = require('jest-environment-node'); const nearlib = require('nearlib'); const fs = require('fs'); +const INITIAL_BALANCE = '100000000000'; const testAccountName = 'test.near'; class LocalTestEnvironment extends NodeEnvironment ...
4
diff --git a/desktop/sources/scripts/cursor.js b/desktop/sources/scripts/cursor.js @@ -15,18 +15,10 @@ export default function Cursor (terminal) { this.mode = 0 - this.updateBox = function() { - this.minX = min(this.x, this.x + this.w); - this.maxX = max(this.x, this.x + this.w); - this.minY = min(this.y, this.y + this...
5
diff --git a/src/main/java/de/uniwue/web/io/FileDatabase.java b/src/main/java/de/uniwue/web/io/FileDatabase.java @@ -313,8 +313,18 @@ public class FileDatabase { * @return File name without extensions */ private String removeAllExtensions(String filename) { - while(filename.contains(".")){ - filename = FilenameUtils.ge...
13
diff --git a/example.html b/example.html <script> var playlist = [ { - url: 'http://benwiley4000.github.io/react-responsive-audio-player/audio/secret_of_trash_island.mp3', + url: 'https://cdn.rawgit.com/benwiley4000/react-responsive-audio-player/b11f4068991d7679257909df035a300525355d5c/audio/secret_of_trash_island.mp3'...
4
diff --git a/test/configCases/module-name/different-issuers-for-same-module/test.js b/test/configCases/module-name/different-issuers-for-same-module/test.js -require("should"); it("should assign different names to the same module with different issuers ", function() { var fs = require("fs"); var path = require("path");...
1
diff --git a/spark/components/stepper/react/SprkStepper.stories.js b/spark/components/stepper/react/SprkStepper.stories.js @@ -3,13 +3,24 @@ import React from 'react'; import SprkStepper from './SprkStepper'; import SprkStepperStep from './components/SprkStepperStep/SprkStepperStep'; +import { withKnobs, boolean, text ...
12
diff --git a/src/apps.json b/src/apps.json }, "website": "https://www.xt-commerce.com" }, - "Yepcomm": { - "cats": [ - 6 - ], - "icon": "yepcomm.png", - "meta": { - "copyright": "Yepcomm Tecnologia", - "author": "Yepcomm Tecnologia" - }, - "website": "https://www.yepcomm.com.br" - }, - "Halo": { - "cats": [ - 1, - 11 -...
1
diff --git a/packages/@uppy/robodog/package.json b/packages/@uppy/robodog/package.json "url": "git+https://github.com/transloadit/uppy.git" }, "dependencies": { - "@uppy/core": "0.29.0", - "@uppy/dashboard": "0.29.0", - "@uppy/dropbox": "0.29.0", - "@uppy/form": "0.29.0", - "@uppy/google-drive": "0.29.0", - "@uppy/inst...
3
diff --git a/scripts/contractInteraction/mainnet_contracts.json b/scripts/contractInteraction/mainnet_contracts.json "OriginInvestorsClaim": "0xE0f5BF8d0C58d9c8A078DB75A9D379E6CDF3149E", "OrigingVestingCreator": "0xea173A078bA12673a8bef6DFa47A8E8f130B4939", "contributorNFT": "0x8ffB12De9e7602843e4792DB0bC2863e9d137d06"...
10
diff --git a/js/plugins/urlHandler.js b/js/plugins/urlHandler.js (function(){ function init() { + // Try and automatically handle the URL if we're served from somewhere we know + if (typeof window!=="undefined" && + window.location && + (window.location.origin=="https://localhost" || + window.location.origin=="https://...
11
diff --git a/source/jquery.flot.touch.js b/source/jquery.flot.touch.js prevTap: { x: 0, y: 0 }, currentTap: { x: 0, y: 0 }, interceptedLongTap: false, - allowEventPropagation: false, + isMultipleTouch: false, prevTapTime: null, tapStartTime: null, longTapTriggerId: null updateCurrentForDoubleTap(e); updateStateForLongT...
11
diff --git a/src/traces/sunburst/attributes.js b/src/traces/sunburst/attributes.js @@ -218,11 +218,12 @@ module.exports = { root: { color: { valType: 'color', - editType: 'style', + editType: 'calc', role: 'style', dflt: 'rgba(0,0,0,0)', description: [ - 'sets the color of the root node for a sunburst or a treemap trac...
12
diff --git a/token-metadata/0x1A5F9352Af8aF974bFC03399e3767DF6370d82e4/metadata.json b/token-metadata/0x1A5F9352Af8aF974bFC03399e3767DF6370d82e4/metadata.json "symbol": "OWL", "address": "0x1A5F9352Af8aF974bFC03399e3767DF6370d82e4", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/Source/Scene/ModelExperimental/CustomShader.js b/Source/Scene/ModelExperimental/CustomShader.js @@ -206,7 +206,7 @@ CustomShader.prototype.setUniform = function (uniformName, value) { var uniform = this.uniforms[uniformName]; if (uniform.type === UniformType.SAMPLER_2D) { // Textures are fetched asynchrono...
4
diff --git a/Sources/web3swift/Web3/Web3+Options.swift b/Sources/web3swift/Web3/Web3+Options.swift @@ -125,7 +125,7 @@ public struct TransactionOptions { public static func fromJSON(_ json: [String: Any]) -> TransactionOptions? { var options = TransactionOptions() if let gas = json["gas"] as? String, let gasBiguint = B...
1
diff --git a/src/test/functional/functional-tests.js b/src/test/functional/functional-tests.js @@ -359,6 +359,15 @@ describe('functional tests', function() { }) }) + step(`getObject(bucketName, objectName, cb)_bucketName:${bucketName} non-existent object`, done => { + client.getObject(bucketName, 'an-object-that-does-n...
0
diff --git a/lib/net/http_fetch_plugin.js b/lib/net/http_fetch_plugin.js @@ -115,6 +115,18 @@ shaka.net.HttpFetchPlugin = function(uri, request) { }; +/** + * Determine if Fetch API is supported in the browser. Note: this is + * deliberately exposed as a method to allow the client app to use the same + * logic as Shaka...
5
diff --git a/RobotNXT/src/main/java/de/fhg/iais/roberta/factory/NxtCompilerWorkflow.java b/RobotNXT/src/main/java/de/fhg/iais/roberta/factory/NxtCompilerWorkflow.java @@ -126,6 +126,7 @@ public class NxtCompilerWorkflow implements ICompilerWorkflow { try { ProcessBuilder procBuilder = new ProcessBuilder(new String[] { ...
12
diff --git a/sling/core/.parent/pom.xml b/sling/core/.parent/pom.xml </dependency> <!-- JSON --> + <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson --> + <!-- gson is not usually deployed in launchpad, but exported from core. --> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</ar...
12
diff --git a/components/Worlds.js b/components/Worlds.js @@ -2,7 +2,7 @@ const WorldCard = (props) => { return ` <div class="twoD-worlds-card"> <img class="twoD-worlds-card-img" src="https://techtrends.tech/wp-content/uploads/2017/11/Blockchain-Virtual-Reality-Social-VR-Consultancy-Decentraland-Linden-Lab-Second-Life-S...
2
diff --git a/src/menelaus_web_buckets.erl b/src/menelaus_web_buckets.erl @@ -286,6 +286,13 @@ build_bucket_info(Id, BucketConfig, InfoLevel, LocalAddr, MayExposeAuth, | Suffix2] end, + Suffix4 = case ns_bucket:storage_mode(BucketConfig) of + couchstore -> + [{replicaIndex, proplists:get_value(replica_index, BucketConfi...
8
diff --git a/index.d.ts b/index.d.ts @@ -75,34 +75,67 @@ export interface RouterDictionary { } type HTMLElementOfStringLiteral<Q extends string> = - Q extends 'div' ? HTMLDivElement: Q extends 'a' ? HTMLAnchorElement: - Q extends 'span' ? HTMLSpanElement: - Q extends 'pre' ? HTMLPreElement: - Q extends 'p' ? HTMLParagr...
0
diff --git a/src/parser/spells/scaling.js b/src/parser/spells/scaling.js @@ -109,11 +109,12 @@ export function getSpellScaling(data) { if (isHigherLevelDefinitions && modScaleType === "spellscale") { const definition = mod.atHigherLevels.higherLevelDefinitions[0]; if (definition) { + const die = definition.dice ? defin...
9
diff --git a/core/inject.js b/core/inject.js @@ -35,7 +35,6 @@ const bumpObjects = goog.require('Blockly.bumpObjects'); const common = goog.require('Blockly.common'); const dom = goog.require('Blockly.utils.dom'); const userAgent = goog.require('Blockly.utils.userAgent'); -const utils = goog.require('Blockly.utils'); c...
2
diff --git a/src/geo/gmaps/gmaps-cartodb-layer-group-view.js b/src/geo/gmaps/gmaps-cartodb-layer-group-view.js @@ -311,7 +311,7 @@ _.extend( var overlays = this.gmapsMap.overlayMapTypes.getArray(); return _.findIndex(overlays, function (overlay) { - return overlay._id === this._id; + return overlay && overlay._id === t...
9
diff --git a/js/refGeneExons.js b/js/refGeneExons.js @@ -235,11 +235,14 @@ var RefGeneAnnotation = React.createClass({ }); }, tooltip: function (ev) { - var {layout, column: {assembly}} = this.props, - {x, y} = util.eventOffset(ev), - {annotationHeight, perLaneHeight, laneOffset, lanes} = this.annotationLanes; + var {l...
9
diff --git a/src/TemplatePath.js b/src/TemplatePath.js @@ -134,18 +134,18 @@ TemplatePath.normalizeUrlPath = function (...urlPaths) { TemplatePath.absolutePath = function (...paths) { let i = 0; // check all the paths before we short circuit from the first index - for (let path of paths) { - if (path.startsWith("/") &&...
0
diff --git a/server/src/events/thrusters.js b/server/src/events/thrusters.js import App from "../app"; import { pubsub } from "../helpers/subscriptionManager.js"; -App.on("rotationUpdate", ({ id, rotation, on }) => { +App.on("rotationUpdate", ({ id, rotation, on, cb }) => { const sys = App.systems.find(s => s.id === id...
1
diff --git a/src/HeaderIcon.module.css b/src/HeaderIcon.module.css +@keyframes hueRotate { + 0% { + filter: hue-rotate(0deg); + } + 25% { + filter: hue-rotate(90deg); + } + 50% { + filter: hue-rotate(180deg); + } + 75% { + filter: hue-rotate(270deg); + } + 100% { + filter: hue-rotate(360deg); + } +} + .headerIcon { --w...
0
diff --git a/src/widgets/widget-view.js b/src/widgets/widget-view.js @@ -52,26 +52,30 @@ module.exports = cdb.core.View.extend({ _onDataviewModelEvent: function (type, error) { var enhancedError = errorEnhancer(error); + if (type.lastIndexOf('error', 0) === 0) { return this.render(enhancedError); } if (type === 'sync' ...
5
diff --git a/themes/5ePhb.style.less b/themes/5ePhb.style.less @@ -450,7 +450,7 @@ body { break-before : column; } //Avoid breaking up - p,blockquote,table{ + blockquote,table{ z-index : 15; -webkit-column-break-inside : avoid; page-break-inside : avoid;
11
diff --git a/token-metadata/0x90f62B96a62801488b151fF3c65eaC5Fae21a962/metadata.json b/token-metadata/0x90f62B96a62801488b151fF3c65eaC5Fae21a962/metadata.json "symbol": "GEM", "address": "0x90f62B96a62801488b151fF3c65eaC5Fae21a962", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/test/jasmine/tests/hover_label_test.js b/test/jasmine/tests/hover_label_test.js @@ -4103,6 +4103,16 @@ describe('hovermode: (x|y)unified', function() { }; Plotly.newPlot(gd, mockCopy) .then(function(gd) { + expect(gd._fullLayout.hovermode).toBe('y unified'); + var ax = gd._fullLayout.yaxis; + expect(ax.sho...
7
diff --git a/db/Dockerfile b/db/Dockerfile FROM postgres:9.4 +RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ + locale-gen +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 + RUN apt-get update && apt-get upgrade -y && \ apt-get install -y postgresql-9.4-pgrouting gdal-b...
1
diff --git a/config/redirects.js b/config/redirects.js @@ -2088,10 +2088,10 @@ module.exports = [ from: '/applications/application-settings/single-page-app', to: '/applications/spa#settings' }, - { - from: ['/tokens/overview-access-tokens','/tokens/access-token','/tokens/access_token', '/tokens/access-tokens'], - to: '...
2
diff --git a/src/encoded/schemas/generic_quality_metric.json b/src/encoded/schemas/generic_quality_metric.json "title": "MIME type", "type": "string", "enum": [ + "application/gzip", "application/pdf", - "text/plain", - "text/tab-separated-values", "image/jpeg", "image/png", "image/tiff", "image/gif", - "text/html" + "...
0
diff --git a/shared/testing/setup.js b/shared/testing/setup.js @@ -36,7 +36,7 @@ module.exports = async () => { .then(() => mockDb .table(table) - .insert(data[table]) + .insert(data[table], { conflict: 'replace' }) .run() ) );
14
diff --git a/blocks/typed_blocks.js b/blocks/typed_blocks.js @@ -844,11 +844,6 @@ Blockly.Blocks['function_app_typed'] = { */ domToMutation: function(xmlElement) { var newParamCount = parseInt(xmlElement.getAttribute('params'), 0); - goog.asserts.assert(this.paramCount_ == 0, - 'Default parameter count must be zero.');...
2
diff --git a/javascript/stimulus_reflex.js b/javascript/stimulus_reflex.js @@ -78,8 +78,8 @@ const setup = () => { // Initializes StimulusReflex by registering the default Stimulus controller // with the passed Stimulus application -const initialize = application => { - application.register('stimulus-reflex', StimulusR...
11
diff --git a/src/apps.json b/src/apps.json }, "Wix": { "cats": [ - 1 + 1, + 6, + 11 ], "cookies": { "Domain": "\\.wix\\.com" "X-Wix-Server-Artifact-Id": "" }, "icon": "Wix.png", + "implies": [ + "React" + ], "js": { - "wixData": "", - "wixErrors": "", - "wixEvents": "" + "wixBiSession": "" + }, + "meta": { + "generator...
7
diff --git a/examples/anvil.js b/examples/anvil.js @@ -63,25 +63,23 @@ bot.on('chat', async (username, message) => { } }) -function tossItem (name, amount) { +async function tossItem (name, amount) { amount = parseInt(amount, 10) const item = itemByName(name) if (!item) { bot.chat(`I have no ${name}`) - } else if (amou...
2
diff --git a/ext/filterLists/updateEasylist.js b/ext/filterLists/updateEasylist.js @@ -41,7 +41,13 @@ makeRequest(easylistOptions, function (easylist) { makeRequest(easyprivacyOptions, function (easyprivacy) { var data = easylist + easyprivacy - data = data.replace(/.*##.+\n/g, '') + data = data.split('\n').filter(func...
2
diff --git a/core/extension/osd-segment-overlay.js b/core/extension/osd-segment-overlay.js const style = polygon.properties.style; // default coordinate is 'normalized' - let convertX = this._viewer.imagingHelper.logicalToPhysicalX; - let convertY = this._viewer.imagingHelper.logicalToPhysicalY; + let convertX = this._...
1
diff --git a/buildtools/check-example.js b/buildtools/check-example.js @@ -37,9 +37,11 @@ page.onAlert = function(msg) { }; page.onResourceError = function(resourceError) { if (resourceError.url.includes('tile.openstreetmap.org')) { - console.warn('Ignoring ressource error from openstreetmap'); + console.warn('Ignoring...
8
diff --git a/src/helpers/_focused.scss b/src/helpers/_focused.scss /// /// Provides an outline to clearly indicate when the target element is focused. /// Used for interactive text-based elements. +/// +/// @access public @mixin govuk-focused-text { // When colours are overridden, for example when users have a dark mod...
12
diff --git a/.eslintrc.js b/.eslintrc.js @@ -32,5 +32,7 @@ module.exports = { ], 'no-console': OFF, 'global-require': OFF, + // Allow mixed linebreaks locally, but commit only LF. + 'linebreak-style': process.env.CI ? ['error', 'unix'] : OFF, }, };
11