code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/font/bitmaptext.js b/src/font/bitmaptext.js var stringHeight = measureTextHeight(this); var textMetrics = ret || this.getBounds(); - var strings = typeof text !== "undefined" ? ("" + (text)).split("\n") : this._text; + var strings = typeof text === "string" ? ("" + (text)).split("\n") : text; textMetri...
1
diff --git a/edit.js b/edit.js @@ -2164,7 +2164,7 @@ const _makeExplosionMesh = () => { }; let explosionMeshes = []; -const pxMeshes = []; +let pxMeshes = []; const _applyVelocity = (position, velocity, timeDiff) => { position.add(localVector4.copy(velocity).multiplyScalar(timeDiff)); @@ -2612,6 +2612,9 @@ function ani...
0
diff --git a/src/models/application.js b/src/models/application.js @@ -91,9 +91,9 @@ Application.create = function(api, name, instanceType, region, orgaIdOrName, git "instanceType": instanceType.type, "instanceVersion": instanceType.version, "instanceVariant": instanceType.variant.id, - "maxFlavor": "S", + "maxFlavor":...
4
diff --git a/src/inner-slider.js b/src/inner-slider.js @@ -107,9 +107,20 @@ export class InnerSlider extends React.Component { } componentWillReceiveProps = (nextProps) => { let spec = {listRef: this.list, trackRef: this.track, ...nextProps, ...this.state} - let setTrackStyle - if (this.state.animating) setTrackStyle =...
1
diff --git a/bin/cli.js b/bin/cli.js @@ -494,6 +494,10 @@ if (command === 'create') { command.stdout.pipe(process.stdout); command.stderr.pipe(process.stderr); } else if (command === 'deploy' || command === 'deploy-update') { + let dockerImageName, dockerDefaultImageName; + let dockerDefaultImageVersionTag = 'v1.0.0'; ...
9
diff --git a/tools/make/lib/notes/Makefile b/tools/make/lib/notes/Makefile @@ -24,6 +24,7 @@ notes: $(QUIET) $(FIND_NOTES) $(FIND_NOTES_FLAGS) $(KEYWORDS) $(FIND_NOTES_DIR) \ --exclude-dir "$(NODE_MODULES)/*" \ --exclude-dir "$(BUILD_DIR)/*" \ + --exclude-dir "$(DIST_DIR)/*" \ --exclude-dir "$(REPORTS_DIR)/*" \ --exclu...
8
diff --git a/activities/Calligra.activity/js/player.js b/activities/Calligra.activity/js/player.js @@ -13,7 +13,8 @@ var Player = { return { size: -1, zoom: -1, - current: { start: -1, track: -1, tracks: [] } + current: { start: -1, track: -1, tracks: [] }, + mode: '' } }, methods: { @@ -38,15 +39,20 @@ var Player = { ...
6
diff --git a/lib/taiko.js b/lib/taiko.js @@ -812,7 +812,8 @@ async function scrollTo(selector) { const scroll = async (e, px, scrollPage, scrollElement, direction) => { e = e || 100; if (Number.isInteger(e)) { - await runtimeHandler.runtimeEvaluate(`(${scrollPage}).apply(null, ${JSON.stringify([e])})`); + const res = a...
9
diff --git a/admin-base/core/src/main/java/com/peregrine/admin/resource/AdminResourceHandlerService.java b/admin-base/core/src/main/java/com/peregrine/admin/resource/AdminResourceHandlerService.java @@ -1028,7 +1028,7 @@ public class AdminResourceHandlerService // If found we copy this over into our newly created node ...
11
diff --git a/test/jasmine/tests/polar_test.js b/test/jasmine/tests/polar_test.js @@ -1149,10 +1149,6 @@ describe('Test polar interactions:', function() { describe('dragmode === false', function() { it('should not respond to drag interactions on plot area when dragmode === false', function(done) { var fig = Lib.extendDe...
2
diff --git a/includes/Modules/Idea_Hub.php b/includes/Modules/Idea_Hub.php @@ -504,11 +504,6 @@ final class Idea_Hub extends Module 'googlesitekit-idea-hub-notice', array( 'src' => $base_url . 'js/googlesitekit-idea-hub-notice.js', - 'dependencies' => array( - 'googlesitekit-vendor', - 'googlesitekit-api', - 'googlesit...
2
diff --git a/token-metadata/0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D/metadata.json b/token-metadata/0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D/metadata.json "symbol": "RENBTC", "address": "0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D", "decimals": 8, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED...
3
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -361,6 +361,7 @@ const loadPromise = (async () => { swordSideIdle: animations.find(a => a.name === 'sword_idle_side.fbx'), swordSideIdleStatic: animations.find(a => a.name === 'sword_idle_side_static.fbx'), swordSideSlash: animations.find(a => a.name === 'sword_si...
0
diff --git a/.storybook/config.js b/.storybook/config.js import { addDecorator, configure } from '@storybook/react'; // init UI using a Decorator -//import BootstrapDecorator from './decorators/BootstrapDecorator' -//addDecorator(BootstrapDecorator) +import BootstrapDecorator from './decorators/BootstrapDecorator' +add...
13
diff --git a/unlock-app/src/components/content/KeyChainContent.js b/unlock-app/src/components/content/KeyChainContent.js @@ -8,31 +8,9 @@ import DeveloperOverlay from '../developer/DeveloperOverlay' import Layout from '../interface/Layout' import Account from '../interface/Account' import { pageTitle } from '../../cons...
5
diff --git a/package.json b/package.json "postcss-import-url": "^5.1.0", "postcss-loader": "^3.0.0", "postcss-preset-env": "^6.7.0", - "prettier": "npm:wp-prettier@^2.2.1-beta-1", + "prettier": "npm:wp-prettier@2.2.1-beta-1", "puppeteer": "^10.4.0", "puppeteer-core": "^3.3.0", "rimraf": "^3.0.2",
2
diff --git a/src/v2-routes/v2-info.js b/src/v2-routes/v2-info.js const express = require("express") const v2 = express.Router() +const asyncHandle = require("express-async-handler") // Returns company info -v2.get("/", (req, res, next) => { - global.db.collection("info").find({},{"_id": 0 }).toArray((err, doc) => { - i...
3
diff --git a/node_common/managers/search/update.js b/node_common/managers/search/update.js @@ -102,8 +102,6 @@ const cleanFile = ({ }; const indexObject = async (objects, cleanObject, index) => { - console.log("index object"); - console.log(objects); try { if (Array.isArray(objects)) { let body = []; @@ -111,11 +109,9 ...
2
diff --git a/src/commands/link.js b/src/commands/link.js const Command = require('../base') const { flags } = require('@oclif/command') const renderShortDesc = require('../utils/renderShortDescription') -const inquirer = require('inquirer') const path = require('path') const chalk = require('chalk') -const getRepoData ...
3
diff --git a/js/lbank2.js b/js/lbank2.js @@ -1004,11 +1004,11 @@ module.exports = class lbank2 extends Exchange { parseOrderStatus (status) { const statuses = { - '-1': 'cancelled', // cancelled + '-1': 'canceled', // canceled '0': 'open', // not traded '1': 'open', // partial deal '2': 'closed', // complete deal - '3'...
1
diff --git a/test/jasmine/tests/axes_test.js b/test/jasmine/tests/axes_test.js @@ -7953,3 +7953,41 @@ describe('more matching axes tests', function() { .then(done, done.fail); }); }); + +describe('shift tests', function() { + var gd; + + beforeEach(function() { + gd = createGraphDiv(); + }); + + function checkLine(sele...
0
diff --git a/content/articles/spring-webflux/index.md b/content/articles/spring-webflux/index.md @@ -202,7 +202,7 @@ public interface StudentService { Flux<Student> findAll(); // Returns all students - Mono<Student> update(Student student); // Updates and returns the updated student + Mono<Student> update(Student stude...
1
diff --git a/lib/ag-solo/html/index.html b/lib/ag-solo/html/index.html <!doctype html> <html lang="en"> + <head> <meta charset="utf-8" /> <title>SwingSet Solo REPL Demo</title> padding: 0; margin: 0; } + h1 { text-align: center; margin-top: 40px; } + .container { display: grid; grid-template-columns: 40px 520px auto 40...
5
diff --git a/docs/src/pages/demos/tooltips/PositionedTooltips.js b/docs/src/pages/demos/tooltips/PositionedTooltips.js @@ -28,64 +28,44 @@ class PositionedTooltips extends React.Component { <div className={classes.root}> <Grid container justify="center"> <Grid item> - <Tooltip - id="tooltip-top-start" - className={clas...
2
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -16,7 +16,7 @@ import Avatar from './avatars/avatars.js'; import {rigManager} from './rig.js'; import {world} from './world.js'; import {glowMaterial} from './shaders.js'; -import * as ui from './vr-ui.js'; +// import * as ui from './vr-ui.js'; import {Shadert...
2
diff --git a/assets/js/modules/analytics/datastore/setup-flow.test.js b/assets/js/modules/analytics/datastore/setup-flow.test.js @@ -116,12 +116,6 @@ describe( 'modules/analytics setup-flow', () => { describe( 'selectors', () => { describe( 'getSetupFlowMode', () => { - it( 'returns "legacy" if the feature flag ga4setu...
2
diff --git a/src/components/mapexplorer.js b/src/components/mapexplorer.js @@ -175,9 +175,14 @@ function MapExplorer({ }, {} ); - currentMapData[currentMap.name].Total = states.find( + currentMapData[currentMap.name].Total = {}; + const stateData = states.find( (state) => currentMap.name === state.state ); + dataTypes....
1
diff --git a/app/components/file-viewer/audio-player.jsx b/app/components/file-viewer/audio-player.jsx @@ -81,7 +81,14 @@ class AudioPlayer extends React.Component { } renderProgressMarker() { - return (<ProgressIndicator progressPosition={this.state.progressPosition} progressRange={[0, this.state.trackDuration]} natur...
1
diff --git a/token-metadata/0x8CE9137d39326AD0cD6491fb5CC0CbA0e089b6A9/metadata.json b/token-metadata/0x8CE9137d39326AD0cD6491fb5CC0CbA0e089b6A9/metadata.json "symbol": "SXP", "address": "0x8CE9137d39326AD0cD6491fb5CC0CbA0e089b6A9", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/plugins/block_storage/app/controllers/block_storage/volumes_controller.rb b/plugins/block_storage/app/controllers/block_storage/volumes_controller.rb @@ -109,7 +109,12 @@ module BlockStorage end def reset_status - volume = services.block_storage.find_volume(params[:id]) + # there is a bug in cinder permiss...
11