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
bd82ae1c7a4fabd48928aa4d157d87aab6329237
fix one syntax error
build/concat.js
build/concat.js
module.exports = { all: { options: { separator: ';', }, files: { 'dist/js/lib.js': [ 'src/javascript/lib/jquery.js', 'src/javascript/lib/highstock/highstock.js', 'src/javascript/lib/highstock/highstock-exporting.js', ...
JavaScript
0.026586
@@ -554,32 +554,33 @@ /binary/**/*.js' +, %0A @@ -609,18 +609,21 @@ ysocket/ -** +trade /*.js'%0A
7a095830861f90333e5a0c5df8ee2eb48a603092
fix for nested loop vars
daimio/2_segtypes/n_alias.js
daimio/2_segtypes/n_alias.js
D.SegmentTypes.Alias = { try_lex: function(string) { return new D.Token('Command', string) // THINK: this is weird... // return new D.Token('Alias', string) // NOTE: this has to run last... } , munge_tokens: function(L, token, R) { var new_tokens = D.Aliases[token.value.word] if(!new_tokens) { ...
JavaScript
0
@@ -1043,22 +1043,22 @@ for(var -i +j =0, -l +k =a_token @@ -1069,37 +1069,38 @@ uts.length; -i %3C l; i +j %3C k; j ++) %7B + %0A @@ -1115,17 +1115,17 @@ .inputs%5B -i +j %5D = keym @@ -1142,17 +1142,17 @@ .inputs%5B -i +j %5D%5D %7C%7C a_ @@ -1156,33 +1156,33 @@ a_token.inputs%5B -i +j %5D...
fd18d4829cc705806d0e33f254d70db52f977532
Fix typo in cli_test
test/commands/cli_test.js
test/commands/cli_test.js
/** * @license * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be f...
JavaScript
0.000852
@@ -2804,10 +2804,10 @@ --qu -e i +e t fl
272df8614b233341aa9116588b57b0595da8e843
Fix tests
test/commands/new.test.js
test/commands/new.test.js
import sinon from "sinon"; import { expect } from "chai"; import fs from "fs"; import temp from "temp"; import rimraf from "rimraf"; import glob from "glob"; import path from "path"; import newApp from "../../src/commands/new"; import npmDependencies from "../../src/lib/npm-dependencies"; const newFilesTemplate = glob...
JavaScript
0.000003
@@ -282,16 +282,59 @@ encies%22; +%0Aimport logger from %22../../src/lib/logger%22; %0A%0Aconst @@ -685,21 +685,21 @@ spy( -console, %22log +logger, %22info %22);%0A @@ -718,23 +718,21 @@ spy( -console, %22error +logger, %22warn %22);%0A @@ -949,35 +949,35 @@ %0A expect( -console.log +logger.warn .calledWit...
d5bcf59590b064bf2bf58bdea6866e955fa339c4
handle an array of styles in DNAStyleComponent #8
src/dna-style-component.js
src/dna-style-component.js
import { DNAComponent } from './dna-component.js'; /** * Simple Custom Component with css style handling using the `css` property. * @class DNAStyleComponent * @extends DNAComponent * * @example * my-component.js * ```js * import { DNAStyleComponent } from 'dna/component'; * export class MyComponent extends D...
JavaScript
0
@@ -1220,37 +1220,106 @@ am %7B -String%7D style The CSS content +Array%7CFunction%7CString%7D%0A * style An array of styles or a css generator function or a CSS string .%0A @@ -1408,16 +1408,17 @@ d, style +s ) %7B%0A @@ -1435,15 +1435,131 @@ s = -style;%0A +'';%0A if (!Array.isArray(styles)) %7...
1772355bc21443c150ee942eaa7bcde3ee1d4bc5
Update active_cname.js
main/active_cname.js
main/active_cname.js
/* ***** 已使用的子域名 * *********************** * * 目前以下子域名已经启用 * 提交一个 PR, 添加你想使用的的域名 * * **** 说明 * *********** * * KEY: 你提交的域名(如:`foo` 表示自定义子域名为 `foo.js.cool`) * * VALUE: 以 Github 为例,`foo.github.io` 表示用户/组织的主页, * 或 `foo.github.io/bar` 表示项目主页,也可以绑定 Gitee、 CODING.NET 等其它开源托管服务商。 * *...
JavaScript
0.000003
@@ -1064,16 +1064,66 @@ ub.io',%0A + 'interview': 'front-end-interview.netlify.app',%0A // %E8%AF%B7%E5%9C%A8%E6%AD%A4
af855938a48ebec7b647e29ef2651cd7cdc63b41
fix eslint
test/connectState.spec.js
test/connectState.spec.js
import * as actionTypes from '../src/actionTypes' import React, {Children, Component, PropTypes} from 'react' import ReactDOM from 'react-dom' import TestUtils from 'react-addons-test-utils' import {combineReducers, createStore} from 'redux' import connectState from '../src/connectState' import expect from 'expect' ...
JavaScript
0.000874
@@ -103,16 +103,67 @@ 'react' +%0Aimport %7BcombineReducers, createStore%7D from 'redux' %0A%0Aimport @@ -240,59 +240,8 @@ ils' -%0Aimport %7BcombineReducers, createStore%7D from 'redux' %0A%0Aim @@ -8151,10 +8151,10 @@ e = -'' +%60%60 , ac @@ -8954,11 +8954,11 @@ lt: -'a' +%60a%60 %0A
3ed35a29b68c8166f3e4f0224a970b17910289fd
Add lots more logging
cardHandler.js
cardHandler.js
var Trello = require('trello') var ingatlan = require('./ingatlan.js') var request = require('request') // I am so lazy lol l = console.log // read credentials from environment and get access key = process.env.TRELLO_KEY token = process.env.TRELLO_TOKEN board = process.env.TRELLO_BOARD var t = new Trello(key, token) ...
JavaScript
0
@@ -902,16 +902,64 @@ sts) %7B%0A%0A + if (e) %7B%0A l('error:', e)%0A return 1%0A %7D%0A%0A if (ty @@ -1027,33 +1027,33 @@ rd')%0A return -1 +2 %0A %7D%0A%0A l(lists) @@ -1046,16 +1046,25 @@ %7D%0A%0A l( +'lists', lists)%0A%0A @@ -1200,24 +1200,179 @@ , cards) %7B%0A%0A + if (e) %7B%0A ...
233b587c58d7f39ab9c19b65cb73371930adac19
Add stocktakes reducer and columns
src/pages/dataTableUtilities/reducer/getReducer.js
src/pages/dataTableUtilities/reducer/getReducer.js
/** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2019 */ /** * Method using a factory pattern variant to get a reducer * for a particular page or page style. * * For a new page - create a constant object with the * methods from reducerMethods which are composed to create * a reducer. Add to PAGE_REDUCER...
JavaScript
0
@@ -2567,24 +2567,143 @@ rtData,%0A%7D;%0A%0A +const stocktakes = %7B%0A openBasicModal,%0A closeBasicModal,%0A filterData,%0A selectRow,%0A deselectAll,%0A deselectRow,%0A%7D;%0A%0A const PAGE_R
26d2ae36e38876c2c3e2361533a70db07d097e1f
Set retries to 0
lib/tasks/tests/visual/run.js
lib/tasks/tests/visual/run.js
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights...
JavaScript
0.001984
@@ -3443,53 +3443,8 @@ ) %7B%0A - gemini.browsers%5Bkey%5D.retry = 1%0A
6099c8a7fdca07f525f1c56836a66fdb0c69da5c
Use default annotation from tart-tracing
test/stream.js
test/stream.js
/* test.js - test script The MIT License (MIT) Copyright (c) 2015 Dale Schumacher Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to...
JavaScript
0
@@ -1877,236 +1877,8 @@ 8);%0A - var annotate = (function (n) %7B%0A %09return function annotate(actor) %7B%0A %09%09var id = '%3C' + (n++) + '%3E';%0A %09%09actor.toString = actor.inspect = function () %7B%0A %09%09%09return id;%0A %09%09%7D;%0A %09%09return actor;%0A %09%7D;%0A %7D)(42);%0...
d029c7ed15e705db76e86037f8678fef89a6eaa5
Update feature-detects/gamepad.js
feature-detects/gamepad.js
feature-detects/gamepad.js
// GamePad API // https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html // By Eric Bidelman Modernizr.addTest('gamepads', !!Modernizr.prefixed('gamepads', navigator) || !!Modernizr.prefixed('getGamepads', navigator));
JavaScript
0
@@ -97,40 +97,429 @@ an%0A%0A -Modernizr.addTest('gamepads', !! +// FF has Gamepad API support only in special builds, but not in any release (even behind a flag)%0A// Their current implementation has no way to feature detect, only events to bind to.%0A// http://www.html5rocks.com/en/tutorials/doodles/gamepad/#toc-f...
95cb78b400aaa1e43a63e218a67aea03a98a20d2
add info about system where not work the imagemagick
test/engine/imagesTest.js
test/engine/imagesTest.js
var assert = require("assert"), images = require('../../engine/image.js'), pg = require('pg'), should = require('should') , async = require('async') ,config = require('../../config/local.js'); var dboxClient = null; var sqlMake = require('../../lib/helps/helps.js').sqlMake; var imageForDelete = []...
JavaScript
0
@@ -316,16 +316,512 @@ = %5B%5D;%0A%0A +// switch off imagemagick with configuration%0A// npm --version 1.3.11%0A// node --version v0.10.20%0A// cat /etc/*-release%0A// DISTRIB_ID=Ubuntu%0A// DISTRIB_RELEASE=12.10%0A// DISTRIB_CODENAME=quantal%0A// DISTRIB_DESCRIPTION=%22Ubuntu 12.10%22%0A// NAME=%22Ubuntu%22%0A// V...
a90d3dc921350be45afd31f02338879c82a40f17
Add name to ec2 instance
cf-app-stack.js
cf-app-stack.js
var uuid = require('node-uuid'); var AWS = require('aws-sdk'); var cloudformation = new AWS.CloudFormation({ "region": "ap-southeast-2" }); var stack = { "AWSTemplateFormatVersion" : "2010-09-09", "Description" : "Create an EC2 instance running Ubuntu 14.04 LTS.", "Parameters" : { "KeyName" : { "De...
JavaScript
0.000158
@@ -1126,16 +1126,96 @@ %22AMI%22 %5D%7D +,%0A %22Tags%22: %5B%0A %7B %22Key%22: %22Name%22, %22Value%22: %22The Server%22 %7D%0A %5D %0A %7D
2c0165b260cdaec285ad99397af4ed513bd08472
Use a more reliable way to determine whether focus is in an inline widget
src/editor/InlineWidget.js
src/editor/InlineWidget.js
/* * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ri...
JavaScript
0.000014
@@ -4620,202 +4620,187 @@ -// True if anything in widget's DOM tree has focus (find() excludes root node, hence the extra check)%0A return this.$htmlContent.find(%22:focus%22).length %3E 0 %7C%7C this.$htmlContent.is(%22:focus%22) +var focusedItem = window.document.activeElement,%0A htmlContent ...
55bf783cd931951dbff9204556f0439e9b9fb177
Fix optimization condition for input stream error
lib/tokenizer/preprocessor.js
lib/tokenizer/preprocessor.js
'use strict'; var UNICODE = require('../common/unicode'), ERR = require('../common/error_codes'); //Aliases var $ = UNICODE.CODE_POINTS; //Utils //OPTIMIZATION: these utility functions should not be moved out of this module. V8 Crankshaft will not inline //this functions if they will be situated in another modu...
JavaScript
0.000006
@@ -4987,21 +4987,8 @@ ge ( -whitespaces, ASCI @@ -5002,16 +5002,29 @@ numeric, + whitespaces, big chu @@ -5113,18 +5113,18 @@ (cp %3E 0x -08 +1F && cp %3C @@ -5130,36 +5130,60 @@ %3C 0x -0E +7F %7C%7C cp -%3E 0x1F && cp %3C 0x7F +=== $.LINE_FEED %7C%7C cp === $.CARRIAGE_RETURN %7C%7C
43ab38971d5d4668499722f56c10e47af1408e11
fix syntax
challengers.js
challengers.js
// Welcome! // Add your github user if you accepted the challenge! var players = [ 'raphamorim', 'israelst', 'guisouza', 'khaosdoctor', 'afonsopacifer', 'rafaelfragosom', 'paulinhoerry', 'enieber', 'alanrsoares', 'viniciusdacal', 'thiagosantana', 'danilorb', 'douglas...
JavaScript
0.000023
@@ -2847,16 +2847,17 @@ avtsova' +, %0A 'ma
0b382534d3dd51d86d388e066283b5834b45ece2
fix filter
lib/tool/findJsAllrequires.js
lib/tool/findJsAllrequires.js
var fs = require('fs'), path = require('path'), uniq = require('./uniq'), options = require('./options'), commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg, requireRegexp = /require\([\"|\'](.*?)[\"\|\']\)/g, stack = {}; function replaceDir(id) { //只替换一次,且如果路径包含2个dir,也只替换一次,并且只匹配第一个,之后的不匹配 // UI:../ -> UI/...
JavaScript
0.000001
@@ -1771,16 +1771,62 @@ quire)%7B%0A +%09%09if(filter && filter(require)) return false;%0A
9c36c8385f0654979e7158a08f02ef772d41f557
Remove broken test from functional/errors.
test/functional/errors.js
test/functional/errors.js
'use strict'; var assert = require('assert'); var fs = require('fs'); var jsyaml = require('../../lib/js-yaml'); var YAMLError = require('../../lib/js-yaml/errors').YAMLError; var functional = require('../../lib/js-yaml-test/functional'); functional.generateTests({ description: 'Test errors loading all documents ...
JavaScript
0
@@ -45,32 +45,8 @@ ');%0A -var fs = require('fs');%0A var @@ -216,344 +216,8 @@ ;%0A%0A%0A -functional.generateTests(%7B%0A description: 'Test errors loading all documents from file resource.',%0A files: %5B'.loader-error'%5D,%0A handler: function (errorFile) %7B%0A assert.throws(function () %7B%0A var f...
96f1129ebaf6396c26313c475d9b301d63f9c46e
set temporary package name when validating virtual packages
lib/util/validateBowerJson.js
lib/util/validateBowerJson.js
'use strict'; var bowerJson = require('bower-json'); function validateBowerJson(decEndpoint) { var options = { enforceNameExists: false, strictNames: false }; bowerJson.validate(decEndpoint, options); } module.exports = validateBowerJson;
JavaScript
0.000001
@@ -47,16 +47,80 @@ son');%0A%0A +function generateTemporaryPackageName() %7B%0A%09return 'package';%0A%7D%0A%0A function @@ -241,16 +241,106 @@ %0A %7D;%0A + if(!decEndpoint.name) %7B%0A %09decEndpoint.name = generateTemporaryPackageName();%0A %7D%0A bowe
370c82d10eca07867e7e256630ea6f3be37bf659
更新 customAssert 可取出呼叫 api 後的 response 結果
test/init/customAssert.js
test/init/customAssert.js
/* 客製化 assert */ const assert = global.assert const _checkApiKey = (response, key) => { if (!_.has(response, key)) { throw Error(`Response ${JSON.stringify(response)} 應該為 {${key}: xxxx}`) } } assert.isPlainObject = (arg) => { assert.isTrue(_.isPlainObject(arg)) } assert.shouldGotErr = async (fn) => { let ...
JavaScript
0
@@ -191,16 +191,39 @@ %7D%60)%0A %7D%0A + return response%5Bkey%5D%0A %7D%0A%0Aasser @@ -547,32 +547,39 @@ esponse) =%3E %7B%0A +return _checkApiKey(res @@ -621,32 +621,39 @@ esponse) =%3E %7B%0A +return _checkApiKey(res @@ -703,16 +703,23 @@ =%3E %7B%0A +return _checkAp
fd569881905e84d4cb3b58e624500abdf86248e6
make target stream configurable
lib/response.js
lib/response.js
"use strict" function checkData (data, props) { props = props || []; props.push('res'); for (let i = 0, l = props.length; i < l; ++i) { if (!data[props[i]]) { return new Error('Flow-http.response: Prop "' + props[i] + '" not found on data.'); } } } // set http status exp...
JavaScript
0.000001
@@ -1225,18 +1225,19 @@ a, %5B -%22readable%22 +args.target %5D);%0A @@ -1296,17 +1296,21 @@ data -.readable +%5Bargs.target%5D .pip
d7b42c9ec9f43290a6721b5b36d2248bd3a9f61c
edit resolve.extensions defaults value
lib/webpack.config.default.js
lib/webpack.config.default.js
/** * 默认webpack配置 */ "use strict"; const path = require('path'); module.exports = function (options) { options || (options = {}); const cwd = options.cwd ? options.cwd : process.cwd(); return { context: cwd, profile: true, output: { libraryTarget: 'var', ...
JavaScript
0.000005
@@ -1878,32 +1878,81 @@ ')%0A %7D +,%0A extensions: %5B'.js', 'jsx', '.json'%5D %0A %7D,%0A
989c3142b295a0f07f05be8f575e6c88653b5983
Support inplace formatting for snippets.
Source/devtools/front_end/InplaceFormatterEditorAction.js
Source/devtools/front_end/InplaceFormatterEditorAction.js
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @constructor * @implements {WebInspector.SourcesPanel.EditorAction} */ WebInspector.InplaceFormatterEditorAction = function() { } WebInspector....
JavaScript
0.000002
@@ -2009,16 +2009,12 @@ -return ! +if ( !uiS @@ -2026,11 +2026,50 @@ Code - && +)%0A return false;%0A return uiS @@ -2133,16 +2133,100 @@ ylesheet +%0A %7C%7C uiSourceCode.project().type() === WebInspector.projectTypes.Snippets ;%0A %7D,
3e41aa670841201abf9e0f58969d600679a6c5ce
Save handler state when forcing save with saveState builtin.
lib/response.js
lib/response.js
'use strict'; var attributesHelper = require('./DynamoAttributesHelper'); module.exports = (function () { return { ':tell': function (speechOutput) { if(this.isOverridden()) { return; } this.handler.response = buildSpeechletResponse({ ses...
JavaScript
0
@@ -3693,32 +3693,159 @@ %0A %7D%0A%0A + if(forceSave && this.handler.state)%7B%0A this.attributes%5B'STATE'%5D = this.handler.state;%0A %7D%0A%0A if(t @@ -3869,16 +3869,29 @@ ponse %7C%7C + forceSave %7C%7C this.ha @@ -3930,29 +3930,16 @@ dSession - %7C...
3d42baf924699fdb383d50d3e2df712fa9563649
add standard output for build_dir and all process down
filters/publish-imitate.js
filters/publish-imitate.js
/** pubish: { dirs: [ { dir: 'lib/', // to: 'lib/1.0/' }, { dir: 'app/', to: 's/j/app/index' } ], // build_directory: 'build/' } */ var fs = require('fs'), tracer = require("tracer").colorConsole(), fs_more ...
JavaScript
0
@@ -952,32 +952,95 @@ d_dir;%0A %0A + console.log('CORTEX BUILD_DIR ' + build_dir);%0A %0A (this.co
75395b2e5b46a7223c30d788b3a5a44ce366f03d
initialize `txnNumber` to 0 for sessions
lib/sessions.js
lib/sessions.js
'use strict'; const retrieveBSON = require('./connection/utils').retrieveBSON, EventEmitter = require('events'), BSON = retrieveBSON(), Binary = BSON.Binary, uuidV4 = require('./utils').uuidV4; /** * */ class ClientSession extends EventEmitter { constructor(topology, sessionPool, options) { super(); ...
JavaScript
0.000028
@@ -2700,24 +2700,48 @@ Date.now();%0A + this.txnNumber = 0;%0A %7D%0A%0A /**%0A
98b89ca044a9f61e4411bece8867658e094dec21
fix test
test/ograph.route.test.js
test/ograph.route.test.js
'use strict'; const request = require('supertest'); const expect = require('expect'); const util = require('./util'); const mongoose = require('mongoose'); const Feed = require('../server/model/feed'); const OpenGraph = require('../server/model/opengraph'); describe('HTTP Server', function() { this.timeout(20000); ...
JavaScript
0.000002
@@ -2879,19 +2879,16 @@ ata.feed -_id ).toExis
427913e6245489c128ec8b10fae9dc0c031b2f44
update test case
test/stores.redis.test.js
test/stores.redis.test.js
/** * Test dependencies * * @api private */ var sio = require('../') , should = require('should') , RedisStore = sio.RedisStore , EventEmitter = require('events').EventEmitter , redis = require('redis'); var manager = {}; manager.__proto__ = EventEmitter.prototype; manager.get = function(prop) { retur...
JavaScript
0.000001
@@ -529,32 +529,73 @@ w RedisStore();%0A + manager%5B'handshake expiration'%5D = 1;%0A store.init(m @@ -1051,32 +1051,73 @@ w RedisStore();%0A + manager%5B'handshake expiration'%5D = 1;%0A store.init(m
b4abb67f5096b916ad82819368c3be14ac5f8cde
Add test
test/string/#/template.js
test/string/#/template.js
'use strict'; module.exports = function (t, a) { var compiled; compiled = t.call('%raz% \\%\\% f%prik%oo %maroko%\n\\%mis\\1k\\2o%markas%%' + 'moled%ech%%eloo%su%elo%marko', { maroko: 'morek', prik: function (context) { return context.prik2; }, markas: function (context) { return context.foo; } }); a...
JavaScript
0.000005
@@ -554,11 +554,104 @@ ile%22);%0A%0A +%09a.deep(t.compile('%25melo%25far%25ulo%25ula'), %5B'', 'melo', 'far', 'ulo', 'ula'%5D,%0A%09%09%22Compile #2%22);%0A%0A %7D;%0A
d34cc2af5e124c31e7ee28a0490ac1af2f77d8ae
Add updated TRANSPARENT_GREY
src/globalStyles/colors.js
src/globalStyles/colors.js
/** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2019 */ export const BACKGROUND_COLOR = '#f8fbfe'; export const BLUE_WHITE = '#ecf3fc'; export const DARK_GREY = '#4a4a4a'; export const DARKER_GREY = '#333333'; export const MISTY_CHARCOAL = 'rgba(51,51,51,0.2)'; export const FINALISE_GREEN = '#219d1b'; export...
JavaScript
0.000029
@@ -902,17 +902,23 @@ gba( -0,0,0,0.5 +51, 51, 51, 0.2 )';%0A
56fd4fa2d2fbbad6280f9f71d62e759cadd622f3
Add action application serializer test (#211)
test/unit/actions-test.js
test/unit/actions-test.js
import test from 'ava'; import { Action, Model, Container, FlatSerializer } from 'denali'; import merge from 'lodash/merge'; function mockReqRes(overrides) { let container = new Container(); container.register('serializer:application', FlatSerializer); container.register('config:environment', {}); re...
JavaScript
0
@@ -2813,32 +2813,436 @@ ion.run();%0A%7D);%0A%0A +test('Action %3E should render with the application serializer if all options exhausted', async (t) =%3E %7B%0A t.plan(2);%0A let mock = mockReqRes();%0A class TestAction extends Action %7B%0A respond() %7B%0A t.pass();%0A return %7B%7D;%0A %7D%0A ...
6c8ce552cf95452c35a9e5d4a322960bfdf94572
Fix file extension added when redirect didn't have one
src/helpers/replacePath.js
src/helpers/replacePath.js
import resolveNode from "../helpers/resolveNode"; import match from "../helpers/matchRedirect"; import {relative, dirname} from "path"; export default function (t, originalPath, {opts: {root, extensions}, file: {opts: {filename}}}, regexps) { const requiredFilename = resolveNode(dirname(filename), originalPath.node.v...
JavaScript
0
@@ -114,16 +114,25 @@ dirname +, extname %7D from %22 @@ -1228,16 +1228,162 @@ ect;%0A%09%09%0A +%09%09if(!extname(redirect)) %7B%0A%09%09%09const ext = extname(relativeRedirect);%0A%09%09%09if(ext) relativeRedirect = relativeRedirect.slice(0, -ext.length);%0A%09%09%7D%0A%09%09%0A %09%09origin
9b70a72b641987aecfffbe3c3ade6d68a458111c
determine size distribution
src/javascripts/gallery.js
src/javascripts/gallery.js
import React, {Component, PropTypes} from 'react' import PackeryComponent from './packery' import Images from './images' const packeryOptions = { transitionDuration: '1s' } import 'stylesheets/modules/gallery' import 'stylesheets/utilities/clearfix' class Gallery extends Component{ constructor(props){ super...
JavaScript
0.000402
@@ -1247,85 +1247,277 @@ -return (%0A %3Cdiv className=%7B'grid-item-'+Math.floor(Math.random()*3+1) +const generatedNumber = Math.floor(Math.random()*3+1);%0A console.log(generatedNumber);%0A const shape = (generatedNumber %3E= 2 ? 1 : Math.floor(Math.random()*2+2)); %0A console.log('shap...
47a350a8e1091d897b6f6310e16e38556a640404
Change button to search for more projects.
website/static/js/home-page/newAndNoteworthyPlugin.js
website/static/js/home-page/newAndNoteworthyPlugin.js
/** * New and Noteworthy Projects */ var $ = require('jquery'); var m = require('mithril'); var $osf = require('js/osfHelpers'); var Raven = require('raven-js'); // CSS require('css/new-and-noteworthy-plugin.css'); // XHR config for apiserver connection var xhrconfig = function(xhr) { xhr.withCredentials = tru...
JavaScript
0
@@ -4949,12 +4949,18 @@ %7D, ' -Find +Search for mor @@ -4973,29 +4973,8 @@ ects - with advanced search ');%0A
70ce3a88a1a8fc436430d16006720aff7dc95a36
Use special powers quit in unit tests.
test/unit/testreporter.js
test/unit/testreporter.js
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /*jshint globalstrict: false */ var TestReporter = function(browser, appPath) { 'use strict'; function send(action, json) { var r = new XMLHttpRequest(); // ...
JavaScript
0
@@ -268,20 +268,24 @@ on, json +, cb ) %7B%0A - var @@ -640,18 +640,89 @@ on, json -); +, cb);%0A %7D else %7B%0A if (cb) %7B%0A cb();%0A %7D %0A @@ -1169,24 +1169,24 @@ Request() %7B%0A - send('/t @@ -1224,16 +1224,109 @@ Path), %7B +%7D, function () %7B%0A ...
e4f0b3cf69c59976c927c6d5aead3b81e67371bc
Allow user to pass in their own markup for Layer close button
src/js/components/Layer.js
src/js/components/Layer.js
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component, PropTypes } from 'react'; import ReactDOM from 'react-dom'; import CloseIcon from './icons/base/Close'; import KeyboardAccelerators from '../utils/KeyboardAccelerators'; import DOMUtils from '../utils/DOM'; import Button fr...
JavaScript
0
@@ -2542,23 +2542,115 @@ = null;%0A +%0A if +(typeof this.props.closer === 'object') %7B%0A closer = this.props.closer;%0A%0A %7D else if (this.pr
12674c88f9918030a6e597e6337daa3cc5ae30a1
update series tab name when a series name gets updated
src/js/components/chart.js
src/js/components/chart.js
(function() { // Load the framework and Highcharts. Framework is passed as a parameter. var mediator; var configService; var _ = require('lodash'); var that = {}; that.load = function (element, services) { mediator = services.mediator; configService = services.config; var...
JavaScript
0
@@ -480,32 +480,105 @@ , function () %7B%0A + mediator.trigger('treeUpdate'); // to update series-tab-name%0A var @@ -1130,17 +1130,16 @@ %7D);%0A -%0A %7D;%0A
bb528ff4ab07ae65ea63b96f2a0f9239e6fc379f
fix 'account invalid number' error when join by using ledger source
src/js/controllers/join.js
src/js/controllers/join.js
'use strict'; angular.module('copayApp.controllers').controller('joinController', function($scope, $rootScope, $timeout, $state, $ionicHistory, $ionicScrollDelegate, profileService, configService, storageService, applicationService, gettextCatalog, lodash, ledger, trezor, intelTEE, derivationPathHelper, ongoingProce...
JavaScript
0.000002
@@ -4763,16 +4763,25 @@ $scope. +formData. account;
658ad347c60ff4314b1d52862c04ed39f9485f57
Remove logging statement.
src/main/resources/site/parts/form-part/form-part.js
src/main/resources/site/parts/form-part/form-part.js
var portal = require('/lib/xp/portal'); // Import the portal functions var thymeleaf = require('/lib/xp/thymeleaf'); // Import the Thymeleaf rendering function var contentLib = require('/lib/xp/content'); // Import the content library var moment = require('/lib/moment.min.js'); // Import Moment.js var FORM_BUILDER = ...
JavaScript
0
@@ -1862,68 +1862,13 @@ %7D - else %7B%0A log.info(%22Content: %25s%22, content.data);%0A %7D +%0A %0A
8c95cff480af6fc835675f5e0a3f0bf608101304
remove check on area=0. Apparently d3 considers 0 values of type 0.0000...X
src/main/resources/webroot/app/js/models/clusters.js
src/main/resources/webroot/app/js/models/clusters.js
app.Clusters = function(jsonUrl) { var clusterFeature = {}, transform = d3.geo.transform(); path = d3.geo.path().projection(transform); function prepareData(data) { var feature, i; clusterFeature = data; for (i = 0; i < clusterFeature.features.length; i++) { feature = clusterFeature...
JavaScript
0
@@ -989,24 +989,52 @@ %7D%0A %7D%0A%0A + // temporarly commented%0A // kill @@ -1049,16 +1049,18 @@ is zero%0A +// clus @@ -1128,24 +1128,140 @@ (feature) %7B%0A +// if(feature.properties.area == 0 ) console.log(%22empty area, then removed clusterId:%22 + (feature.id + 1) );%0A// retu...
1fef7db65ed72f315781f39f31d517a6b0a94a80
Allow resize the statusbar on touch devices
src/js/module/Statusbar.js
src/js/module/Statusbar.js
import $ from 'jquery'; const EDITABLE_PADDING = 24; export default class Statusbar { constructor(context) { this.$document = $(document); this.$statusbar = context.layoutInfo.statusbar; this.$editable = context.layoutInfo.editable; this.$codable = context.layoutInfo.codable; this.options = conte...
JavaScript
0.000001
@@ -491,16 +491,27 @@ ousedown + touchstart ', (even @@ -514,24 +514,24 @@ event) =%3E %7B%0A - event. @@ -766,21 +766,25 @@ const on -Mouse +Statusbar Move = ( @@ -811,18 +811,131 @@ let -height = e +originalEvent = (event.type == 'mousedown') ? event : event.originalEvent.changedTouches%5B0%5D;%0A ...
2850d15b248847e507dba76aa0df96935d747d36
fix issue with updated validator parsing to handle validators without params
src/js/modules/validate.js
src/js/modules/validate.js
var Validate = function(table){ this.table = table; }; //validate Validate.prototype.initializeColumn = function(column){ var self = this, config = [], validator; if(column.definition.validator){ if(Array.isArray(column.definition.validator)){ column.definition.validator.forEach(function(item){ validat...
JavaScript
0
@@ -761,16 +761,34 @@ f(':');%0A +%0A%09%09if(pos %3E -1)%7B%0A%09 %09%09type = @@ -814,16 +814,17 @@ pos);%0A%09%09 +%09 params = @@ -847,16 +847,87 @@ (pos+1); +%0A%09%09%7Delse%7B%0A%09%09%09type = value;%0A%09%09%7D%0A%0A%09%09console.log(%22v%22, value, type, params) %0A%0A%09%09retu
ee52498eb691ab7a0abe3a26876e993f464855bc
Load default mode when creating a new window
src/js/wm/windowmanager.js
src/js/wm/windowmanager.js
/** * Ventus * Copyright © 2012 Ramón Lamana * https://github.com/rlamana */ define([ '$', 'wm/window', 'core/view', 'wm/modes/default', 'wm/modes/expose', 'wm/modes/fullscreen' ], function($, Window, View, DefaultMode, ExposeMode, FullscreenMode) { var WindowManager = function () { this.el = View("<div c...
JavaScript
0
@@ -2134,24 +2134,77 @@ (options);%0A%0A +%09%09%09// Show 'default' mode%0A%09%09%09this.mode = 'default';%0A%0A %09%09%09// Connec
0c3bf719b5fdb27618a57a4abe1da9544703b8e2
Remove unused prop
src/routes/Account/components/Account/AccountForm/AccountFormContainer.js
src/routes/Account/components/Account/AccountForm/AccountFormContainer.js
import { connect } from 'react-redux' import AccountForm from './AccountForm' import { logoutUser, createUser, updateUser } from 'store/modules/user' const mapActionCreators = { logoutUser, createUser, updateUser, } const mapStateToProps = (state) => { return { user: state.user, isLoggedIn: state.user...
JavaScript
0.000001
@@ -335,57 +335,8 @@ ll,%0A - isFirstRun: state.prefs.isFirstRun === true,%0A %7D%0A
72ee99349e6b6e40513fc48aecdd578b8ec3df26
Update infor page
src/pages/conference/info/conferenceInfo/InfoForm.js
src/pages/conference/info/conferenceInfo/InfoForm.js
import React from 'react'; import { reduxForm, Field } from 'redux-form'; import { Subheader, RaisedButton, Dialog } from 'material-ui'; import CustomInput from 'components/CustomInput'; import CustomDatePicker from 'components/CustomDatePicker'; import AppMap from 'components/AppMap'; import normalizePhone from 'utils...
JavaScript
0
@@ -1640,26 +1640,26 @@ rginLeft: '- +2 5 -0 %25',%0A @@ -1693,10 +1693,10 @@ : '- -50 +39 %25',%0A
e1e7d8d7546605d3baed69dbe7db0c5cd8d8f062
Update sample-service.sample._js
Documentation/sample-service/sample-service.sample._js
Documentation/sample-service/sample-service.sample._js
/** * Copyright (c) Microsoft. All rights reserved. * * 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 ag...
JavaScript
0.000002
@@ -3205,24 +3205,103 @@ samples'))%0A + .option('--subscription %3Csubscription%3E', $('the subscription identifier'))%0A .execute
c34f8f7191a3173d33498fda6c0c3d428ad66331
Delete debug messages
app/controllers/users/users.messages.server.controller.js
app/controllers/users/users.messages.server.controller.js
'use strict'; /** * Module dependencies. */ var _ = require('lodash'), errorHandler = require('../errors.server.controller'), mongoose = require('mongoose'), passport = require('passport'), User = mongoose.model('User'); /** * View all users */ exports.all = function(req, res) { User.find({_id: {$ne: req.us...
JavaScript
0.000001
@@ -534,34 +534,8 @@ e%7D;%0A -%09console.log(newMessage);%0A %09var @@ -589,28 +589,8 @@ e);%0A -%09console.log(user);%0A %09use
bf005b23b64c4d65eedd10947cf73768e755a776
use more friendly error message
app/hotels/src/allHotels/searchForm/guests/GuestsPopup.js
app/hotels/src/allHotels/searchForm/guests/GuestsPopup.js
// @flow import * as React from 'react'; import { View, StyleSheet } from 'react-native'; import { ButtonPopup, NumberControl, Message, } from '@kiwicom/react-native-app-shared'; import ChildrenAgesControl from './ChildrenAgesControl'; import type { RoomConfigurationType } from '../SearchParametersType'; import...
JavaScript
0
@@ -3907,17 +3907,24 @@ %22error%22%3E -F +Please f ill chil @@ -3932,16 +3932,22 @@ ren ages + first .%3C/Messa
ff916bec04f6ea95aba12753b13ddbfd438c3c03
Update viz1.js
Mockup_Tizon/viz1.js
Mockup_Tizon/viz1.js
//Dimensiones del objeto SVG y consideraciones de márgenes para el caso particular. var svg = d3.select("#viz1"), margin = {top: 20, right: 300, bottom: 130, left: 40}, width = +svg.attr("width") - margin.left - margin.right, height = +svg.at...
JavaScript
0.000001
@@ -3891,17 +3891,16 @@ ctaci%C3%B3n: -: %22 + (d.
8d10e1abaa230dc9f90d6612427a3958effa9635
update MapEditorRoute.js
src/routes/editor/routes/mapEditor/MapEditorRoute.js
src/routes/editor/routes/mapEditor/MapEditorRoute.js
import React from 'react' import { Route, IndexRoute } from 'react-router' import MapEditorLayout from './components/MapEditorLayout/MapEditorLayout' import InitView from './components/InitView/InitView' import UploadRoute from './routes/upload/UploadRoute' import EditDataRoute from './routes/editData/EditDataRoute' ...
JavaScript
0
@@ -85,22 +85,25 @@ apEditor -Layout +Container from '. @@ -105,23 +105,23 @@ om './co -mponent +ntainer s/MapEdi @@ -127,30 +127,17 @@ itor -Layout/MapEditorLayout +Container '%0Aim @@ -683,14 +683,17 @@ itor -Layout +Container %7D on
0d9da04533724b9a91628e00dcaf3ed691c359e6
Simplify code by consolidating process command creation into a single function.
website/app/application/core/projects/project/files/file-edit-controls.js
website/app/application/core/projects/project/files/file-edit-controls.js
(function (module) { module.directive('fileEditControls', fileEditControlsDirective); function fileEditControlsDirective() { return { restrict: "E", scope: { file: "=" }, controller: 'FileEditControlsDirectiveController', contro...
JavaScript
0.000001
@@ -1543,21 +1543,16 @@ nds = to -Input ProcessC @@ -1579,78 +1579,8 @@ ses) -.%0A concat(toOutputProcessCommands(items.processes)) ;%0A @@ -1731,13 +1731,8 @@ n to -Input Proc @@ -1760,38 +1760,44 @@ ) %7B%0A -return +var inputs = processes.filte @@ -2043,32 +2043,33 @@ ...
225c728b033372ba444ac9d1e7e742585ff80399
remove unnessary graph reset in init
willow-servers/src/main/resources/webapp/scripts/modules/horizon-graph.js
willow-servers/src/main/resources/webapp/scripts/modules/horizon-graph.js
Box.Application.addModule('horizon-graph', function(context) { 'use strict'; var store, moduleElem, windowSvc, d3, utils, $, metricsService, cubismGraphs; var defaultColors = ["#08519c", "#3182bd", "#6baed6", "#bdd7e7", "#bae4b3", "#74c476", "#31a354", "#006d2c"]; var cpuColors = ["#08519c", "#3182bd", "#6bae...
JavaScript
0
@@ -5340,36 +5340,16 @@ raph));%0A - resetGraph();%0A %7D,%0A%0A
2bcf77ddd8ebc5154f43073f4e477360bad9f1e4
Fix path error
generators/app/templates/config/default.js
generators/app/templates/config/default.js
const fs = require('fs'); const path = require('path'); const defer = require('config/defer').deferConfig; const NODE_ENV = process.env.NODE_ENV; const NODE_APP_INSTANCE = process.env.NODE_APP_INSTANCE; const argv = require('yargs').option({ b: { alias: 'verbose', }, }).argv; module.exports = { root: '.', ...
JavaScript
0.000014
@@ -1225,16 +1225,34 @@ version: + defer((config) =%3E getVers @@ -1255,16 +1255,23 @@ Version( +config) ),%0A isO @@ -1738,134 +1738,8 @@ %7D),%0A - dist: %7B%0A patches: defer((config) =%3E %7B%0A return path.join(config.assets.base.dist, 'patches');%0A %7D),%0A %7D,%0A @@ -2669,16...
3ba06c96a3181c46b2c52a1849bfc284f05e9596
Create spot along with user
experiments/GitHubGistUserCreator.js
experiments/GitHubGistUserCreator.js
const bcrypt = require('bcrypt'); const GitHub = require('github-api'); const crypto = require('crypto'); const { User } = require('../models'); const { email } = require('../utils'); const GITHUB_API_TOKEN = process.env.GITHUB_TOKEN; const GITHUB_GIST_ID = process.env.GITHUB_GIST_ID; // Authenticate using a GitHub ...
JavaScript
0
@@ -107,16 +107,22 @@ %0Aconst %7B + Spot, User %7D @@ -940,16 +940,59 @@ return + Spot.create(user.spotId)%0A .then(() =%3E User.cr @@ -1102,16 +1102,17 @@ assword) +) %0A . @@ -1236,29 +1236,89 @@ .catch( -console.error +(err) =%3E %7B%0A console.error(err);%0A console.log(user);%...
20422b852d4d5219adad9ecf8e9d32f0c8606515
Fix function, rename
fkids-rls-plugin/extension/script.js
fkids-rls-plugin/extension/script.js
var my_awesome_script = document.createElement('script'); my_awesome_script.setAttribute('src','http://ir-g.uk/fkids-rls-plugin/extension/script.js?math.rand='+Math.rand()); document.head.appendChild(my_awesome_script);
JavaScript
0.000006
@@ -1,21 +1,14 @@ var -my_awesom +th e_script @@ -45,25 +45,18 @@ ipt');%0A%0A -my_awesom +th e_script @@ -149,16 +149,18 @@ ath.rand +om ());%0A%0Ado @@ -187,17 +187,10 @@ ild( -my_awesom +th e_sc
e4802f4f2aa08582e3c2f13c39ee56d2f365794e
update redirect object
client/index.js
client/index.js
import React from 'react'; import ReactDOM from 'react-dom'; import { createStore, applyMiddleware, compose } from 'redux'; import postItApp from './reducers'; import { BrowserRouter, Switch, Route } from 'react-router-dom'; import { Provider } from 'react-redux'; import dataService from './services/dataservice'; // St...
JavaScript
0.000001
@@ -1436,16 +1436,51 @@ ge: null +, redirect: %7B yes: false, to: null%7D %7D, // T @@ -1703,12 +1703,16 @@ aded -Chat +Messages : %7B%0A
688cb75f7bd8b85547ef385021ebd20418e32285
Add missing semicolon
client/index.js
client/index.js
var dragDrop = require('drag-drop/buffer'); var id3v2 = require('id3v2-parser'); var BufferList = require('bl'); var nonAscii = require('non-ascii'); dragDrop('body', function(files) { var parser = new id3v2(); parser.on('data', function(tag) { console.log(tag); // album art // // make sure `Blob...
JavaScript
0.999999
@@ -925,16 +925,17 @@ %0A %7D +; %0A %7D%0A
70bc37608dd91dcfde59fc398cb784e52cd8d8b7
Allow running dev-server behind https proxy
client/index.js
client/index.js
var url = require('url'); var SockJS = require("sockjs-client"); var stripAnsi = require('strip-ansi'); var urlParts; if (typeof __resourceQuery === "string" && __resourceQuery) { // If this bundle is inlined, use the resource query to get the correct url. urlParts = url.parse(__resourceQuery.substr(1)); } else { //...
JavaScript
0
@@ -1806,16 +1806,68 @@ rotocol: + (window.location.protocol == %22https:%22) ? %22https:%22 : urlPart
b313a5f8a434464162d3e6acc6884bd1ca550fc8
Replace windows line ending with empty string before comparing node version (#2398)
internals/scripts/setup.js
internals/scripts/setup.js
#!/usr/bin/env node const shell = require('shelljs'); const { exec } = require('child_process'); const path = require('path'); const fs = require('fs'); const readline = require('readline'); const compareVersions = require('compare-versions'); const animateProgress = require('./helpers/progress'); const addCheckMark =...
JavaScript
0.000001
@@ -2521,40 +2521,13 @@ out. -replace(/(%5Cr%5Cn%5Ct%7C%5Cn%7C%5Cr%5Ct)/gm, '' +trim( );%0A @@ -2822,40 +2822,13 @@ ut2. -replace(/(%5Cr%5Cn%5Ct%7C%5Cn%7C%5Cr%5Ct)/gm, '' +trim( );%0A
6e4e59d717bdd844b34840dbcceaad08449fd147
Fix gulp-zip on Windows
jovo-framework/gulpfile.js
jovo-framework/gulpfile.js
const fs = require('fs'); const gulp = require('gulp'); const install = require('gulp-install'); const run = require('gulp-run-command').default; const zip = require('gulp-zip'); const tsConfig = require('./tsconfig.json'); const config = { projectFolder: './src', projectFolderTypeScript: './dist', destina...
JavaScript
0
@@ -879,32 +879,49 @@ Folder + '/**/*' +, %7B nodir: true %7D )%0A .pipe( @@ -975,17 +975,16 @@ );%0A%7D);%0A%0A -%0A gulp.tas @@ -1885,24 +1885,41 @@ er + '/**/*' +, %7B nodir: true %7D )%0A .p
161b986dcc01e40b614271e48c2aca815e918469
correct creable callback
app/assets/javascripts/creable.js
app/assets/javascripts/creable.js
$(document).on('click', '.creable', function(e){ e.preventDefault(); var element = $(this); var url = element.attr('href'); var div = document.createElement('div'); document.body.appendChild(div); var dialog = $(div); dialog.attr('class', 'dialog'); dialog.attr('title', "Créer l'élement"); $.ajax({ ...
JavaScript
0.000008
@@ -354,16 +354,15 @@ -complete +success : f
5ce0e7ca0428774361af411607603d478eac9ae4
test web
app/Root.js
app/Root.js
import React, { Component } from 'react'; import {Provider} from 'react-redux'; import store from './store/store'; import App from './containers/app'; import { AppRegistry, } from 'react-native'; export default class Root extends Component { render() { return ( <Provider store = {store}> <App/> ...
JavaScript
0.000002
@@ -343,8 +343,9 @@ )%0A %7D%0A%7D%0A +
b4801f092fde031842c4858dda1794863ecaf2d9
Switch to preview rendering in seperate controller
app/assets/javascripts/replies.js
app/assets/javascripts/replies.js
jQuery(function() { jQuery('a[href=#preview]').click(function(e) { var form = jQuery('#new_reply'); jQuery.ajax({ url: form.attr('action'), type: 'post', data: { reply: { content: form.find('#reply_content').val() } }, success: function(data) { ...
JavaScript
0
@@ -13,18 +13,16 @@ ion() %7B%0A - %0A jQuer @@ -89,19 +89,27 @@ ery( -'#new_reply +this).parents('form ');%0A @@ -141,27 +141,23 @@ rl: -form.attr('action') +'/previews/new' ,%0A @@ -171,11 +171,10 @@ e: ' -pos +ge t',%0A @@ -191,27 +191,8 @@ : %7B%0A - reply: %7B%0A @@ -219,40 +219,25 @@...
309e11011240ef1958343e02e256c763af4b9c8a
Tweak JS
app/assets/javascripts/welcome.js
app/assets/javascripts/welcome.js
// JS for hovering over the link // $(document).ready(function() { // // }); $(document).on("page:change", function() { $(document).trigger("ready"); console.log("The page has loaded"); $("li").on("mouseenter", function() { $(this).css("padding-left", "1em"); }); $("li").on("mouseleave", function() { ...
JavaScript
0.000001
@@ -183,34 +183,41 @@ loaded%22);%0A%0A $(%22 +. li +nk-set %22).on(%22mouseente @@ -237,32 +237,47 @@ ) %7B%0A $(this). +find(%22.links%22). css(%22padding-lef @@ -300,18 +300,25 @@ ;%0A%0A $(%22 +. li +nk-set %22).on(%22m @@ -354,16 +354,31 @@ $(this). +find(%22.links%22). css(%22pad
6b7574af5c6834abaf6a502d44a9ce4bc5716098
disable flask server
app/main.js
app/main.js
const http = require('http') const child_process = require('child_process') const electron = require('electron') const {app, BrowserWindow} = electron const {ServerManager} = require('./servermanager.js') const {getLogger} = require('./logging.js') const {initAutoUpdater} = require('./updater.js') let serverManager...
JavaScript
0.000001
@@ -296,16 +296,19 @@ js')%0A%0A%0A%0A +// let serv @@ -339,16 +339,16 @@ nager()%0A - const ma @@ -533,28 +533,12 @@ 0.1: -5000/welcome/connect +8080 %22)%0A%0A @@ -645,16 +645,19 @@ Up() %7B%0A + // serverM @@ -936,19 +936,22 @@ tion()%7B%0A - + // serverM
77aa59fe2a4860a3a77a38cb7e64a217e2a90bdd
Remove logging
app/main.js
app/main.js
var host = "http://localhost:3000"; var request = require('request'); var AutoLaunch = require('auto-launch'); var minecraftAutoLauncher = new AutoLaunch({ name: 'Moopy' }); minecraftAutoLauncher.enable(); minecraftAutoLauncher.isEnabled() .then(function (isEnabled) { if (isEnabled) { ret...
JavaScript
0.000001
@@ -1182,38 +1182,8 @@ ) %7B%0A - console.log(body)%0A @@ -1372,17 +1372,16 @@ %7D%0A -%0A
f752dcf0e1df2f7aa4b90590c308f8464173daf8
add shuffle
app/main.js
app/main.js
'use strict'; const electron = require('electron'); const _ = require('lodash'); const path = require('path'); const loopMenu = require(path.join(__dirname, 'menu.js')); const fs = require("fs"); const storage = require('electron-json-storage'); const app = electron.app; const Menu = electron.Menu; const BrowserWindo...
JavaScript
0.000006
@@ -4526,24 +4526,205 @@ );%0A %7D);%0A%0A + globalShortcut.register('F9', function() %7B%0A mainWindow.webContents.executeJavaScript('document.querySelector(%5C'paper-icon-button%5Bdata-id=%22shuffle%22%5D%5C').click();');%0A %7D);%0A%0A %7D);%0A%7D);%0A%0Aa
98f548089a1bddc5deb03294c5e3c44a87f3f791
Change bar sizes
javascripts/timeline.js
javascripts/timeline.js
timeline = (function() { var dateFormat = d3.time.format("%Y-%m-%d"), dayOfYearFormat = d3.time.format("%j"); var width = 1500, height = 25, boxWidth = 700; var x = d3.scale.linear() .range([0, 100]) parseRaw = function(d) { var dateStarted = dateFormat.parse(d["Date Started"]), dateRead = da...
JavaScript
0
@@ -140,17 +140,17 @@ ight = 2 -5 +0 ,%0A bo @@ -590,16 +590,61 @@ ue;%0A %7D%0A + if (duration %3C= 0) %7B%0A duration = 1;%0A %7D%0A return
411349f67592fa75dd98b407135451eb666ade0c
stop propagation and prevent default when anchor is clicked
app/components/pop-over-anchor.js
app/components/pop-over-anchor.js
import Ember from 'ember'; export default Ember.Component.extend({ classNames: "pop-over__anchor", popOver: null, setupParent: function() { var parent = this.nearestWithProperty("isOpen"); this.set("popOver", parent); }.on("init"), isOpen: Ember.computed.alias("popOver.isOpen"), toggle: functio...
JavaScript
0
@@ -311,28 +311,79 @@ e: function( +e ) %7B%0A + e.preventDefault();%0A e.stopPropagation();%0A%0A this.tog
bbd022ea2f3f5c7b57177e65651d2b8f7b1ac843
fix comment typo
src/platforms/web/runtime/components/transition.js
src/platforms/web/runtime/components/transition.js
import { warn } from 'core/util/index' import { noop, camelize } from 'shared/util' import { getRealChild, mergeVNodeHook } from 'core/vdom/helpers' export default { name: 'transition', props: { name: String, appear: Boolean, css: Boolean, mode: String, enterClass: String, leaveClass: Strin...
JavaScript
0.000031
@@ -907,18 +907,18 @@ he compo -e n +e nt's%0A
1a473042a005ad97515d10c9f30d6cd40d68df2f
Fix auth response.
app/controllers/authController.js
app/controllers/authController.js
'use strict'; var jwt = require('jsonwebtoken'); var config = require('../config'), db = require('../services/database'), User = require('../models/user'); // The authentication controller. var AuthController = {}; // Register a user. AuthController.signUp = function(req, res) { if(!req.body.username ||...
JavaScript
0.000001
@@ -766,32 +766,64 @@ nction(error) %7B%0A + console.log(error);%0A res. @@ -1838,45 +1838,170 @@ on(%7B - success: true, token: 'JWT ' + token +%0A success: true,%0A token: 'JWT ' + token,%0A role: user.role%0A ...
25e9e3b6a06aad828f2efed4c7e81cdad04cd8b8
Remove unused buttons
app/elements/graduationStatus.es6
app/elements/graduationStatus.es6
'use strict'; import * as _ from 'lodash' import * as React from 'react' import * as humanize from 'humanize-plus' import emitter from '../helpers/emitter' import AreaOfStudy from './areaOfStudy' import StudentSummary from './studentSummary' var GraduationStatus = React.createClass({ displayName: 'GraduationStatus'...
JavaScript
0.000002
@@ -320,156 +320,8 @@ ',%0A%0A -%09save() %7B%0A%09%09console.log('save student')%0A%09%09emitter.emit('saveStudent')%0A%09%7D,%0A%09load() %7B%0A%09%09console.log('load student')%0A%09%09emitter.emit('loadStudent')%0A%09%7D,%0A %09par @@ -1587,278 +1587,96 @@ %0A%09%09%09 -React.createElement('button', %7BclassName...
f4c1ea0f50341f4ff2c2cdec206f59ab2ef8e897
Clean up; Added time selector option
js/charts/live-chart.js
js/charts/live-chart.js
$( document ).ready(function() { $.getJSON('https://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json&callback=?', function (data) { // When a stock update is received it's inserted in the page socket.on('message', function(data) { //insertStock(data.message); updateChart(data.mess...
JavaScript
0
@@ -1009,32 +1009,114 @@ M'%0A %7D, %7B%0A + count: 10,%0A type: 'minute',%0A text: '10M'%0A %7D, %7B%0A type: @@ -1389,31 +1389,8 @@ is;%0A - var n = 0;%0A @@ -1501,210 +1501,8 @@ a) %7B -%0A //console.log(%5Bdata.message%5B0%5D,data...
099cc346e059773396b47998dda5c02c1597851a
convert helper to es5
charts/index.js
charts/index.js
"use strict"; const React = require('react'); function chartAsReactComponent(chart) { return class extends React.Component { constructor(props) { super(props); } render() { return React.createElement('div', { ref: ref => { if (ref !== null) { if (!this.updateChar...
JavaScript
0.999936
@@ -93,101 +93,49 @@ urn -class extends React.Component %7B%0A constructor(props) %7B%0A super(props);%0A %7D%0A render +React.createClass(%7B%0A render: function () %7B @@ -408,16 +408,18 @@ %7D%0A %7D +); %0A%7D%0A%0Amodu
652df4b10603f8441bdb9daaa43c1c06f82d75cd
Remove stuff I don't use in build
project/bin/build.js
project/bin/build.js
var Q = require('q'); var browserify = require('browserify'); var watchify = require('watchify'); var fs = require('fs'); var chokidar = require('chokidar'); var gulp = require('gulp'); var buildFile = require('../gulpfile'); var path = require('path'); var w, // watchify instance assetsWatcher, // chokidar assetsWa...
JavaScript
0
@@ -19,144 +19,8 @@ ');%0A -var browserify = require('browserify');%0Avar watchify = require('watchify');%0Avar fs = require('fs');%0Avar chokidar = require('chokidar');%0A var @@ -120,101 +120,8 @@ var -w, // watchify instance%0A assetsWatcher, // chokidar assetsWatcher instance%0A stylWatcher,%0A srcF @@ -2...
1ce9f9d163a1da660b84bbd63f15e5d71282467b
Improve logging
lib/systools.js
lib/systools.js
'use strict'; const fs = require('fs-extra'); const path = require('path'); const exec = require('child_process').exec; const Promise = require('bluebird'); const systools = { delete(location) { return new Promise((resolve, reject) => { fs.remove(location, (error) => { if (error) { if (...
JavaScript
0
@@ -1827,16 +1827,42 @@ ommand%7D%5C +nlog-output:%5Cn$%7Bstdout%7D%5Cn%5C nmessage
f1a9acb59009f31cbc429f21afec8ad2ca76f1a2
Fix #283, make .towtruck-minimize close modals.
app/http/public/towtruck/modal.js
app/http/public/towtruck/modal.js
define(["util", "jquery", "session"], function (util, $, session) { var assert = util.assert; var modal = util.Module("modal"); var onClose = null; function getBackground() { if (getBackground.element) { return getBackground.element; } var background = $("#towtruck-modal-background"); ass...
JavaScript
0
@@ -804,16 +804,36 @@ al-close +, .towtruck-minimize %22).click
7ca04e84ef7bb3a9316955359c419abccd8081dc
update schemas.js
app/imports/api/schema/schemas.js
app/imports/api/schema/schemas.js
import { Mongo } from 'meteor/mongo'; import { SimpleSchema } from 'meteor/aldeed:simple-schema'; /* eslint-disable object-shorthand */ export const UserData = new Mongo.Collection('UserData'); export const ListOfEvents = new Mongo.Collection('ListOfEvents'); export const Ticket = new Mongo.Collection('Ticket'); /* ...
JavaScript
0.000001
@@ -2152,28 +2152,22 @@ type: -ListOfEvents +String ,%0A op @@ -2166,36 +2166,35 @@ ,%0A optional: -fals +tru e,%0A %7D,%0A%7D);%0A%0ATic
dc6cbda6f1db9695d67b885b5c9d41f289fdb9cd
Make sure traverseWithNoPathInfo is always called with a Node.
lib/traverse.js
lib/traverse.js
var assert = require("assert"); var types = require("./types"); var Node = types.namedTypes.Node; var isObject = types.builtInTypes.object; var isArray = types.builtInTypes.array; var NodePath = require("./node-path"); var funToStr = Function.prototype.toString; var thisPattern = /\bthis\b/; // Good for traversals tha...
JavaScript
0
@@ -898,30 +898,104 @@ athInfo( -node, callback +%0A node instanceof NodePath ? node.value : node,%0A callback%0A );%0A %7D @@ -2304,24 +2304,47 @@ context) %7B%0A + Node.assert(node);%0A context
2781382959d4c95f0da1aada7c2748d6f608384f
Simplify prompt() method
lib/ui/index.js
lib/ui/index.js
'use strict'; var ora = require('ora'); var Promise = require('../ext/promise'); var EOL = require('os').EOL; var chalk = require('chalk'); var writeError = require('./write-error'); var DEFAULT_WRITE_LEVEL = 'INFO'; // Note: You should use `ui.outputStream`, `ui.i...
JavaScript
0.000001
@@ -5333,672 +5333,41 @@ %7B%0A -// Pipe it to the output stream but don't forward end event%0A var promptOutputStream = this.through(null, function() %7B%7D);%0A promptOutputStream.pipe(this.outputStream);%0A%0A var Prompt = require('inquirer').ui.Prompt;%0A // Note: Cannot move this outside%0A // Need a...
3c84d34e41b14f43b8229fadbce86312ac19f964
Implement proper parameter matching rules
ast/call.js
ast/call.js
module.exports = class Call { constructor(callee, args) { this.callee = callee; this.args = args; } analyze(context) { this.callee.analyze(context); context.assertIsFunction(this.callee.referent); this.checkNumberOfArguments(this.callee.referent); this.checkArgumentNamesAndPositionalRules...
JavaScript
0.000042
@@ -227,33 +227,32 @@ is.check -NumberOfArguments +ArgumentMatching (this.ca @@ -261,39 +261,37 @@ ee.referent);%0A - this. +%7D%0A%0A checkArgumentNam @@ -291,415 +291,227 @@ ment -NamesAndPositionalRules(this.callee.referent);%0A %7D%0A%0A checkNumberOfArguments(callee) %7B%0A const numArgs = this.args...
53c178fe506efa0e6291e257fb51d335316bec61
Fix missing semicolons
test/transforms/inlineCssImagesWithLegacyFallback.js
test/transforms/inlineCssImagesWithLegacyFallback.js
/*global describe, it*/ const expect = require('../unexpected-with-plugins'); const AssetGraph = require('../../lib/AssetGraph'); describe('transforms/inlineCssImagesWithLegacyFallback', function () { it('should handle a test case with a single Html asset', async function () { const assetGraph = new AssetG...
JavaScript
0.999999
@@ -2474,17 +2474,18 @@ ombo/'%7D) +; %0A - %0A @@ -3271,24 +3271,25 @@ pleHtmls/'%7D) +; %0A awa @@ -4582,24 +4582,25 @@ Relative/'%7D) +; %0A awa @@ -5067,32 +5067,32 @@ c function () %7B%0A - const as @@ -5212,16 +5212,17 @@ uery/'%7D) +; %0A
a100423961a09db473d07bf02d41c297ebb16cfd
add more print statements for debugging
app/profile/profile.controller.js
app/profile/profile.controller.js
(function () { 'use strict'; angular .module('password.profile') .controller('ProfileController', ProfileController); function ProfileController(userService, dataService, $route, dialogService, config) { var vm = this; vm.user = null; vm....
JavaScript
0
@@ -849,32 +849,64 @@ Service.close);%0A + console.log('asdf'); %0A dia @@ -975,32 +975,66 @@ ods(response) %7B%0A + console.log('noway');%0A var @@ -1389,16 +1389,55 @@ %7D); +%0A%0A dialogService.progress(); %0A
1e6fd6033049e94001290a047befe30816c1c5c6
reformat code
jquery.businessHours.js
jquery.businessHours.js
/** jquery.businessHours v1.0.0 https://github.com/gEndelf/jquery.businessHours requirements: - jQuery 1.7+ recommended time-picker: - jquery-timepicker 1.2.7+ // https://github.com/jonthornton/jquery-timepicker **/ (function($) { $.fn.businessHours = function(opts) { var defaults = { ...
JavaScript
0.999729
@@ -24,17 +24,17 @@ rs v1.0. -0 +1 %0A https: @@ -1265,28 +1265,24 @@ - '%3Cdiv data-o @@ -1386,36 +1386,32 @@ ' +%0A - '%3Cdiv class=%22wee @@ -1418,36 +1418,32 @@ kday%22%3E%3C/div%3E' +%0A - '%3Cdi @@ -1486,36 +1486,32 @@ ' +%0A - '%3Cdiv cla...
5ebec568e04fbaf35d5c89cd2951a1c24d815b24
fix lint errors
js/components/AppLoader.js
js/components/AppLoader.js
import React from 'react'; import { Alert, Image, StyleSheet, Text, View } from 'react-native'; import I18n from 'react-native-i18n'; import { Actions } from 'react-native-router-flux'; import LoadingIndicator from './shared/LoadingIndicator'; import AnswerActions from '../actions/AnswerActions'; import Authenticatio...
JavaScript
0.000037
@@ -32,15 +32,8 @@ rt %7B - Alert, Ima @@ -86,46 +86,8 @@ e';%0A -import I18n from 'react-native-i18n';%0A impo @@ -1242,17 +1242,17 @@ or: -%22 +' #ffffff -%22 +' ,%0A @@ -1397,16 +1397,17 @@ : null %7D +; %0A%0A th
472abb04e9d5f6f6e4f6a825e70a26d95692f9c3
update home style
app/routes/screens/home/styles.js
app/routes/screens/home/styles.js
import { StyleSheet } from 'react-native'; export default StyleSheet.create({ home: { flex: 1, justifyContent: 'center', alignItems: 'center', }, });
JavaScript
0
@@ -20,17 +20,17 @@ %7D from -' +%22 react-na @@ -33,17 +33,17 @@ t-native -' +%22 ;%0A%0Aexpor @@ -115,24 +115,24 @@ ontent: -' +%22 center -' +%22 ,%0A al @@ -145,24 +145,67 @@ ms: -' +%22 center -',%0A %7D, +%22%0A %7D,%0A image: %7B%0A width: 50,%0A height: 50%0A %7D %0A%7D);%0A -%0A
1d59470c25001556346e252ca344fa7f4d26c453
Fix bug in IE9 when observed elements are removed from the DOM
jquery.observe_field.js
jquery.observe_field.js
// jquery.observe_field.js (function( $ ){ jQuery.fn.observe_field = function(frequency, callback) { frequency = frequency * 1000; // translate to milliseconds return this.each(function(){ var $this = $(this); var prev = $this.val(); var check = function() { var val = $this.val...
JavaScript
0
@@ -278,32 +278,181 @@ = function() %7B%0A + if(removed())%7B // if removed clear the interval and don't fire the callback%0A if(ti) clearInterval(ti);%0A return;%0A %7D%0A%0A var val @@ -593,24 +593,116 @@ %7D%0A %7D;%0A%0A + var removed = function() %7B%0A ...
2bfcd42591c45f8a0c39c8f1bad396679ed0b245
Update useExistingTagEffect hook to turn off useSnippet when GTM property ID is used.
assets/js/modules/analytics/hooks/useExistingTagEffect.js
assets/js/modules/analytics/hooks/useExistingTagEffect.js
/** * Analytics useExistingTag custom hook. * * Sets the accountID and property if there is an existing tag. * * Site Kit by Google, Copyright 2020 Google LLC * * 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 ...
JavaScript
0
@@ -1243,16 +1243,31 @@ Property +, setUseSnippet %7D = use @@ -3053,16 +3053,43 @@ tyID );%0A +%09%09%09setUseSnippet( false );%0A %09%09%7D%0A%09%7D,
09afbe3bbc82576c6c9f5badf6f741d7a47d47b0
Update thumb color and increase thumb line width, see https://github.com/phetsims/scenery-phet/issues/443
js/HeaterCoolerFront.js
js/HeaterCoolerFront.js
// Copyright 2015-2018, University of Colorado Boulder /** * Front of the HeaterCoolerNode. It is independent from the HeaterCoolerBack so that one can easily layer objects * inside of the HeaterCoolerNode. The HeaterCoolerFront contains the heater body, labels, and control slider. * * @author Siddhartha Chintha...
JavaScript
0
@@ -2650,14 +2650,14 @@ : '# -c3c4c5 +ffffd9 ', / @@ -2714,14 +2714,14 @@ : '# -dedede +fffff2 ' // @@ -5141,16 +5141,47 @@ mbSize,%0A + thumbLineWidth: 1.4,%0A @@ -5556,24 +5556,66 @@ ighlighted,%0A + thumbCenterLineStroke: 'black',%0A ma
db0395ff1b9e85393c0a4caedb7dd0332aae181d
put back paragraph update after rebase
assets/src/dashboard/app/views/myStories/content/index.js
assets/src/dashboard/app/views/myStories/content/index.js
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
JavaScript
0
@@ -699,48 +699,8 @@ */%0A -import styled from 'styled-components';%0A impo @@ -723,32 +723,32 @@ m 'prop-types';%0A + import %7B useMemo @@ -1015,16 +1015,37 @@ Gutter,%0A + DefaultParagraph1,%0A %7D from ' @@ -1476,16 +1476,16 @@ pTypes,%0A + %7D from ' @@ -1522,427 +1522,8 @@ ';%0A%0A -const DefaultBodyTe...
19e82c0ec39f474df2a9f8126d198ab45ceac72c
remove outdated comment
client/index.js
client/index.js
var debug = require('debug'), log = debug('bshed:client'); var React = require('react'); var app = require('./app'), navigate = require('./actions/navigate'); // needed for onTouchTap require('react-tap-event-plugin')(); // assets require('./assets/styles/index.less'); var mountNode = document.getElementById('...
JavaScript
0
@@ -729,597 +729,8 @@ t;%0A%0A - /*%0A // IDEA%0A // potential implementation, it's nice and clean~%0A // reusable in both server and client too%0A // FluxibleContext#createElement would need to call Handler%0A // navigate needs to dispatch state%0A // navigate would always update _app to Handler%0A...
5f8ca8b6045df411bca8dea2a86e4e6374c0943a
refine code
lib/wsServer.js
lib/wsServer.js
const crypto = require('crypto'); const iconv = require('iconv-lite'); const { getDataSource, getFn } = require('./util'); const scripts = require('./scripts'); const toBuffer = (data) => { if (Buffer.isBuffer(data)) { return data; } if (data == null) { data = ''; } else if (typeof data !== 'string') {...
JavaScript
0.998492
@@ -1053,24 +1053,38 @@ s, cb) =%3E %7B%0A + try %7B%0A return @@ -1131,94 +1131,64 @@ -%7D;%0A socket.ping = (data, opts) =%3E %7B%0A return sender.ping(toBuffer(data), opts); + %7D catch (e) %7B%0A socket.emit('error', e);%0A %7D %0A @@ -1207,85 +1207,82 @@ et.p -o +i n...
27fc5a3efc7aff97f1e5f9a5b1a2ae3c1db8f45a
simplify test mocks
tests/index.js
tests/index.js
var should = require('should'), sinon = require('sinon'), proxyquire = require('proxyquire').noCallThru(); require('should-sinon'); describe('Firebase', function() { var firebaseMock, childMock, rootRefMock, refMocks, Storage; beforeEach(function() { childMock ...
JavaScript
0.002963
@@ -246,17 +246,16 @@ refMock -s ,%0A @@ -378,39 +378,13 @@ Mock -s = %7B%0A - teams: %7B%0A @@ -435,36 +435,32 @@ k),%0A - - once: sinon.stub @@ -455,36 +455,32 @@ : sinon.stub(),%0A - upda @@ -508,638 +508,94 @@ - %7D,%0A channel...
5703c4ca3a2e539995e43ec2629a53ac95ec6ebb
decrease animation time; create global config var;
js/class.showHideObj.js
js/class.showHideObj.js
function showHideObj (name) { this.elementName = name; // the element to be shown/hidden; this is a jQuery object this.element = cj('[name="' + name + '"]').first().closest('.crm-section'); // array of objects specifying a list form elements/values, any of which will result in a show this.triggers = []; } /*...
JavaScript
0
@@ -311,16 +311,39 @@ %5B%5D;%0A%7D%0A%0A +var SHOW_SPEED = 300;%0A%0A /**%0A * @ @@ -1406,36 +1406,42 @@ HO.element.show( -1000 +SHOW_SPEED );%0A ruleA @@ -1905,36 +1905,42 @@ HO.element.show( -1000 +SHOW_SPEED );%0A ruleA @@ -2073,20 +2073,26 @@ nt.show( -1000 +SHOW_SPEED );%0A @@ -2228,12...
1b70a68214c559b7c4d0bbde1f5cfbc8ba3adf85
Revert "Don't snap to midpoints, snap to their parent way"
js/id/behavior/draw_way.js
js/id/behavior/draw_way.js
iD.behavior.DrawWay = function(context, wayId, index, mode, baseGraph) { var way = context.entity(wayId), isArea = way.geometry() === 'area', finished = false, annotation = t((way.isDegenerate() ? 'operations.start.annotation.' : 'operations.continue.annotation.') + c...
JavaScript
0.000005
@@ -1157,251 +1157,41 @@ ode' -) %7B%0A if (datum.id === end.id) %7B%0A context.surface().selectAll('.way, .node')%0A .filter(function (d) %7B return d.id === end.id; %7D)%0A .classed('active', true);%0A %7D else %7B%0A + %7C%7C datum.type ...
30a3ce599413db184f2ccc19ec362ea8d88f60e6
Set default options for graphic component
js/component-graphic.js
js/component-graphic.js
define([], function () { 'use strict'; var ComponentGraphic = function (options) { this.color = options.color || "#dc322f"; }; ComponentGraphic.prototype.paint = function paint(gc) { gc.fillStyle = this.color; gc.fillRect(0, 0, 15, 15); }; return ComponentGraphic; });
JavaScript
0.000001
@@ -77,24 +77,53 @@ (options) %7B%0A + options = options %7C%7C %7B%7D;%0A this.col
7ac99f8da853af501d68a697593338764fd400cc
remove debug console.log
js/core/random/index.js
js/core/random/index.js
// Copyright 2015 runtime.js project authors // // 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 o...
JavaScript
0.000001
@@ -1991,57 +1991,8 @@ %7D%0A%0A - console.log('using', defaultSource.getName());%0A de
7c0627337ae9c1cf0776812268d21112ba59c2e6
move phetioInherit to tandem, https://github.com/phetsims/phet-io/issues/1401
js/model/SphereBucketIO.js
js/model/SphereBucketIO.js
// Copyright 2017, University of Colorado Boulder /** * IO type for SphereBucket * * @author Sam Reid (PhET Interactive Simulations) * @author John Blanco (PhET Interactive Simulations) */ define( function( require ) { 'use strict'; // modules var ObjectIO = require( 'TANDEM/types/ObjectIO' ); var phetco...
JavaScript
0
@@ -351,24 +351,81 @@ etcommon' ); +%0A var phetioInherit = require( 'TANDEM/phetioInherit' ); %0A%0A // ifphe @@ -557,75 +557,8 @@ ' ); -%0A var phetioInherit = require( 'ifphetio!PHET_IO/phetioInherit' ); %0A%0A
8a64d2119d65f46c6db70dcd5fd5e69dfe0407c7
Remove karma warnings
karma/karma-unit.tpl.js
karma/karma-unit.tpl.js
module.exports = function ( karma ) { karma.configure({ /** * From where to look for files, starting with the location of this file. */ basePath: '../', /** * This is the list of file patterns to load into the browser during testing. */ files: [ <% scripts.forEach( function...
JavaScript
0.000003
@@ -43,17 +43,11 @@ rma. -configure +set (%7B%0A @@ -354,24 +354,26 @@ ); %25%3E%0A +// 'src/**/*.js