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 |
|---|---|---|---|---|---|---|---|
5df9f2860525be059fcf9fef325adfea8535bc4d | revert to white. | lib/NodeGaudiBuilder.js | lib/NodeGaudiBuilder.js | /*
nodeGaudi platform agnostic build tool.
Copyright 2014 Sam Saint-Pettersen.
Gaudi implemented with Node.js
Released under the MIT/X11 License.
Please see LICENSE file.
*/
// Internal includes.
var habitat = require('./NodeGaudiHabitat.js');
// Node.js standard and module includes.
var fs = require('fs');
var g =... | JavaScript | 0.000007 | @@ -3656,20 +3656,21 @@
colors.
-gray
+white
(p.stdou
|
7025f06228a82d2238cb7a1c9e6d94a4f0a41570 | add default-on option to strip literal HTML in the input markdown file before conversion. | lib/actions/markdown.js | lib/actions/markdown.js | /*
* phgm-build
* https://github.com/phonogram-joe/phgm-build
*
* Copyright (c) 2012 Joseph C. Savona
* Licensed under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
var fs = require('fs');
var path = require('path');
var action = require('./action');
var file = require('../u... | JavaScript | 0 | @@ -382,16 +382,168 @@
n');%0D%0A%0D%0A
+var htmlRegexp = %7B%0D%0A%09comment: /%3C!--%5B%5E%3E%5D*--%3E/gm,%0D%0A%09selfClosing: /%3C%5B%5E%3E%5D+%5C/%3E/gm,%0D%0A%09openToClose: /%3C%5B%5E%3E%5D*%3E%5B%5E%3E%5D*%3C%5Cs*%5C/%5B%5E%3E%5D*%3E/gm,%0D%0A%09tagOnly: /%3C%5B%5E%3E%5D*%3E/gm%0D%0A%7D%0D%0A%0D%0A
var Mark
@... |
a4f44fecba2544267f517cd3be005409361ca540 | Add proxy error handler | src/proxy.js | src/proxy.js | const _ = require('lodash');
const url = require('url');
const httpProxy = require('http-proxy');
const headers = require('./lib/headers');
const cookie = require('cookie');
const Cookie = require('tough-cookie').Cookie;
const harmon = require('harmon');
const srcset = require('srcset');
const cssUrlPattern = /url\(\s*... | JavaScript | 0.000001 | @@ -600,16 +600,79 @@
le' %5D;%0A%0A
+%09proxy.on('error', error =%3E log.error('Proxy error', error));%0A%0A
%09proxy.o
|
a7e125f169e8e8cba61e4cb0ad096dd227006595 | remove noisy comments | src/react.js | src/react.js | import * as t from "./index";
export var isReactComponent = t.buildMatchMemberExpression("React.Component");
/**
* [Please add a description.]
*/
export function isCompatTag(tagName) {
return tagName && /^[a-z]|\-/.test(tagName);
}
/**
* [Please add a description.]
*/
function cleanJSXElementLiteralChild(chi... | JavaScript | 0 | @@ -108,48 +108,8 @@
);%0A%0A
-/**%0A * %5BPlease add a description.%5D%0A */%0A%0A
expo
@@ -197,48 +197,8 @@
%0A%7D%0A%0A
-/**%0A * %5BPlease add a description.%5D%0A */%0A%0A
func
@@ -1192,48 +1192,8 @@
%0A%7D%0A%0A
-/**%0A * %5BPlease add a description.%5D%0A */%0A%0A
expo
|
19f0254deb6c7f7722d8afffae9cb91b078659b4 | Fix errors in shot collisions | src/shots.js | src/shots.js | 'use strict';
var params = require('./params');
function Shots(level) {
this.level = level;
this.group = level.add.group();
this.group.enableBody = true;
this.group.physicsBodyType = Phaser.Physics.ARCADE;
this.objs = {};
this.counter = 0;
}
Shots.prototype = {
// type, position(x, y), direction(x, y)
spawn: ... | JavaScript | 0.000331 | @@ -563,51 +563,20 @@
ite.
-x = px;%0A%09%09%09sprite.y = py;%0A%09%09%09sprite.revive(
+reset(px, py
);%0A%09
|
fa98e460b98095390ccb63cd2bc2d6d68e2a33d5 | Simplify skill annotation | src/skill.js | src/skill.js | import { Unauthorized, NotFound, InternalServer } from './error-codes';
const isAuthorized = (expected = {}, actual = {}) => new Promise((resolve, reject) => {
const isOK = !expected.applicationId || expected.applicationId === actual.applicationId;
return isOK ? resolve() : reject(Unauthorized);
});
const SkillAn... | JavaScript | 0.000018 | @@ -572,29 +572,22 @@
%3E %7B%0A
-const skill =
+return
new Ski
@@ -604,42 +604,8 @@
tes)
-;%0A return (skill.route && skill
.rou
@@ -615,17 +615,16 @@
request)
-)
%7C%7C Prom
@@ -685,26 +685,8 @@
rn (
-response.build &&
type
|
45f2c905e105f60f0ab07020508552e29711e224 | Fix State reducer to use state hydration from redux (#10) | src/state.js | src/state.js | import { dispatch } from './middleware'
import { addAction } from './actions'
export default function (...args) {
// Detect Optional Config Object
const isSandboxed = args.length > 1
let sandboxName = isSandboxed ? args[0] : undefined
const actions = isSandboxed ? args[1] : args[0]
// Checks
if (sandboxNa... | JavaScript | 0 | @@ -590,16 +590,18 @@
ns = %7B%7D%0A
+
%0A let c
@@ -611,31 +611,16 @@
entState
- = initialState
%0A%0A cons
@@ -652,23 +652,8 @@
tate
- = initialState
, ac
@@ -942,24 +942,287 @@
tate)%0A %7D%0A
+ else %7B%0A // If the store already has a stored previous state, use that%0A // Otherwise, fall... |
6412e3da38523404015c6c8465be4ac99e9e0cb4 | Store should fail based on error code too | src/store.js | src/store.js | const request = require('request');
/**
* @class Store
* @desc Describes an OpenStack Object Storage API endpoint
* @param url {String} Object storage API url
* @constructor
*/
function Store(url = 'http://127.0.0.1') {
//Init member attributes
this._url = url;
// Bind member functions
this.getUR... | JavaScript | 0.000001 | @@ -1320,18 +1320,8 @@
or,
-__unused__
resp
@@ -1388,16 +1388,120 @@
error);%0A
+%09%09%09else if (%5B200, 204%5D.indexOf(response.statusCode) %3C 0)%0A%09%09%09%09reject(new Error(response.statusMessage));%0A
|
d036c6696e98f124b533ebc5a90e033fe4527840 | Refactor to ES6 standards | src/store.js | src/store.js | import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
appStatus: {
message: null,
state: 'loading'
},
weather: {},
geocode: {},
coordinates: {
latitude: null,
longitude: null
},
inputQuery: null,
locationIcon: 'se... | JavaScript | 0 | @@ -963,33 +963,32 @@
.then(
-(
response
) =%3E %7B%0A
@@ -967,33 +967,32 @@
.then(response
-)
=%3E %7B%0A
@@ -1263,38 +1263,36 @@
nse.json().then(
-(
data
-)
=%3E %7B%0A
@@ -2407,25 +2407,24 @@
.then(
-(
response
) =%3E %7B%0A
@@ -2415,17 +2415,16 @@
response
-)
=%3E... |
c821eb21881037d07b7d82b5f183cad6ea73d293 | disable persistance | src/store.js | src/store.js | /* eslint-disable no-underscore-dangle */
import { createStore, applyMiddleware, compose, combineReducers } from 'redux';
import thunk from 'redux-thunk';
import { persistStore, autoRehydrate } from 'redux-persist';
import { reducer as cryptoPrices } from '@digix/redux-crypto-prices/src';
import { reducer as web3Redux... | JavaScript | 0.000002 | @@ -1096,19 +1096,20 @@
rsist =
-tru
+fals
e;%0A%0Acons
|
22ca08179d2d1fdc25c0d9a61d79ea95b31bacd1 | Use expect().to.be() assertion | test/spec/ol/interaction/modifyinteraction.test.js | test/spec/ol/interaction/modifyinteraction.test.js | goog.provide('ol.test.interaction.Modify');
describe('ol.interaction.Modify', function() {
var target, map, source, features;
var width = 360;
var height = 180;
beforeEach(function(done) {
target = document.createElement('div');
var style = target.style;
style.position = 'absolute';
style.l... | JavaScript | 0.000037 | @@ -2667,31 +2667,23 @@
ture
- === feature).to.be.ok(
+).to.be(feature
);%0A
|
21fdcf731938276b91aad1790248c81616172a1c | Make sure we return proper wrapper on elements | src/tools.js | src/tools.js | angular.module('com.likalo.ui')
.factory('$uiTools', [
'$timeout',
'$document',
function ($timeout, $document) {
var ngModelNoop = function () {
this.$viewValue = undefined;
this.$modelValue = undefined;
this.$formatters = [];
this.$parsers = [];
};
ngMod... | JavaScript | 0.000001 | @@ -1224,24 +1224,40 @@
nt%22) return
+angular.element(
el.parentEle
@@ -1260,16 +1260,17 @@
tElement
+)
;%0A
@@ -1310,16 +1310,32 @@
return
+angular.element(
el.previ
@@ -1340,24 +1340,25 @@
viousSibling
+)
;%0A
@@ -1390,16 +1390,32 @@
return
+angular.element(
el.nextS
@@ -1416,24 +1416,... |
ba59f9176c866de351120d9482657be59f16119c | Fix redux-logger | src/shared/state/store.js | src/shared/state/store.js | import { createStore, applyMiddleware, compose } from 'redux';
import thunkMiddleware from 'redux-thunk';
import axios from 'axios';
import { routerMiddleware } from 'react-router-redux';
import rootReducer from './reducers';
// This enables Redux Dev Tools chrome extension if it is available on the window.
// I've al... | JavaScript | 0.000139 | @@ -1365,62 +1365,8 @@
%5D;%0A%0A
- const enhancers = %5BapplyMiddleware(...middleware)%5D;%0A
//
@@ -1616,24 +1616,78 @@
rue %7D));%0A %7D
+%0A const enhancers = %5BapplyMiddleware(...middleware)%5D;
%0A%0A // Creat
|
050c02985b5456c15b3557a8be307cfa0cf903bf | remove unnecssary types | src/types.js | src/types.js | type Storage = {
read: Function,
write: Function
}
export type StoreOptions = {
storage: Storage
}
| JavaScript | 0.000004 | @@ -1,106 +1,9 @@
-type Storage = %7B%0A read: Function,%0A write: Function%0A%7D%0A%0Aexport type StoreOptions = %7B%0A storage: Storage%0A%7D
+// @flow
%0A
|
ab89f9d882ce20fefd01fb65f481fdab722a945e | Update utils.js | src/utils.js | src/utils.js | /*
MagJS v0.27.1
http://github.com/magnumjs/mag.js
(c) Michael Glazer
License: MIT
*/
(function(mag) {
'use strict';
var utils = {};
utils.isObject = function(obj) {
//For Safari
return Object.prototype.toString.call(obj).substr(-7) == 'Object]';
}
utils.isHTMLEle = function(item) {
return it... | JavaScript | 0.000001 | @@ -793,24 +793,8 @@
var
-queue = %5B%5D,%0A
sche
@@ -805,16 +805,16 @@
d = %5B%5D;%0A
+
%0A utils
@@ -903,36 +903,29 @@
-queue.push(fun);%0A if (!
+cancelAnimationFrame(
sche
@@ -934,21 +934,18 @@
led%5Bid%5D)
- %7B%0A
+;%0A
sc
@@ -1005,98 +1005,15 @@
- scheduled%5Bid%5D = 0;%0A ... |
9537bac3f03d47ad88c34cc16fbfaac8c23d2680 | Fix bug where text was not centered in IE. Fixes #52 | src/utils.js | src/utils.js | // Utility functions
var PREFIXES = 'webkit moz o ms'.split(' ');
// Copy all attributes from source object to destination object.
// destination object is mutated.
function extend(destination, source, recursive) {
destination = destination || {};
source = source || {};
recursive = recursive || false;
... | JavaScript | 0 | @@ -35,20 +35,20 @@
= '
-w
+W
ebkit
-moz o
+Moz O
ms'
@@ -1515,27 +1515,16 @@
refix =
-capitalize(
PREFIXES
@@ -1526,17 +1526,16 @@
FIXES%5Bi%5D
-)
;%0A
|
92d508e289a655c04952fd97dc45a075b24a4bf2 | Update utils.js | src/utils.js | src/utils.js | /*
MagJS v0.26.3
http://github.com/magnumjs/mag.js
(c) Michael Glazer
License: MIT
*/
(function(mag) {
'use strict';
var utils = {};
utils.isObject = function(obj) {
return '' + obj === '[object Object]';
}
utils.callHook = function(hookins, key, name, i, data, before) {
if (hookins[name][i].key ... | JavaScript | 0.000011 | @@ -12,9 +12,9 @@
.26.
-3
+7
%0Ahtt
@@ -177,37 +177,62 @@
-return '' + obj
+//For Safari%0A return obj.toString().substr(-7)
==
-=
'
-%5Bobject
Obje
|
531e71c6de52da2dcfd212f94fb19d40ac40d7fb | fix isSameDay function | src/utils.js | src/utils.js | import moment from 'moment';
const DEPRECATION_MESSAGE = 'isSameUser and isSameDay should be imported from the utils module instead of using the props functions';
export function isSameDay(currentMessage = {}, diffMessage = {}) {
let currentCreatedAt = moment(currentMessage.createdAt);
let diffCreatedAt = moment... | JavaScript | 0.999973 | @@ -226,16 +226,69 @@
%7B%7D) %7B%0A%0A
+ if(!diffMessage.createdAt) %7B%0A return false%0A %7D%0A%0A
let cu
@@ -396,96 +396,8 @@
);%0A%0A
- if (!currentCreatedAt.isValid() %7C%7C !diffCreatedAt.isValid()) %7B%0A return false;%0A %7D%0A%0A
re
|
a090c7176352ebf3b441573269cb1e4f3f46074d | fix to path resolution of middleware | intro.js | intro.js | #!/usr/local/bin/node
'use strict'
const
paths = {
HttpServer: './lib/HttpServer',
middleware: './lib/middleware',
config: './config',
log: 'startup.log',
logsys: 'sys.log'
}
,
config = require(paths.config)
,
fs = require('fs'),
path = require('path'),
os = require('os')
,
{ logLev... | JavaScript | 0.000074 | @@ -590,16 +590,40 @@
readdir(
+path.resolve(__dirname,
paths.mi
@@ -630,16 +630,17 @@
ddleware
+)
, (err,
|
3f4a54b296b43aea232acae8dc902d206402413d | Print error event to console. | src/verse.js | src/verse.js | /*
* Verse Websocket Asynchronous Module
*
* The MIT License (MIT)
*
* Copyright (c) 2013-2014 Jiri Vrany, Jiri Hnidek
*
* 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 restr... | JavaScript | 0 | @@ -1967,17 +1967,16 @@
*
-
hadler f
@@ -2118,17 +2118,26 @@
et Error
-'
+: ', event
);%0A
|
d300129e70068e064ce34bde1553948a12a4dd56 | send wrongness rather than text | static/at.js | static/at.js | /*
Schedule things to happen at certain times
By Thomas Levine, standing on the substantial shoulders
of his group at the HTML5 Hackathon at Google Kirkland
----
Copyright 2011, Thomas Levine
Distributed under the terms of the GNU Affero General Public License
This program is free software: you... | JavaScript | 0 | @@ -1829,84 +1829,8 @@
%7D
-%0A if (typeof(options.log)==='true')%7B%0A options.log=console.log;%0A %7D
%0A%0A
@@ -2176,277 +2176,31 @@
-if (wrongness%3E0) %7B%0A options.log('Running '+wrongness+' milliseconds early');%0A %7D else if (wrongness%3C0) %7B%0A options.log('... |
cb72b44390711be0dbabeadcd7dddff1b1c91a5e | fix crud requester | app/core/requester.js | app/core/requester.js | var Middleware = require('../middleware/middleware');
var Routing = require('./routing');
var routes = require('../config/routes');
var Error = require('./errors');
var CRUD = require('./crud');
var Requester = {
/**
* Init Default object for routing
* @params Object defaults options
*/
in... | JavaScript | 0 | @@ -4668,17 +4668,17 @@
%0A
-1
+0
: %7B%0A
@@ -4828,9 +4828,9 @@
-2
+1
: %7B
@@ -4979,33 +4979,33 @@
%7D,%0A%0A
-3
+2
: %7B%0A met
@@ -5308,33 +5308,33 @@
%7D,%0A%0A
-3
+4
: %7B%0A met
@@ -5516,24 +5516,54 @@
n routes) %7B%0A
+ console.log(routes%5B... |
b3b92de9884b36e3e8519528cf42a098601caae6 | rename to shouldSkip | sub_peers.js | sub_peers.js | // Copyright (c) 2015 Uber Technologies, Inc.
//
// 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 use, copy, modify, merge... | JavaScript | 0.998878 | @@ -4773,24 +4773,25 @@
tPort%5D;%0A
+%0A
if (!req
@@ -4786,21 +4786,32 @@
-if (!req %7C%7C !
+var shouldSkip = req &&
req.
@@ -4827,20 +4827,19 @@
teAddrs
-%7C%7C !
+&&
req.trie
@@ -4860,16 +4860,41 @@
ostPort%5D
+;%0A if (!shouldSkip
) %7B%0A
|
1bc83fc69ff06dc9f56137ac18b779b418a6ab53 | Build URL was not correctly made. | dnss-web/src/main/webapp/resources/js/skill.js | dnss-web/src/main/webapp/resources/js/skill.js | function Skill(id, s, e) {
var t = this;
var level = 0;
var pos = -1;
var advancement = -1;
var def = s.levels[0].required_level == 1 ? 1 : 0;
var started = false;
var hooks = [];
this.setLevel = function(lvl) {
level = lvl;
};
this.getLevel = function() {
return def && !level ? 1 : level;... | JavaScript | 0 | @@ -1986,41 +1986,13 @@
l()
-== 1 && def ? 0 : this.getLevel()
+- def
);%0A
|
fcc627486c9ccc2ae6ac765e0dc111a54ef49107 | Check URL and existence of errors in conditionalFormSubmit command | tests/nightwatch/commands/conditionalFormSubmit.js | tests/nightwatch/commands/conditionalFormSubmit.js | 'use strict';
exports.command = function(shouldSubmitForm, callback) {
var client = this;
this.perform(function() {
if(shouldSubmitForm) {
client.submitForm('form', function() {
console.log(' ◇ Form submitted');
});
}
});
return client;
};
| JavaScript | 0 | @@ -8,16 +8,43 @@
rict';%0A%0A
+var url = require('url');%0A%0A
exports.
@@ -150,143 +150,610 @@
-if(shouldSubmitForm) %7B%0A client.submitForm('form', function() %7B%0A console.log(' %E2%97%87 Form submitted');%0A %7D);%0A %7D%0A %7D);
+var urlBeforeSubmit;%0A%0A client.url(function... |
122d58c7b0ea1b5e774773296160bce29a51efcd | Add availableItems helper to patron-client server | redef/patron-client/server.js | redef/patron-client/server.js | /*globals process */
"use strict";
var express = require('express'),
hbs = require('hbs'),
http = require('http'),
config = require('./lib/config'),
graph = require('./lib/graph'),
app = express(),
Server;
app.set('view engine', 'hbs');
app.use(express.static('public'));
hbs.registerHelper('f... | JavaScript | 0 | @@ -1051,16 +1051,219 @@
);%0A%7D);%0A%0A
+hbs.registerHelper('availableItems', function (items, graph) %7B%0A return items.filter(function (item) %7B%0A return item.property(graph.resolve(%22deichman:status%22))%5B0%5D.value === %22AVAIL%22;%0A %7D).length;%0A%0A%7D);%0A%0A
function
|
15a0404d7c959ce1d5c71d30b0d40573991d6d7e | Update product.config.js | config/product.config.js | config/product.config.js | const base = require('./base.config.js');
const webpack = require('webpack');
const path = require('path');
const proPlugins = [
new webpack.HashedModuleIdsPlugin(),
];
base.module.rules.push({
test: /\.css$/,
exclude: ['node_modules'],
use: ['vue-style-loader', {
loader: 'css-loader... | JavaScript | 0.000001 | @@ -225,40 +225,8 @@
/,%0D%0A
- exclude: %5B'node_modules'%5D,%0D%0A
|
b56f9deb14e6dd399bf7be84f749becdb3e9ddc6 | Fix typo | config/requirejs.conf.js | config/requirejs.conf.js | require.config({
paths: {
base64: 'lib/base64/base64',
json: 'lib/requirejs-plugins/src/json',
'event-emitter': 'lib/event-emitter/src/event-emitter',
inherits: 'lib/inherits/inherits',
md5: 'lib/js-md5/js/md5',
mout: 'lib/mout/src',
sinon: 'lib/sinonjs/sinon',
chai: 'node_modules/chai... | JavaScript | 0.999999 | @@ -409,20 +409,22 @@
r: 'lib/
-node
+semver
-lite/se
|
4ad66ca9fc0049ef56698e5ceb3fbd4c8ccacb7a | remove reference to level as de-levelled | js/ui.js | js/ui.js | class Background {
constructor() {
this.level1();
}
level1() {
// for (var i = DontPanic.game.world.height; i >= 0; i -= 1200) {
// DontPanic.game.add.image(0, i, 'background1');
// }
this.background = DontPanic.game.add.tileSprite(0, 0, DontPanic.game.width, Don... | JavaScript | 0.999082 | @@ -36,202 +36,8 @@
) %7B%0A
- this.level1();%0A %7D%0A%0A level1() %7B%0A // for (var i = DontPanic.game.world.height; i %3E= 0; i -= 1200) %7B%0A // DontPanic.game.add.image(0, i, 'background1');%0A // %7D%0A
@@ -197,9 +197,9 @@
(0,
-2
+5
0);%0A
|
ae7aec3538863e7bf2b4bdd3b4f8cccbd670e60c | fix JSONP callback for raw responses | jsonp.js | jsonp.js | /*
JSONProxy Client Library - WORK IN PROGRESS
http://jsonp.jit.su
by Aidan Feldman
MIT license
*/
/*jshint browser:true */
/*global jQuery */
(function($){
// groups: protocol, host, path
var regex = /^(?:(?:(?:((?:file|https?):))?\/\/)?((?:[\w\-]\.?)+(?::\d+)?)?(\/\S*)?)$/i;
function proxyUrl(url, dataType){
... | JavaScript | 0.000001 | @@ -302,24 +302,19 @@
rl(url,
-dataType
+raw
)%7B%0A u
@@ -387,27 +387,11 @@
if (
-dataType === 'text'
+raw
)%7B%0A
@@ -949,16 +949,49 @@
dataType
+,%0A raw = dataType === 'text'
;%0A%0A /
@@ -1439,24 +1439,19 @@
rl(url,
-dataType
+raw
);%0A
@@ -1576,24 +1576,19 @@
rl(url,
-dataType
+raw
)... |
9b4e2767afba6de2d30f70324beb07c8e42d5d2f | Allow for embedded batches #1050 | src/core-notification.js | src/core-notification.js | (function($$){ 'use strict';
$$.fn.core({
notify: function( params ){
if( this._private.batchingNotify ){
var bEles = this._private.batchNotifyEles;
var bTypes = this._private.batchNotifyTypes;
if( params.collection ){ for( var i = 0; i < params.collection.length; i++ ){
... | JavaScript | 0 | @@ -1181,24 +1181,130 @@
._private;%0A%0A
+ if( _p.batchCount == null )%7B%0A _p.batchCount = 0;%0A %7D%0A%0A if( _p.batchCount === 0 )%7B%0A
_p.bat
@@ -1340,32 +1340,34 @@
y = true;%0A
+
_p.batchStyleEle
@@ -1366,32 +1366,34 @@
StyleEles = %5B%5D;%0A
+
_p.batchNo
@@ ... |
793a26e536cb07c443983c7a275c50bc99703367 | Fix bug | kanye.js | kanye.js | var request = require("request");
module.exports = {
sendMessage: function(number, message, media) {
if (media) {
console.log("Got sendMessage with MMS");
request("http://localhost/sendsms?media=" +
media +
"&number=" +
encodeURICompo... | JavaScript | 0.000001 | @@ -47,19 +47,435 @@
rts = %7B%0A
-%0A
+serviceRequest: function(service, message, number, callback) %7B%0A // Route the request to the proper service.%0A // The service should return a JSON object %60%7B message: ... %7D%60 which will contain text%0A // to be sent to the user.%0A request(service + %22... |
d15f163d8279250742f223073614a0f675d65657 | remove console.log | src/core/router/index.js | src/core/router/index.js | import Router from 'vue-router';
import store from '@/core/store';
import langShortCodes from '@/translations/getShortCodes';
import routesDefault from './routes-default';
import routesWallet from './routes-wallet';
const routes = [routesDefault, routesWallet];
const getLangBasePath = () => {
if (ROUTER_MODE === 'ha... | JavaScript | 0.000156 | @@ -797,33 +797,8 @@
%3E %7B%0A
- console.log(to, from);%0A
//
|
cecef3304643f4ccf2bd3592e6767035b9ef4533 | Make relationship children property transient to avoid causing infinite loop when creating JSON. | src/core/Relationship.js | src/core/Relationship.js | /*
* @license
* Copyright 2016 Google Inc. 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 require... | JavaScript | 0 | @@ -2531,16 +2531,41 @@
s.name,%0A
+ transient: true,%0A
|
80876e89b1ca628473e7428b6dcbba3c90162f22 | Use new obit config to lookup sources and strategies | addon/-private/factories/coordinator-factory.js | addon/-private/factories/coordinator-factory.js | import { getOwner } from '@ember/application';
import Coordinator from '@orbit/coordinator';
import modulesOfType from '../system/modules-of-type';
export default {
create(injections = {}) {
const owner = getOwner(injections);
let sourceNames;
if (injections.sourceNames) {
sourceNames = injections... | JavaScript | 0 | @@ -197,21 +197,19 @@
const
-owner
+app
= getOw
@@ -224,16 +224,72 @@
ctions);
+%0A let orbitConfig = app.lookup('ember-orbit:config');
%0A%0A le
@@ -457,37 +457,35 @@
= modulesOfType(
-owner
+app
.base.modulePref
@@ -492,22 +492,39 @@
ix,
-'data-
+orbitConfig.collections.
sources
-'
);%0A
@@ -757,... |
b24b59a17231ac9da72c324fce5a1d1a377fb468 | should return Promise on add | src/dryads/SCSynthDef.js | src/dryads/SCSynthDef.js |
import {Dryad} from 'dryadic';
import {defRecv, defFree, defLoad} from '../server/osc/msg.js';
import path from 'path';
import fs from 'fs';
const StateKeys = {
SYNTH_DEFS: 'SYNTH_DEFS'
};
/**
* Compile a SynthDef from sclang source code
* or load a precompiled .scsyndef
*
* If compilation is required then it... | JavaScript | 0.999997 | @@ -4668,32 +4668,39 @@
%3E %7B%0A
+return
this.compileFrom
|
9b7ff7bd46dd7ed7ef824543e6cc979bc45ea305 | fix for jquery-ui-rails 5.0.0 | vendor/assets/javascripts/jquery.ui.touch-punch.js | vendor/assets/javascripts/jquery.ui.touch-punch.js | //= require jquery.ui.mouse
/*!
* jQuery UI Touch Punch 0.2.2
*
* Copyright 2011, Dave Furfero
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Depends:
* jquery.ui.widget.js
* jquery.ui.mouse.js
*/
(function ($) {
// Detect touch support
$.support.touch = 'ontouchend' in document;
// Ig... | JavaScript | 0.000001 | @@ -7,28 +7,28 @@
quire jquery
-.ui.
+-ui/
mouse%0A%0A/*!%0A
|
cd10eb2726ef250533212017ea3a3e1ea73dccce | Change sort order of streams list to match Zulip's standards. (#969) | src/streams/StreamList.js | src/streams/StreamList.js | /* @flow */
import React, { PureComponent } from 'react';
import { FlatList, StyleSheet } from 'react-native';
import type { Stream } from '../types';
import StreamItem from './StreamItem';
const styles = StyleSheet.create({
list: {
flex: 1,
flexDirection: 'column',
},
});
export default class StreamList... | JavaScript | 0.000018 | @@ -948,16 +948,22 @@
) =%3E
+%0A
a.name.
loca
@@ -958,16 +958,30 @@
a.name.
+toLowerCase().
localeCo
@@ -992,17 +992,37 @@
e(b.name
-)
+.toLowerCase()),%0A
);%0A%0A
|
93072f0642f93902ec33458910bb4d1b7a4c3d92 | Remove use of default parameter values | src/swedish-bank-utils.js | src/swedish-bank-utils.js | var CN = require('../src/clearingnummer.js');
var accountFormats = require('../src/swedish-account-formats.js');
/**
* Main set of features for the Swedish locale.
*/
var SwedishBankUtils = {};
/**
* Looks up and returns the bank that corresponds to the supplied clearing number.
* Tries to normalize the clearing numbe... | JavaScript | 0.000001 | @@ -2232,26 +2232,77 @@
ormalize
- = true) %7B
+) %7B%0A normalize = normalize === undefined ? true : normalize;
%0A retur
@@ -3495,18 +3495,111 @@
mber
- = true) %7B
+) %7B%0A normalizeClearingNumber = normalizeClearingNumber === undefined ? true : normalizeClearingNumber;
%0A t
|
5e1137e3a8272bd6f9d1e3eb13a535de9346528e | make repeater to work with new behavior model | src/syntax-interpreter.js | src/syntax-interpreter.js | import {
Parser,
ObserverLocator,
EventManager,
ListenerExpression,
BindingExpression,
NameExpression,
CallExpression,
ONE_WAY,
TWO_WAY,
ONE_TIME
} from 'aurelia-binding';
export class SyntaxInterpreter {
static inject() { return [Parser,ObserverLocator,EventManager]; }
constructor(parser, obse... | JavaScript | 0 | @@ -4898,39 +4898,30 @@
n.attributes
-%5Binfo.attrName%5D
+.items
= new Bindi
@@ -4964,37 +4964,31 @@
ator,%0A
-info.attrName
+'items'
,%0A this
|
284b13d6a7e0a8b37a72b4293e10feb99a0138bb | fix safari RO css issue | src/foam/u2/tag/Input.js | src/foam/u2/tag/Input.js | /**
* @license
* Copyright 2015 Google Inc. 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 requir... | JavaScript | 0 | @@ -731,16 +731,32 @@
ead-only
+:not(%5E:disabled)
%7B borde
|
9dc087a3078ab3ace9f92e981b58dbacb22438fa | Revert dividing by 12 since we will do it elsewhere | src/forms/Predictions.js | src/forms/Predictions.js | import React from 'react';
import { Form, Divider, Header, Message } from 'semantic-ui-react';
import { Bar } from 'react-chartjs-2';
// PROJECT COMPONENTS
import { FormPartsContainer, IntervalColumnHeadings, CashFlowRow } from './formHelpers';
import DownloadFile from '../components/DownloadFile';
import { BenefitsTa... | JavaScript | 0.000001 | @@ -3060,19 +3060,16 @@
tCurrent
-/12
, SNAPBe
@@ -3071,35 +3071,32 @@
NAPBenefitFuture
-/12
%5D,%0A housin
@@ -3123,19 +3123,16 @@
tCurrent
-/12
, sec8Be
@@ -3142,19 +3142,16 @@
itFuture
-/12
%5D,%0A
@@ -3181,19 +3181,16 @@
eCurrent
-/12
, income
@@ -3199,11 +3199,8 @@
ture
-/12
%5D;%0A
|
ca3814c646243b010934079ca9ac45d70cb3acb1 | remove debugger | src/game/scripts/game.js | src/game/scripts/game.js | debugger;
var game = Deer.Game('container', 349, 600);
/*game.add('stage', {
name: 'level1',
background: {
url: 'graphics/backgrounds/myBG.png',
scrolling: true,
speed: { x: 0, y: 5 }
},
music: 'musics/myMusic.mp3',
enemies: {
enemies: [
{
name: 'enemy1',
url: 'graphics/enemies/enemy1.png',
... | JavaScript | 0.000133 | @@ -1,14 +1,4 @@
-debugger;%0A
var
|
2a027754810492ef960329cccfe5e174b6e82da5 | Tidy up main plugin function generator. | src/generators/plugin.js | src/generators/plugin.js | import template from 'babel-template';
import generateProgram from './program';
import requireModules from './requireModules';
import globals from '../util/globals';
import arrayOfStrings from '../util/arrayOfStrings';
export default () => {
const tmpl = template(`
module.exports = function isValid (cssString)... | JavaScript | 0 | @@ -511,23 +511,23 @@
= 1 && ~
-GLOBALS
+globals
.indexOf
@@ -600,21 +600,14 @@
-var invalid =
+return
val
@@ -759,17 +759,16 @@
return
-!
validato
@@ -794,33 +794,8 @@
%7D);%0A
- return !invalid;%0A
@@ -1049,19 +1049,48 @@
t
+e
mpl
+ate(%60var globals = INJECT;%60)
(%7B%0A
@@... |
e412f161b9ec4e47c48bec7c662324151ffd32b8 | Rename variable | src/utils/combinations.js | src/utils/combinations.js | import {
append,
apply,
flatten,
flip,
length,
liftN,
map,
mergeAll,
objOf,
pipe,
reduce,
unapply,
} from 'ramda';
const applyAndFlatten = pipe(apply, flatten);
const liftNFlipped = flip(liftN);
const createNodeIdAndStatesCombinations = ({ id, states }) => reduce(
(acc, state) => append(objO... | JavaScript | 0.000003 | @@ -185,28 +185,28 @@
;%0Aconst
-liftNF
+f
lipped
+LiftN
= flip(
@@ -403,20 +403,20 @@
th,
-liftNF
+f
lipped
+LiftN
(una
|
6963ea4bfcd7414da1919b3bd52e607e2d9339bb | Update shallowEqual.js | src/utils/shallowEqual.js | src/utils/shallowEqual.js | /**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ... | JavaScript | 0 | @@ -733,17 +733,17 @@
null
+ %7C%7C
%0A
- %7C%7C
typ
@@ -838,17 +838,23 @@
ys(objA)
-,
+;%0A var
keysB =
@@ -1001,20 +1001,32 @@
perty =
-objB
+Object.prototype
.hasOwnP
@@ -1065,37 +1065,20 @@
= 0
-, length = keysA.length
; i %3C
+keysA.
leng
|
559c215adecd85dc0605e6a06d3ff0500d8553b6 | Implement has for StringValue | src/values/StringValue.js | src/values/StringValue.js | 'use strict';
const PrimitiveValue = require('./PrimitiveValue');
const Value = require('../Value');
let NumberValue;
class StringValue extends PrimitiveValue {
*get(name, realm) {
let idx = Number(name);
if ( !isNaN(idx) ) {
return StringValue.fromNative(this.native[idx]);
}
if ( name === 'length' ) ret... | JavaScript | 0.998714 | @@ -1472,16 +1472,150 @@
rn;%0A%09%7D%0A%0A
+%09has(name) %7B%0A%09%09let idx = Number(name);%0A%09%09if ( !isNaN(idx) ) %7B%0A%09%09%09return idx %3E= 0 && idx %3C this.native.length;%0A%09%09%7D%0A%09%09return false;%0A%09%7D%0A%0A
%7D%0A%0Amodul
|
a2c7a1b0762fb35fa2aa0fcdd6f03e8624daf38a | Update pagination boundaries. | assets/js/modules/idea-hub/components/dashboard/DashboardIdeasWidget/Pagination.js | assets/js/modules/idea-hub/components/dashboard/DashboardIdeasWidget/Pagination.js | /**
* Pagination component
*
* Site Kit by Google, Copyright 2021 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
*
*... | JavaScript | 0 | @@ -3040,16 +3040,17 @@
R_PAGE %3E
+=
total %7D
|
1e27bf29c46764fb642f7b9941a0c88b6143afd0 | fix query | mail.js | mail.js | const nodemailer = require('nodemailer');
// --------------------------------------------------------------------------------------
function set_up_mailer()
{
// create transporter
var transporter = nodemailer.createTransport({
host: 'localhost',
port: 25,
secure: false,
requireTLS : false,
igno... | JavaScript | 0.999742 | @@ -1890,38 +1890,8 @@
: %7B%7D
-, $orderby : %7B timestamp : 1 %7D
%7D ,
|
8f1f5d8b6edae90c86d1c52f50ea1e36451037b5 | Add TODOs | web/src/js/components/Dashboard/HeartsComponent.js | web/src/js/components/Dashboard/HeartsComponent.js | import React from 'react'
import PropTypes from 'prop-types'
import { get } from 'lodash/object'
import { withStyles } from '@material-ui/core/styles'
import ButtonBase from '@material-ui/core/ButtonBase'
import HeartBorderIcon from '@material-ui/icons/FavoriteBorder'
import CheckmarkIcon from '@material-ui/icons/Done'... | JavaScript | 0.000001 | @@ -1667,16 +1667,61 @@
rElement
+%0A%0A // TODO: use this for search rate limit
%0A con
@@ -6183,24 +6183,99 @@
pes.shape(%7B%0A
+ // TODO: to reduce DB load, may only want to fetch when logging search%0A
searchRa
|
1824cf77e7819d0eb8efa396edbc8030fc6d50d5 | Fix reference to displayTags. | website/app/application/directives/display-tags.js | website/app/application/directives/display-tags.js | Application.Directives.directive("displayTags", displayTagsDirective);
function displayTagsDirective() {
return {
scope: {
tags: "="
},
controller: "displayTagsDirectiveController",
restrict: "AE",
templateUrl: "application/directives/display-tags.html"
};
}
... | JavaScript | 0 | @@ -361,18 +361,72 @@
playTags
-%22,
+DirectiveController%22,%0A
%5B%22$scop
|
5a855d9bb5da31227143b7782043235c343218f2 | Add some accelerators | main.js | main.js | var app = require('app'); // Module to control application life.
var request = require('request');
var BrowserWindow = require('browser-window'); // Module to create native browser window.
var Menu = require('menu');
var Dialog = require('dialog');
var Fs = require('fs');
var XLSX = require('xlsx');
var ipc = require... | JavaScript | 0.000001 | @@ -2247,24 +2247,62 @@
xcel file',%0A
+ accelerator: 'CmdOrCtrl+I',%0A
cl
@@ -2534,24 +2534,62 @@
tapackage',%0A
+ accelerator: 'CmdOrCtrl+D',%0A
cl
|
049775b4b55957b43461c1642f214814d1ff6708 | Add parseInt to localShards and shardOffset | main.js | main.js | 'use strict';
const cluster = require('cluster');
/**
* Raven client for logging errors and debugging events
* @type {Raven}
*/
const Raven = require('raven');
/**
* Bot class for interacting with discord and handling commands
* @type {Genesis}
*/
const Genesis = require('./src/bot.js');
/**
* Raven client i... | JavaScript | 0.000001 | @@ -873,16 +873,25 @@
hards =
+parseInt(
process.
@@ -906,16 +906,21 @@
L_SHARDS
+, 10)
%7C%7C 1;%0A
@@ -940,16 +940,25 @@
ffset =
+parseInt(
process.
@@ -973,16 +973,21 @@
D_OFFSET
+, 10)
%7C%7C 0;%0A%0A
|
f850abd8b77e1d5effdb64863c749fa2b9c4819c | tweak zoom speed | main.js | main.js | /*jslint browser: true*/
/*global Tangram, gui */
(function () {
'use strict';
var locations = {
'Oakland': [37.8044, -122.2708, 15],
'New York': [40.70531887544228, -74.00976419448853, 15],
'Seattle': [47.5937, -122.3215, 15]
};
var map_start_location = locations['Oakland'];
... | JavaScript | 0.000001 | @@ -779,17 +779,16 @@
et%22 : .0
-2
5%7D%0A )
|
c2e800a98721b431f3ad97066d46444a62ad8de4 | Refresh on window focus | main.js | main.js | (function() {
'use strict';
addToHomescreen();
function round(number, decimalPlaces) {
decimalPlaces = decimalPlaces ? decimalPlaces : 0;
var factor = Math.pow(10, decimalPlaces);
return Math.round(number * factor) / factor;
}
$(function () {
$.ajax({
type: 'GET',
cache: false,
... | JavaScript | 0.000001 | @@ -238,11 +238,13 @@
;%0A%7D%0A
-%0A$(
+ %0A
func
@@ -248,16 +248,23 @@
unction
+refresh
() %7B%0A
@@ -1270,16 +1270,109 @@
%7D);%0A
+%7D%0A%0A$(function () %7B%0A $(window).focus(function() %7B%0A refresh()%0A %7D);%0A refresh();%0A
%7D);%0A%7D())
|
3a9e565ae5893daa233704df430f25ea1a14cf7b | Change default view.console_width | main.js | main.js | var app = require('app')
var setting = require('./module/setting')
var BrowserWindow = require('browser-window')
var window = null
// Generate default settings
setting
.default('app.startup_check_updates', true)
.default('app.startup_check_updates_delay', 100)
.default('app.startup_loadgame_delay', 100)
.default('gam... | JavaScript | 0.000009 | @@ -1089,17 +1089,17 @@
width',
-4
+3
00)%0A.def
|
36cd0555b70979f60db8d61a34c026a94ddd6b8e | Add Flickr image id in the ImageDescription | main.js | main.js | /*
* Copyright (C) 2015 Vishesh Handa <vhanda@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.... | JavaScript | 0 | @@ -6142,32 +6142,127 @@
%7D%0A%0A
+ tagMap%5B%22Exif.Image.ImageDescription%22%5D = %22Flickr image id %22 + photo.id;%0A
|
669e39732fbb7ab66f57d38b826cd3230e39a750 | Connect to my Bean; gracefully disconnect; subscribe to serial characteristic | main.js | main.js | var util = require('util');
var noble = require('noble');
var _ = require('lodash');
var BEAN_SERIAL_SERVICE_UUID = 'a495ff10c5b14b44b5121370f02d74de';
noble.on('stateChange', function(state) {
if (state === 'poweredOn') {
noble.startScanning();
console.log('Scanning for BLE devices...');
} else {
no... | JavaScript | 0 | @@ -146,16 +146,143 @@
2d74de';
+%0Avar BEAN_SERIAL_CHAR_UUID = 'a495ff11c5b14b44b5121370f02d74de';%0Avar MY_BEAN_NAME = 'Lewey%5C's Bean';%0A%0Avar connectedBean = null;
%0A%0Anoble.
@@ -668,120 +668,1746 @@
-console.log(util.format('Bean discovered (%25s @ %25s)', peripheral.advertisement.localName, periphera... |
660200175112cc7ba0c0c77d9381355b1a31c1a0 | Move menu item after Live Preview | main.js | main.js | /*globals $, brackets, define*/
define(function (require, exports, module) {
"use strict";
var _ = brackets.getModule("thirdparty/lodash"),
AppInit = brackets.getModule("utils/AppInit"),
CommandManager = brackets.getModule("command/CommandManager"),
ExtensionUtils = ... | JavaScript | 0 | @@ -284,24 +284,89 @@
dManager%22),%0A
+ Commands = brackets.getModule(%22command/Commands%22),%0A
Exte
@@ -3108,16 +3108,29 @@
enuItem(
+%0A
CMD_STAT
@@ -3135,24 +3135,121 @@
ATIC_PREVIEW
+,%0A null,%0A Menus.AFTER,%0A Commands.FILE_LIVE_FILE_PREVI... |
4a99372a4740216eca35b2cf8b1e04107cab1583 | Add production variable to control Develop tool | main.js | main.js | const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
const dialog = electron.dialog;
electron.crashReporter.start({
productName: 'GeometrA',
companyName: 'NTUT',
submitURL: 'https://localhost:5000',
uploadToServer: true
});
var mainWindow = null;
app.o... | JavaScript | 0 | @@ -135,16 +135,40 @@
dialog;%0A
+const production = true;
%0Aelectro
@@ -377,16 +377,17 @@
) %7B%0A //
+
if (proc
@@ -414,18 +414,16 @@
win') %7B%0A
-
app.qu
@@ -517,15 +517,15 @@
===
-%22
+'
win32
-%22
+'
)%0A
@@ -779,24 +779,25 @@
= function()
+
%7B%0A mainWi
@@ -825,16 +825,25 @@
dow(
+%0A ... |
7f66af6ececdf3c9d83e8ab68d831d5503ecf314 | Update typo in windows bounds | main.js | main.js | const {app, BrowserWindow} = require('electron')
const path = require('path')
const tray = require('./tray')
const Store = require('electron-config')
const store = new Store({
configName: 'user-perferences',
defaults: {
windowBounds: { x: null, y: null }
}
})
const mainPage = path.join('file://', __dirname, ... | JavaScript | 0.000001 | @@ -964,17 +964,16 @@
('window
-s
Bounds',
|
8c1ce8f9c34f38a1cd2f3d743eee84f12964864a | Update sourceMap to return .toJSON() output | main.js | main.js | 'use strict';
var visitors = require('./vendor/fbtransform/visitors');
var transform = require('jstransform').transform;
var Buffer = require('buffer').Buffer;
module.exports = {
transform: function(input, options) {
var output = innerTransform(input, options);
var result = output.code;
if (options && o... | JavaScript | 0.000001 | @@ -738,16 +738,25 @@
ourceMap
+.toJSON()
;%0A %7D%0A
|
4834b6b2fb19a09285f7230c22e02e966930ba48 | Add scheduler | main.js | main.js |
/* Dasca, an idle game by @CylonicRaider (github.com/CylonicRaider/dasca)
* Game implementation */
'use strict';
/* *** Utilities *** */
function $id(id, elem) {
return (elem || document).getElementById(id);
}
function $sel(sel, elem) {
return (elem || document).querySelector(sel);
}
function $selAll(sel, elem... | JavaScript | 0.000004 | @@ -5094,24 +5094,70 @@
ate(game) %7B%0A
+ this.scheduler = Scheduler.makeStrobe(100);%0A
this._game
|
987961dc66832652728dfcde596541f19b1aed00 | Make initial window size a tad bigger | main.js | main.js | const electron = require('electron')
const app = electron.app
const BrowserWindow = electron.BrowserWindow
let mainWindow
function createWindow () {
mainWindow = new BrowserWindow({width: 800, height: 600})
mainWindow.loadURL(`file://${__dirname}/app/index.html`)
mainWindow.webContents.openDevTools()
mainWin... | JavaScript | 0.000003 | @@ -189,9 +189,10 @@
th:
-8
+10
00,
@@ -203,9 +203,9 @@
ht:
-6
+8
00%7D)
|
7ffed47ab022628d5cde50e7819134eb6a0dd2dc | trim vestigial location code | main.js | main.js | /*jslint browser: true*/
/*global Tangram, gui */
map = (function () {
// Get location from URL
var locations = {
'London': [51.508, -0.105, 15],
'New York': [40.75, -73.99, 14],
'Seattle': [47.609722, -122.333056, 15]
};
var map_start_location = locations['New York'];
/*... | JavaScript | 0 | @@ -74,49 +74,30 @@
-// Get location from URL%0A var
+var map_start_
location
s =
@@ -96,202 +96,42 @@
tion
-s
=
- %7B%0A 'London': %5B51.508, -0.105, 15%5D,%0A 'New York':
%5B40.7
-5
+238
, -73.9
-9
+881
, 14%5D
-,%0A 'Seattle': %5B47.609722, -122.333056, 15%5D%0A %7D;%0A%0A... |
59d2f45a6fc6a313a0ab320ce5bb6a833a037279 | Read markdown file path from argv | main.js | main.js | const electron = require('electron')
const path = require('path')
const url = require('url')
const fs = require('fs')
const showdown = require('showdown')
const temp = require('temp')
const shell = require("electron").shell
const app = electron.app
const BrowserWindow = electron.BrowserWindow
let mainWindow
function ... | JavaScript | 0.000001 | @@ -355,16 +355,35 @@
leName =
+ process.argv%5B2%5D %7C%7C
'README
|
bff009d278d706d657806ba874e7b1de1cf858a6 | fix message object reference | main.js | main.js | 'use strict';
// validate our environment variables
require('sanity').check([
'ACCESS_KEY_ID'
, 'SECRET_ACCESS_KEY'
, 'REGION'
, 'SQS_QUEUE_URL'
])
require('dotenv').load();
var Promise = require('es6-promise').Promise;
var AWS = require('aws-sdk');
var sqs;
// Load credentials from local json file
AWS.config = n... | JavaScript | 0.000011 | @@ -1999,24 +1999,33 @@
%7B id: data
+.Messages
%5B0%5D.ReceiptH
@@ -2052,16 +2052,25 @@
dy: data
+.Messages
%5B0%5D.Body
|
b767674362150bae69270e7543858c18be96cfe1 | Correct if statement due to change of option name. | main.js | main.js | /*
* Copyright (c) 2014 Mark McIntyre.
*
* 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 use, copy, modify, merge, publ... | JavaScript | 0.000011 | @@ -3048,17 +3048,16 @@
if (
-!
preferen
|
9d917a756b1c7352a678398f5cf1e1f6bf2412b3 | add comment | main.js | main.js | //
// Loader for Strider extension modules.
//
var connect = require('connect'),
fs = require('fs'),
path = require('path'),
Step = require('step');
//
// ### Locate Strider Extensions
//
// Under a specified path **dir** look for directories containing file
// 'strider.json'. These are considered Strid... | JavaScript | 0 | @@ -4587,24 +4587,98 @@
'webapp') %7B%0A
+ // Extensions should use context.route.%3Cmethod%3E() to add routes%0A
co
|
498ef1594d25bb115ac50e517d4f8e641f9bca48 | Add missing utilities | main.js | main.js | const electron = require('electron');
const app = electron.app;
const ipc = electron.ipcMain;
var path = require('path');
var ghReleases = require('electron-gh-releases');
var Positioner = require('electron-positioner');
require('crash-reporter').start();
var Menu = require('menu');
var Tray = require('tray');
var A... | JavaScript | 0.000241 | @@ -566,24 +566,86 @@
ive.png');%0A%0A
+// Utilities%0Avar isWindows = (process.platform === 'win32');%0A%0A
var autoStar
@@ -2093,16 +2093,17 @@
? 'top'
+
: 'botto
|
fbab04f92f665a412ee38cdd363d121327fa0fd5 | Add more gradual upgrade for screep | main.js | main.js | var roleHarvester = require('role.harvester');
var roleUpgrader = require('role.upgrader');
var roleBuilder = require('role.builder');
var roleRepair = require('role.repair');
var BUILDER = 'builder';
var UPGRADER = 'upgrader';
var HARVESTER = 'harvester';
var REPAIR = 'repair';
var populate = function(role, count) {... | JavaScript | 0 | @@ -486,25 +486,26 @@
le %3E= 550) %7B
+
%0A
-
size =
@@ -540,24 +540,134 @@
MOVE,MOVE%5D;%0A
+ %7D else if(Game.spawns%5B'Spawn1'%5D.room.energyAvailable %3E= 350) %7B%0A size = %5BWORK,WORK,CARRY,MOVE, MOVE%5D;%0A
%7D%0A va
@@ -799,16 +799,17 @@
ewName);
+
%0A %7D%0A%7D%0A%0A
@@ -860,25... |
977ba3f0363e426f0b3693bca5085da8790a4122 | Clear form on submit | main.js | main.js |
var noteManager = function (options) {
this.parameters = options;
this.defaults = {
option: 'value'
};
};
noteManager.prototype = {
init: function () {
// merge defaults options and user's ones
this.options = $.extend({}, this.defaults, this.parameters);
this.plugEvents... | JavaScript | 0 | @@ -553,32 +553,60 @@
saveNote(note);%0A
+ this.clearForm();%0A
this.d
@@ -4353,32 +4353,162 @@
);%0A %7D,%0A%0A
+%0A clearForm: function () %7B%0A $('form input.title, form textarea').val('');%0A $('div.tagsinput span').remove();%0A %7D,%0A%0A
/**%0A * G
|
237682d10f388ebed50459419657da3689ad9c00 | Remove badge text | main.js | main.js | 'use strict';
var app = require('app');
var BrowserWindow = require('browser-window');
var crashReporter = require('crash-reporter');
/**
* Keep a global reference of the window object, if you don't, the window will
* be closed automatically when the javascript object is GCed
*/
var win = null;
/**
* Quit when ... | JavaScript | 0.000001 | @@ -609,71 +609,8 @@
);%0A%0A
-/**%0A * Set badge text%0A */%0A%0Aapp.dock.setBadge('imagemin-app');%0A%0A
/**%0A
|
c73156533d7f3217e6a4c51a66aa10084750d92c | clean up main.js | main.js | main.js | const electron = require('electron')
// Module to control application life.
const app = electron.app
// Module to create native browser window.
const BrowserWindow = electron.BrowserWindow
const path = require('path')
const url = require('url')
// Keep a global reference of the window object, if you don't, the window... | JavaScript | 0.000003 | @@ -33,115 +33,35 @@
on')
-%0A// Module to control application life.%0Aconst app = electron.app%0A// Module to create native browser window.
+;%0Aconst app = electron.app;
%0Acon
@@ -101,16 +101,17 @@
erWindow
+;
%0A%0Aconst
@@ -132,16 +132,17 @@
('path')
+;
%0Aconst u
@@ -164,168 +164,14 @@
rl')
+;
%0A%0A
-//... |
31f8ccc119db97c0559c7fdc4b4ac16591183442 | Simplify detection of current language in Electron | main.js | main.js | // Main file, used only for Electron
var electron = require('electron'),
fs = require('fs'),
ini = require('ini'),
requirejs = require('requirejs');
var app = electron.app;
var BrowserWindow = electron.BrowserWindow;
var Menu = electron.Menu;
var mainWindow = null;
// Localization features
l10n = {
ini: null,... | JavaScript | 0.000091 | @@ -357,185 +357,42 @@
%7B%0A%09%09
-var env = process.env;%0A%09%09var language = env.LANG %7C%7C env.LANGUAGE %7C%7C env.LC_ALL %7C%7C env.LC_MESSAGES;%0A%09%09this.language = (language && language.length %3E= 2) ? language.substr(0, 2) :
+this.language = app.getLocale() %7C%7C
%22*%22
|
2db6d9d7a7c21750d8c46c7449a130056721c559 | Avoid duplicate assertion | lib/node_modules/@stdlib/plot/sparklines/unicode/base/lib/props/buffer-size/set.js | lib/node_modules/@stdlib/plot/sparklines/unicode/base/lib/props/buffer-size/set.js | /**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib 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 a... | JavaScript | 0.998541 | @@ -1258,16 +1258,43 @@
this */%0A
+%09var FLG = isNull( size );%0A
%09if ( !i
@@ -1322,30 +1322,19 @@
e ) && !
-isNull( size )
+FLG
) %7B%0A%09%09t
@@ -1458,21 +1458,11 @@
f (
-size === null
+FLG
) %7B
|
682ebb5cb773999e79106e7b896fd3320ac02502 | Include the correct manifest.json file when building store packages | make.js | make.js | #!/usr/bin/env node
// Usage: ./make.js command. Use -h for help.
// This is a set of tasks for building and testing Vimium in development.
fs = require("fs");
child_process = require("child_process");
// Spawns a new process and returns it.
function spawn(procName, optArray, silent = false, sync = true) {
if (proc... | JavaScript | 0.000002 | @@ -981,37 +981,50 @@
n to the Chrome
+and Firefox
store
+s
. The output is
@@ -1298,28 +1298,16 @@
uire(%22./
-dist/vimium/
manifest
@@ -2404,17 +2404,16 @@
: %2262.0%22
-,
%0A %7D
@@ -5322,21 +5322,34 @@
Chrome
+and Firefox
store
+s
. The ou
|
515ce69bb52e1c759ffe775b059059975be66aae | Add Node rule: no-new-require | node.js | node.js | module.exports = {
extends: [
'./index.js',
],
rules: {
'global-require': 2,
'no-buffer-constructor': 2,
},
};
| JavaScript | 0 | @@ -117,16 +117,41 @@
or': 2,%0A
+ 'no-new-require': 2,%0A
%7D,%0A%7D;%0A
|
0cef3ee8653c9a872b1c80749dabb6cb66805ee6 | Use forEach() in place of for-loop | src/candela/components/Geo/index.js | src/candela/components/Geo/index.js | import geojs from 'geojs/geo.js';
import VisComponent from '../../VisComponent';
export default class Geo extends VisComponent {
constructor (el, options) {
super(el);
this.plot = geojs.map({
node: el,
zoom: 6,
center: {x: 28.9550, y: 41.0136}
});
this.plot.createLayer('osm');
... | JavaScript | 0.000014 | @@ -347,57 +347,43 @@
-for (let i = 0; i %3C options.features.length; ++i)
+options.features.forEach(feature =%3E
%7B%0A
@@ -447,35 +447,23 @@
Feature(
-options.
feature
-s%5Bi%5D
.type)%0A
@@ -477,35 +477,23 @@
.data(
-options.
feature
-s%5Bi%5D
.data)%0A
@@ -536,35 +536,23 @@
x: d%5B
-options.
... |
d9ff7bdde1a05eda4129446582109f64e8bf4e1c | Change behavior of submit button by removing fade effects. | website/static/js/pages/project-settings-page.js | website/static/js/pages/project-settings-page.js | 'use strict';
var $ = require('jquery');
var bootbox = require('bootbox');
var Raven = require('raven-js');
var ko = require('knockout');
var ProjectSettings = require('js/projectSettings.js');
var $osf = require('js/osfHelpers');
require('css/addonsettings.css');
var ctx = window.contextVars;
// Initialize treebe... | JavaScript | 0 | @@ -4898,19 +4898,69 @@
ed')
-.fadeIn();%0A
+;%0A setTimeout(%0A function() %7B%0A
@@ -4971,27 +4971,79 @@
+
msgElm.
-fadeOut(3000
+text('');%0A %7D,%0A 3000%0A
);%0A
|
0703f26b005485cec99fcf6db94a86250706ef74 | return response from extractErrors if reps.data is absent | priv/public/angular/app/components/mn_promise_helper.js | priv/public/angular/app/components/mn_promise_helper.js | angular.module('mnPromiseHelper', [
'mnAlertsService',
'mnHelper'
]).factory('mnPromiseHelper',
function (mnAlertsService, mnHelper, mnPoll, $timeout) {
mnPromiseHelper.handleModalAction = function ($scope, promise, $modalInstance) {
return mnPromiseHelper($scope, promise, $modalInstance)
.show... | JavaScript | 0 | @@ -1411,16 +1411,25 @@
esp.data
+ %7C%7C resp
;%0A
|
356728f0fa4154983fdf27ad0277606b70b529ff | Update require-config.js | static/require-config.js | static/require-config.js | define('require-config',[], function() {
"use strict";
console.log('require-config.');
require.config({
baseUrl: './static'
});
return {
"paths": {
"txt": "libs/require/plugins/text",
"css": "libs/require/plugins/css",
"jquery": "libs/jquery/jquery-2.1.0.min",
"jquery.... | JavaScript | 0.000001 | @@ -861,24 +861,80 @@
1.1.3/ace%22,%0A
+ %22codemirror%22: %22libs/codemirror/codemirror-4.8.0%22,%0A
%7D,%0A %22
@@ -1151,24 +1151,56 @@
%5B%22jquery%22%5D,%0A
+ %22codemirror%22: %5B%22jquery%22%5D,%0A
%7D%0A %7D;%0A%7D
|
7d66683a7e0696e5da852fa31ffec4b5f380296d | Add more logging messages to firehoser. | firehoser.js | firehoser.js | 'use strict';
var _ = require('lodash');
var AWS = require('aws-sdk');
var async = require('async');
var JaySchema = require('jayschema');
var moment = require('moment');
var schemaValidator = new JaySchema();
class DeliveryStream{
constructor(name, awsConfig=null, schema=null, retryInterval=1500, firehose=null,... | JavaScript | 0 | @@ -987,32 +987,105 @@
cords(records)%7B%0A
+ this.log(%60putRecords() called with $%7Brecords.length%7D records.%60);%0A
return n
@@ -4436,29 +4436,189 @@
his.
-queue.push(...records
+log(%60putRecords() called with $%7Brecords.length%7D records.%60);%0A this.queue.push(...records);%0A ... |
d4ee8ed1947c9f16ad23a6bce5366b3c5d07ea8e | fix path to where params | api/policies/RolePolicy.js | api/policies/RolePolicy.js | /**
* RolePolicy
* @depends PermissionPolicy
* @depends OwnerPolicy
* @depends ModelPolicy
*
* Verify that User is satisfactorily related to the Object's owner.
* By this point, we know we have some permissions related to the action and object
* If they are 'owner' permissions, verify that the objects that are ... | JavaScript | 0.000011 | @@ -1528,16 +1528,22 @@
.params.
+all().
where %7C%7C
|
ce296e812dc87ae664fe97cff2dc6ba5f5c826d5 | Remove log statement | mixin/test/js/qunit-shim.js | mixin/test/js/qunit-shim.js | // Temporary Shim File for use while migrating from QUnit to Mocha
/*global chai */
function qunitShim() {
var _currentTest,
_describe = describe,
fixture;
beforeEach(function() {
fixture = $('#qunit-fixture').html();
});
afterEach(function() {
$('#qunit-fixture').html(fixture);
});
fu... | JavaScript | 0.000001 | @@ -1086,40 +1086,8 @@
e %7B%0A
- console.log(exec.length);%0A
|
df9bc542654a3f182aef26978ae4245de2f30c40 | Add default value for null center. | models/Tileset.server.bones | models/Tileset.server.bones | var tilelive = require('tilelive');
var url = require('url');
models.Tileset.syncread = function(data, options) {
data.scheme = data.scheme || 'tms';
data.tiles = data.tiles || _(options.tileHost).map(function(host) {
return url.format({
host: host,
pathname: options.basepath + ... | JavaScript | 0 | @@ -148,16 +148,60 @@
'tms';%0A
+ data.center = data.center %7C%7C %5B0, 0, 0%5D;%0A
data
|
9912ab180d9dabffa5dd4797bb13940e99086481 | Allow longer transaction names | models/transaction.model.js | models/transaction.model.js | const mongoose = require('mongoose');
let Schema = mongoose.Schema;
let transactionSchema = new Schema({
name: {
type: String,
required: true,
minlength: 3,
maxlength: 12
},
direction: {
type: String,
required: true
},
amount: {
type: Number,... | JavaScript | 0.000061 | @@ -203,10 +203,10 @@
th:
-1
2
+5
%0A
|
6924269fdc38b2cb2552068347c1aa9f889514cc | integrate keanus single contribution | src/components/ListingsContainer.js | src/components/ListingsContainer.js | import React, {Component} from 'react'
import {connect} from 'react-redux'
import {Link} from 'react-router'
import ListingThumbnail from './ListingThumbnail'
class ListingsContainer extends Component {
constructor(props){
super(props)
this.state={
filterString: 'city',
filterInput: 'wellington'... | JavaScript | 0.000001 | @@ -1994,16 +1994,53 @@
%3Cinput
+ placeholder=%7Bthis.state.defaultCity%7D
ref='fi
|
bb3042f846b3992a279fc540fac0868ad017b311 | update RefSelector style | src/components/RefSelector/index.js | src/components/RefSelector/index.js | import PropTypes from 'utils/PropTypes';
import React, { Component } from 'react';
import { polyfill } from 'react-lifecycles-compat';
import styles from './styles';
import { observer } from 'mobx-react';
import { REF } from 'constants/Actions';
import withModalStore from 'hocs/withModalStore';
import createComponent f... | JavaScript | 0 | @@ -374,16 +374,24 @@
ut, Icon
+, Button
%7D from
@@ -1752,13 +1752,15 @@
ze=%22
-large
+default
%22%0A%09%09
@@ -1827,38 +1827,141 @@
%09%09%09%09
-addonAfter=%7B%0A%09%09%09%09%09%3Ca href=%22#%22
+className=%22ant-input-search ant-input-search-enter-button%22%0A%09%09%09%09suffix=%7B%0A%09%09%09%09%09%3CButt... |
8dcf5b690990b8844ba1be739ac94498071e17c1 | add stuff | src/components/TrendDonationSize.js | src/components/TrendDonationSize.js | import React from 'react'
import { Chart } from 'react-google-charts'
import getRequest from '../getRequest.js'
import url from '../../config.js'
export default React.createClass ({
getInitialState: function () {
return {
ColumnChart: {
data: [],
chartType: "",
options : {}
}
... | JavaScript | 0 | @@ -2551,27 +2551,16 @@
data=%7B
-this.state.
ColumnCh
@@ -2562,16 +2562,21 @@
umnChart
+Final
.data%7D%0A
@@ -2595,27 +2595,16 @@
ions = %7B
-this.state.
ColumnCh
@@ -2606,16 +2606,21 @@
umnChart
+Final
.options
@@ -2641,27 +2641,16 @@
aph_id=%7B
-this.state.
ColumnCh
@@ -2652,16 +2652,21 @@
umnChart
+Fi... |
e65710cef4c1794f912fbb554da47f2e55beaa7a | Add displaying ids in footer | src/components/approot-component.js | src/components/approot-component.js | import React from 'react/addons';
import Table from './table-component.js';
import Button from './button-component.js';
import Checkbox from './checkbox-component.js';
class AppRoot extends React.Component {
constructor(props) {
super(props);
this.state = {
isChecked: false,
... | JavaScript | 0 | @@ -1325,16 +1325,77 @@
idStr);%0A
+ document.getElementById(%22footer%22).innerHTML = idStr;%0A
%7D%0A%0A
@@ -2312,30 +2312,29 @@
-footer%22
-%3E%0A
+ id=%22footer%22%3E
%3C/div%3E%0A
|
9edc5794d1eff79100f80a8582c41e5b0892c6ec | fix bls-dkg package UT failing because of timeout | modules/bls-dkg/.mocharc.js | modules/bls-dkg/.mocharc.js | 'use strict';
module.exports = {
timeout: '5000',
exit: true,
}
| JavaScript | 0.000037 | @@ -43,9 +43,10 @@
t: '
-5
+20
000'
|
73dda8e974660365af9f03663bb8bbff891f0376 | fix style | app/components/Articles.js | app/components/Articles.js | import React, { PropTypes, Component } from 'react';
import { ScrollView, TouchableOpacity, Text, StyleSheet } from 'react-native';
class Articles extends Component {
componentWillMount() {
this.props.loadArticles();
}
renderArticle(article) {
const { handleNewsPress } = this.props;
return (
... | JavaScript | 0.000001 | @@ -343,55 +343,55 @@
-style=%7Bstyles.newsRow%7D%0A key=%7Barticle._id
+key=%7Barticle._id%7D%0A style=%7Bstyles.newsRow
%7D%0A
@@ -467,29 +467,8 @@
Text
- style=%7Bstyles.title%7D
%3E%7Bar
@@ -1011,37 +1011,24 @@
newsRow: %7B%0A
- flex: 1,%0A
height:
@@ -1037,37 +1037,34 @@
0,%0A ... |
a6449269fa8cba0c4979fa357702d55288ab9573 | remove "You must be logged in" message as it's just hidden by the login window. | lib/components/login.js | lib/components/login.js | import React, {Component} from 'react'
import {lock} from '../utils/auth0'
export default class Login extends Component {
componentDidMount () {
lock.show()
}
render () {
return <div className='alert alert-danger'> You must be logged in to use the scenario editor.</div>
}
}
| JavaScript | 0 | @@ -192,100 +192,12 @@
urn
-%3Cdiv className='alert alert-danger'%3E You must be logged in to use the scenario editor.%3C/div%3E
+null
%0A %7D
|
6adf2f3dfc0c76ba916b4c60ebb6930032995569 | add development data | lib/config/dummydata.js | lib/config/dummydata.js | 'use strict';
var mongoose = require('mongoose'),
Thing = mongoose.model('Thing'),
User = mongoose.model('User'),
Term = mongoose.model('Term');
/**
* Populate database with sample application data
*/
User.find({}).remove(function() {
User.create({
name: 'dev01',
info: 'development test user',
... | JavaScript | 0 | @@ -112,16 +112,55 @@
User'),%0A
+ Project = mongoose.model('Project'),%0A
Term =
@@ -997,50 +997,162 @@
-console.log('finished populating
+Project.find(%7B%7D).remove(function()%7B%0A%0A term.createProject(%7B%0A name: 'project01',%0A info: 'create project for
terms'
-... |
438d690f7b68235eb1f777ad8131258a3c6e1a14 | Fix formatting | lib/consul-kv-object.js | lib/consul-kv-object.js | "use strict";
const Bluebird = require('bluebird');
const defaultFlagMap = [
{ match: String, make: String, guess: s => s!==null },
{ match: Number, make: Number, guess: s => s!==null && !isNaN(s) },
{ match: Boolean, make: s => s === 'true', guess: s => (s === 'true' || s === 'false') },
{ match: Dat... | JavaScript | 0.057169 | @@ -5601,32 +5601,36 @@
t, %0A
+
function (o) %7B%0A
|
09526ef4fa09e5c75789d41dd0838e0c8db84f27 | remove bind(this) | examples/FacebookTabsExample/FacebookTabBar.js | examples/FacebookTabsExample/FacebookTabBar.js | 'use strict';
var React = require('react-native');
var {
StyleSheet,
Text,
View,
TouchableOpacity,
Animated,
} = React;
var { Icon, } = require('react-native-icons');
var styles = StyleSheet.create({
tab: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
paddingBottom: 10,
},
... | JavaScript | 0.000001 | @@ -1540,19 +1540,8 @@
alue
-.bind(this)
);%0A
|
f70227081bca069a412f4e53cde45843192cbf2e | refactor tab transition color | examples/FacebookTabsExample/FacebookTabBar.js | examples/FacebookTabsExample/FacebookTabBar.js | import React, {
StyleSheet,
Text,
View,
TouchableOpacity,
Animated,
} from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
const FacebookTabBar = React.createClass({
unselectedTabIcons: [],
propTypes: {
goToPage: React.PropTypes.func,
activeTab: React.PropTypes.number,
... | JavaScript | 0.000001 | @@ -196,27 +196,17 @@
ass(%7B%0A
-unselectedT
+t
abIcons:
@@ -552,35 +552,25 @@
%7B%0A this.
-unselectedT
+t
abIcons.forE
@@ -600,23 +600,24 @@
const
-opacity
+progress
= (valu
@@ -722,44 +722,334 @@
-opacity,%0A %7D,%0A %7D);%0A %7D)
+color: this.iconColor(progress),%0A %7D,... |
5605794fdcfd00e6f84d43df52292b798b6674af | Add inline todo | lib/elements/message.js | lib/elements/message.js | 'use babel'
/** @jsx vanilla.jsx */
import vanilla from 'vanilla-jsx'
export const MessageCacheMax = 250
// ^ Max Number of messages to keep at disposal
export const MessageCache = []
export class MessageElement {
constructor() {
this.element = <linter-message></linter-message>
this.elementName = <span cla... | JavaScript | 0 | @@ -65,16 +65,73 @@
a-jsx'%0A%0A
+// Todo: (future) Determine the max based on past counts%0A
export c
|
3d6f6a6ea3746bf3fb29f2d3008453cc25491dfc | remove console.log | lib/executables/pump.js | lib/executables/pump.js | /**
* Copyright (c) 2012 Andreas Madsen
* MIT License
*/
(function () {
"use strict";
var helpers = require('../helpers.js');
var path = require('path');
var streams = require(path.join(helpers.core, 'streams.js'));
var core = require(path.join(helpers.core, 'core.js'));
// get and parse the options
... | JavaScript | 0.000001 | @@ -426,32 +426,8 @@
tor%0A
- console.log(options);%0A
va
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.