code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/checkfiles/checkfiles.py b/checkfiles/checkfiles.py @@ -15,6 +15,7 @@ import subprocess import re from urllib.parse import urljoin import requests +import copy EPILOG = __doc__ @@ -797,12 +798,29 @@ def remove_local_file(path_to_the_file, errors): pass -def fetch_files(session, url, search_query, out, incl...
0
diff --git a/README.md b/README.md @@ -555,7 +555,7 @@ Get or set the option. -##### closest(el:`String`[, selector:`HTMLElement`]):`HTMLElement|null` +##### closest(el:`HTMLElement`[, selector:`String`]):`HTMLElement|null` For each element in the set, get the first element that matches the selector by testing the elem...
1
diff --git a/test/templates/blueprint-cli/generators/foo/index.js b/test/templates/blueprint-cli/generators/foo/index.js @@ -2,6 +2,7 @@ const Generator = require('yeoman-generator'); module.exports = class extends Generator { initializing() { + /* eslint-disable no-console */ console.log('Running foo'); } };
8
diff --git a/README.md b/README.md @@ -19,7 +19,7 @@ Run this command to clone the repo ### 2. Install dependencies -irst, before you can use the app, you have to run this command to install all the dependencies +First, before you can use the app, you have to run this command to install all the dependencies `yarn insta...
1
diff --git a/templates/indicators/form-sections/performance.html b/templates/indicators/form-sections/performance.html <script> let countDisaggTypes = 0; + let countLabels = 0; $(document).ready(() => { $('#id_level').select2({ * Add disag label to given selector for disag type */ function addDisagLabel(selector, label...
12
diff --git a/tests/index.html b/tests/index.html <div id="screen"></div> <!-- include helper files here... --> - <script type="text/javascript" src="tests/spec/helper-spec.js"></script> + <script type="text/javascript" src="tests/helper/helper-spec.js"></script> <!-- include spec files here... --> <script type="text/ja...
1
diff --git a/scripts/pipeline/checkBetaEligibility.js b/scripts/pipeline/checkBetaEligibility.js @@ -31,9 +31,14 @@ const hasEligibleFiles = changedFiles.some(filePath => { return isEligigle }) -if (hasEligibleFiles) { +const isBumpVersionCommit = changedFiles.every(filePath => + ['package.json', 'CHANGELOG.md'].includ...
8
diff --git a/includes/Modules/Search_Console.php b/includes/Modules/Search_Console.php @@ -146,7 +146,6 @@ final class Search_Console extends Module implements Module_With_Screen, Module_ 'sc-site-analytics' => 'webmasters', 'page-analytics' => 'webmasters', 'search-keywords' => 'webmasters', - 'search-keywords-sort-by...
2
diff --git a/lib/github-url.ts b/lib/github-url.ts /* eslint-disable no-useless-escape, guard-for-in, no-restricted-syntax */ /* tslint:disable:forin */ -import { named } from "named-regexp"; +// tslint:disable-next-line:no-var-requires (no types for named-regexp) +const { named } = require("named-regexp"); const base ...
4
diff --git a/tests/scripts/check_metadata.sh b/tests/scripts/check_metadata.sh # Q1 2020 3.20200402.0 619341 # Q2 2020 3.20200625.0 621811 # Q3 2020 3.20200924.0 641216 -blockly_size_expected=641216 +# Q4 2020 4.20201217.0 653624 +blockly_size_expected=653624 # Size of blocks_compressed.js # Q2 2019 2.20190722.0 75618 ...
3
diff --git a/app/shared/containers/Tools.js b/app/shared/containers/Tools.js @@ -229,7 +229,8 @@ class ToolsContainer extends Component<Props> { } } return ( - (walletTemp && pane.modes.includes('temp')) + !walletMode + || (walletTemp && pane.modes.includes('temp')) || (!skipImport && !walletTemp && pane.modes.includes...
11
diff --git a/README.md b/README.md @@ -412,7 +412,7 @@ const whisper = volume({ whisper: true }); console.dir(whisper.transform({ level: 'info', message: `WHY ARE THEY MAKING US YELL SO MUCH!` -}), whisper.options); +}, whisper.options)); // { // level: 'info' // message: 'why are they making us yell so much!' @@ -653,...
1
diff --git a/public/src/lobby/GameOptions.jsx b/public/src/lobby/GameOptions.jsx @@ -34,7 +34,7 @@ const Regular = ({ sets, type }) => ( <Select value={sets.length} onChange={App._emit("changeSetsNumber", type)} - opts={_.seq(12, 3)} /> + opts={_.seq(12, 1)} /> </div> <div className="wrapper"> <Sets sets={sets} type={t...
12
diff --git a/README.md b/README.md @@ -59,7 +59,7 @@ Using Metallic-Roughness to Shade Once we have read in these values and passed them into the fragment shader correctly, we need to compute the final color of each fragment. Without going too far into the theory behind PBR, this is how this demo application computes t...
14
diff --git a/test_apps/test_app/app/contracts/simple_storage.sol b/test_apps/test_app/app/contracts/simple_storage.sol @@ -2,7 +2,9 @@ pragma solidity ^0.4.25; contract SimpleStorage { uint public storedData; + address public registar; address owner; + event EventOnSet2(bool passed, string message); constructor(uint in...
13
diff --git a/src/scripts/interaction.js b/src/scripts/interaction.js @@ -733,8 +733,16 @@ function Interaction(parameters, player, previousState) { player.play(); } + let time = event.data; + if (time === parameters.duration.from) { + // Adding 200ms here since people are using this as a resume feature + // and some pl...
0
diff --git a/library/styleguideComponents/StyleGuide/styles.css b/library/styleguideComponents/StyleGuide/styles.css .react-rainbow-styleguide_twitter-link { height: 32px; width: 32px; + position: relative; border-radius: 32px; background-color: #d7dae8; display: flex;
1
diff --git a/src/pages/EnterpriseShared/index.js b/src/pages/EnterpriseShared/index.js @@ -194,11 +194,13 @@ export default class EnterpriseShared extends PureComponent { this.handleOpencreateAppMarket(); return null; } + const { marketTab, helmTab } = this.state; let arr = []; arr = marketTab.filter(item => { return i...
1
diff --git a/plugins/removeAttrs.js b/plugins/removeAttrs.js 'use strict'; -var ELEM_SEP = ':'; +var DEFAULT_SEPARATOR = ':'; exports.type = 'perItem'; @@ -9,12 +9,16 @@ exports.active = false; exports.description = 'removes specified attributes'; exports.params = { + elemSeparator: DEFAULT_SEPARATOR, attrs: [] }; /** ...
11
diff --git a/scripts/tosdr.js b/scripts/tosdr.js @@ -41,7 +41,15 @@ function getSitePoints (sites) { // get the detailed points data for this site request.get(url, (err, res, body) => { let points = {score: 0, all: {bad: [], good: []}, match: {bad: [], good: []}} - let allData = JSON.parse(body) + let allData + + try {...
9
diff --git a/src/js/modules/download.js b/src/js/modules/download.js @@ -58,9 +58,7 @@ Download.prototype.processConfig = function(){ } } - if (config.rowGroups && this.table.options.groupBy && this.table.modExists("groupRows")){ - this.config.rowGroups = true; - } + this.config.rowGroups = config.rowGroups && this.tab...
12
diff --git a/docs/_config.yml b/docs/_config.yml @@ -51,3 +51,13 @@ url: https://www.apollographql.com/docs root: /docs/ public_dir: public/docs + +redirects: + /docs/guides/schema-design.html: + docs/platform/schema-design + /docs/guides/security.html: + docs/platform/operation-registry + /docs/guides/monitoring.html:...
12
diff --git a/havenapi/keycloak/keycloak.go b/havenapi/keycloak/keycloak.go @@ -9,6 +9,7 @@ import ( "net/http" "net/url" "os" + "strings" "time" "github.com/deis/helm/log" @@ -149,10 +150,21 @@ func CreateUser(email string) error { return &UserExistsError{email} } + components := strings.Split(email, "@") var jsonStr =...
1
diff --git a/src/index.js b/src/index.js @@ -28,7 +28,30 @@ const {nativeVideo, nativeVr, nativeLm, nativeMl, nativeWindow, nativeAnalytics} const GlobalContext = require('./GlobalContext'); GlobalContext.commands = []; -const dataPath = path.join(os.homedir() || __dirname, '.exokit'); +const dataPath = (() => { + cons...
9
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -104,6 +104,8 @@ Both jasmine and image tests are run on [CircleCI](https://circleci.com/gh/plotly/plotly.js) on every push to this repo. +### Jasmine tests + Jasmine tests are run in a browser using [karma](https://github.com/karma-runner/karma). To run them locally: @...
3
diff --git a/articles/support/tickets.md b/articles/support/tickets.md @@ -24,7 +24,7 @@ If you are an existing Private Cloud customer, you will need to create an Auth0 1. Choose **Affected Tenant** from the dropdown menu. 1. Under **Issue Type** select the type of issue that best fits your case. ![Issue types](/media/...
3
diff --git a/src/pages/ValidateLogin2FANewWorkspacePage.js b/src/pages/ValidateLogin2FANewWorkspacePage.js @@ -73,6 +73,7 @@ class ValidateLogin2FANewWorkspacePage extends Component { this.setState({ formError: null, + loading: true, }); const accountID = lodashGet(this.props.route.params, 'accountID', '');
12
diff --git a/packages/app/src/components/PageComment/CommentEditor.jsx b/packages/app/src/components/PageComment/CommentEditor.jsx @@ -54,8 +54,6 @@ class CommentEditor extends React.Component { const isUploadable = config.upload.image || config.upload.file; const isUploadableFile = config.upload.file; - console.log('t...
12
diff --git a/node-red-contrib-botbuilder/package.json b/node-red-contrib-botbuilder/package.json { "name": "node-red-contrib-viseo-botbuilder", - "version": "1.0.0", + "version": "2.0.0", "description": "VISEO Bot Maker - Microsoft BotBuilder and tools", "dependencies": { - "botbuilder": "^4.11.0", - "botbuilder-dialog...
4
diff --git a/src/markdown/handbook/manage/hiring.mdx b/src/markdown/handbook/manage/hiring.mdx @@ -5,7 +5,7 @@ order: 1 publish: true --- -import { Grid, Box } from 'theme-ui' +import { Image } from 'components/atoms' @@ -52,19 +52,12 @@ Remarkable profiles are easier to remember. Everyday there are new job offers in #...
14
diff --git a/server/workers/api/src/apis/base.py b/server/workers/api/src/apis/base.py @@ -73,9 +73,8 @@ class Search(Resource): errors = search_param_schema.validate(params, partial=True) if "limit" not in params: params["limit"] = 120 - if params["limit"] > 1000: - params["limit"] = 1000 if params.get('vis_type') == ...
2
diff --git a/magda-content-api/src/createApiRouter.ts b/magda-content-api/src/createApiRouter.ts @@ -252,7 +252,16 @@ export default function createApiRouter(options: ApiRouterOptions) { content = content.toString("base64"); break; case ContentEncoding.json: - if (!(content instanceof Object)) { + if ( + !(content inst...
11
diff --git a/playground/core-concepts/core-4-configuration.md b/playground/core-concepts/core-4-configuration.md @@ -60,13 +60,11 @@ InputStream in = ClassLoader.getSystemResourceAsStream("my_awesome_file.txt"); ### Levels & Leagues -You have the possibility to create several levels (also named leagues). A new level al...
1
diff --git a/docs/common/changelog.md b/docs/common/changelog.md @@ -5,6 +5,15 @@ v22/v21 means v22 for android and v21 for ios this will be evened out from v24 +## Target version 10.0.0 + +- Upgrade rnkiwimobile to version `0.0.45` + +### v31 + +- Upgraded react-native and other native dependencies +- New summary layo...
0
diff --git a/circle.yml b/circle.yml @@ -75,7 +75,7 @@ jobs: steps: - restore_cache: key: cypress-documentation-{{ .Branch }}-{{ .Revision }} - - run: npm ls + - run: npm ls || true - run: NODE_ENV=development npm run build - run: ls -Rl themes/cypress/source/js - run: ls public
8
diff --git a/packages/node_modules/@node-red/util/lib/util.js b/packages/node_modules/@node-red/util/lib/util.js @@ -81,7 +81,7 @@ function ensureBuffer(o) { * @memberof @node-red/util_util */ function cloneMessage(msg) { - if (typeof msg !== "undefined") { + if (typeof msg !== "undefined" && msg !== null) { // Tempora...
9
diff --git a/functionalTest/html/crawler.js b/functionalTest/html/crawler.js 'use strict'; -const JSDOM = require('jsdom').JSDOM, +var JSDOM = require('jsdom').JSDOM, api = require('../api/api').create(), Q = require('q'), url = require('url'), @@ -8,32 +8,38 @@ const JSDOM = require('jsdom').JSDOM, httpsClient = requi...
13
diff --git a/apps/fwupdate/custom.html b/apps/fwupdate/custom.html @@ -81,6 +81,7 @@ function onInit(device) { if (crc==3435933210) version = "2v11.52"; if (crc==46757280) version = "2v11.58"; if (crc==3508163280 || crc==1418074094) version = "2v12"; + if (crc==4056371285) version = "2v13"; if (!ok) { version += `(&#98...
3
diff --git a/lore-ai.js b/lore-ai.js @@ -21,7 +21,7 @@ const characterLore = `\ AI anime avatars in a virtual world. They have human-level intelligence and unique and interesting personalities. `; -const _makeChatPrompt = (setting, characters, messages, objects, dstCharacter) => `\ +const _makeChatPrompt = (settings, c...
0
diff --git a/src/core/plugins/auth/selectors.js b/src/core/plugins/auth/selectors.js @@ -11,7 +11,7 @@ export const shownDefinitions = createSelector( export const definitionsToAuthorize = createSelector( state, () => ( { specSelectors } ) => { - let definitions = specSelectors.securityDefinitions() + let definitions =...
7
diff --git a/src/runtime-semantics/IfStatement.mjs b/src/runtime-semantics/IfStatement.mjs @@ -14,6 +14,10 @@ import { } from '../completion.mjs'; import { New as NewValue } from '../value.mjs'; +// #sec-if-statement-runtime-semantics-evaluation +// IfStatement : +// `if` `(` Expression `)` Statement `else` Statement +...
4
diff --git a/docs/style-guide-for-curriculum-challenges.md b/docs/style-guide-for-curriculum-challenges.md @@ -141,9 +141,9 @@ Here are specific formatting guidelines for the challenge seed code: ## Why do we have all these rules? -Our goal is to have a fun, clear interactive learning experience. +Our goal is to develo...
7
diff --git a/resource/js/components/PageStatusAlert.jsx b/resource/js/components/PageStatusAlert.jsx @@ -64,7 +64,7 @@ class PageStatusAlert extends React.Component { &nbsp; <i className="fa fa-angle-double-right"></i> &nbsp; - <a href=""> + <a href="#hackmd"> Open HackMD Editor </a> </div> @@ -79,7 +79,7 @@ class Page...
7
diff --git a/test/jasmine/tests/gl2d_plot_interact_test.js b/test/jasmine/tests/gl2d_plot_interact_test.js @@ -378,7 +378,7 @@ describe('Test gl2d plots', function() { .then(done); }); - it('@noCI should display selection of big number of points', function(done) { + it('@noCI should display selection of big number of r...
0
diff --git a/components/Notifications/SubscribeCheckbox.js b/components/Notifications/SubscribeCheckbox.js @@ -65,9 +65,9 @@ const SubscribeCheckbox = ({ } else if (!filters) { // User Subscribe/Unsubscribe without specifying if doc or comments, default to doc if (subscription.active) { + console.log('ubsub no filter')...
1
diff --git a/src/components/FormGrid.js b/src/components/FormGrid.js +import _get from 'lodash/get'; +import _isFunction from 'lodash/isFunction'; +import _map from 'lodash/map'; import React, {Component} from 'react'; import PropTypes from 'prop-types'; import Grid from './Grid'; @@ -19,6 +22,13 @@ export default clas...
0
diff --git a/src/libs/API.js b/src/libs/API.js @@ -76,7 +76,7 @@ export default function API(network) { * * @returns {Promise} */ - function performPOSTRequest(command, parameters, type = 'post') { + function request(command, parameters, type = 'post') { const networkPromise = network.post(command, parameters, type); /...
10
diff --git a/detox/android/detox/src/main/java/com/wix/detox/DetoxManager.java b/detox/android/detox/src/main/java/com/wix/detox/DetoxManager.java @@ -111,7 +111,7 @@ class DetoxManager implements WebSocketClient.ActionHandler { m.put("error", e.getMessage()); wsClient.sendAction("error", m, messageId); } - stop(); + /...
2
diff --git a/lib/plugins/aws/invokeLocal/index.test.js b/lib/plugins/aws/invokeLocal/index.test.js @@ -934,7 +934,8 @@ describe('AwsInvokeLocal', () => { }); describe('context.remainingTimeInMillis', () => { - it('should become lower over time', () => { + it('should become lower over time', function () { + this.timeout...
7
diff --git a/NEWS.md b/NEWS.md @@ -12,7 +12,6 @@ Development - Fix message in password confirmation modal when changing the password ([CartoDB/support#2187](https://github.com/CartoDB/support/issues/2187)) - Fix message in password protected maps ([CartoDB/design#1758](https://github.com/CartoDB/design/issues/1758)) - ...
2
diff --git a/app/controllers/AuditController.scala b/app/controllers/AuditController.scala @@ -213,6 +213,7 @@ class AuditController @Inject() (implicit val env: Environment[User, SessionAuth } else { val region: NamedRegion = regions.head val regionId: Int = region.regionId + UserCurrentRegionTable.saveOrUpdate(userId...
1
diff --git a/src/viewer.js b/src/viewer.js @@ -481,15 +481,16 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, /** * Open tiled images into the viewer, closing any others. + * To get the TiledImage instance created by open, add an event listener for + * {@link OpenSeadragon.Viewer.html...
5
diff --git a/client/components/swimlanes/swimlanes.styl b/client/components/swimlanes/swimlanes.styl margin-top: 50px; font-weight: bold; min-height: 9px; - min-width: 30px; + width: 50px; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis;
12
diff --git a/js/bytetrade.js b/js/bytetrade.js @@ -47,10 +47,10 @@ module.exports = class bytetrade extends Exchange { '1M': '1M', }, 'urls': { - 'test': 'https://api-v2-test.bytetrade.com', + 'test': 'https://api-v2-test.byte-trade.com', 'logo': 'https://user-images.githubusercontent.com/1294454/67288762-2f04a600-f4e6...
4
diff --git a/lib/recurly/pricing/checkout/calculations.js b/lib/recurly/pricing/checkout/calculations.js @@ -196,7 +196,15 @@ export default class Calculations { // Taxation requires that we at least have base tax information if (isEmpty(baseTaxInfo)) return Promise.resolve(); - const getTaxes = loadScriptPromise(this....
14
diff --git a/fields/types/markdown/Readme.md b/fields/types/markdown/Readme.md @@ -11,7 +11,9 @@ Stores a nested structure in the model with the properties: } ``` -The `html` path is updated when the `md` path is set by [Marked](https://github.com/chjj/marked) +When the `md` path is set, the value is first sanitized us...
3
diff --git a/core/toolbox.js b/core/toolbox.js @@ -588,7 +588,7 @@ Blockly.Toolbox.prototype.setColour_ = function(colourValue, childOut, // Decode the colour for any potential message references // (eg. `%{BKY_MATH_HUE}`). var colour = Blockly.utils.replaceMessageReferences(colourValue); - if (colour === null || colou...
9
diff --git a/rcloud.packages/rcloud.jupyter/R/main.R b/rcloud.packages/rcloud.jupyter/R/main.R @@ -189,18 +189,24 @@ JUPYTER_LANGUAGE_MAPPING <- 'rcloud.jupyter.language.mapping.config' if(is.null(outputs)) { return() } - lapply(outputs, function(outval) + processed <- lapply(outputs, function(outval) { outType <- outv...
7
diff --git a/src/framework/components/sprite/sprite-animation-clip.js b/src/framework/components/sprite/sprite-animation-clip.js @@ -88,6 +88,9 @@ pc.extend(pc, function () { }, _onSpriteAssetRemove: function (asset) { + if (asset.resource === this.sprite) { + this.sprite = null; + } }, // If the meshes are re-created ...
12
diff --git a/test/z_fuzzer_volumn_restriction_transfer_manager.js b/test/z_fuzzer_volumn_restriction_transfer_manager.js @@ -211,7 +211,7 @@ contract('VolumeRestrictionTransferManager', accounts => { ); // Mint some tokens and transferred to whitelisted addresses - await I_SecurityToken.mint(account_investor1, web3.uti...
1
diff --git a/test/jasmine/tests/plot_api_test.js b/test/jasmine/tests/plot_api_test.js @@ -3273,6 +3273,7 @@ describe('Test plot api', function() { ['gl3d_set-ranges', require('@mocks/gl3d_set-ranges.json')], ['gl3d_world-cals', require('@mocks/gl3d_world-cals.json')], ['gl3d_cone-autorange', require('@mocks/gl3d_cone-...
0
diff --git a/Gruntfile.js b/Gruntfile.js @@ -410,10 +410,10 @@ module.exports = function (grunt) { * `grunt test` */ grunt.registerTask('test', '(CI env) Re-build JS files and run all tests. For manual testing use `grunt jasmine` directly', [ - // 'beforeDefault', - // 'js_editor', - // 'jasmine:cartodbui', - // 'js_bu...
13
diff --git a/lib/utils/getSchemeFromUrl.js b/lib/utils/getSchemeFromUrl.js /* @flow */ "use strict"; -// TODO: Use `URL` class, see http://nodejs.org/api/url.html#url_class_url -const parse = require("url").parse; // eslint-disable-line node/no-deprecated-api +const { URL } = require("url"); /** * Get unit from value n...
14
diff --git a/articles/api-auth/tutorials/implicit-grant.md b/articles/api-auth/tutorials/implicit-grant.md @@ -21,7 +21,7 @@ Where: * `audience`: The target API for which the Client Application is requesting access on behalf of the user. * `scope`: The scopes which you want to request authorization for. These must be s...
0
diff --git a/docs/StyleSheet.md b/docs/StyleSheet.md @@ -30,23 +30,23 @@ This is a value function defining a style value that changes with its properties ```javascript // would color the layer based the property rating=[1, 5] -MapboxGL.StyleSheet.source({ - 1: 'red', - 2: 'organge', - 3: 'yellow', - 4: 'yellowgreen', -...
3
diff --git a/src/components/dashboard/Dashboard.js b/src/components/dashboard/Dashboard.js @@ -49,17 +49,6 @@ const handleAddToHomescreenClick = () => { const log = logger.child({ from: 'Dashboard' }) -window.addEventListener('beforeinstallprompt', e => { - console.info('beforeinstallprompt dashboard') - console.info(e...
0
diff --git a/camera-manager.js b/camera-manager.js @@ -3,8 +3,13 @@ import {getRenderer, camera} from './renderer.js'; import * as notifications from './notifications.js'; import metaversefile from 'metaversefile'; import physicsManager from './physics-manager.js'; +import alea from './alea.js'; const localVector = new...
0
diff --git a/character-physics.js b/character-physics.js @@ -42,7 +42,10 @@ class CharacterPhysics { } /* apply the currently held keys to the character */ applyWasd(keysDirection, timeDiff) { + if (this.player.avatar && physicsManager.physicsEnabled) { this.velocity.add(keysDirection); + physicsManager.setVelocity(thi...
12
diff --git a/test/json/expectations/request.js b/test/json/expectations/request.js @@ -19,7 +19,7 @@ const getDesc = (expectation) => () => { if(expectation.properties.body) { base.push('with'); - base.push(JSON.stringify(substituteFromContext(expectation.properties.body, buildContext()))) + base.push(JSON.stringify(su...
9
diff --git a/cmd/cmd.js b/cmd/cmd.js @@ -94,7 +94,7 @@ class Cmd { .description(__('New Application')) .option('--simple', __('create a barebones project meant only for contract development')) .option('--locale [locale]', __('language to use (default: en)')) - .option('--template [name/url]', __('download a known templ...
3
diff --git a/lib/createTopLevelExpect.js b/lib/createTopLevelExpect.js @@ -1462,7 +1462,7 @@ expectPrototype._executeExpect = function( return oathbreaker(assertionRule.handler(wrappedExpect, subject, ...args)); }; -expectPrototype._expect = function expect(context, args, forwardedFlags) { +expectPrototype._expect = fu...
2
diff --git a/public/office.web.js b/public/office.web.js @@ -43,7 +43,14 @@ $(() => { function goToMeet(roomId) { const r = confirm('Deseja entrar na call?'); if (r == true) { + startVideoConference(roomId); + //window.open(externalMeetUrl, '_blank'); + } else { + txt = 'You pressed Cancel!'; + } + } + function startVi...
4
diff --git a/js/webcomponents/bisweb_filetreepipeline.js b/js/webcomponents/bisweb_filetreepipeline.js @@ -152,7 +152,7 @@ class FileTreePipeline extends HTMLElement { openPipelineCreationModal() { if (!this.pipelineModal) { - let pipelineModal = bis_webutil.createmodal('Create a pipeline', 'modal-lg'); + let pipelineM...
2
diff --git a/articles/migrations/index.md b/articles/migrations/index.md @@ -112,7 +112,7 @@ For example, the [GET /api/v2/users/{id} endpoint](/api/management/v2#!/Users/ge For detailed steps and code samples on how to get a token, see [How to get an Access Token](/tokens/access-token#how-to-get-an-access-token). -App...
3
diff --git a/src/client/js/components/CustomNavigation.jsx b/src/client/js/components/CustomNavigation.jsx @@ -10,10 +10,10 @@ const CustomNavigation = (props) => { const [sliderWidth, setSliderWidth] = useState(0); const [sliderMarginLeft, setSliderMarginLeft] = useState(0); const navContainer = useRef(); - const tabs...
10
diff --git a/packages/composables/use-vue-cesium/index.ts b/packages/composables/use-vue-cesium/index.ts /* * @Author: zouyaoji@https://github.com/zouyaoji * @Date: 2021-04-06 09:21:02 - * @LastEditTime: 2022-09-11 11:51:57 + * @LastEditTime: 2022-10-20 01:49:37 * @LastEditors: zouyaoji * @Description: * @FilePath: \vu...
1
diff --git a/src/components/DateRangePicker/SelectionPane.js b/src/components/DateRangePicker/SelectionPane.js @@ -41,24 +41,24 @@ class SelectionPane extends React.Component { <div style={styles.container}> <div> <label style={styles.boxLabel}>From</label> - <div + <a onClick={() => this._handleDateBoxClick(selectedSt...
4
diff --git a/generators/entity-client/templates/react/src/main/webapp/app/entities/_entity.tsx b/generators/entity-client/templates/react/src/main/webapp/app/entities/_entity.tsx @@ -61,7 +61,7 @@ export interface I<%= entityReactName %>State { } <%_ } _%> -export class <%= entityReactName %> extends React.Component<I<...
1
diff --git a/token-metadata/0x174bea2cb8b20646681E855196cF34FcEcEc2489/metadata.json b/token-metadata/0x174bea2cb8b20646681E855196cF34FcEcEc2489/metadata.json "symbol": "FTT", "address": "0x174bea2cb8b20646681E855196cF34FcEcEc2489", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/includes/Core/Assets/Assets.php b/includes/Core/Assets/Assets.php @@ -378,10 +378,10 @@ final class Assets { $preload_paths = apply_filters( 'googlesitekit_apifetch_preload_paths', array() ); return array( + 'nonce' => ( wp_installing() && ! is_multisite() ) ? '' : wp_create_nonce( 'wp_rest' ), 'nonceEndpo...
10
diff --git a/articles/extensions/user-import-export.md b/articles/extensions/user-import-export.md @@ -65,6 +65,8 @@ When done, you'll see the following **Completed** message. ![](/media/articles/extensions/user-import-export/import-complete.png) +Once you've imported your users, you can manage them individually using ...
0
diff --git a/procgen-manager.js b/procgen-manager.js +/* this file implements the top-level world procedural generation context. +it starts the workers and routes calls for the procgen system. */ + import {murmurhash3} from './procgen/procgen.js'; import {DcWorkerManager} from './dc-worker-manager.js'; import {LodChunk...
0
diff --git a/assets/js/components/notifications/ErrorNotifications.js b/assets/js/components/notifications/ErrorNotifications.js @@ -56,7 +56,7 @@ export default function ErrorNotifications() { id="setup_error" type="win-error" title={ __( - 'Error connecting Site Kit.', + 'Error connecting Site Kit', 'google-site-kit'...
2
diff --git a/commands/punish.js b/commands/punish.js const util = require('../lib/util.js'); exports.command = async (message, args, database, bot) => { - if (!message.member.hasPermission('MANAGE_GUILD')) { - message.channel.send('You need the "Manage Server" permission to use this command.'); + if (!await util.isMod(...
11
diff --git a/truffle.js b/truffle.js -const HDWalletProvider = require('truffle-hdwallet-provider'); - -const mnemonic = 'candy maple cake sugar pudding cream honey rich smooth crumble sweet treat'; - module.exports = { networks: { development: {
2
diff --git a/lib/hooks/session/index.js b/lib/hooks/session/index.js @@ -123,7 +123,7 @@ module.exports = function(app) { else { app.log.debug('Please note: since `sails.config.session.cookie.secure` is set to `true`, the session cookie '); app.log.debug('will _only_ be sent over TLS connections (i.e. secure https:// r...
4
diff --git a/server/game/cards/02.1-ToA/TearsOfAmaterasu.js b/server/game/cards/02.1-ToA/TearsOfAmaterasu.js @@ -8,7 +8,7 @@ class TearsOfAmaterasu extends ProvinceCard { }, handler: context => { let numberOfAttackers = context.event.conflict.attackers.length - if numberOfAttackers > 0 { + if (numberOfAttackers > 0) { ...
1
diff --git a/src/encoded/static/components/dataset.js b/src/encoded/static/components/dataset.js @@ -1282,6 +1282,13 @@ var Series = module.exports.Series = React.createClass({ </div> : null} + {context.donor_diversity ? + <div data-test="donordiversity"> + <dt>Donor diversity</dt> + <dd>{context.donor_diversity}</dd> ...
0
diff --git a/src/slider.js b/src/slider.js @@ -25,7 +25,7 @@ export default class Slider extends React.Component { } // handles responsive breakpoints - UNSAFE_componentWillMount() { + componentDidMount() { // performance monitoring //if (process.env.NODE_ENV !== 'production') { //const { whyDidYouUpdate } = require('w...
2
diff --git a/package.json b/package.json { "name": "igv", - "version": "VERSION", + "version": "2.0.0-rc2", "description": "Embeddable genomic visualization component based on the Integrative Genomics Viewer", "main": "dist/igv.esm.js", "files": [
12
diff --git a/unit-test/background/utils.es6.js b/unit-test/background/utils.es6.js @@ -18,12 +18,38 @@ const findParentTestCases = [ 'parent': 'undefined' } ] +const extractHostFromURLTestCases = [ + { + 'url': 'http://google.com', + 'result': 'google.com', + 'resultWithWWW': 'google.com' + }, + { + 'url': 'https://www...
3
diff --git a/src/components/topic/TopicsSubHeaderContainer.js b/src/components/topic/TopicsSubHeaderContainer.js @@ -11,7 +11,7 @@ const localMessages = { topicUnfavorited: { id: 'source.unfavorited', defaultMessage: 'Unstar this topic' }, }; -const SourceMgrSubHeaderContainer = (props) => { +const TopicMgrSubHeaderCon...
10
diff --git a/module/damage/damagecalculator.js b/module/damage/damagecalculator.js @@ -104,7 +104,8 @@ export class CompositeDamageCalculator { } static isResourceDamageType(damageType) { - return !!DamageTables.woundModifiers[damageType].resource + let modifier = DamageTables.woundModifiers[damageType] + return !!modi...
11
diff --git a/articles/quickstart/spa/_includes/_authz_client_routes_disclaimer.md b/articles/quickstart/spa/_includes/_authz_client_routes_disclaimer.md For the access control on the client-side, the `scope` values that you get in local storage are only a clue that the user has those scopes. The user could manually adj...
2
diff --git a/frontend/src/app/plugins/add-plugin-controller.js b/frontend/src/app/plugins/add-plugin-controller.js MessageService.error(key + " : " + err.data.customMessage[key]) }) $scope.errors = errors - },function evt(evt){ + },function evt(event){ // Only used for ssl plugin certs upload - var progressPercentage =...
1
diff --git a/generators/entity-client/templates/react/src/main/webapp/app/entities/entity-update.tsx.ejs b/generators/entity-client/templates/react/src/main/webapp/app/entities/entity-update.tsx.ejs @@ -614,7 +614,7 @@ _%> onChange={this.<%= relationshipFieldName %>Update}> <option value="" key="0" /> { - (<%= otherEnt...
2
diff --git a/engine/modules/entities/src/main/resources/view/entity-module/properties.js b/engine/modules/entities/src/main/resources/view/entity-module/properties.js @@ -55,6 +55,8 @@ export const PROPERTIES = { strokeColor: colorOpts, tint: colorOpts, + baseWidth: constOpts, + baseHeight: constOpts, image: stringOpts...
12
diff --git a/src/components/staking/PageValidator.vue b/src/components/staking/PageValidator.vue <template> <TmPage - v-if="validator" :managed="true" :loading="delegates.loading" :loaded="delegates.loaded" :error="delegates.error" + :data-empty="!validator" data-title="Validator" > <template v-if="validator" slot="man...
3
diff --git a/src/default_panels/StyleTracesPanel.js b/src/default_panels/StyleTracesPanel.js @@ -593,13 +593,15 @@ const StyleTracesPanel = (props, {localize: _}) => ( 'scatterpolargl', ]} > - <Flaglist + <Dropdown attr="hoveron" label={_('Hover on')} options={[ {label: _('Fills'), value: 'fills'}, {label: _('Points'),...
14
diff --git a/www/MarkerCluster.js b/www/MarkerCluster.js @@ -570,6 +570,7 @@ Object.defineProperty(MarkerCluster.prototype, '_redraw', { var marker = self._markerMap[markerId]; if (self._isRemoved || self._stopRequest || + !marker.isVisible() || marker.get('_cluster').isRemoved || marker.get('_cluster').isAdded) { retu...
8