code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/test/unit/test-helper-specs.js b/test/unit/test-helper-specs.js @@ -15,31 +15,31 @@ describe('test helpers', () => { it('should get the correct path for Windows', async function () { mocks.system.expects('isWindows').once().returns(true); - let cdPath = await getChromedriver220Asset(); - cdPath.should.eql(...
1
diff --git a/data/brands/amenity/recycling.json b/data/brands/amenity/recycling.json "short_name": "SVdP" } }, - { - "displayName": "Sympany", - "id": "sympany-dfbbb3", - "locationSet": {"include": ["nl"]}, - "tags": { - "amenity": "recycling", - "brand": "Sympany", - "brand:wikidata": "Q2646891", - "name": "Sympany", ...
5
diff --git a/iris/mutations/community/sendEmailInvites.js b/iris/mutations/community/sendEmailInvites.js @@ -38,7 +38,7 @@ export default async ( currentUser.id ); - if (!permissions.isOwner) { + if (!permissions.isOwner && !permissions.isModerator) { return new UserError( "You don't have permission to invite people to...
11
diff --git a/graphic.py b/graphic.py @@ -76,7 +76,6 @@ def _graphics_child(slug): graphic_path = alt_path else: graphic_path = '%s/%s' % (app_config.GRAPHICS_PATH, slug) - print graphic_path # Fallback for legacy projects w/o child templates if not os.path.exists('%s/child_template.html' % graphic_path):
2
diff --git a/Source/Renderer/ShaderSource.js b/Source/Renderer/ShaderSource.js @@ -324,7 +324,7 @@ define([ /** * Create a single string containing the full, combined vertex shader with all dependencies and defines. * - * @param {Object} [context] The current rendering context + * @param {Context} context The current r...
1
diff --git a/token-metadata/0x42d6622deCe394b54999Fbd73D108123806f6a18/metadata.json b/token-metadata/0x42d6622deCe394b54999Fbd73D108123806f6a18/metadata.json "symbol": "SPANK", "address": "0x42d6622deCe394b54999Fbd73D108123806f6a18", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/includes/Core/Authentication/Clients/OAuth_Client.php b/includes/Core/Authentication/Clients/OAuth_Client.php @@ -209,7 +209,7 @@ final class OAuth_Client { $this->google_client->setScopes( $this->get_required_scopes() ); $this->google_client->prepareScopes(); - $profile = ( new Profile( $this->user_option...
14
diff --git a/index.js b/index.js @@ -61,7 +61,7 @@ exports.errors = { * @param {string} uri * @param {Object<string, any>} options */ -exports.ensureDatabaseConnection = async (uri, options) => { +exports.setupModels = async (uri, options) => { const connection = await connectDb(uri, options) await initialize.setupMode...
10
diff --git a/packages/stockflux-launcher/public/searchResultsWindow.css b/packages/stockflux-launcher/public/searchResultsWindow.css body { margin: 0; - border: 1px solid #1a212a; - background-color: #28313d; - font-family: "Roboto", sans-serif; + border: 1px solid #1A212A; + background-color: #28313D; + font-family: '...
13
diff --git a/src/css/docs/components/docs-search.css b/src/css/docs/components/docs-search.css border-radius: 0 0 .5em .5em; padding-top: var(--docs-header-height); width: var(--docs-body-width); + + --suggestion-item-vertical-padding: .5em; } [theme="dark"] .DocsSearch .ds-dropdown-menu { .DocsSearch .ds-suggestion { ...
7
diff --git a/src/pixi/IgePixi.js b/src/pixi/IgePixi.js @@ -331,8 +331,11 @@ var IgeInitPixi = IgeClass.extend({ if (body && unit._debugEntity) { var scale = ige.physics.scaleRatio(), position = unit.body.m_xf && unit.body.m_xf.position, - x = scale * position.x - unit._debugEntity.width / 2, - y = scale * position.y - ...
1
diff --git a/lib/hexo/load_plugins.js b/lib/hexo/load_plugins.js @@ -34,6 +34,9 @@ function loadModuleList(ctx) { // Ignore plugins whose name is not started with "hexo-" if (!/^hexo-|^@[^/]+\/hexo-/.test(name)) return false; + // Ignore typescript definition file that is started with "@types/" + if (/^@types\//.test(n...
8
diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md **Thank you for volunteering to translate Node.js content to your language!** -By translating Node.js content (website, api, tutorials), you are directly impacting developers around the world. Your efforts -will help developers in more countries to learn Node.js! Tha...
1
diff --git a/config/redirects.js b/config/redirects.js @@ -1204,5 +1204,9 @@ module.exports = [ { from: '/quickstart/native/ionic/09-customizing-lock', to: '/quickstart/native/ionic' + }, + { + from: '/quickstart/backend/nodejs/00-getting-started', + to: '/quickstart/backend/nodejs' } ];
0
diff --git a/generators/client/templates/angular/src/main/webapp/app/admin/user-management/user-management.route.ts.ejs b/generators/client/templates/angular/src/main/webapp/app/admin/user-management/user-management.route.ts.ejs @@ -20,7 +20,6 @@ import { Injectable } from '@angular/core'; import { Resolve, ActivatedRo...
2
diff --git a/.travis.yml b/.travis.yml @@ -6,8 +6,7 @@ addons: install: npm install before_script: - npm install -g grunt - - npm install -g increase-memory-limit - - increase-memory-limit + - export NODE_OPTIONS=--max_old_space_size=1024 script: - grunt lint - grunt test
2
diff --git a/src/App.js b/src/App.js @@ -22,12 +22,8 @@ const App = () => { setUseDesktop(true) } - const Splash = - !isMobile && !useDesktop ? ( - <SplashDesktop onContinue={continueWithDesktop} /> - ) : ( - <RouterSelector usingDesktop={useDesktop} /> - ) + const Splash = !isMobile && !useDesktop ? <SplashDesktop onC...
2
diff --git a/app/components/user/TwoFactor/index.js b/app/components/user/TwoFactor/index.js @@ -198,6 +198,7 @@ class TwoFactor extends React.PureComponent<Props, State> { > <TwoFactorDelete viewer={this.props.viewer} + onDeactivationComplete={this.handleDeactivateDialogClose} /> </Dialog> </React.Fragment>
9
diff --git a/src/primitive.js b/src/primitive.js @@ -595,7 +595,7 @@ var _ = Mavo.Primitive = class Primitive extends Mavo.Node { * Get value from the DOM */ getValue (o) { - if (this.editing && this.editor !== this.element) { + if (this.editing && this.editor && this.editor !== this.element) { return this.editorValue;...
1
diff --git a/contracts/Synth.sol b/contracts/Synth.sol @@ -106,7 +106,6 @@ contract Synth is ExternStateToken { optionalProxy returns (bool) { - _notFeeAddress(messageSender); bytes memory empty; return super._internalTransfer(messageSender, to, value, empty); } @@ -119,7 +118,6 @@ contract Synth is ExternStateToken { ...
2
diff --git a/package.json b/package.json "build-server": "node ./config/build-server.js", "zip-server": "zip -r thorium-macos.zip thorium-macos && zip -r thorium-win.exe.zip thorium-win.exe && zip -r thorium-linux.zip thorium-linux", - "build": - "npm run build-client && npm run build-server && npm run zip-server", + "...
2
diff --git a/io-manager.js b/io-manager.js @@ -767,6 +767,9 @@ ioManager.click = e => { } raycastManager.setLastMouseEvent(e); }; +ioManager.dblclick = e => { + // nothing +}; // let mouseDown = false; let lastMouseButtons = 0; ioManager.mousedown = e => {
0
diff --git a/includes/Core/Authentication/Authentication.php b/includes/Core/Authentication/Authentication.php @@ -1026,6 +1026,9 @@ final class Authentication { }, 'type' => Notice::TYPE_SUCCESS, 'active_callback' => function() { + if ( ! empty( $this->user_options->get( OAuth_Client::OPTION_ERROR_CODE ) ) ) { + retur...
7
diff --git a/python/ccxt/async_support/base/exchange.py b/python/ccxt/async_support/base/exchange.py @@ -171,7 +171,7 @@ class Exchange(BaseExchange): self.reloading_markets = True coroutine = self.load_markets_helper(reload, params) # coroutines can only be awaited once so we wrap it in a task - self.markets_loading =...
1
diff --git a/runtime.js b/runtime.js @@ -25,7 +25,7 @@ const importMap = { const _clone = o => JSON.parse(JSON.stringify(o)); // const thingFiles = {}; -const _loadGltf = async file => { +const _loadGltf = async (file, {optimize = true} = {}) => { // const u = `${storageHost}/${hash}`; const u = URL.createObjectURL(fil...
0
diff --git a/packages/@uppy/url/src/index.js b/packages/@uppy/url/src/index.js @@ -141,8 +141,12 @@ module.exports = class Url extends Plugin { } }) .then(() => { - const dashboard = this.uppy.getPlugin('Dashboard') - if (dashboard) dashboard.hideAllPanels() + // Close the Dashboard panel if plugin is installed + // in...
5
diff --git a/articles/users/redirecting-users.md b/articles/users/redirecting-users.md --- -description: How to handle returning users after authentication. +title: Redirect Users After Login +description: How to redirect users to URLs that have not been whitelisted --- # Redirect Users After Login To make your login p...
2
diff --git a/src/screens/CategoriesDrawer/index.js b/src/screens/CategoriesDrawer/index.js @@ -9,7 +9,8 @@ import { categoriesDrawerCancelColor, whiteColor, darkBlueGreyTwoColor, - eucalyptusGreenColor + eucalyptusGreenColor, + lightNavyBlueColor } from "../../constants/colors"; import text from "../../constants/text";...
0
diff --git a/config.php b/config.php @@ -126,6 +126,8 @@ foreach ($row as $key => $value) { // awkward ones. $xerte_toolkits_site->mimetypes = explode(",", $row['mimetypes']); +$xerte_toolkits_site->enable_file_ext_check = true_or_false($row['enable_file_ext_check']); +$xerte_toolkits_site->file_extensions = explode(",...
9
diff --git a/lib/assets/core/test/spec/cartodb3/dataset/dataset-header-view.spec.js b/lib/assets/core/test/spec/cartodb3/dataset/dataset-header-view.spec.js -var $ = require('jquery'); var _ = require('underscore'); var ConfigModel = require('../../../../javascripts/cartodb3/data/config-model'); var HeaderView = requir...
2
diff --git a/src/client/components/containers/CollectionsContainer.jsx b/src/client/components/containers/CollectionsContainer.jsx @@ -3,7 +3,6 @@ import { connect } from "react-redux"; import * as actions from "../../actions/actions"; import Collection from "../display/Collection.jsx"; import collectionsController fro...
10
diff --git a/physics-manager.js b/physics-manager.js @@ -31,6 +31,8 @@ const jump = () => { }; physicsManager.jump = jump; +physicsManager.raycast = (position, quaternion) => geometryManager.geometryWorker.raycastPhysics(geometryManager.physics, position, quaternion); + /* const makeAnimal = null; const animals = []; p...
0
diff --git a/index.d.ts b/index.d.ts @@ -58,16 +58,36 @@ declare namespace Moleculer { static createFromPayload(broker: ServiceBroker, payload: object): Context; } + interface ServiceActionSchema { + cache?: boolean; + params?: object; + handler: (ctx: Context) => Promise<any>; + } + + interface ServiceSettingSchema { ...
7
diff --git a/src/resources/api_nw_newwin.js b/src/resources/api_nw_newwin.js @@ -700,13 +700,20 @@ apiBridge.registerCustomHook(function(bindingsAPI) { //if (params.id) // options.tabId = params.id; } + if (callback && !(params.new_instance === true)) + options.block_parser = true; try_hidden(window).chrome.windows.cre...
1
diff --git a/lib/worker.js b/lib/worker.js @@ -10,26 +10,9 @@ const metavm = require('metavm'); const { notLoaded } = require('./dependencies.js'); const application = require('./application.js'); -(async () => { - const configPath = path.join(application.path, 'config'); - const context = metavm.createContext({ proces...
7
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/createtenantwizard/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/createtenantwizard/template.vue </template> <script> + const nameAvailableDebouncer = (function() { + let timeout + let oldReject + return ...
4
diff --git a/components/Article/Progress/index.js b/components/Article/Progress/index.js @@ -120,7 +120,7 @@ class Progress extends Component { return Math.abs(progressElements[index].getBoundingClientRect().top - headerHeight) } - let closestIndex = this.lastClosestIndex || 0 + let closestIndex = (progressElements[thi...
9
diff --git a/articles/metadata/management-api.md b/articles/metadata/management-api.md @@ -34,7 +34,7 @@ To create a user with the following profile details: } ``` -you would make the following `POST` call to the [Create User endpoint of the Management API](/api/management/v2#!/Users/post_users), to create the user and...
0
diff --git a/assets/js/googlesitekit-module.js b/assets/js/googlesitekit-module.js @@ -26,17 +26,17 @@ import './modules'; */ import domReady from '@wordpress/dom-ready'; import { applyFilters } from '@wordpress/hooks'; -import { Component, render, Suspense, lazy } from '@wordpress/element'; +import { Component, render...
2
diff --git a/src/core/operations/AddTextToImage.mjs b/src/core/operations/AddTextToImage.mjs @@ -23,7 +23,7 @@ class AddTextToImage extends Operation { this.name = "Add Text To Image"; this.module = "Image"; - this.description = "Adds text onto an image.<br><br>Text can be horizontally or vertically aligned, or the pos...
7
diff --git a/server.js b/server.js @@ -309,7 +309,6 @@ app.prepare().then(async () => { let serializedUsersMap = { [creator.id]: creator }; let serializedSlatesMap = {}; - // NOTE(jim): The most expensive call first. const r1 = await Serializers.doSubscriptions({ users: [], slates: [], @@ -330,50 +329,51 @@ app.prepare...
2
diff --git a/source/core/woogeen_base/VideoFramePacketizer.cpp b/source/core/woogeen_base/VideoFramePacketizer.cpp @@ -155,9 +155,8 @@ void VideoFramePacketizer::receiveRtpData(char* buf, int len, erizo::DataType ty void VideoFramePacketizer::OnNetworkChanged(const uint32_t target_bitrate, const uint8_t fraction_loss, ...
8
diff --git a/plugins/identity/app/controllers/identity/projects/request_wizard_controller.rb b/plugins/identity/app/controllers/identity/projects/request_wizard_controller.rb @@ -37,7 +37,6 @@ module Identity @project = services.identity.new_project @project.attributes = params.fetch(:project, {}) .merge(domain_id: @sc...
13
diff --git a/resources/test/docker-compose.yml b/resources/test/docker-compose.yml @@ -13,7 +13,7 @@ services: - ethereum - postgres environment: - postgres_host: postgres:5432 + postgres_host: postgres postgres_user: graph postgres_pass: let-me-in postgres_db: graph
1
diff --git a/spec/models/carto/oauth_app_user_spec.rb b/spec/models/carto/oauth_app_user_spec.rb @@ -157,16 +157,15 @@ module Carto end it 'creation and update' do - OauthAppUser::ScopesValidator.any_instance.stubs(:validate_each) dataset_scope = "datasets:rw:#{@table.name}" - oau = OauthAppUser.create!(user: @carto_us...
2
diff --git a/test/server/cards/06-CotE/HanteiXXXVIII.spec.js b/test/server/cards/06-CotE/HanteiXXXVIII.spec.js @@ -325,7 +325,7 @@ describe('Hantei XXXVII', function() { expect(this.player1).toHavePrompt('The Perfect Gift'); }); - fit('should trigger for Upholding Authority', function() { + it('should trigger for Uphol...
2
diff --git a/token-metadata/0x4E15361FD6b4BB609Fa63C81A2be19d873717870/metadata.json b/token-metadata/0x4E15361FD6b4BB609Fa63C81A2be19d873717870/metadata.json "symbol": "FTM", "address": "0x4E15361FD6b4BB609Fa63C81A2be19d873717870", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/package.json b/package.json "babel-traverse": "^6.26.0", "css-loader": "^0.28.11", "cssnano": "^3.10.0", - "enzyme": "^3.1.0", - "enzyme-adapter-react-16": "^1.0.4", + "enzyme": "3.8.0", + "enzyme-adapter-react-16": "1.7.1", "eslint": "^5.4.0", "eslint-config-prettier": "^3.0.1", "eslint-plugin-import": "^...
3
diff --git a/token-metadata/0x5D4d57cd06Fa7fe99e26fdc481b468f77f05073C/metadata.json b/token-metadata/0x5D4d57cd06Fa7fe99e26fdc481b468f77f05073C/metadata.json "symbol": "NTK", "address": "0x5D4d57cd06Fa7fe99e26fdc481b468f77f05073C", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/userscript.user.js b/userscript.user.js @@ -42692,10 +42692,15 @@ var $$IMU_EXPORT$$; return src.replace(/\/(?:_[a-z]_|n)([0-9]+\.[^/.]*)(?:[?#].*)?$/, "/$1"); } - if (amazon_container === "nudiez-production") { + if (amazon_container === "nudiez-production" || + // https://d2c4tvdc1w38dj.cloudfront.net/ph...
7
diff --git a/src/components/alerts/inline-message.css b/src/components/alerts/inline-message.css .inline-message { color: $ui-white; - font-family: "Helvetica Neue"; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; display: flex; justify-content: end; align-items: center;
4
diff --git a/tools/MiniProfiler.Esquio/EsquioDiagnosticListener.cs b/tools/MiniProfiler.Esquio/EsquioDiagnosticListener.cs @@ -8,7 +8,7 @@ using System.Diagnostics; namespace MiniProfiler.Esquio { - public class EsquioDiagnosticListener + internal class EsquioDiagnosticListener : IMiniProfilerDiagnosticListener {
12
diff --git a/assets/js/modules/tagmanager/setup.js b/assets/js/modules/tagmanager/setup.js @@ -594,7 +594,8 @@ class TagmanagerSetup extends Component { this.renderContainerSelect( { selectedStateKey: 'selectedContainerAMP', containers: containersAMP, - label: __( 'AMP Container', 'google-site-kit' ), + // Use the defa...
4
diff --git a/src/components/PageHero.tsx b/src/components/PageHero.tsx @@ -54,7 +54,7 @@ const PageHero: React.FC<IProps> = ({ className={className} > <Box - maxW={{ base: "full", lg: "640px" }} + maxW={{ base: "full", lg: "container.sm" }} py={{ base: 16, lg: 32 }} pl={{ base: 0, lg: 8 }} pr={0}
4
diff --git a/polyfills/requestIdleCallback/tests.js b/polyfills/requestIdleCallback/tests.js @@ -296,16 +296,15 @@ describe('requestIdleCallback', function () { }); describe.skip('cancelIdleCallback', function () { - it('is defined"', function () { + it.skip('is defined"', function () { proclaim.isTypeOf(window.cancelI...
0
diff --git a/package.json b/package.json "test": "NODE_ENV=test jest", "postpublish": "npm run docs-publish", "release": "npm run build && standard-version", - "postinstall": "opencollective postinstall" + "postinstall": "opencollective postinstall || exit 0" }, "peerDependencies": { "vue": "^2.4.2"
7
diff --git a/app/views/about.scala.html b/app/views/about.scala.html <p>Graduate Student</p> </div> <div class="col-md-4"> - <h3>Anthony Li</h3> + <h3><a href="https://github.com/tongning">Anthony Li</a></h3> <p>Fall 2016 - Present</p> <p>Undergraduate Student</p> </div> <div class="col-md-4"> - <h3>Maria Furman</h3> +...
3
diff --git a/test/MUIDataTable.test.js b/test/MUIDataTable.test.js @@ -2,6 +2,7 @@ import React from 'react'; import { spy } from 'sinon'; import { mount, shallow } from 'enzyme'; import { assert, expect } from 'chai'; +import cloneDeep from 'lodash.clonedeep'; import MUIDataTable from '../src/MUIDataTable'; import Tab...
0
diff --git a/src/plugin-api.js b/src/plugin-api.js @@ -39,7 +39,6 @@ export default class PluginAPI { this.validationErrors = []; this.resolvePath = utils.resolvePath; - this.runTaskList = utils.runTaskList; this.getDockerLogs = utils.getDockerLogs; this.runSSHCommand = utils.runSSHCommand; this.forwardPort = utils.for...
12
diff --git a/js/reveal.js b/js/reveal.js if( data.background ) { // Auto-wrap image urls in url(...) - if( /^(http|file|\/\/)/gi.test( data.background ) || /\.(svg|png|jpg|jpeg|gif|bmp)([?#]|$)/gi.test( data.background ) ) { + if( /^(http|file|\/\/)/gi.test( data.background ) || /\.(svg|png|jpg|jpeg|gif|bmp)([?#\s]|$)/...
11
diff --git a/test/unit/cachers/redis.spec.js b/test/unit/cachers/redis.spec.js @@ -207,7 +207,19 @@ describe("Test RedisCacher set & get with namespace & ttl", () => { }); }); - + it("should throw error", () => { + const error = new Error("Redis delete error"); + cacher.client.del = jest.fn(() => Promise.reject(error))...
7
diff --git a/packages/swagger2openapi/index.js b/packages/swagger2openapi/index.js @@ -262,7 +262,7 @@ function processParameter(param,op,path,index,openapi,options) { singularRequestBody = false; result.content = {}; var contentType = 'application/x-www-form-urlencoded'; - if ((consumes.length) && (consumes[0] == 'mul...
7
diff --git a/src/components/postElements/body/view/commentBodyView.tsx b/src/components/postElements/body/view/commentBodyView.tsx @@ -28,6 +28,7 @@ import { LinkData, parseLinkData } from './linkDataParser'; import IconButton from '../../../iconButton'; import getYoutubeId from '../../../../utils/getYoutubeId'; import...
9
diff --git a/shared/middlewares/security.js b/shared/middlewares/security.js @@ -79,7 +79,8 @@ function securityMiddleware(server, { enableNonce, enableCSP }) { // lists the URLs for workers and embedded frame contents. // For example: child-src https://youtube.com would enable // embedding videos from YouTube but not ...
11
diff --git a/origami.json b/origami.json "email": "origami.support@ft.com", "slack": "financialtimes/origami-support" }, - "supportStatus": "active" + "supportStatus": "active", + "keywords": [ + "javascript", + "polyfill", + "262", + "ecmascript" + ] }
0
diff --git a/ghost/admin/app/components/dashboard/charts/recents.hbs b/ghost/admin/app/components/dashboard/charts/recents.hbs <div class="gh-dashboard-list-header"> <div class="gh-dashboard-list-title">Title</div> {{#if this.areNewslettersEnabled}} - <div class="gh-dashboard-list-title">Sends</div> + <div class="gh-da...
10
diff --git a/tests/dummy/app/pods/docs/quickstart/template.md b/tests/dummy/app/pods/docs/quickstart/template.md This quickstart guide will get you started with a docs site for your brand new addon. After completion you will have a docs homepage, a docs subpage named -`installation`, an automatically generated API refe...
10
diff --git a/hmr.js b/hmr.js export default function HMR(Component, options = { target: document.body }, id = 'hmr', eventName = 'app-loaded') { const oldContainer = document.getElementById(id) - - - - - - // Wait for the app to load before replacing the component - addEventListener(eventName, replaceComponent) - // Cr...
11
diff --git a/js/drawMutations.js b/js/drawMutations.js var _ = require('./underscore_ext'); var {contrastColor, lightgreyHEX} = require('./color_helper'); -var {impact} = require('./models/mutationVector'); +var {impact, getSNVEffect} = require('./models/mutationVector'); var labelFont = 12; var labelMargin = 1; // lef...
4
diff --git a/articles/api/management/v2/query-string-syntax.md b/articles/api/management/v2/query-string-syntax.md @@ -37,10 +37,6 @@ Wildcard searches can be run on individual terms, using `?` to replace a single Note that certain wildcard queries will require an enormous amount of memory and perform poorly. (For exam...
2
diff --git a/src/UserConfig.js b/src/UserConfig.js @@ -344,13 +344,19 @@ class UserConfig { addTransform(name, callback) { name = this.getNamespacedName(name); - this.transforms[name] = callback; + this.transforms[name] = this.benchmarks.config.add( + `"${name}" Transform`, + callback + ); } addLinter(name, callback) {...
0
diff --git a/src/samples/p2p/js/sc.websocket.js b/src/samples/p2p/js/sc.websocket.js @@ -16,6 +16,8 @@ function SignalingChannel() { let connectPromise=null; + var reconnectTimes = 0; + /* TODO: Do remember to trigger onMessage when new message is received. if(this.onMessage) this.onMessage(from, message); @@ -58,6 +60...
9
diff --git a/Trading-Process/User.Bot.js b/Trading-Process/User.Bot.js exports.newUserBot = function newUserBot (bot, logger) { + /* + Creating a new instance from the platform of this bot: + - bot: An instance of the bot configuration + - logger: An instance of the platform logger that allow both: to save logs + on cl...
7
diff --git a/test/jasmine/tests/select_test.js b/test/jasmine/tests/select_test.js @@ -284,6 +284,11 @@ describe('select box and lasso', function() { y: 2.75, }], 'with the correct selected points (2)'); + expect(selectedData.lassoPoints.x).toBeCloseToArray( + [0.084, 0.087, 0.115, 0.103], 'lasso points x coords'); + e...
0
diff --git a/docs/composes.md b/docs/composes.md @@ -48,8 +48,27 @@ const cls = css` // composes also does not work in nested selectors, e.g. this doesn't work const cls = css` & .flex { - composes: ${flexCenter} + composes: ${flexCenter}; } ` +// ... instead, you should use this pattern for the nested styles or pseudo...
7
diff --git a/docs/components_page/components/progress.py b/docs/components_page/components/progress.py @@ -7,7 +7,7 @@ progress = html.Div( [ html.H2("Progress"), dbc.Progress(id="progress", value=0, striped=True, animated=True), - dcc.Interval(id="interval", interval=250), + dcc.Interval(id="interval", interval=250, n...
12
diff --git a/server/game/cards/01 - Core/MirumotosFury.js b/server/game/cards/01 - Core/MirumotosFury.js @@ -13,8 +13,7 @@ class MirumotosFury extends DrawCard { cardCondition: card => this.game.currentConflict.isParticipating(card) && card.getGlory() <= _.size(this.game.allCards.filter(card => card.isProvince && card....
2
diff --git a/README.md b/README.md @@ -7,7 +7,7 @@ This application is built with the following principles. - All data that is displayed, comes from persistent storage (Ion) 1. **UI Binds to Ion** - UI components bind to Ion (with `Ion.connect()`) so that any change to the Ion data is automatically reflected in the com...
7
diff --git a/core/extension/openseadragon-zoom-control/openseadragon-zoom-control.js b/core/extension/openseadragon-zoom-control/openseadragon-zoom-control.js * zoomctrl = null; //important * */ - $.CaZoomControl.prototype.destory = function(){ + $.CaZoomControl.prototype.destroy = function(){ for(const key in this){ t...
1
diff --git a/magda-web-client/src/Components/Dataset/Add/DatasetAddCommon.ts b/magda-web-client/src/Components/Dataset/Add/DatasetAddCommon.ts @@ -574,7 +574,7 @@ export function createBlankState(user?: User): State { status: "withdraw", hasCreated: false, publishAttempted: false, - publishRequired: false, + publishReq...
12
diff --git a/lib/runner/test-runners/_setup_cucumber_parallel_runner.js b/lib/runner/test-runners/_setup_cucumber_parallel_runner.js @@ -5,6 +5,7 @@ setDefaultTimeout(-1); Before(async function({pickle}) { const browser = await Nightwatch.createClient({ + capabilites: {}, headless: this.parameters.headless, env: this.p...
13
diff --git a/assets/js/googlesitekit/data/create-error-store.js b/assets/js/googlesitekit/data/create-error-store.js @@ -108,7 +108,7 @@ export function createErrorStore() { delete newState.errors[ key ]; } else { // @TODO: remove it once all instances of the legacy behavior have been removed. - delete newState.error; ...
12
diff --git a/userscript.user.js b/userscript.user.js @@ -14310,7 +14310,7 @@ var $$IMU_EXPORT$$; if (domain === "imgix.ranker.com") { // https://imgix.ranker.com/user_node_img/50076/1001516851/original/sheldon-and-_39_s-in-an-insane-asylum-and-the-show-only-takes-place-in-his-head-photo-u1?w=600&q=50&fm=jpg // https://...
7
diff --git a/packages/openneuro-indexer/src/index.ts b/packages/openneuro-indexer/src/index.ts @@ -3,7 +3,6 @@ import { Client } from '@elastic/elasticsearch' import createClient, { datasetGenerator } from 'openneuro-client/src/client' import indexDatasets from './indexDatasets' import { indexQuery } from './indexQuery...
11
diff --git a/server/game/cards/06.5-OR/BeggingBrother.js b/server/game/cards/06.5-OR/BeggingBrother.js @@ -5,7 +5,8 @@ class BeggingBrother extends DrawCard { this.interrupt({ canCancel: true, when: { - onCardAbilityInitiated: event => event.source.getType() === 'character' && event.player !== this.controller + //Neste...
11
diff --git a/package.json b/package.json "node": ">=6" }, "scripts": { - "postinstall": "webdriver-manager update", + "pretest:e2e": "webdriver-manager update", "test:e2e": "protractor", "test": "gulp build && npm run test:e2e", "coveralls": "cat ./coverage/lcov/lcov.info | coveralls",
5
diff --git a/src/client/js/components/Admin/ImportData/GrowiZipImportItem.jsx b/src/client/js/components/Admin/ImportData/GrowiZipImportItem.jsx @@ -176,9 +176,9 @@ export default class GrowiZipImportItem extends React.Component { } renderBody() { - const { isImported } = this.props; + const { isImporting, isImported }...
7
diff --git a/test/jasmine/assets/mock_lists.js b/test/jasmine/assets/mock_lists.js @@ -28,6 +28,7 @@ var svgMockList = [ ['range_selector_style', require('@mocks/range_selector_style.json')], ['range_slider_multiple', require('@mocks/range_slider_multiple.json')], ['sankey_energy', require('@mocks/sankey_energy.json')]...
0
diff --git a/edit.js b/edit.js @@ -11,10 +11,11 @@ import {XRPackage, pe, renderer, scene, camera, parcelMaterial, floorMesh, proxy import {downloadFile, readFile, bindUploadFileButton} from 'https://static.xrpackage.org/xrpackage/util.js'; // import {wireframeMaterial, getWireframeMesh, meshIdToArray, decorateRaycastM...
0
diff --git a/articles/hosted-pages/login.md b/articles/hosted-pages/login.md description: Guide on how to use the hosted login page --- -# Login Page +# Hosted Login Page -In your [Auth0 Dashboard](${manage_url}/#/login_page), you can enable your Hosted Login Page by simply flipping the toggle switch. +Auth0 hosts a lo...
3
diff --git a/common/lib/util/eventemitter.ts b/common/lib/util/eventemitter.ts @@ -47,10 +47,7 @@ function removeListener(targetListeners: any, listener: Function, eventFilter?: } class EventEmitter { - any: Array<unknown>; - events: Record<string, Array<unknown>>; - anyOnce: Array<unknown>; - eventsOnce: Record<string...
7
diff --git a/common/lib/transport/transport.ts b/common/lib/transport/transport.ts @@ -71,7 +71,7 @@ abstract class Transport extends EventEmitter { disconnect(err?: ErrorInfo): void { /* Used for network/transport issues that need to result in the transport - * being disconnected, but should not affect the connection ...
7
diff --git a/packages/idyll-docs/contents.js b/packages/idyll-docs/contents.js @@ -5,7 +5,7 @@ const Contents = [ {title: 'Introduction', route: '/docs' }, {title: 'Getting started', route: '/docs/getting-started' }, {title: 'Syntax', route: '/docs/syntax' }, - {title: 'Customizing', route: '/docs/configuration-and-sty...
3
diff --git a/includes/Core/Assets/Assets.php b/includes/Core/Assets/Assets.php @@ -476,7 +476,6 @@ final class Assets { new Script( 'googlesitekit-components', array( - 'src' => $base_url . 'js/googlesitekit-components-gm2.js', 'src' => $base_url . ( Feature_Flags::enabled( 'gm3Components' ) ? 'js/googlesitekit-compone...
2
diff --git a/CHANGELOG.md b/CHANGELOG.md # Changelog -## Unreleased -- Various fixes for HTTP client instrumentation - - Fix for requests with header "Expect: 100-continue" - - Instrument http.get and https.get separately from http(s).request +## 1.48.0 +- Various fixes and improvements for the HTTP client instrumentat...
6
diff --git a/src/components/dashboard/FeedItems/FeedListItem.js b/src/components/dashboard/FeedItems/FeedListItem.js // @flow -import React, { useCallback, useEffect, useState } from 'react' +import React, { useCallback, useState } from 'react' import { TouchableHighlight, View } from 'react-native' import * as Animata...
2
diff --git a/package.json b/package.json { "name": "prettier-atom", "main": "./dist/main.js", - "version": "0.42.0", - "description": - "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration", - "keywords": ["atom", "javascript", "prettier", "prettier-eslint", "eslint", "forma...
6
diff --git a/src/components/sign/SignTransferReady.js b/src/components/sign/SignTransferReady.js @@ -228,7 +228,7 @@ class SignTransferReady extends Component { </Button> <FormButton onClick={handleAllow} - disabled={insufficientFunds || !availableBalance} + disabled={insufficientFunds} sending={sending} sendingString=...
11
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml @@ -71,6 +71,7 @@ jobs: echo "SECRET_NAME=DEV_ENV" >> $GITHUB_ENV echo "APPCENTER_NAME=GoodDollar/GoodDollar-Android-development" >> $GITHUB_ENV echo "$GITHUB_HEAD_REF $GITHUB_REF ${{ env.BRANCH }} ${{ env.SECRET_NAME }} ${{ env.APPCENTER_NAME }...
0
diff --git a/src/MultiSelect/MultiSelect.js b/src/MultiSelect/MultiSelect.js @@ -83,6 +83,8 @@ const MultiSelect = ({ function downshiftOnChange(selectedItem, downshiftProps) { const { selectedItem: selectedItems } = downshiftProps; + // Ignore onChange if not item was selected (e.g. escape key) + if (!selectedItem) re...
8