commit
stringlengths
40
40
subject
stringlengths
1
3.25k
old_file
stringlengths
4
311
new_file
stringlengths
4
311
old_contents
stringlengths
0
26.3k
lang
stringclasses
3 values
proba
float64
0
1
diff
stringlengths
0
7.82k
5820fe49afacdd065aeceef1b84875ef9e51ae54
add helper to create extract-text-webpack-plugin instances compatible with webpack 1/2
test/utils/index.js
test/utils/index.js
const merge = require('deepmerge'); const ExtractPlugin = require('extract-text-webpack-plugin'); const { isWebpack1 } = require('../../lib/utils'); const { loaderPath } = require('../_config'); const createCompiler = require('./create-compiler'); /** * @param {Object} [config] * @return {Promise<Compilation>} */ f...
JavaScript
0.000001
@@ -38,24 +38,28 @@ onst Extract +Text Plugin = req @@ -1096,22 +1096,19 @@ unction -loader +svg Rule(opt @@ -1239,96 +1239,613 @@ %0A%7D%0A%0A -function extractCSSRule() %7B%0A // webpack 1 compat%0A const use = isWebpack1 ?%0A +/**%0A * @see for webpack 1 - https://github.com/webpack-contrib/extract-text-w...
6921911a133ae9c1a776bd4826e1e81fd20c9bc4
Increase ammo
examples/entity/shooter/src/Blaster.js
examples/entity/shooter/src/Blaster.js
/** * @author Mugen87 / https://github.com/Mugen87 */ import { GameEntity, Ray, Vector3 } from '../../../../build/yuka.module.js'; import world from './World.js'; const intersectionPoint = new Vector3(); const target = new Vector3(); class Blaster extends GameEntity { constructor( owner = null ) { super( owne...
JavaScript
0.000001
@@ -438,18 +438,18 @@ .ammo = -12 +48 ;%0A%09%09this
3f0a8068312e397031b4df4a427221c8a6b2e6d8
fix del instance
deleteInstance.js
deleteInstance.js
'use strict'; var Instance = require('sivart-GCE/Instance'); var Auth = require('sivart-GCE/Auth'); var zone = 'us-central1-a'; var instanceName = require('os').hostname(); var exec = require('child_process').exec; exec('users', function (error, stdout) { if (stdout) { console.log('Not deleting instance s...
JavaScript
0.000003
@@ -527,13 +527,15 @@ ory( +' slave +' , in
f069efb0d79b7b9adadc30005d7c832543a68db5
Fix cinematic camera example
examples/js/cameras/CinematicCamera.js
examples/js/cameras/CinematicCamera.js
/** * @author mrdoob / http://mrdoob.com/ * @author greggman / http://games.greggman.com/ * @author zz85 / http://www.lab4games.net/zz85/blog * @author kaypiKun */ THREE.CinematicCamera = function( fov, aspect, near, far ) { THREE.PerspectiveCamera.call( this, fov, aspect, near, far ); this.type = "CinematicC...
JavaScript
0.00045
@@ -5325,16 +5325,69 @@ .samples +,%0A%09%09%09%09DEPTH_PACKING: this.material_depth.depthPacking %0A%09%09%09%7D%0A%09%09
f4e0f4fcfdd9539246573e50797fc761e58351fe
Fix bad regexp :(
packages/ember-views/lib/core.js
packages/ember-views/lib/core.js
// ========================================================================== // Project: Ember - JavaScript Application Framework // Copyright: ©2006-2011 Strobe Inc. and contributors. // Portions ©2008-2011 Apple Inc. All rights reserved. // License: Licensed under MIT license (see license.js) // =====...
JavaScript
0.000053
@@ -505,17 +505,17 @@ pre%7Crc%5Cd -) +? )?$/));%0A
98233c5469c8fc87494b2fbde9df855084888f95
Fix typo in test call
packages/enchannel/test/index.js
packages/enchannel/test/index.js
const expect = require('chai').expect; const sinon = require('sinon'); const enchannel = require('../'); describe('isChildMessage', function() { it('knows child', function() { const parent = { header: { msg_id: 'a'} }; const child = { parent_header: { msg_id: 'a'} }; expect(enchannel.isChildMessage(paren...
JavaScript
0.000275
@@ -717,14 +717,8 @@ age( -null, pare
089ddb894356390607c5ec4e7e4694268d376143
add documentation to the http-header configuration
config/http-headers.js
config/http-headers.js
/* eslint-disable max-len */ const config = { contentSecurityPolicy: { corsDefault: { defaultSrc: "default-src 'self' 'unsafe-inline' blob: data:", scriptSrc: "data: blob: 'self' 'unsafe-inline'", objectSrc: '', }, corsSiteSpecific: { '^/$': { defaultSrc: 'https://www10-fms.hpi.uni-potsdam.de ht...
JavaScript
0
@@ -45,32 +45,144 @@ %7B%0A%09 -contentSecurityPolicy: %7B +// Settings for HTTP Content-Security-Policy Header%0A%09contentSecurityPolicy: %7B%0A%09%09// Default Content-Security-Policy Header for every site %0A%09%09c @@ -335,16 +335,297 @@ ',%0A%09%09%7D,%0A +%09%09/*%0A%09%09%09Content-Security-Policy Header (a...
988fe4cefd6eb140cf5909dbb31b5acced0e46bb
Add `tryParse()`
packages/loquat-prim/lib/prim.js
packages/loquat-prim/lib/prim.js
/* * loquat-prim / prim.js * copyright (c) 2016 Susisu */ /** * @module prim */ "use strict"; module.exports = _core => { function end() { return Object.freeze({ map, pure, ap, left, right, bind, then, fa...
JavaScript
0
@@ -412,24 +412,46 @@ unexpected +,%0A tryParse %0A %7D); @@ -6289,24 +6289,405 @@ ));%0A %7D%0A%0A + /**%0A * @function module:prim.tryParse%0A * @static%0A * @param %7BAbstractParser%7D parser%0A * @returns %7BAbstractParser%7D%0A */%0A function tryParse(parser) %7...
8c33b93419c298814b10f65f36dc963652878441
resolve utility; set options.fatal true
packages/oas-resolver/resolve.js
packages/oas-resolver/resolve.js
#!/usr/bin/env node 'use strict'; const fs = require('fs'); const util = require('util'); const yaml = require('js-yaml'); const fetch = require('node-fetch'); const resolver = require('./index.js'); let argv = require('yargs') .string('output') .alias('o','output') .describe('output','file to output t...
JavaScript
0.999987
@@ -743,16 +743,38 @@ v.quiet; +%0Aoptions.fatal = true; %0A%0Afuncti
334c928f6137737ba9c398e917f22fa413dd660a
Add solc settings for optimizer to config
packages/truffle-config/index.js
packages/truffle-config/index.js
var fs = require("fs"); var _ = require("lodash"); var path = require("path"); var Provider = require("truffle-provider"); var TruffleError = require("truffle-error"); var Module = require('module'); var findUp = require("find-up"); var originalrequire = require("original-require"); var DEFAULT_CONFIG_FILENAME = "truf...
JavaScript
0
@@ -1146,24 +1146,111 @@ fle%22%0A %7D,%0A + solc: %7B%0A optimizer: %7B%0A enabled: true,%0A runs: 200%0A %7D%0A %7D,%0A logger: @@ -1607,24 +1607,49 @@ ction() %7B%7D,%0A + solc: function() %7B%7D,%0A logger:
de75d6623dd645127607b50c49ed1ef698072442
Use type coercion methods from vega-util.
packages/vega-loader/src/type.js
packages/vega-loader/src/type.js
export var typeParsers = { boolean: toBoolean, integer: toNumber, number: toNumber, date: toDate, string: toString }; var typeTests = [ isBoolean, isInteger, isNumber, isDate ]; var typeList = [ 'boolean', 'integer', 'number', 'date' ]; export function inferType(values, field) { var ...
JavaScript
0
@@ -1,12 +1,78 @@ +import %7BtoBoolean, toDate, toNumber, toString%7D from 'vega-util';%0A%0A export var t @@ -917,394 +917,8 @@ %0A%7D%0A%0A -// -- Type Coercion ----%0A%0Afunction toNumber(_) %7B%0A return _ == null %7C%7C _ === '' ? null : +_;%0A%7D%0A%0Afunction toBoolean(_) %7B%0A return _ == null %7C%7C _ ===...
a8a16d973b2937c7a302420964c4a996791dc885
Add signal dereference utility method.
packages/vega-parser/src/util.js
packages/vega-parser/src/util.js
import {isObject} from 'vega-util'; export function Entry(type, value, params, parent) { this.id = -1; this.type = type; this.value = value; this.params = params; if (parent) this.parent = parent; } export function entry(type, value, params, parent) { return new Entry(type, value, params, parent); } expo...
JavaScript
0
@@ -1704,12 +1704,71 @@ ultValue;%0A%7D%0A +%0Aexport function deref(v) %7B%0A return v && v.signal %7C%7C v;%0A%7D%0A
4733f7cb4cd4bfef09ee5d5bfd5fc2527f3c9725
update function doc
lib/api/util/file-export.js
lib/api/util/file-export.js
'use strict'; const csvTransform = require('stream-transform'); const csvStringify= require('csv-stringify'); /** * Generate an export file from a query. * Options can be found here https://csv.js.org * @param {Object} opts The options object. * @param {Array} opts.columns An array of key and header objects to us...
JavaScript
0.000001
@@ -727,16 +727,96 @@ e file.%0A + * @param %7BFunction%7D opts.transform A transform function to pass to the stream.%0A * @retu
3c9a9a21b4e1f985250983a5cac8b7cd993fc2e7
Fix some logic in one of the queries for the candy management.
pgt/routes/pokemonCandy.js
pgt/routes/pokemonCandy.js
var express = require('express'); var router = express.Router(); var sqlite3 = require('sqlite3').verbose(); var db = new sqlite3.Database('../data/pokemon.sqlite'); /* GET home page. */ router.get('/:userId', function(req, res, next) { var userId = req.params.userId; //select pdex,name,userEvCandy as candy fr...
JavaScript
0.000207
@@ -442,16 +442,125 @@ Base );%0A + // select name from pokemon where pdex in ( select evBase from pokemon where evLevel = 1) order by name;%0A var @@ -771,31 +771,33 @@ pokemon -group by evBase +where evLevel = 1 ) order
07a102438775cd855a0b3435fad9bcdb603e97bf
Access window correctly in log-message component
client/app/pods/components/log-panel/component.js
client/app/pods/components/log-panel/component.js
// // Copyright 2009-2014 Ilkka Oksanen <iao@iki.fi> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
JavaScript
0.000001
@@ -1394,68 +1394,8 @@ );%0A%0A - const window = windowStore.windows.get(this.windowId);%0A%0A @@ -1432,16 +1432,21 @@ sages', +this. window.s
ad0721e27c07bcacb0745a12d6ee3bc9270112c0
Fix hasHMM issue in AnalysesList
client/src/js/samples/components/Analyses/List.js
client/src/js/samples/components/Analyses/List.js
import React from "react"; import { map, sortBy } from "lodash-es"; import { connect } from "react-redux"; import { Alert, FormControl, FormGroup, InputGroup, ListGroup } from "react-bootstrap"; import { Link } from "react-router-dom"; import AnalysisItem from "./Item"; import CreateAnalysis from "./Create"; import { ...
JavaScript
0
@@ -3283,39 +3283,8 @@ =%7B!! -this.props.hmms.total_count && this
d2978300ca66efd701f6c2017516247d7a9d4b08
method position
client/src/pages/AnswerQuestion/AnswerQuestion.js
client/src/pages/AnswerQuestion/AnswerQuestion.js
import React from 'react' import { Container, } from 'react-grid-system' import { RaisedButton } from 'material-ui' import axios from 'axios' import isEqual from 'lodash.isequal' import Question from '../../components/Question' import { MultipleChoiceQuestion, MultipleSelectionQuestion, } from '../../utils/const...
JavaScript
0.999929
@@ -482,273 +482,10 @@ %7D%0A -%0A -updateSelectedAnswer = index =%3E value =%3E this.setState((state) =%3E %7B%0A const questionList = state.questionList.slice()%0A questionList%5Bindex%5D.selected = value%0A questionList%5Bindex%5D.isWrong = false%0A%0A return %7B%0A ...state,%0A question...
33cf9c67d0971c0264f7ebaefb78f27abd23b7ef
Enable release notes per library.
src/sap.ui.core/src/sap/ui/core/util/LibraryInfo.js
src/sap.ui.core/src/sap/ui/core/util/LibraryInfo.js
/*! * ${copyright} */ // Provides class sap.ui.core.util.LibraryInfo sap.ui.define(['jquery.sap.global', 'sap/ui/base/Object', 'jquery.sap.script'], function(jQuery, BaseObject/* , jQuerySap */) { "use strict"; /** * Provides library information. * @class Provides library information. * * @extends sap.u...
JavaScript
0.000022
@@ -2159,16 +2159,108 @@ text();%0A +%09%09%09%09result.releasenotes = $data.find(%22releasenotes%22).attr(%22url%22); // in the appdata section%0A %09%09%09%7D%0A%09%09%09
101e963e78dbf9b764aa494a61bbbd5e213d1630
update i18n js
src/main/webapp/resources/js/saleassistant.i18n.js
src/main/webapp/resources/js/saleassistant.i18n.js
(function($) { var sale_assistant = window.sale_assistant = window.sale_assistant || {}; sale_assistant.zh = sale_assistant.zh || {}; $.extend(true, sale_assistant.zh, { "ID": "编号", "Client Name" : "客户姓名", "Birthday" : "出生日期", "Client":"客户姓名", "Zipcode": "邮编", ...
JavaScript
0
@@ -451,32 +451,150 @@ %22Address%22: %22%E5%9C%B0%E5%9D%80%22 +,%0A %22Code%22 : %22%E7%BC%96%E7%A0%81%22,%0A %22Name%22 : %22%E5%90%8D%E7%A7%B0%22,%0A %22Note%22 : %22%E5%A4%87%E6%B3%A8%22,%0A %22note%22 : %22%E5%A4%87%E6%B3%A8%22,%0A %22Chinese%22 : %22%E4%B8%AD%E6%96%87%22 %0A ...
78261eeded2f602550277044ca2a32f976632b51
fix install controller
controllers/install.js
controllers/install.js
var util = require('util'); var config = require('../config'); module.exports.install = function(res, req) { var url = 'https://www.facebook.com/dialog/pagetab?app_id=%s&redirect_uri=%s'; var urlFormat = util.format(url, config.facebook.id, 'http://facebook.com'); res.redirect(urlFormat); }
JavaScript
0
@@ -97,14 +97,14 @@ n(re -s +q , re -q +s ) %7B%0A @@ -278,16 +278,21 @@ edirect( +301, urlForma
d449f20b9f2b365aa4436882330057a260517304
Fix travis build
tests/index-test.js
tests/index-test.js
import expect from 'expect' import React from 'react' import {render, unmountComponentAtNode} from 'react-dom' import Component from 'src/' describe('Component', () => { let node beforeEach(() => { node = document.createElement('div') }) afterEach(() => { unmountComponentAtNode(node) }) it('dis...
JavaScript
0
@@ -116,50 +116,120 @@ ort -Component from 'src/'%0A%0Adescribe('Component +%7B FetchingBasicExample %7D from '../demo/src/demo-containers/fetching-basic'%0A%0Adescribe('FetchingBasicExample tests ', ( @@ -384,34 +384,24 @@ it(' -displays a welcome message +renders demo app ', ( @@ -419,25 +419,37 @@ render(%3C -...
53d03a183251c6071875880259956488ad831ab6
ADD dummy update url params
resources/js/src/app/services/ItemListService.js
resources/js/src/app/services/ItemListService.js
var ApiService = require("services/ApiService"); // var NotificationService = require("services/NotificationService"); var ResourceService = require("services/ResourceService"); var UrlService = require("services/UrlService"); module.exports = (function($) { var searchParams = { searchString: "...
JavaScript
0.000001
@@ -545,24 +545,256 @@ %7D;%0A%0A + // var urlParams =%0A // %7B%0A // query: %22Sofa%22,%0A // categoryId: 1,%0A // items: 20,%0A // orderBy: %22itemName_ASC%22,%0A // page: 1,%0A // facets: %221,2,3%22%0A // %7D;%0A%0A re...
36fee8013a8702bc2f7d315c1c9bf0a06e6ab09f
Use ol.vec.Mat4.makeTransform2D in ol.renderer.canvas.ImageLayer
src/ol/renderer/canvas/canvasimagelayerrenderer.js
src/ol/renderer/canvas/canvasimagelayerrenderer.js
goog.provide('ol.renderer.canvas.ImageLayer'); goog.require('goog.events'); goog.require('goog.events.EventType'); goog.require('goog.vec.Mat4'); goog.require('ol.Image'); goog.require('ol.ImageState'); goog.require('ol.ViewHint'); goog.require('ol.layer.Image'); goog.require('ol.renderer.Map'); goog.require('ol.rende...
JavaScript
0.000003
@@ -333,16 +333,45 @@ ayer');%0A +goog.require('ol.vec.Mat4');%0A %0A%0A%0A/**%0A @@ -2456,17 +2456,16 @@ image_;%0A -%0A var @@ -2554,127 +2554,41 @@ -var imageTransform = this.imageTransform_;%0A goog.vec.Mat4.makeIdentity(imageTransform);%0A goog.vec.Mat4.translate( +ol.vec.Mat4.makeTransform2D...
8ae60f5a33288d9d1e4f0daf0c77626f63682b7e
fix spaces
src/vs/code/electron-browser/workbench/workbench.js
src/vs/code/electron-browser/workbench/workbench.js
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
JavaScript
0.000656
@@ -1635,18 +1635,17 @@ lean,%0A * - +%09 defaultT
e817cf35bae9c6076847b50524e3e141d90ad965
make page context more dynaimic
scripts/content.js
scripts/content.js
var pageContext; chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) { var data = request.data || {}; if (!request || !request.action) { sendResponse({ data: data, success: false }); } switch (request.action) { case "getContext": sendResponse({ data:...
JavaScript
0.000001
@@ -281,16 +281,100 @@ ntext%22:%0A + if (!pageContext) %7B%0A getContext%0A %7D else %7B%0A @@ -425,24 +425,38 @@ s: true %7D);%0A + %7D%0A @@ -1489,36 +1489,32 @@ - .fadeOut(300)%0A @@ -1752,33 +1752,44 @@ ;%0A%0A ...
2e04db7faf7d179031ad7ac97e63270fbce50326
Add TileBody.onNewTarget callback
src/tilemap/component/TileBody.js
src/tilemap/component/TileBody.js
import Component from "../../Component" import Vector2 from "../../math/Vector2" const point = new Vector2() const direction = new Vector2() class TileBody extends Component { constructor() { super() this.x = 0 this.y = 0 this.speed = 60 this.speedX = 0 this.speedY = 0 this.targetX = 0 this.targetY =...
JavaScript
0
@@ -359,16 +359,42 @@ = null%0A +%09%09this.onNewTarget = null%0A %09%09this.o @@ -1372,24 +1372,79 @@ get(x, y) %7B%0A +%09%09if(this.onNewTarget) %7B%0A%09%09%09this.onNewTarget(x, y)%0A%09%09%7D%0A %09%09this.paren
38a1f81007bc289060d5abeea101032e85028ae2
clean up pass on scrollview
tests/karma-main.js
tests/karma-main.js
var tests = [ 'tests/vendor/jasmine/jasmine-jquery', // Load mocks and vendor init //'tests/mocks/init', // 'tests/spec/rich-application', // 'tests/spec/rich-autolayout-constraints', // 'tests/spec/rich-autolayout-modifiers', // 'tests/spec/rich-autolayout-utils', // 'tests/spec/rich-a...
JavaScript
0
@@ -110,27 +110,24 @@ /init',%0A%0A - // 'tests/spec @@ -145,27 +145,24 @@ cation',%0A - // 'tests/spec @@ -187,35 +187,32 @@ onstraints',%0A - // 'tests/spec/ric @@ -235,27 +235,24 @@ ifiers',%0A - // 'tests/spec @@ -271,35 +271,32 @@ yout-utils',%0A - // 'tests/spec/ric @@ -309,27 +309,2...
7bd97fcefa14fd48472e152d6e7c497d33a61c6f
validate state size argument
scripts/extract.js
scripts/extract.js
var async = require('async'); var fs = require('fs'); var util = require('util'); var argv = require('minimist')(process.argv.slice(2), { alias: { v: 'verbose', t: 'transform', n: 'state-size' }, boolean: 'verbose' }); if (argv.transform && ! Array.isArray(argv.transform)) argv....
JavaScript
0.000002
@@ -344,16 +344,142 @@ form%5D;%0A%0A +var stateSize = argv%5B'state-size'%5D;%0Aif (typeof stateSize !== 'number') %7B%0A throw new Error('invalid state-size option');%0A%7D%0A%0A var extr @@ -507,24 +507,24 @@ /extract');%0A - var extractS @@ -567,34 +567,25 @@ teSize: -argv%5B' state --s +S ize -'%5D %0A...
1ef7eb807dcf8d9a11f7f5d616aa64b40c742585
Simplify merge utility
src/utilities/functional/merge.js
src/utilities/functional/merge.js
'use strict'; const { throwError } = require('../error'); const merge = function (type, objA, ...objects) { if (objects.length === 0) { return objA; } if (objects.length === 1) { return simpleMerge({ objA, objects, type }); } return recursiveMerge({ objA, objects, type }); }; const simpleMerge = functi...
JavaScript
0.000003
@@ -12,299 +12,78 @@ ';%0A%0A -const %7B throwError %7D = require('../error');%0A%0Aconst merge = function (type, objA, ...objects) %7B%0A if (objects.length === 0) %7B return objA; %7D%0A%0A if (objects.length === 1) %7B%0A return simpleMerge(%7B objA, objects, type %7D);%0A %7D%0A%0A return recursiveMerge(%7B...
fa2901c6b0180308d5f3d48e35bdab1687660d18
Remove straggler System.import
src/validations/html/slowparse.js
src/validations/html/slowparse.js
import Validator from '../Validator'; const errorMap = { ATTRIBUTE_IN_CLOSING_TAG: error => ({ reason: 'attribute-in-closing-tag', payload: {tag: error.closeTag.name}, }), CLOSE_TAG_FOR_VOID_ELEMENT: error => ({ reason: 'close-tag-for-void-element', payload: {tag: error.closeTag.name}, }), ...
JavaScript
0
@@ -30,16 +30,62 @@ idator'; +%0Aimport importLinters from '../importLinters'; %0A%0Aconst @@ -3463,34 +3463,22 @@ ait -System.import('../l +importL inters -' +( );%0A
b52a730f9bba9e1b0ef4e83fb3b219e34931d613
Rename function
src/renderer/webgl/pipelines/BitmapMaskPipeline.js
src/renderer/webgl/pipelines/BitmapMaskPipeline.js
/** * @author Richard Davey <rich@photonstorm.com> * @author Felipe Alfonso <@bitnenfer> * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Class = require('../../../utils/Class'); var GetFastValue = require('../../../utils/object/GetF...
JavaScript
0.000005
@@ -3191,14 +3191,13 @@ rer. -enable +begin Bitm
6906d1f6d5f05e14ffabeb05540533a8958fb6e6
use better variable names in enrichment.js relates to #481
src/server/enrichment-map/enrichment/enrichment.js
src/server/enrichment-map/enrichment/enrichment.js
/* documentation for enrichment sample request URL: http://localhost:3000/api/enrichment/?genes=HCFC1 ATM parameter: genes - [string] a list of gene symbols delimited by whitespace return: [vector of Object] relevant info for valid genes */ const request = require('request'); const csv = require('csvtojson'); const fs ...
JavaScript
0
@@ -435,20 +435,46 @@ arse -Body = (body +GProfilerResponse = (gProfilerResponse ) =%3E @@ -520,20 +520,33 @@ lines = -body +gProfilerResponse .split(' @@ -587,20 +587,33 @@ str1 = -body +gProfilerResponse .split(' @@ -654,20 +654,33 @@ str2 = -body +gProfilerResponse .split(' @@ -865,16 +865,17 @@ str4;...
afb0e743f0c556c9bcbace669df76502d40b2897
remove ghost comment
iot-industrial-internet/src/main/webapp/information_sources/information_source_controllers.js
iot-industrial-internet/src/main/webapp/information_sources/information_source_controllers.js
/* * IoT - Industrial Internet Framework * Apache License Version 2.0, January 2004 * Released as a part of Helsinki University * Software Engineering Lab in summer 2015 */ /* global informationSources */ informationSources.controller('InformationSourcesController', ['$scope', 'InformationSource', function($sco...
JavaScript
0
@@ -1166,16 +1166,27 @@ eadout', + '$window', functio @@ -1224,16 +1224,25 @@ Readout +, $window ) %7B%0A @@ -1925,67 +1925,28 @@ $ -scope.sensor = Sensor.get(%7Bsensorid: $routeParams.sensorid%7D +window.history.back( );%0A
c6c0736e20f4d88ff928d035115131d54576260d
Add first Vue component test
test/javascript/components/ResourceSection.test.js
test/javascript/components/ResourceSection.test.js
import ResourceSection from 'components/ResourceSection'; test('hello world', () => { expect('hello world').toMatch(/hello world/); });
JavaScript
0
@@ -4,133 +4,1388 @@ ort -ResourceSection from 'components/ResourceSection';%0A%0Atest('hello world', () =%3E %7B%0A expect('hello world').toMatch(/hello world/ +%7B parseNode %7D from '../test_helpers';%0Aimport %7B mount,%0A createLocalVue %7D from '@vue/test-utils';%0A%0Aimport Vuex from 'vuex';%0Aimport ...
5e0887538903781041d985f17a3d5b4665be355f
Fix comments
test/web/controllers/WebHooksWebController.test.js
test/web/controllers/WebHooksWebController.test.js
'use strict'; // ------- Imports ------------------------------------------------------------- const test = require('ava'); const chai = require('chai'); const RabbitManagement = require('../../../src/lib/RabbitManagement'); const HooksHelper = require('../../helpers/HooksHelper'); // ------- Init -----------------...
JavaScript
0
@@ -2676,16 +2676,24 @@ /gambit- +chatbot- mdata%0A * @@ -3435,16 +3435,23 @@ / Empty +string should b
99bb8926eeb70a870ea30843bc053d6675324752
Fix bug with creating footer
tools/removeDemo.js
tools/removeDemo.js
// This script removes demo app files import rimraf from "rimraf"; import fs from "fs"; import colors from "colors"; /* eslint-disable no-console */ const pathsToRemove = [ "./source/modules/demo", "./source/modules/header-presentation", "./source/modules/header/*", "./source/modules/footer/*", "./source/pa...
JavaScript
0
@@ -1770,16 +1770,23 @@ s/footer +/footer .pug%22,%0A @@ -1923,18 +1923,26 @@ les/ -stylus.pug +footer/footer.styl %22,%0A
22118f629b931fc8f237a353b4ef04b3e8d024e2
exit builder on complete
packages/core/lib/index.js
packages/core/lib/index.js
const build = require("./builder") const startRouter = require("./router") const path = require("path") const fs = require('fs') const copyDirectory = require("./utils/copyDirectory") const debug = require('debug')('core') const mkdirp = require('mkdirp'); const slash = require("./utils/fixPathSlashes") var getHash = ...
JavaScript
0
@@ -3767,16 +3767,64 @@ lds%22))%0A%0A + // exit the process%0A process.exit()%0A%0A %0A %7D,
41e814b691be85cc2399bdf377b3ef87010694a1
Optimize return
carty.js
carty.js
'use strict'; var extend = require('extend'); var emitter = require('./util/emitter'); var toFloat = require('./util/toFloat'); function isTypeOf(type, item) { return typeof item === type; } var isString = isTypeOf.bind(null, typeof ""); var isUndefined = isTypeOf.bind(null, typeof undefined); var isFunction = i...
JavaScript
0.000101
@@ -5722,32 +5722,39 @@ ) %7B%0A +return remove(item);%0A @@ -5751,36 +5751,16 @@ (item);%0A - return;%0A
33558c42a9c3ef66ba4b7e5b16df3c79765f731a
Add ip filter
src/DebugBar/Resources/openhandler.js
src/DebugBar/Resources/openhandler.js
if (typeof(PhpDebugBar) == 'undefined') { // namespace var PhpDebugBar = {}; PhpDebugBar.$ = jQuery; } (function($) { var csscls = function(cls) { return PhpDebugBar.utils.csscls(cls, 'phpdebugbar-openhandler-'); }; PhpDebugBar.OpenHandler = PhpDebugBar.Widget.extend({ classN...
JavaScript
0.000001
@@ -5691,37 +5691,30 @@ end( +$( '%3Ctd -%3E' + meta%5B'ip'%5D + '%3C/td%3E' + /%3E').append(ip) )%0A
4f2e22080a2f2f453ff03aafbbcacbcf0338c7e4
fix audio button toggle shifing position in the platformer example
examples/platformer/js/entities/HUD.js
examples/platformer/js/entities/HUD.js
/** * HUD namespace */ game.HUD = game.HUD || {}; /** * a HUD container and child items */ game.HUD.UIContainer = me.Container.extend({ init: function() { // call the constructor this._super(me.Container, "init"); // persistent across level change this.isPersistent = true; ...
JavaScript
0
@@ -704,22 +704,22 @@ Control( -10, 10 +36, 56 ));%0A%0A @@ -852,24 +852,24 @@ rol( +36 + 10 + 48 - + 10, 10 +, 56 ));%0A @@ -1224,44 +1224,8 @@ 5);%0A - this.anchorPoint.set(0, 0);%0A @@ -2152,44 +2152,8 @@ %5D);%0A - this.anchorPoint.set(0, 0);%0A
e494141a5894a87a41d6d9a35c7d251a17245d48
remove unnecessary $(...) wrapping of test forms
test/serialize-object-test.js
test/serialize-object-test.js
var assert = chai.assert; describe("serializeObject", function() { it("should convert checkboxes to boolean", function () { var expected, actual, forms = { single: $('<form>' + '<input type="text" name="foo" value="on"/>' + '<input type="chec...
JavaScript
0
@@ -183,16 +183,17 @@ +$ single: @@ -197,32 +197,32 @@ e: $('%3Cform%3E' +%0A - @@ -444,16 +444,17 @@ +$ multiple @@ -785,16 +785,17 @@ +$ nested: @@ -1208,23 +1208,21 @@ l = -$( forms. +$ single -) .ser @@ -1341,24 +1341,23 @@ l = -$( forms. +$ multiple )...
92977ec5960d7598612962ddd6cd5df6d4394088
Comment update
test/source/class/fix/Json.js
test/source/class/fix/Json.js
var suite = new core.testrunner.Suite("Fix/JSON"); suite.test("Parse", function() { // Primitives this.isIdentical(JSON.parse('false'), false); this.isIdentical(JSON.parse('0'), 0); // Primitives in Objects this.isIdentical(JSON.parse('{"d":3.14}').d, 3.14); this.isIdentical(JSON.parse('{"d":"hello"}').d...
JavaScript
0
@@ -2068,31 +2068,27 @@ // Safari %3C -= 5.1.7 + 7? and FF 3.1b
0a9976002aab3746b3f4ddd472abf9b2fd6871a3
Add test for December date parsing.
test/spec/TodoTxtItem-Date.js
test/spec/TodoTxtItem-Date.js
describe( "TodoTxtItem", function () { var target = { raw: "2011-07-31 This is a task.", render: "2011-07-31 This is a task.", text: "This is a task.", priority: null, complete: false, completed: null, date: "2011-07-31", contexts: null, projects: null }; var invalid = [ // Date must immediatel...
JavaScript
0.000001
@@ -271,16 +271,263 @@ ll%0A%09%7D;%0A%0A +%09var december_target = %7B%0A%09%09raw: %222011-12-29 This is a task.%22,%0A%09%09render: %222011-12-29 This is a task.%22,%0A%09%09text: %22This is a task.%22,%0A%09%09priority: null,%0A%09%09complete: false,%0A%09%09completed: null,%0A%09%09date: %222011-12-29%22,%0A%09%0...
882e17f86c26d298f9e40a02b915a62718be87d1
read parameters from command line + infer deckjs directory from script directory
extensions/bundle-maker/make-packed.js
extensions/bundle-maker/make-packed.js
var FS = require('fs'); var writefile = function(where, what) { FS.writeFile(where, what, function(err) { if(err) { console.log(err); } else { console.log("Saved: '"+where+"'"); } }); }; var readfile = function(path) { return FS.readFileSync(path).toString()...
JavaScript
0
@@ -1,12 +1,128 @@ +%0Avar argv_modules = process.argv%5B2%5D %7C%7C %22profile-3 theme:swiss%22%0Avar argv_out = process.argv%5B3%5D %7C%7C %22deckjs-custom.js%22%0A %0Avar FS = re @@ -583,16 +583,91 @@ ');%0A%7D;%0A%0A +var deckjsdir = process.argv%5B1%5D.replace(/%5C/%5B%5E%5C/%5D*%5C/%5B%5E%5C/%5D*%5C/%5B%5E%5C/%...
d035fd1c3803a5e241264750aebd12383850c9f0
Update comment
extensions/tools/hooks/deathChecker.js
extensions/tools/hooks/deathChecker.js
'use strict'; // Required settings: // deathChecker.ignore = ['FOO'] Roles in this array shouldn't be replaced // deathChecker.copy = ['BAR'] Roles in this array should be replaced // // Notes: // - If a role has been found death and has not been found in either arrays // the chat might spam because the deathChecker...
JavaScript
0
@@ -175,16 +175,105 @@ eplaced%0A +// deathChecker.copyPriority = %5B'FOOBAR'%5D Roles in this array should be replaced quickly%0A //%0A// No
590adaff23b1c88cafd0749cbd39711566ed2a8c
test onSetImage
src/Image/__tests__/withImage.test.js
src/Image/__tests__/withImage.test.js
/* eslint-env jest */ import _ from 'lodash'; import { defaultState, handlers, createInitialState } from '../withImage'; const [{ openEditor, onUploadFail, onUploadStart, onUploadSucceed, reset, }, { onUpload, }] = handlers; test('openEditor({ setState, ...props }):handler', () => { const setState = jes...
JavaScript
0.000006
@@ -216,16 +216,30 @@ Upload,%0A + onSetImage,%0A %7D%5D = han @@ -4432,28 +4432,388 @@ HaveBeenCalled();%0A %7D);%0A%7D);%0A +%0Atest('onSetImage(%7B setImage, openEditor %7D):handler(image)%7B...%7D', () =%3E %7B%0A const props = %7B%0A setImage: jest.fn(),%0A openEditor: jest.fn(),%0A %7D;%0A%0A const ...
94cbff7e600d2a6da9ed9e3a3c78621e43e92902
load from zlib compressed buffer is supported
nbt.js
nbt.js
/** * XadillaX created at 2014-12-24 14:48:57 * * Copyright (c) 2014 XadillaX' Gensokyo, all rights * reserved */ var Tag = require("./tags/base"); var fs = require("fs"); var zlib = require("zlib"); /** * NBT Class * @constructor * @refer http://minecraft.gamepedia.com/NBT_Format */ var NBT = function() { ...
JavaScript
0
@@ -894,24 +894,409 @@ back();%0A%7D;%0A%0A +/**%0A * load from compressed buffer%0A * @param %7BBuffer%7D buff compressed buffer%0A * @param %7BFunction%7D callback callback function%0A */%0ANBT.prototype.loadFromZlibCompressedBuffer = function(buff, callback) %7B%0A var self = this;%0A zlib.unzip(buff, functio...
72ab9f448d7ee79b23f3891e1ba3e485ae8a97f0
Remove last data-effect=solid
src/Main/Report/FightNavigationBar.js
src/Main/Report/FightNavigationBar.js
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import SkullIcon from 'Interface/Icons/Skull'; import Icon from 'common/Icon'; import { getReport } from 'Interface/selectors/report'; import { getFightId, getPlayerId, getPla...
JavaScript
0.00111
@@ -2338,46 +2338,8 @@ ht%22%0A - data-effect=%22solid%22%0A
cd71bcdb15571efbf0f5821e2e7754a9e280b662
Change block color to number color
src/View/LevelSelectViewController.js
src/View/LevelSelectViewController.js
function LevelSelectViewController( canvas, storageManager, numberColor, blockColor, blockY, rows, columns, prng, monochromaticPaletteBuilder ) { this.canvas = canvas; this.brush = canvas.getContext('2d'); this.storageManager = storageManager; this.numberColor = numberColor; this.blockColor = blockColor;...
JavaScript
0.000002
@@ -2676,25 +2676,26 @@ b -lock +oard Color +s = this. @@ -2726,26 +2726,107 @@ der. -getColor(8, 16, 80 +build(16, 70);%0A blockColor = HSL.complement(boardColors%5BMath.floor(this.prng.random() * 16)%5D ).to
ee8c36f63eb819b6c487aa5e4111634cebecaa04
add feedbackId to the progressed result
src/api/challenges/feedback/speech.js
src/api/challenges/feedback/speech.js
/** * This file contains the functions that are needed to interact with the ITSLanguage Speech * Feedback API. * * It's possible to get feedback while recording. After every sentence feedback is provided * indicating whether or not the sentence was read well. This will be done through the * ITSLanguage WebSocket ...
JavaScript
0.000001
@@ -2939,16 +2939,51 @@ ogressCb +: progressCb.bind(null, feedbackId) %0A
2307ddfdad6a60e05edd5e631c6f4af9b7cdd939
remove commented code
src/broker/saslAuthenticator/index.js
src/broker/saslAuthenticator/index.js
const { requests, lookup } = require('../../protocol/requests') const apiKeys = require('../../protocol/requests/apiKeys') const PlainAuthenticator = require('./plain') const SCRAM256Authenticator = require('./scram256') const SCRAM512Authenticator = require('./scram512') const AWSIAMAuthenticator = require('./awsIam')...
JavaScript
0
@@ -1362,208 +1362,8 @@ e()%0A - // if (!SUPPORTED_MECHANISMS.includes(mechanism)) %7B%0A // throw new KafkaJSSASLAuthenticationError(%0A // %60SASL $%7Bmechanism%7D mechanism is not supported by the client%60%0A // )%0A // %7D%0A%0A
fe86bdeaee1997d266a1a611283fd910e0e3710a
Update UnverifyCommand.js (#335)
src/commands/rover/UnverifyCommand.js
src/commands/rover/UnverifyCommand.js
const Command = require('../Command') module.exports = class UnverifyCommand extends Command { constructor (client) { super(client, { name: 'unverify', properName: 'Unverify', aliases: ['unlink'], userPermissions: [] }) } async fn (msg) { msg.author.send('To unverify, please ...
JavaScript
0
@@ -184,24 +184,87 @@ 'Unverify',%0A + description: 'Displays instructions on how to unverify',%0A aliase @@ -360,59 +360,210 @@ nd(' -To unverify, please +Before we get started, you do **not** need to be unverified to verify as a new ac co +u nt -act a moderator or above at +, to reverify, head to htt...
0623f8c893b10abf69e02f1c51a8bb69b1cecef4
fix select2 multi
src/components/fields/Select/index.js
src/components/fields/Select/index.js
import React from 'react' import Select from 'react-select' import autobind from 'autobind-decorator' import PropTypes from 'prop-types' export default class SelectField extends React.Component { static propTypes = { fieldName: PropTypes.string, onChange: PropTypes.func, value: PropTypes.any, passPro...
JavaScript
0
@@ -888,21 +888,29 @@ tion =%3E +( value + %7C%7C %5B%5D) .include
c165209632477fdd29b12d1f56f95c66d11dbed9
default codec should use a better end marker. {okay: true}
codec.js
codec.js
var svarint = require('signed-varint') var varstruct = require('varstruct') var varmatch = require('varstruct-match') var assert = require('assert') var b2s = varstruct.buffer(32) var signature = varstruct.buffer(64) var type = varstruct.varbuf(varstruct.bound(varstruct.byte, 0, 32)) var content = var...
JavaScript
0.999999
@@ -1055,21 +1055,34 @@ (codec, -value +encodeAs, decodeAs ) %7B%0A fu @@ -1129,21 +1129,24 @@ .encode( -value +encodeAs ,b,o)%0A @@ -1227,21 +1227,24 @@ qual(v, -value +encodeAs )%0A re @@ -1247,16 +1247,28 @@ return + decodeAs %7C%7C v%0A %7D%0A @@ -2451,16 +2451,90 @@ t64%0A%7D)%0A%0A +var Okay...
30219918da7aeef89ca7fcd27d11281f2d5f4581
make sure waitForFocus actually waits.
testharness/test-functions.js
testharness/test-functions.js
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ ...
JavaScript
0
@@ -3423,24 +3423,52 @@ WaitVars) %7B%0A + waitForExplicitFinish();%0A%0A if (!aWind @@ -4000,24 +4000,40 @@ aCallback);%0A + finish();%0A %7D%0A %7D%0A%0A
4c55d3e2835740f4f88683c734bc01eea373ed0a
return dialog object from frappe.prompt
frappe/public/js/frappe/ui/messages.js
frappe/public/js/frappe/ui/messages.js
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt frappe.provide("frappe.messages") frappe.messages.waiting = function(parent, msg) { return $(frappe.messages.get_waiting_message(msg)) .appendTo(parent); }; frappe.messages.get_waiting_message = function(msg) { ...
JavaScript
0.00001
@@ -1303,16 +1303,27 @@ show();%0A +%09return d;%0A %7D%0A%0Avar m
84676e36ca93615280dda16c032380afe037df0b
Fix the typo
models/installation.js
models/installation.js
/*! * Module Dependencies */ var loopback = require('loopback'); /** * Installation Model connects a mobile application to the device, the user and * other information for the server side to locate devices using application * id/version, user id, device type, and subscriptions. */ var Installation = loopback.cre...
JavaScript
1
@@ -4177,16 +4177,17 @@ cription +s , %7B%0A @@ -4562,16 +4562,17 @@ cription +s '%7D%0A%7D);%0A%0A
427a926ef8e1483566df43d57c32ac60d00bd19b
fix problems with this/self
models/opcua-client.js
models/opcua-client.js
/** * * Created by Dominik on 25.04.2016. * Based on sample_client.js from https://github.com/node-opcua/node-opcua/blob/master/documentation/sample_client.js * */ /*global require,console,setTimeout */ var opcua = require("node-opcua"); var async = require("async"); var Q = require("q"); var should = require("s...
JavaScript
0.000027
@@ -708,16 +708,21 @@ this);%0A%09 +this. client = @@ -751,32 +751,37 @@ ();%0A%0A%09%0A%09connect( +self. client, endpoint @@ -1331,18 +1331,41 @@ fer();%0A%09 -%0A%09 +var self = this;%0A%09%0A%09self. client.c @@ -1417,16 +1417,21 @@ r) %7B%0A%09%09%09 +self. the_sess @@ -1594,18 +1594,41 @@ fer();%0A%09 -%...
d285bea9fb6e80bba8a933c9d6450eee002ccd7d
Move flagchunk transparency handling back into conditional
src/core/display/chunks/flagsChunk.js
src/core/display/chunks/flagsChunk.js
/** * Create display state chunk type for draw and pick render of flags */ SceneJS_ChunkFactory.createChunkType({ type: "flags", build: function () { var draw = this.program.draw; this._uClippingDraw = draw.getUniform("SCENEJS_uClipping"); this._uSolidDraw = draw.getUniform("SCENE...
JavaScript
0.000001
@@ -1172,32 +1172,239 @@ ace;%0A %7D%0A%0A + var picking = frameCtx.picking;%0A%0A if (picking) %7B%0A%0A if (this._uClippingPick) %7B%0A this._uClippingPick.setValue(this.core.clipping);%0A %7D%0A%0A %7D else %7B%0A%0A var tran @@ -1437,16 ...
6939e4964310b2626e29740dbe374bcc9133480d
Enable async long traces.
packages/xo-cli/src/cli.js
packages/xo-cli/src/cli.js
'use strict'; //==================================================================== var _ = require('lodash'); var Promise = require('bluebird'); var multiline = require('multiline'); var chalk = require('chalk'); var Xo = require('xo-lib'); //-------------------------------------------------------------------- va...
JavaScript
0
@@ -138,24 +138,51 @@ bluebird');%0A +Promise.longStackTraces();%0A var multilin
728e2b8190192c7235bfbd819de6fcfd08b0cebc
Fix test descriptions
src/directives/conversationControl.js
src/directives/conversationControl.js
;(function() { 'use strict'; angular.module('gebo-client-performatives.conversationControl', ['gebo-client-performatives.request', 'templates/server-reply-request.html', 'templates/client-reply-request.html', 'templates/server-propose-discharge-perform.html', ...
JavaScript
0.002423
@@ -87,33 +87,34 @@ ves.conversation -C +-c ontrol',%0A
dccdb1accb9598563464c5fa31bcb6332fcc1323
Fix Weak Armor in past gens
mods/gen6/abilities.js
mods/gen6/abilities.js
'use strict'; exports.BattleAbilities = { "aerilate": { inherit: true, desc: "This Pokemon's Normal-type moves become Flying-type moves and have their power multiplied by 1.3. This effect comes after other effects that change a move's type, but before Ion Deluge and Electrify's effects.", shortDesc: "This Pokem...
JavaScript
0
@@ -4568,16 +4568,33 @@ mor%22: %7B%0A +%09%09inherit: true,%0A %09%09desc:
953ad87433c819a832c3cb9c9742cf3963f0d5d6
change timeout
mocha_test/test.js
mocha_test/test.js
/** * @author: Jerry Zou * @email: jerry.zry@outlook.com */ var chai = require('chai') , expect = chai.expect , Data = require('../data.js') , D = Data; function testcase(test) { return 'testcase: ' + JSON.stringify(test); } describe('Data.js', function() { // set timeout for asynchronous code this.ti...
JavaScript
0.000003
@@ -326,18 +326,10 @@ (100 +0 ) -;%0A var x ;%0A%0A
0dae2a5011a1ededa5b24ae6c37c22546bd3781e
make getTitle of an html page more error resistant.
model/htmltitle.js
model/htmltitle.js
"use strict"; const cheerio = require("cheerio"); const request = require("request"); const iconv = require("iconv-lite"); const debug = require("debug")("OSMBC:model:htmltitle"); function linkFrom(url, page) { if (url.substring(0, page.length + 7) === ("http://" + page)) return true; if (url.substring(0, page.le...
JavaScript
0
@@ -2685,32 +2685,53 @@ qual%0A if (! +iconv.encodingExists( fromcharset) fro @@ -2726,16 +2726,17 @@ charset) +) fromcha @@ -2751,16 +2751,17 @@ UTF-8%22;%0A +%0A le
c557562ebb0ec25d810853d27485c4ccf4c8c376
remove now unused local eval instance ID
ui/analyse/src/ceval/cevalCtrl.js
ui/analyse/src/ceval/cevalCtrl.js
var m = require('mithril'); var makePool = require('./cevalPool'); var dict = require('./cevalDict'); var util = require('../util'); var stockfishProtocol = require('./stockfishProtocol'); var sunsetterProtocol = require('./sunsetterProtocol'); module.exports = function(root, possible, variant, emit) { var instance...
JavaScript
0
@@ -303,80 +303,8 @@ %7B%0A%0A - var instanceId = Math.random().toString(36).substring(2).slice(0, 4);%0A va @@ -2435,41 +2435,8 @@ ) %7B%0A - res.instanceId = instanceId;%0A @@ -4199,36 +4199,8 @@ n %7B%0A - instanceId: instanceId,%0A
495818ef3041837f167f9a9a4a6147ff99f6cd84
Remove stuff
models/customer.js
models/customer.js
var _ = require('lodash'); var assert = require('assert'); var moment = require('moment'); var Request = require('../lib/external-request'); var Customer = module.exports = function(name, opts) { assert(!_.isObject(name), "Must pass a name to Customer model"); assert(_.isString(name), "Must pass a name to Custome...
JavaScript
0
@@ -4494,16 +4494,368 @@ %7D);%0A%7D;%0A%0A +var removeSponsorship = function (npmUser, licenseId, callback) %7B%0A var url = this.host + '/sponsorship/' + licenseId + '/decline/' + npmUser;%0A%0A Request.del(%7B%0A url: url,%0A json: true%0A %7D, function (err, resp, body) %7B%0A %7D);%0A%7D;%0A%0ACustomer....
3a9dae68add635d8800058c0b6d2408ce07ed785
Fix admin location view
models/location.js
models/location.js
'use strict'; const sequelize = require('sequelize'); const Remarkable = require('remarkable'); const markdown = new Remarkable(); module.exports = function(db) { return db.define('location', { id: { type: sequelize.INTEGER, primaryKey: true, autoIncrement: true }, name: { type: sequelize.TEXT, allowNull: ...
JavaScript
0
@@ -1051,16 +1051,23 @@ markdown +.render (d) : nu
f353e51a40393e47e7b7e9f70d3440284ecd820b
Improve icon Url resolution
models/manifest.js
models/manifest.js
/** * Copyright 2015-2016, Google, Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
JavaScript
0
@@ -611,81 +611,34 @@ t';%0A -%0A const -DOMAIN_PATH_REGEXP = /(http%5Bs%5D*:%5C/%5C/%5Ba-z0-9A-Z-%5C.%5D+)(%5C/(.*?%5C/)*)*/ +url = require('url') ;%0A%0A/ @@ -1734,20 +1734,18 @@ ) %7B%0A -cons +le t bestIc @@ -1769,17 +1769,16 @@ Icon();%0A -%0A if ( @@ -1790,111 +1790,25 @@ Icon -) %7B%0A retu...
d35d04f0a862ad5cb99a1f719fa1f626f933e89b
Update dronebl.js
modules/dronebl.js
modules/dronebl.js
"use strict" var settings = require('../config').settings; var DroneBL = require('dronebl'); exports.module = function() { this.onCommand_dronebl = function(user, args) { if(args.trim() != "") { var chan = this.channel; DroneBL.lookup(args.split(" ")[0], function(res) { chan.say(res); }); }...
JavaScript
0
@@ -289,29 +289,328 @@ -chan.say(res);%0A +%09%09%09if (res == 'true') %7B%0A %09%09%09%09chan.say(args.split(%22 %22)%5B0%5D + %22 is listed in DroneBL%22);%0A %09%09%09%7D else if (res == 'false') %7B%0A %09%09%09%09chan.say(args.split(%22 %22)%5B0%5D + %22 is not listed in DroneBL%22...
62105b3c0fc2d3163e6383ea36060178758f407c
use redis' setex for status prop
modules/monitor.js
modules/monitor.js
import _ from 'lodash' import Promise from 'bluebird' import Debug from '../lib/util' import YodelModule from '../lib/module' let debug = new Debug('yodel:monitor') export default class Monitor extends YodelModule { /** * Statics */ static HASH_FIELDS = ['nickname', 'channelId', 'channelName', 'connectedAt...
JavaScript
0
@@ -1742,24 +1742,73 @@ commands = %5B +%0A %5B'setex', 'status', 10, 'OK'%5D%0A %5D%0A%0A _ @@ -4641,16 +4641,18 @@ %5B'set +ex ', 'stat @@ -4655,16 +4655,20 @@ status', + 10, 'OK'%5D,%0A
14d9858d3b6f07fd181d8776a74d4fd84ffa1b6a
remove print statements + added error handling
modules/twitter.js
modules/twitter.js
var config = require('config'); var Twit = require('twit'); var T = new Twit({ consumer_key: config.get('twitter.consumerKey'), consumer_secret: config.get('twitter.consumerSecret'), access_token: config.get('twitter.accessToken'), access_token_secret: config.get('twitter.accessTokenSecret'), timeout_ms: 60*...
JavaScript
0
@@ -520,16 +520,149 @@ se = %22%22; +%0A%0A%09//could not parse a number %0A%09if (tweetID === undefined %7C%7C tweetID === null) %7B%0A %09return console.error(%22Not a proper tweet!%22);%0A%09%7D %0A%09%0A%09T.ge @@ -766,40 +766,84 @@ %7B%0A%09%09 -//console.log(data.entities); +if (err) %7B%0A%09%09%09return c...
5b4d50bf0958c66dd7bb375118e83118aed6da1a
add stopSeedCreating option to vm
Mold/Core/VM.js
Mold/Core/VM.js
"use strict"; //!info transpiled /** * @module Mold.Core.VM * @description runs a new Mold instance in a sandbox */ Seed({ type : "module", }, function(modul){ var instanceCount = 1; var MoldVM = function(conf){ conf = conf || {}; this.sandbox = { global : { global : {}, vmInstance :...
JavaScript
0
@@ -1039,16 +1039,74 @@ %7C%7C false +%0A%09%09%09this.stopSeedCreating = conf.stopSeedCreating %7C%7C false %0A%0A%09%09%09thi @@ -1318,16 +1318,21 @@ ating', +this. stopSeed
6dd40df318a6e24537002cf95010669cea41945d
Update LayerCreator.js
src/gameobjects/layer/LayerCreator.js
src/gameobjects/layer/LayerCreator.js
/** * @author Richard Davey <rich@photonstorm.com> * @author Felipe Alfonso <@bitnenfer> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var BuildGameObject = require('../BuildGameObject'); var Layer = require('./Layer'); var GameObject...
JavaScript
0
@@ -55,53 +55,8 @@ om%3E%0A - * @author Felipe Alfonso %3C@bitnenfer%3E%0A * @
8a7279fd726dbf8e921f238b62a03e08c8050407
Remove superflous default and whitespace
set.js
set.js
var value = true , unique = function(iset){ var set = {} , i = 0 , l = iset.length for(; i < l; i++) { set[iset[i]] = value } return set } var Set = function(input){ var set this.contains = function(prop){ return !!set[prop] } this.empty = function(){...
JavaScript
0.000001
@@ -1867,14 +1867,8 @@ %5B%5D) - %7C%7C %7B%7D %0A%7D%0A%0A @@ -1934,18 +1934,16 @@ et))%0A%7D%0A%0A -%0A%0A module.e
fbc3fdcbec27bb68c8ad0bce016db8a9cf89887d
Fix network connection bug by directly listening to online and offline events
src/js/components/Onboarding/index.js
src/js/components/Onboarding/index.js
var Container = require('react-container'); var Sentry = require('react-sentry'); var OnboardingHeader = require('../OnboardingHeader'); var React = require('react/addons'); var Scanner = require('../Scanner'); var Tappable = require('react-tappable'); var Transition = React.addons.CSSTransitionGroup; var { Link, Trans...
JavaScript
0
@@ -1141,18 +1141,264 @@ atus);%0A%09 +%09document.addEventListener('online', this.onOnline, false);%0A%09%09document.addEventListener('offline', this.onOffline, false);%0A%09%7D,%0A%0A%09onOnline () %7B%0A%09%09this.setState(%7B%0A%09%09%09online: true,%0A%09%09%7D);%0A%09%7D%0A%0A%09onOffline () %7B%0A%09%09this.set...
91d0a723e90fdc81fd6250a5b480c58eadadcdb2
add hand-written iterator benchmark [ci skip]
benchmark/iterator-compute.js
benchmark/iterator-compute.js
/* eslint-disable */ 'use strict'; class Standard { constructor(x, y) { this.x = x; this.y = y; } computeSum() { let sum = 0; for (let x = 0; x < this.x; x++) { for (let y = 0; y < this.y; y++) { sum += x * y; } } retu...
JavaScript
0
@@ -732,16 +732,755 @@ %7D%0A%7D%0A%0A +class Iterator2 %7B%0A constructor(x, y) %7B%0A this.x = x;%0A this.y = y;%0A %7D%0A%0A computeSum() %7B%0A let sum = 0;%0A for (const %7Bx, y%7D of this.keys()) %7B%0A sum += x * y;%0A %7D%0A return sum;%0A %7D...
daea9aafecce28373074da5ed874c935e29d1851
add props to manage user state
bitcoin-show/src/BCShowApp.js
bitcoin-show/src/BCShowApp.js
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { fetchQuestion } from './actions/questionActions'; import fetchAwards, { updateAward } from './actions/awardActions'; import Options from './containers...
JavaScript
0.000001
@@ -448,24 +448,247 @@ extProps) %7B%0A + if (nextProps.willUserStop) %7B%0A console.log('voce parou');%0A %7D%0A if (nextProps.shouldSkipQuestion) %7B%0A console.log('voce pulou');%0A %7D%0A if (nextProps.userFailed) %7B%0A console.log('voce errou');%0A %7D%0A if (next @@ -713,24...
dff96f88897d4fb91feed7e2466ca02ba8d2da82
Fix localstorage fs
lib/drivers/localstorage.js
lib/drivers/localstorage.js
var util = require('util'); var _ = require('lodash'); var DriverMemory = require('./memory'); function Driver(options, fs) { var that = this; options = _.defaults({}, options || {}, { key: "repofs" }); DriverMemory.apply(this, arguments); if (window.localStorage[this.options.key]) { ...
JavaScript
0.000003
@@ -283,34 +283,34 @@ .localStorage%5Bth -is +at .options.key%5D) %7B @@ -359,34 +359,34 @@ .localStorage%5Bth -is +at .options.key%5D);%0A @@ -456,18 +456,18 @@ orage%5Bth -is +at .options
a2425b1d5fbce939203626b11b1dc31ee001b6e5
Make InvalidArgument error ctor to be available to outside
lib/game_of_life.support.js
lib/game_of_life.support.js
(function (GoL, _) { var CT = { Alive: '*', Dead: '.' } , ctParser = _(CT).chain() .map(function (val, key) { return [val, key]; }) .reduce(function (memo, valKey) { memo[valKey[0]] = valKey[1]; return memo; }, {}) .value(); function InvalidArgument(message) { this.prototype...
JavaScript
0
@@ -742,16 +742,55 @@ %7B%0A + InvalidArgument: InvalidArgument%0A , CellTyp
d0be8898263d2fae30aeac0d21e89d5a7961f5be
Update express.js
madness/express.js
madness/express.js
//Request client port, 4004 if none. var gameport = process.env.PORT || 4004, io = require('socket.io'),
JavaScript
0.000002
@@ -103,8 +103,330 @@ t.io'),%0A + express = require('express'),%0A UUID = require('node-uuid'),%0A verbose = false,%0A app = express.createServer();%0A %0A app.listen(gameport);%0A %0A alert('%5Ct :: Express :: Listening on port '+gameport);%0A %0A app.get('/', function(req, res))%7B%0A ...
f997b2835eb4b52983d5437eb84a4dd03771b28e
Add missing ajax promise APIs
lib/javascripts/base_app.js
lib/javascripts/base_app.js
import $ from 'jquery'; import Handlebars from 'handlebars'; import I18n from './i18n'; let maxHeight = 375; function noop() {} function resolveHandler(app, name) { let handler = app.events[name]; if (!handler) { return noop; } return _.isFunction(handler) ? handler.bind(app) : app[handler].bind(app); } funct...
JavaScript
0.000002
@@ -2254,146 +2254,298 @@ -doneCallback = resolveHandler(this, name + '.done'),%0A failCallback = resolveHandler(this, name + '.fail'),%0A alwaysCallback = +options = _.isFunction(req) ? req.apply(this, Array.prototype.slice.call(arguments, 1)) : req,%0A dfd = $.Deferred(),%0A app = th...
a6308381b9230bb4fc82a4c6e47d7ee049ca752a
Fix #221 add option to disable refresh button
src/mw-layout/directives/mw_header.js
src/mw-layout/directives/mw_header.js
angular.module('mwUI.Layout') .directive('mwHeader', function ($rootScope, $route, $location, BrowserTitleHandler) { return { transclude: true, scope: { title: '@', url: '@?', mwTitleIcon: '@?', showBackButton: '=?', mwBreadCrumbs: '=?', description: '@...
JavaScript
0
@@ -313,24 +313,52 @@ tion: '@?',%0A + disableReload: '=?'%0A %7D,%0A @@ -2249,24 +2249,113 @@ );%0A %7D +%0A%0A if (scope.disableReload) %7B%0A scope.showRefreshButton = false;%0A %7D %0A %7D%0A
9a3cf4eab1f9f4954595cddd2916eb0f80437547
Refactor component generator.
generator-lateralus/component/index.js
generator-lateralus/component/index.js
'use strict'; var yeoman = require('yeoman-generator'); var Mustache = require('mustache'); var _s = require('underscore.string'); var LateralusComponentGenerator = yeoman.generators.Base.extend({ initializing: function () { this.pkg = require('../package.json'); this.isLateralus = this.appname === 'lateral...
JavaScript
0
@@ -846,323 +846,95 @@ -var mainTemplate = Mustache.render(%0A this.src.read('main.js'), renderData);%0A this.dest.write('main.js', mainTemplate);%0A%0A var modelTemplate = Mustache.render(%0A this.src.read('model.js'), renderData);%0A this.dest.write('model.js', modelTemplate);%0A%0A...
da44268f0d748c2372715337f63c4bde1d90fa76
remove unnecessary logs.
src/node_modules/react-novnc/index.js
src/node_modules/react-novnc/index.js
import React, { Component } from 'react' import { propTypes } from 'utils' import { RFB } from 'novnc-node' import { format as formatUrl, parse as parseUrl, resolve as resolveUrl } from 'url' const parseRelativeUrl = (url) => parseUrl(resolveUrl(String(window.location), url)) const PROTOCOL_ALIASES = { 'http:...
JavaScript
0
@@ -1593,101 +1593,14 @@ %7D) -,%0A onUpdateState: (_, state) =%3E console.log(state)%0A %7D)%0A console.log(formatUrl(url) +%0A %7D )%0A
d301953feff98819c40b0cb7c5ba4f9b2061cc43
Update part2.js
3/part2.js
3/part2.js
/** * Created by chrisjohnson on 03/12/2016. */ var fs = require('fs'); var input = fs.readFileSync('./input.txt', 'utf8'), lines = input.split('\n').map(function (l) { return l.trim().replace(/\s+/g, ' ').split(' ').map(function (num) { return Number(num); }); }), triangles = []; fu...
JavaScript
0
@@ -332,16 +332,18 @@ (arr) %7B%0A + return a @@ -854,18 +854,16 @@ %7D%0A%7D);%0A%0A -%0A%0A console. @@ -884,8 +884,9 @@ length); +%0A
fb9717734c3a90556ba6f66a245d36130188956c
Fix broken config test
src/reducers/__tests__/config-test.js
src/reducers/__tests__/config-test.js
/** * * @license * Copyright (C) 2016 Joseph Roque * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
JavaScript
0.000023
@@ -1095,16 +1095,72 @@ : true,%0A + busInfo: %7Bname: 'Buses', link: 'http://example.com'%7D,%0A langua
0b2736f3efc2c77b7b6adcb53666bf9ef16bc434
rename Cygnus to DvaGUI
src/renderer/components/UI/Welcome.js
src/renderer/components/UI/Welcome.js
import React, { PropTypes } from 'react'; import { Button } from 'antd'; import './Welcome.less'; const Welcome = props => <div className="welcome"> <div className="welcome-title"> Welcome to Cygnus. </div> <Button type="ghost" onClick={props.onOpen}> Open a Dva Project </Button> </div>...
JavaScript
0.999973
@@ -202,14 +202,14 @@ to -Cygnus +DvaGUI .%0A
18c73efa62c0d4bd74a67f2a1b15eb73aab7ac70
Make missing assets 404 correctly
src/services/server/handlers/pages.js
src/services/server/handlers/pages.js
/** * Module dependencies. */ var Promise = require('bluebird'); var path = require('path'); var _ = require('lodash'); var utils = require('../../../utils'); /* * Export the pages route handlers. */ var handlers = exports = module.exports = {}; handlers.params = {}; ...
JavaScript
0.000276
@@ -150,16 +150,71 @@ ash');%0A%0A +var highlighter = require('../../../highlighter');%0A var util @@ -254,16 +254,16 @@ tils');%0A - %0A/*%0A * E @@ -476,16 +476,30 @@ Path) %7B%0A + try %7B%0A var @@ -539,16 +539,20 @@ h);%0A + + page.ren @@ -585,24 +585,28 @@ ()%7B%0A + + ...
f3fb66c51a20e2f495cce5ac0b33f7aee809f0c9
Prepare loaders for Webpack2
webpack/loaders.js
webpack/loaders.js
const { isTest } = require('../configuration'); const preJsx = { test: /\.jsx?$/, loaders: ['source-map', 'eslint'], exclude: /node_modules/ }; const preTestJsx = { test: /\.jsx?$/, loader: 'isparta', exclude: /(node_modules|__tests__|webpack\.tests\.js)/ }; const jsx = { test: /\.jsx?$/,...
JavaScript
0
@@ -611,19 +611,58 @@ s: %5B -'file? +%7B%0A loader: 'file',%0A query: %7B name -= +: ' asse @@ -677,16 +677,24 @@ %5D.%5Bext%5D' + %7D%0A %7D , 'image @@ -807,37 +807,82 @@ er: 'url -? +',%0A query: %7B%0A limit -= +: 10000 -& +,%0A mimetype =applica @@ -865,...
e5caac932963b3eed9046886f4fb542fda45e752
Fix Hot Loading with Eslintgit st (#9) (#27)
webpack/plugins.js
webpack/plugins.js
const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const StyleLintPlugin = require('stylelint-webpack-plugin'); const SplitByPathPlugin = require('webpack-split-by-path'); const path = require('path'); const basePlugins = [ new webpack.DefinePlugin({ __DEV__: process.en...
JavaScript
0
@@ -582,40 +582,8 @@ %7D) -,%0A new webpack.NoErrorsPlugin() %0A%5D;%0A @@ -958,24 +958,56 @@ e%0A %7D%0A %7D) +,%0A new webpack.NoErrorsPlugin() %0A%5D;%0A%0Amodule.
169c002f26c4bfe0c7fc022e237fdb9af4f5a290
remove external script injection, use plain
pagelets/loader.js
pagelets/loader.js
'use strict'; // // Current environment the application is running in. // var env = process.env.NODE_ENV || 'development'; // // Expose the asynchronous client-side JS loader Pagelet. // require('./pagelet').extend({ name: 'loader', view: '{{brand}}/loader/view.hbs', // // Provide some defaults for loading c...
JavaScript
0
@@ -1065,79 +1065,8 @@ m);%0A - if ('external' in data) data.plain = plain.concat(data.external);%0A%0A
445b4af784dcf31ce2f87eb34091c8f05fac534d
add underline to originally linked words
plugins/urbandictionary.js
plugins/urbandictionary.js
var request = require("request"); function UrbanDictionaryPlugin(bot) { var self = this; self.name = "urbandictionary"; self.help = "Urban Dictionary plugin"; self.depend = ["cmd", "util"]; self.strip = function(str) { return str.replace(/\[([^\]]+)\]/g, "$1").replace(/\r?\n/g, " "); }; self.formatDefinitio...
JavaScript
0.000001
@@ -262,10 +262,18 @@ g, %22 -$1 +%5Cx1F$1%5Cx1F %22).r
c83fec900f70ecae50cd4bb068b24d685ae5e49d
Use 'that' consistently.
lib/memoizeAsyncAccessor.js
lib/memoizeAsyncAccessor.js
/*global require, module, process*/ module.exports = function memoizeAsyncAccessor(name, computer) { return function (cb) { var that = this; if (name in that) { process.nextTick(function () { cb(null, that[name]); }); } else { var waitingQu...
JavaScript
0
@@ -400,18 +400,18 @@ me in th -is +at ) %7B%0A
6ddbda14cd3c8758b223d239c7433e3bccdf0c53
remove unuse codes (#26)
test/fixtures/apps/env-app/config/config.default.js
test/fixtures/apps/env-app/config/config.default.js
'use strict'; exports.fakeplugin = { foo: 'bar-default', }; // exports.alipayuserservice = { // authcenterUrl: 'http://authcenter.stable.alipay.net', // }; exports.logger = { consoleLevel: 'NONE', };
JavaScript
0.000233
@@ -61,107 +61,8 @@ %7D;%0A%0A -// exports.alipayuserservice = %7B%0A// authcenterUrl: 'http://authcenter.stable.alipay.net',%0A// %7D;%0A%0A expo
1b14a18abf4fd1368a19dbc7ebe07f4ee71320f7
fix travis (#156)
test/fixtures/destructuring-with-arrows/expected.js
test/fixtures/destructuring-with-arrows/expected.js
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; const f = ({ a }) => { _assert({ a }, T, "{ a }"); };...
JavaScript
0
@@ -248,24 +248,246 @@ target; %7D;%0A%0A +function _objectWithoutProperties(obj, keys) %7B var target = %7B%7D; for (var i in obj) %7B if (keys.indexOf(i) %3E= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target%5Bi%5D = obj%5Bi%5D; %7D return target; %7D%0A%0A const f = (%7B @@ -552,25 ...
0f181a34ee9b00bc14c04a0730cd91b071ff46a6
Fix typo in meteor setup
lib/modules/meteor/index.js
lib/modules/meteor/index.js
import path from 'path'; import debug from 'debug'; import nodemiral from 'nodemiral'; import {runTaskList} from '../utils'; import * as docker from '../docker/'; const log = debug('mup:module:meteor'); export function help(/* api */) { log('exec => mup meteor help'); } export function logs(/* api */) { log('exec...
JavaScript
0.000162
@@ -774,29 +774,25 @@ .ssl) %7B%0A -taskL +l ist.copy('co @@ -917,29 +917,25 @@ %7D);%0A%0A -taskL +l ist.copy('co @@ -1058,21 +1058,17 @@ );%0A%0A -taskL +l ist.exec
ac390ba126fdd7465c72a48a2246874558f75cfb
fix hidden files in model directory from breaking seed
core/required/model_factory.js
core/required/model_factory.js
'use strict'; const ModelArray = require('./model_array.js'); const fs = require('fs'); const async = require('async'); /** * Factory for creating models * @class */ class ModelFactory { /** * Create the ModelFactory with a provided Model to use as a reference. * @param {Nodal.Model} modelConstructor Must pass...
JavaScript
0
@@ -745,16 +745,71 @@ nc(dir)%0A + .filter(filename =%3E filename.indexOf('.') !== 0)%0A .m
b01e46b02c107a113fcf37843fe2bef5ac526b5b
Update integration/sanity/request-name-script tests to chai
test/integration/sanity/request-name-script.test.js
test/integration/sanity/request-name-script.test.js
describe('request name scripts', function() { var testrun; before(function(done) { this.run({ collection: { item: [{ name: 'r1', event: [{ listen: 'test', script: { ...
JavaScript
0
@@ -1,12 +1,50 @@ +var expect = require('chai').expect;%0A%0A describe('re @@ -1642,28 +1642,30 @@ );%0A%0A it(' -must +should have run th @@ -1785,39 +1785,40 @@ expect(testrun). +to. be.ok -() ;%0A expect @@ -1829,58 +1829,80 @@ trun +) .t -est.calledOnce).be.ok();%0A expect(testrun. +o.nest...
7682c04b558f5077e3876ab691367ff5eb095daa
Add js tests for schedules with multiple class and slot items
server/static/js/js_tests/schedule/basic_test.js
server/static/js/js_tests/schedule/basic_test.js
define(function(require) { var expect = require('ext/chai').expect; var $ = require('ext/jquery'); var schedule_parser = require('schedule_parser'); describe('Schedule parsing', function() { var parsedSchedulePromise = $.get( '/static/js/js_tests/schedule/data/basic.txt').then(function(r) { r...
JavaScript
0
@@ -1222,76 +1222,61 @@ ' -extracts the correct number of items for course multiple time entrie +validate course that has multiple class and slot item s',%0A @@ -1372,24 +1372,24 @@ ('ece106');%0A - expect @@ -1441,16 +1441,483 @@ al(63);%0A + expect(scheduleData.courses%5B1%5D.items%5B0%5D.section_t...
720ae0541539a3d0690a6a496f5aa11df92452ef
Include DOMSprite in 'include openfl/display'
lib/openfl/display/index.js
lib/openfl/display/index.js
module.exports = { // Application: require("./Application").default, Bitmap: require("./Bitmap").default, BitmapData: require("./BitmapData").default, BitmapDataChannel: require("./BitmapDataChannel").default, BlendMode: require("./BlendMode").default, CapsStyle: require("./CapsStyle").default, DisplayObject: re...
JavaScript
0
@@ -418,19 +418,16 @@ fault,%0A%09 -// DOMSprit