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 |
|---|---|---|---|---|---|---|---|
29af463e22e1be8ddd47d41ddc07bf0f727fc317 | Remove ES6 destructuring | regl-camera.js | regl-camera.js | var mouseChange = require('mouse-change')
var mouseWheel = require('mouse-wheel')
var identity = require('gl-mat4/identity')
var perspective = require('gl-mat4/perspective')
var lookAt = require('gl-mat4/lookAt')
module.exports = createCamera
var isBrowser = typeof window !== 'undefined'
function createCamera (regl,... | JavaScript | 0.000003 | @@ -3032,39 +3032,15 @@
on (
-%7BviewportWidth, viewportHeight%7D
+context
) %7B%0A
@@ -3117,24 +3117,32 @@
,%0A
+context.
viewportWidt
@@ -3145,16 +3145,24 @@
Width /
+context.
viewport
|
37d42c1a1147575ab2cfae8fe71ba4bc9ef4c647 | Fix order of import statements | tuneup.js | tuneup.js | #import "assertions.js"
#import "uiautomation-ext.js"
#import "lang-ext.js"
#import "screen.js"
#import "test.js"
| JavaScript | 0.998974 | @@ -30,20 +30,12 @@
rt %22
-uiautomation
+lang
-ext
@@ -40,36 +40,44 @@
xt.js%22%0A#import %22
-lang
+uiautomation
-ext.js%22%0A#import
|
94d13ffb9f5d2d644607175e2a8b040a2336cdee | Add paramaters for GET query on Post, Broadcast and Program | server/app/api.js | server/app/api.js | import express from 'express';
import mongoose from 'mongoose';
import bodyParser from 'body-parser';
import multer from 'multer';
import crypto from 'crypto';
import Program from './model/Program';
import Post from './model/Post';
import Broadcast from './model/Broadcast';
const {ObjectId} = mongoose.Types;
const r... | JavaScript | 0 | @@ -1123,18 +1123,25 @@
am.find(
-%7B%7D
+req.query
);%0A res
@@ -1979,18 +1979,25 @@
st.find(
-%7B%7D
+req.query
));%0A%7D);%0A
@@ -2790,10 +2790,17 @@
ind(
-%7B%7D
+req.query
).so
|
9d9b00e7d83ee341ac4e8ab448bcbc81e81c38a9 | Allow for global command options, credit: kkaefer. | server/command.js | server/command.js | var Backbone = require('./backbone');
var _ = require('underscore');
module.exports = Command;
function Command(options) {
this.initialize(options);
};
Command.prototype.initialize = function() {};
Command.augment = Backbone.Controller.augment;
Command.extend = Backbone.Controller.extend;
Command.toString = fu... | JavaScript | 0 | @@ -114,24 +114,75 @@
(options) %7B%0A
+ this.options = Object.create(Command.options);%0A
this.ini
@@ -417,12 +417,35 @@
e + '%3E';%0A%7D;%0A
+%0ACommand.options = %7B%7D;%0A
|
7c86852edf06e9cd2d2243636b3f291806888bcc | Convert Non-strict to strict equality checking Convert non-strict equality checking, using `==`, to the strict version, using `===`. | packages/truffle-core/lib/create.js | packages/truffle-core/lib/create.js | var copy = require("./copy");
var path = require("path");
var fs = require("fs");
var templates = {
test: {
filename: path.join(__dirname, "templates", "example.js"),
variable: "example"
},
contract: {
filename: path.join(__dirname, "templates", "Example.sol"),
name: "Example",
variable: "exa... | JavaScript | 0.000002 | @@ -853,16 +853,17 @@
find ==
+=
%22string
@@ -863,24 +863,24 @@
%22string%22) %7B%0A
-
find =
@@ -1133,16 +1133,17 @@
ng%5B0%5D ==
+=
%22_%22) %7B%0A
@@ -1292,32 +1292,33 @@
ypeof options ==
+=
%22function%22) %7B%0A
@@ -1811,32 +1811,33 @@
ypeof options ==
+=
%22function%22) %7B%0A
@@ -2587,16 ... |
13bb8be15d81c2f52a4c20ddbc2ada0f08197093 | fix #160, dashboard navigation stored in local cookie | dist/src/main/package/www/controllers/dashboard.js | dist/src/main/package/www/controllers/dashboard.js | /*
* Copyright 2015-2016 Jeeva Kandasamy (jkandasa@gmail.com)
* and other contributors as indicated by the @author tags.
*
* 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://... | JavaScript | 0 | @@ -862,16 +862,32 @@
mchelper
+, CommonServices
) %7B%0A $s
@@ -1220,17 +1220,16 @@
if(
-!
mchelper
@@ -1221,32 +1221,37 @@
if(mchelper.
+user.
selectedDashboar
@@ -1243,32 +1243,46 @@
electedDashboard
+ === undefined
)%7B%0A mchel
@@ -1277,32 +1277,37 @@
mchelper.
+user.
selectedDash... |
4e443077f233b0598d9ffe9d16cf868252a6acf3 | Update class after tag is set. | django_auto_filter/static/js/django_auto_filter.js | django_auto_filter/static/js/django_auto_filter.js | $(document).ready( function () {
// $('table').dragtable({
// dragHandle:'.th-inner'
//// dragaccept:'th-inner'
// });
// $('table').DataTable( {
//// dom: 'Bfrtip',
// dom: 'BHt',
// buttons: [ 'colvis' ],
// scrollX: true
// } );
// $('table').bootstrapTable();... | JavaScript | 0 | @@ -462,12 +462,23 @@
ay,
-d, f
+editableElement
)%7B%0A
@@ -543,12 +543,23 @@
ay,
-d ,f
+editableElement
);%0A
@@ -704,17 +704,121 @@
ntType%22)
-)
+, function()%7B%0A editableElement.toggleClass(%22editable-unsaved%22)%0A %7D);%0A return true
;%0A %7D)
|
3212afc56593748047ed2bf077c2ba9177213ce4 | remove addPreviewState from reducer | app/config/reducer.js | app/config/reducer.js | import eeprom from '../utils/eeprom';
import {
ALARM_ENABLED, ALARM_VALUE, AS_BASE_STATE, BAUD_RATE, CHANNEL,
FC_TYPE, FONT_SIZE, H_ALIGNMENT, MAX, MAX_PANELS, MIN, OFFSET,
PARAMS_FROM_EEPROM, POSITION, RADIUS, RAW, SCALE, SCALE_ALIGNMENT,
SCALE_ENABLED, SCALE_TYPE, TYPE, UNITS, V_ALIGNMENT, VALUE,
MODE, VIS... | JavaScript | 0.000001 | @@ -347,233 +347,8 @@
';%0A%0A
-function addPreviewState(state) %7B%0A return state%0A .updateIn(%5B'preview', 'panel'%5D, (val) =%3E val %7C%7C 0)%0A .updateIn(%5B'preview', 'alarm'%5D, (val) =%3E val %7C%7C 0)%0A .updateIn(%5B'preview', 'showGrid'%5D, (val) =%3E val %7C%7C false);%0A%7D%0A%0A
func
@@ -503... |
46d02a8b1e00bd830757dac0d91547a03cb0e49e | Fix binaryType line. | rewebsocket.js | rewebsocket.js | 'use strict';
(function(global, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof module !== 'undefined' && module.exports){
module.exports = factory();
} else {
global.ReWebSocket = factory();
}
})(this, function() {
if (!('WebSocket' in window))... | JavaScript | 0.000005 | @@ -1350,47 +1350,8 @@
ull;
-%0A ws.binaryType = self.binaryType;
%0A%0A
@@ -1486,24 +1486,64 @@
);%0A %7D%0A%0A
+ ws.binaryType = self.binaryType;%0A%0A
if ((s
|
b20759b2cba59821d28825801b0776d10f75dd83 | revert debug information. | routes/post.js | routes/post.js | /**
* @fileoverview 文章的增,删,该,查文件修改和调整
* @version 2012.10.02
*/
var config = require('../config').config, EventProxy = require('eventproxy').EventProxy;
var dbEvt = {}, proxy = new EventProxy;
var _middle = function(req, resp, func) {
dbEvt = req.dbEvt;
var eventHooks = ['menus', 'links', 'rectPosts'];
proxy.as... | JavaScript | 0 | @@ -1711,35 +1711,8 @@
y %7B%0A
-%09%09console.log(req.body.r);%0A
%09%09va
|
919a5ddd6240327228b0fd5523609a21b490819b | Update boxmail server to generate 1000 random messages. | src/apps/boxmail/server.js | src/apps/boxmail/server.js | require('./bootFOAMNode.js');
var env = foam.box.Context.create();
// Force services to start.
env.socketService;
env.webSocketService;
env.registry.register(
'INBOX',
null,
foam.box.SkeletonBox.create({
data: foam.dao.TimestampDAO.create({
delegate: foam.dao.MDAO.create({
of: boxmail.Message... | JavaScript | 0 | @@ -60,16 +60,83 @@
reate();
+%0Aenv.me = foam.box.NamedBox.create(%7B name: '/ca/vany/adam' %7D, env);
%0A%0A// For
@@ -199,16 +199,76 @@
rvice;%0A%0A
+var dao = foam.dao.MDAO.create(%7B%0A of: boxmail.Message%0A%7D);%0A%0A
env.regi
@@ -347,120 +347,821 @@
ta:
-foam.dao.TimestampDAO.create(%7B%0A delegate:... |
b7d0ba48d128bd10aba02ed1a47411f878ce72b7 | Update game.js | scripts/game.js | scripts/game.js | var game = {
resources: {},
tick: function () {
for ( var res in game.resources ) {
game.resources[res].update();
}
}
};
game.tick.bind( game );
game.interval = window.setInterval( game.tick, 100 );
game.buttons = document.getElementById( 'buttons' );
game.labels = document.getEl... | JavaScript | 0.000001 | @@ -5444,16 +5444,54 @@
ue * 10
+&& game.resources%5B'human'%5D.value %3E= 2
) %7B%0A
@@ -5646,12 +5646,206 @@
urn 0;%0A%7D
+,function(event)%7B%0A game.resources.human.increase( 0.0001 * game.resources.supplies.value );%0A game.resources.supplies.decrease( 0.0001 * game.resources.supplies.value );%0A%7D... |
35f483f7486f3ef28414f22a9ebd70406a2d44df | disable cut copy paste function on confirm email | scripts/main.js | scripts/main.js | (function(){
'use strict';
$(document).ready(function(){
//// Hide Company Input field on page load / Show on click of Radio button ////
$("#shipping-company").hide();
$("#commercial").click(function(){
$("#shipping-company").show();
});
///Validate Number Keypress For Phone Number ... | JavaScript | 0 | @@ -701,16 +701,118 @@
%7D);%0A%0A
+ $('#email_address_confirm').bind(%22cut copy paste%22,function(e) %7B%0A e.preventDefault();%0A %7D);%0A
%0A ///
|
a98af3f6e59e3c901561475fc9924935d0bbddf7 | update persister spec for idMap.add signature change | spec/arethusa/treebank_persister_spec.js | spec/arethusa/treebank_persister_spec.js | "use strict";
describe('treebank persister', function() {
var documentStore;
var TreebankPersister;
var state;
var idHandler;
var docId = 'some-treebank';
var noop = function() {};
var mockConfigurator = {
configurationFor: function(name) {
return {};
},
getServices: function(name) {
... | JavaScript | 0 | @@ -1887,16 +1887,19 @@
01', '1'
+, 2
);%0A m
@@ -1922,16 +1922,19 @@
02', '2'
+, 2
);%0A%0A
|
1549374c3991dc43b30d9024644fc97245597928 | Clean up update.js | update.js | update.js | var fs = require('fs');
var slug = require('slug');
var MongoClient = require('mongodb').MongoClient;
var config = require('../front/config.json');
function updateTalk(talk) {
if (talk.created === undefined) {
talk.created = Date.now();
}
talk.updated = Date.now();
talk.tags = talk.tags.map(fu... | JavaScript | 0.000001 | @@ -250,24 +250,26 @@
;%0A %7D%0A
+//
talk.updated
@@ -287,76 +287,8 @@
();%0A
- talk.tags = talk.tags.map(function (el) %7B return el.trim(); %7D);%0A
|
93d5c575a7540c8e256054f5d28740bfbc6bbe80 | fix css download url | update.js | update.js | console.log('updating wiki assets & pages list')
var cheerio = require('cheerio')
var request = require('request')
var fs = require('fs')
var path = require('path')
var cssUrl = 'https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=site|ext.cite.styles|ext.gadget.DRN-wizard,ReferenceToolti... | JavaScript | 0.000004 | @@ -186,27 +186,8 @@
s://
-bits.wikimedia.org/
en.w
@@ -199,16 +199,18 @@
dia.org/
+w/
load.php
@@ -396,21 +396,8 @@
ext.
-uls.nojs%7Cext.
visu
@@ -499,26 +499,8 @@
iki.
-raggett%7Cmediawiki.
ui.b
|
f3c9fe769fa2d23a2b3a50646d5935171a24f6f1 | Remove react rules enforced by AirBnb | rules/react.js | rules/react.js | module.exports = {
rules: {
// Prevent missing displayName in a React component definition
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/display-name.md
'react/display-name': 'error',
// Forbid certain propTypes (any, array, object)
// https://github.com/yannickcr/esli... | JavaScript | 0 | @@ -231,1659 +231,354 @@
//
-Forbid certain propTypes (any, array, object)%0A // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-prop-types.md%0A 'react/forbid-prop-types': %5B%0A 'error', %7B forbid: %5B 'any', 'array', 'object' %5D %7D,%0A %5D,%0A // Enforce or disal... |
193966c4d33e73a08f7c6c367bf3857ffdeee9ea | fix test | ui/shared/components/panel/search/FrequencyFilter.test.js | ui/shared/components/panel/search/FrequencyFilter.test.js | import React from 'react'
import { shallow, configure } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import FrequencyFilter from './FrequencyFilter'
configure({ adapter: new Adapter() })
test('shallow-render without crashing', () => {
shallow(<FrequencyFilter value={{ af: 0.01 }} />)
})
| JavaScript | 0.000002 | @@ -115,16 +115,18 @@
'%0Aimport
+ %7B
Frequen
@@ -133,16 +133,18 @@
cyFilter
+ %7D
from '.
|
b54b90d07914829232e2728b7077a2f0556fc884 | Fix picking color encoding. (#252) | examples/core/instancing/app.js | examples/core/instancing/app.js | /* eslint-disable no-var, max-statements */
import {GL, AnimationLoop, Matrix4, radians, setParameters, pickModels,
Cube, picking, dirlight} from 'luma.gl';
const SIDE = 256;
let pickPosition = [0, 0];
function mousemove(e) {
pickPosition = [e.offsetX, e.offsetY];
}
const animationLoop = new AnimationLoop({
on... | JavaScript | 0.000003 | @@ -2418,24 +2418,269 @@
(offsets);%0A%0A
+ const pickingColors = new Uint8ClampedArray(SIDE * SIDE * 2);%0A for (let i = 0; i %3C SIDE; i++) %7B%0A for (let j = 0; j %3C SIDE; j++) %7B%0A pickingColors%5B(i * SIDE + j) * 2 + 0%5D = i;%0A pickingColors%5B(i * SIDE + j) * 2 + 1%5D = j;%0A %7D%0A %7D%... |
547153334a7795eee54ebbeee055c188898abff5 | Update drugs.js | web/yo/app/scripts/controllers/drugs.js | web/yo/app/scripts/controllers/drugs.js | 'use strict';
angular.module('oncokbApp')
.controller('DrugsCtrl', ['$window', '$scope', '$location', '$timeout', '$routeParams', '_', 'DTColumnDefBuilder', 'DTOptionsBuilder', '$firebaseArray', 'FirebaseModel', 'firebaseConnector', '$q', 'dialogs', 'drugMapUtils', '$rootScope', 'DatabaseConnector', '$firebaseObje... | JavaScript | 0.000001 | @@ -5335,16 +5335,32 @@
rugName
+&& (newDrugName
!== drug
@@ -5369,16 +5369,17 @@
rugName)
+)
%7B%0A
@@ -5621,135 +5621,8 @@
ue;%0A
- if (!newDrugName) %7B%0A newDrugName = drug.drugName;%0A %7D%0A
|
18ab3c3ca93e7142df7d8860a80a3566dc2df519 | Update get_readme.js | docs/get_readme.js | docs/get_readme.js | var readme_url = "../README.md";
var xhr = new XMLHttpRequest();
xhr.open('GET', readme_url, true);
xhr.responseType = 'text';
xhr.onreadystatechange = function (event) {
if (this.readyState === 4 && this.status === 200) {
document.getElementById("content").innerHTML = this.responseText
}
};
function... | JavaScript | 0.000001 | @@ -11,18 +11,72 @@
_url = %22
-..
+https://raw.githubusercontent.com/imageio/imageio/master
/README.
|
59616672d72ee97417fd12914d1b936f6d5caf70 | Make sure it works when we have no css transitions | src/addons/transitions/ReactCSSTransitionGroupChild.js | src/addons/transitions/ReactCSSTransitionGroupChild.js | /**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | JavaScript | 0 | @@ -1899,16 +1899,21 @@
if (e
+ && e
.target
|
a75af0a5d20bdba5b93e3bba10529f0bd982810a | optimise es6.constants transformer to use the same traversal path instead of spawning another one | src/babel/transformation/transformers/es6/constants.js | src/babel/transformation/transformers/es6/constants.js | import * as messages from "../../../messages";
import * as t from "../../../types";
var visitor = {
enter(node, parent, scope, state) {
if (this.isAssignmentExpression() || this.isUpdateExpression()) {
var ids = this.getBindingIdentifiers();
for (var name in ids) {
var id = ids[name];
... | JavaScript | 0 | @@ -82,136 +82,74 @@
%22;%0A%0A
-var visitor = %7B%0A enter(node, parent, scope, state) %7B%0A if (this.isAssignmentExpression() %7C%7C this.isUpdateExpression()) %7B%0A
+export function AssignmentExpression(node, parent, scope, file) %7B%0A
va
@@ -187,20 +187,16 @@
ers();%0A%0A
-
for (v
@@ -213,28 ... |
682af7bfd46ff1368f43f8183ad53ccb887c8dfc | update server status response | server/index.js | server/index.js | const express = require('express');
const app = express();
let tickets = require('./data/tickets.mock.json');
const port = 3000;
app.get('/api/tickets', (req, res) => {
setTimeout(() => res.send(tickets), 750)
});
app.delete('/api/tickets/:id', (req, res) => {
const id = Number(req.params.id);
tickets =... | JavaScript | 0.000001 | @@ -395,19 +395,16 @@
tus: 'ok
-kkk
'%7D), 500
|
ccea0928d18f2199edcdf2301c2801578e5ccc84 | include bodyparser again | server/index.js | server/index.js | const express = require('express');
const path = require('path');
const app = express();
const bodyParser = require('body-parser');
const urlencodedParser = bodyParser.urlencoded({ extended: true });
const mongoose = require('mongoose');
const bcrypt = require('bcrypt');
const User = require('./db/UserModel').User;
con... | JavaScript | 0 | @@ -497,19 +497,16 @@
c files%0A
-//
app.use(
@@ -525,19 +525,16 @@
son());%0A
-//
app.use(
@@ -557,19 +557,16 @@
coded(%7B%0A
-//
extend
@@ -574,19 +574,16 @@
d: true%0A
-//
%7D));%0A%0Aap
|
fde96781ccb2044973ad118a5d5dbe8379fddc0d | build wait time | server/index.js | server/index.js | 'use strict'
var app = require('koa')()
var router = require('koa-router')()
var koaBody = require('koa-body')()
var serve = require('koa-static')
var md5 = require('MD5')
var mkdirp = require('mkdirp')
var fs = require('fs')
var components = require('./data')
var getBuildThunk = require('./build').getBuildThunk
var z... | JavaScript | 0.000017 | @@ -1507,264 +1507,8 @@
rn %7D
-%0A yield sleep(10000)%0A if (checkFile(key, this)) %7B return %7D%0A yield sleep(10000)%0A if (checkFile(key, this)) %7B return %7D%0A yield sleep(10000)%0A if (checkFile(key, this)) %7B return %7D%0A yield sleep(10000)%0A if (checkFile(key, this)) %7B return %7... |
30444830271f382bb9d44e3c2e345fd1d27d62ea | fix server locale issues | server/index.js | server/index.js | import polka from 'polka';
import { parse } from 'url';
import next from 'next';
import { join, basename } from 'path';
import IntlPolyfill from 'intl';
import glob from 'glob';
import accepts from 'accepts';
import { readFileSync } from 'fs';
import favicon from 'serve-favicon';
import renderAndCache from './caching';... | JavaScript | 0 | @@ -760,24 +760,129 @@
'.json'));%0A%0A
+const parseLocale = locale =%3E%0A Array.isArray(locale) ? locale%5B0%5D.split('-')%5B0%5D : locale.split('-')%5B0%5D;%0A%0A
const locale
@@ -948,45 +948,8 @@
%3E %7B%0A
- const lang = locale.split('-')%5B0%5D;%0A
if
@@ -972,19 +972,21 @@
he.has(l
-ang
+ocale
)) %7B%0A... |
916d9eaaf2f5e6ebceef305cb8ce863347fa88b2 | make resource-load wrapper publicly available/require-able | webpack-resources-paths.js | webpack-resources-paths.js |
var path = require('path');
var mmirModuleBaseConfig = require('mmir-lib/modulesBaseConfig');
var webpackRemovedPaths = ['jquery'];
var webpackDefaultPaths = {
'mmirf/scion': 'vendor/libs/scion-amd-mod.min.pp',
'mmirf/simpleViewEngine': 'env/view/stubViewEngine',
//FIXME add package util as path:
'mmirf/util': '... | JavaScript | 0 | @@ -1124,16 +1124,92 @@
amd'),%0A%0A
+%09'mmirf/util/resourceLoader': path.resolve(__dirname, 'webpack-loadFile'),%0A%0A
%09'build-
|
8014229275c1cc05286e3944db333fafb203f9a4 | handle account changes for general ledger net worth update | src/components/generalLedgers/src/controller/events.js | src/components/generalLedgers/src/controller/events.js | 'use strict';
module.exports = function (options, imports) {
var logger = imports.logger.get('General Ledgers ctrl - Events');
var Accounts = imports.accounts;
Accounts.on(Accounts.events.CREATED, function (createdItem) {
logger.info('Handling a', Accounts.events.CREATED, 'event');
logger.debug('An account ha... | JavaScript | 0 | @@ -51,16 +51,21 @@
imports
+, api
) %7B%0A%0A%09va
@@ -168,159 +168,543 @@
;%0A%0A%09
-Accounts.on(Accounts.events.CREATED, function (createdItem) %7B%0A%09%09logger.info('Handling a', A
+var handleAccount = function (account) %7B%0A%09%09var accountId = account.id;%0A%09%09if (account.generalLedger && account.gen... |
59cfa89890809cd90743fe4dcc076422086ec7a6 | Add one week ago min, today max date constraints | both/collections/activities.js | both/collections/activities.js | Activities = new Mongo.Collection('activities');
var ActivitiesSchema = new SimpleSchema({
residentIds: {
type: Array,
label: 'Resident'
},
'residentIds.$': {
type: String,
autoform: {
options: function() {
// Get all Homes
var homes = Homes.find().fetch();
// Creat... | JavaScript | 0.999599 | @@ -2086,16 +2086,275 @@
: Date,%0A
+ min: function () %7B%0A // Only allow activities to be recorded for the past seven days%0A return moment().subtract(7, %22days%22).toDate();%0A%0A %7D,%0A max: function () %7B%0A // Do not allow activity dates in the future%0A return new Date();%0A ... |
ded96f67ae2e9aa8e830b9396671984803f963b0 | add params | Algorithms/JS/arrays/removeDuplicates.js | Algorithms/JS/arrays/removeDuplicates.js | Given an array and a value, remove all the instances of that value in the array.
return the number of elements in the array once after the operation.
Example:
If array A is [4, 1, 1, 2, 1, 3]
and value elem is 1,
then new length is 3, and A is now [4, 2, 3]
function removeDuplicates(arr){
var count = {};
var noD... | JavaScript | 0.000002 | @@ -253,16 +253,70 @@
2, 3%5D%0A%0A
+// param arr : array of integers%0A// return an integer%0A
%0Afunctio
|
1d7f2529e9eeedb5243c29173dd46b926f68c3b6 | update user model to set username to lowercase so unique will be case sensitive | app/models/user.server.model.js | app/models/user.server.model.js | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Schema = mongoose.Schema,
crypto = require('crypto');
/**
* A Validation function for local strategy properties
*/
var validateLocalStrategyProperty = function(property) {
return ((this.provider !== 'local' && !this.updated) || pro... | JavaScript | 0.000005 | @@ -1208,32 +1208,51 @@
ername',%0A%09%09trim:
+ true,%0A%09%09lowercase:
true%0A%09%7D,%0A%09passw
|
a546ce3b419f2d56f7292e4d8e6bfa3390a6cccf | Fix abs in coords | server/utils.js | server/utils.js | var distanceKm = 1; //hardcoded the distance for calculating near POI
var earthCirc = 40075 //in Km
exports.calculateLimitCoords = function (lat, long) {
var POIcoords = new Object;
POIcoords.lowLat = (0.009 * distanceKm) - lat;
POIcoords.highLat = (0.009 * distanceKm) + lat;
POIcoords.lowLong = ((360... | JavaScript | 0.000002 | @@ -200,24 +200,33 @@
ds.lowLat =
+Math.abs(
(0.009 * dis
@@ -235,24 +235,25 @@
nceKm) - lat
+)
;%0A POIcoo
@@ -314,24 +314,33 @@
s.lowLong =
+Math.abs(
((360/(Math.
@@ -382,16 +382,17 @@
) - long
+)
;%0A PO
|
c11bdde099d4528740a6bdd006a190330937fc2c | fix common error | server/world.js | server/world.js | /*
* Copyright 2015 randalkamradt.
*
*/
const MAXY = 100;
const MAXX = 100;
export default class World {
constructor() {
this.users = [];
this.field = [];
}
addUser(jwt) {
this.users[jwt.claims.uid] = {
cursorx: 0,
previousx: 0,
cursory: 0,
previousy: 0;
uid: jwt.cl... | JavaScript | 0.000584 | @@ -294,17 +294,17 @@
iousy: 0
-;
+,
%0A u
|
3f878b91daf5b5212595da1eedb2a695143275a5 | update packing receipt | src/inventory/finishing-printing/fp-packing-receipt.js | src/inventory/finishing-printing/fp-packing-receipt.js | 'use strict';
var BaseModel = require('model-toolkit').BaseModel;
var PackingItemModel = require('./fp-packing-receipt-items');
module.exports = class FPPackingReceipt extends BaseModel {
constructor(source) {
super('fp-packing-receipt', '1.0.0');
// Define properties.
this.code = '';
... | JavaScript | 0 | @@ -768,24 +768,55 @@
ction = %22%22;%0A
+ this.finishWidth = %22%22;%0A
this
|
9e6acdb784d84a3b066400d81a0c7121037eb7d4 | Update session.js | server/session.js | server/session.js | var session = require('express-session');
var passport = require('passport');
var sop = require('simple-object-path');
function redisProtect(req, res, next) {
res.header('Cache-Control', 'no-cache');
const token = sop(req.session, 'passport/user/accessToken');
console.log(req.session.passport);
if (!to... | JavaScript | 0 | @@ -294,17 +294,8 @@
sion
-.passport
);%0A
|
93427365879be515ee20f923d0027c535f3323ef | fix trailing comma error in service worker | service-worker.js | service-worker.js | var CACHE_NAME = 'dependencies-cache';
var REQUIRED_FILES = [
'css/material.min.css',
'js/material.min.js'
'js/localForage.min.js'
];
self.addEventListener('install', function(event) {
event.waitUntil(
caches.open(CACHE_NAME)
.then(function(cache) {
console.log('[install] Caches opened, addi... | JavaScript | 0.001194 | @@ -104,16 +104,17 @@
.min.js'
+,
%0A 'js/l
|
ccfc64d52dbc5b0aacbde0f04204b2d5954c3129 | change host | static/readVideoFile.js | static/readVideoFile.js | var rtcVideoPlayer = function(videoElement, videoPath, peerjsHost, peerjsPort) {
$.getJSON(videoPath + '.json', function(videoMetadata) {
// constants
var clusterConcurrency = 3; // how many clusters are fetched concurrently
var clusterTimeout = 10; // how many seconds it takes to time out a request
var bufMin... | JavaScript | 0.000001 | @@ -6681,17 +6681,20 @@
', '
-localhost
+fruitiex.org
', 9
|
6046d30f11a410345251f733f9bb00a347a7d376 | Add logging in users.update | controllers/Users.js | controllers/Users.js | const bcrypt = require('bcrypt');
const models = require('../models');
const { logger } = require('../utils');
const Challenge = models.Challenge;
const Manage = models.Manage;
const Performance = models.Performance;
const Result = models.Result;
const Spot = models.Spot;
const User = models.User;
function UsersContr... | JavaScript | 0.000001 | @@ -5100,22 +5100,40 @@
-console.error(
+logger.errorLog('Users.update',
err)
|
08a4bae764e86fb12483f08498a390759d1de81b | Fix template compiler to let %%name to end with single quote. | core/TemplateUtil.js | core/TemplateUtil.js | /**
* @license
* Copyright 2013 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 | @@ -1654,16 +1654,17 @@
Chars('
+%22
%5Cn%3C'))),
|
ec62791f63f326db7e105fef093918cb3b4e3849 | apply amberite's TDB-in-IE patch, fixes #593 | xmantissa/static/js/tdb.js | xmantissa/static/js/tdb.js |
// import Divmod.Runtime
// import Nevow.Athena
// import Fadomatic
// import Mantissa
if (typeof(Mantissa.TDB) == 'undefined') {
Mantissa.TDB = {};
}
Mantissa.TDB.Controller = Nevow.Athena.Widget.subclass('Mantissa.TDB.Controller');
Mantissa.TDB.Controller.methods(
function loaded(self) {
self.tdbE... | JavaScript | 0 | @@ -2265,18 +2265,8 @@
= %22
-table-cell
%22;%0A
|
1fe4d4c34695a753415e23f193bc588599b11581 | Change boundaries | games/hungrydog.js | games/hungrydog.js | var puppy = {
x: 550,
y: 490,
alive: true,
won: false,
canMove: true,
};
var bone1 = {
x: 560,
y: 80,
alive: true,
};
var bone2 = {
x: 560,
y: 200,
alive: true,
};
var bacon = {
x: 560,
y: 320,
alive: true,
};
document.getElementById("up").onclick = function() {move(38);};
document.getEl... | JavaScript | 0.000001 | @@ -1255,17 +1255,17 @@
py.x %3C 1
-0
+4
00)%7B%0A
|
b78f11dccb17bfbfe663b10ab0ce7c56007eef83 | 迁移域名。 | services/api.js | services/api.js | import Http from '../components/http';
import _ from '../utils/util';
const Promise = require('../components/promise').Promise;
const WX_URL = `https://api.design-sprint.cn`;
const API_METHODS = {
'user': `${WX_URL}/wx/connect`,
'userSetting': `${WX_URL}/wx/mode`,
'index': `${WX_URL}/article/list`,
'detail': ... | JavaScript | 0 | @@ -155,23 +155,18 @@
pi.d
-esign-sprint.cn
+amabtc.com
%60;%0A%0A
|
eeb1cd2452254f470ab3427da1756eb0828914a7 | Add comments to JS functions | project/src/main/webapp/script.js | project/src/main/webapp/script.js | function switchTrend(val) {
var trends = document.getElementsByClassName('trends');
var i = 0;
var updatedCurrentSlide = false;
while(i < trends.length && !updatedCurrentSlide) {
if(trends[i].style.display === 'block') {
var nextTrend = getNextTrend(trends[i],val);
trends[i].style.display = 'non... | JavaScript | 0 | @@ -1,16 +1,50 @@
+/** Updates trend in carousel. */%0A
function switchT
@@ -449,16 +449,55 @@
%0A %7D%0A%7D%0A%0A
+/** Returns next trend in carousel. */%0A
function
|
f1735df98b619eadebfa1ad59092e90c2d52f504 | Fix match | yeoman-open-in-new.user.js | yeoman-open-in-new.user.js | // ==UserScript==
// @name Yeoman Userscript
// @namespace https://github.com/j3lte/user-scripts
// @version 0.0.1
// @description Adds functionalities to Yeoman website
// @author j3lte
// @updateURL https://github.com/j3lte/user-scripts/raw/master/yeoman-open-in-new.user.js
// @downloadURL ... | JavaScript | 0.000002 | @@ -402,31 +402,24 @@
atch
-http://
http://yeoma
@@ -452,23 +452,16 @@
de
-http://
http://y
|
61ad1b4ae14fa79062c05fd7f27b3b9a4ec9ee73 | Update to User.save api references. | website/app/application/core/account/settings/settings.js | website/app/application/core/account/settings/settings.js | (function (module) {
module.controller("AccountSettingsController", AccountSettingsController);
AccountSettingsController.$inject = ["mcapi", "User", "toastr"];
/* @ngInject */
function AccountSettingsController(mcapi, User, toastr) {
var ctrl = this;
ctrl.fullname = User.attr().fullna... | JavaScript | 0 | @@ -542,24 +542,69 @@
ser.
-save(ctrl.mcuser
+attr.fullname = ctrl.fullname;%0A User.save(
);%0A
|
cc99a09308fbeb6526dd610b96b3ae40f5c806f7 | Fix annotation | app/src/users/UserController.js | app/src/users/UserController.js | (function(){
angular
.module('users')
.controller('UserController', UserController);
UserController.$inject = ['userService', '$mdSidenav', '$mdBottomSheet', '$log', '$q', ];
/**
* User List Controller for the TaxRet App
* @param $scope
* @param $mdSidenav
* @param avatarsService
... | JavaScript | 0.000077 | @@ -253,21 +253,26 @@
@param
-$scop
+userServic
e%0A * @
@@ -304,22 +304,39 @@
ram
-avatarsService
+$mdBottomSheet%0A * @param $log
%0A
|
6268ace9d8aebe82cd1d4fa4abc59a9c27b51068 | Update systemjs.config.js | dist/assets/systemjs.config.js | dist/assets/systemjs.config.js | /**
* System configuration for Angular 2 samples
* Adjust as necessary for your application needs.
*/
(function(global) {
// map tells the System loader where to look for things
var map = {
'app': 'app', // 'dist',
'@angular': 'assets/lib/@angular',
'angular2-... | JavaScript | 0.000002 | @@ -221,24 +221,29 @@
'
+site/
app', // 'di
|
729e418be35425998415d39a6aa4aed889a52919 | add congrats messages | ui/learn/src/congrats.js | ui/learn/src/congrats.js | function shuffle(a) {
var j, x, i;
for (i = a.length; i; i -= 1) {
j = Math.floor(Math.random() * i);
x = a[i - 1];
a[i - 1] = a[j];
a[j] = x;
}
}
var list = [
'Awesome!',
'Excellent!',
'Great job!',
'Perfect!',
'Outstanding!',
'Way to go!',
'Yes, yes, yes!',
'You\'re good at this... | JavaScript | 0.000001 | @@ -315,16 +315,47 @@
t this!'
+,%0A 'Nailed it.',%0A 'Right on!'
%0A%5D;%0Ashuf
|
43241f6f6a570853f73dac1b19fe275804302228 | add fix package scripts to prepare-release | build/tasks/prepare-release.js | build/tasks/prepare-release.js | var gulp = require('gulp');
var runSequence = require('run-sequence');
var paths = require('../paths');
var conventionalChangelog = require('gulp-conventional-changelog');
var bump = require('gulp-bump');
var args = require('../args');
var through2 = require('through2');
var fs = require('fs');
var jsonFormat = require... | JavaScript | 0 | @@ -2228,24 +2228,76 @@
p-version',%0A
+ 'update-package-json',%0A 'update-bower-json',%0A
//'doc',
|
cafcd81ce1b2a8db2043cc99e7792650833a9ba7 | add uncaught test exceptions to messages | script/test.js | script/test.js | #!/usr/bin/env node
require("gourdian");
Gourdian.logger.location = path.join(__dirname, "..", "log", "test.log");
// was uninspired by the offerings
var tests_path = path.join(Gourdian.ROOT, "test")
, running_framework_tests = false
, test_runner = new TestRunner()
, tests = []
, messages = []
, counts =... | JavaScript | 0 | @@ -385,16 +385,111 @@
(err) %7B%0A
+ if (test_runner) test_runner.register_error_or_failure(%22process%22, %22uncaughtException%22, err);%0A
Gourdi
|
3ff1e3c191d7c34cc5dfcf626a12e13f117dfc61 | fix issue of assertion exceptions caught at process | script/test.js | script/test.js | #!/usr/bin/env node
require("gourdian");
Gourdian.logger.location = path.join(__dirname, "..", "log", "test.log");
// was uninspired by the offerings
var tests_path = path.join(Gourdian.ROOT, "test")
, running_framework_tests = false
, test_runner = new TestRunner()
, tests = []
, messages = []
, counts =... | JavaScript | 0.000001 | @@ -387,31 +387,39 @@
rr) %7B%0A
-console.log(%22%5Cn
+Gourdian.logger.fatal(%22
Caught e
@@ -435,16 +435,18 @@
%22 + err
+or
+ %22%5Cn%22
@@ -450,16 +450,18 @@
n%22 + err
+or
.stack);
|
9e02f645688665d5bcd68df294e62b845747d216 | Comment and variable cleanup in brainkey store #209 | dl/src/stores/BrainkeyStore.js | dl/src/stores/BrainkeyStore.js | import alt from "alt-instance"
import connectToStores from "alt/utils/connectToStores"
import key from "common/key_utils"
import Immutable from "immutable"
import ChainStore from "api/ChainStore"
import BaseStore from "stores/BaseStore"
import BrainkeyActions from "actions/BrainkeyActions"
/** Each instance supports a... | JavaScript | 0 | @@ -335,154 +335,8 @@
ey.
- This allows the wallet to keep%0A one main brainkey while the Wallet Management Console can allow the user%0A to inspect a different brainkey.%0A
*/%0Ae
@@ -1883,20 +1883,16 @@
%0A*/%0Avar
-MAX_
DERIVIED
@@ -1901,24 +1901,25 @@
RAINKEY_
-ACCOUNTS
+POOL_SIZE
= 10%0A%0Ac
@@ -383... |
0bb278e1042f3cf194603117c499635c424a5e33 | Update check to see if dataTarget is undefined | public/javascripts/application.js | public/javascripts/application.js | function showHideCheckboxToggledContent() {
$(".block-label input[type='checkbox']").each(function() {
var $checkbox = $(this);
var $checkboxLabel = $(this).parent();
var $dataTarget = $checkboxLabel.attr('data-target');
// Add ARIA attributes
// If the data-target attribute is defined
if... | JavaScript | 0.000004 | @@ -330,39 +330,33 @@
$dataTarget !==
-typeof
+'
undefined && $da
@@ -340,32 +340,33 @@
t !== 'undefined
+'
&& $dataTarget
@@ -1413,23 +1413,17 @@
get !==
-typeof
+'
undefine
@@ -1423,16 +1423,17 @@
ndefined
+'
&& $dat
|
fc7f79721eb313f4adcaae3a3b6893dd60a2d98c | Reset table cell widths to default size, not 100% | public/javascripts/application.js | public/javascripts/application.js | function toggle_disclosure(e) {
var id = this;
var disclosureTriangle = $('disclosure_' + id);
if (disclosureTriangle.hasClassName("collapsed")) {
expandDisclosure(id);
}
else {
disclosureTriangle.removeClassName("expanded");
disclosureTriangle.addClassName("collapsed");
$('category_' + id + "... | JavaScript | 0 | @@ -2002,12 +2002,15 @@
h: '
-100%25
+default
'%7D);
|
45fb03035da00b97f92dacc078fdb1967e66409c | update initial attr on circles | public/javascripts/scatterplot.js | public/javascripts/scatterplot.js | var dataset = [];
var numDataPoints = 50;
var w = 500;
var h = 300;
var padding = 30;
var svg = d3.select("#scatterplot")
.append("svg")
.attr('width', w)
.attr('height', h);
var circles = svg.selectAll("circle");
var xScale, yScale, rScale;
document.getElementById("generate-dat... | JavaScript | 0 | @@ -937,89 +937,123 @@
tr('
-r', function(d)%7B return rScale(d%5B1%5D); %7D)%0A .attr('cx', w/2)%0A .attr('cy', h/2
+cx', w/2)%0A .attr('cy', h/2)%0A .attr('r', 10)%0A .attr('fill', 'white')%0A .attr('stroke', 'rbg(245,245,245)'
)%0A
@@ -1144,16 +1144,68 @@
n(3000)%0A
+ .attr('r', function(d)... |
567f26f5b9a5ffa0c28fba789ad502c54c4035a7 | Fix MathJax config not being picked up | public/js/mathjax-config-extra.js | public/js/mathjax-config-extra.js | var MathJax = {
messageStyle: 'none',
skipStartupTypeset: true,
tex2jax: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
processEscapes: true
}
}
| JavaScript | 0 | @@ -1,8 +1,11 @@
-var
+window.
Math
|
d5691fd19e8b9395b3120500217178c4728bfade | use correct var name in sample (#1716) | example-plugins/homebridge-samplePlatform/index.js | example-plugins/homebridge-samplePlatform/index.js | var http = require('http');
var Accessory, Service, Characteristic, UUIDGen;
module.exports = function(homebridge) {
console.log("homebridge API version: " + homebridge.version);
// Accessory must be created from PlatformAccessory Constructor
Accessory = homebridge.platformAccessory;
// Service and Character... | JavaScript | 0 | @@ -6161,33 +6161,36 @@
platform.log(
-a
+newA
ccessory.display
@@ -6625,33 +6625,36 @@
platform.log(
-a
+newA
ccessory.display
|
33bc21b3fbc19c3d6057115d126d53441529b72c | Update index.js | firestore/extend-with-functions/functions/index.js | firestore/extend-with-functions/functions/index.js | const functions = require('firebase-functions');
function triggerSpecificDocument() {
// [START trigger_specific_document]
// Listen for any change on document `marie` in collection `users`
exports.myFunctionName = functions.firestore
.document('users/marie').onWrite((change, context) => {
... | JavaScript | 0.000002 | @@ -3066,37 +3066,38 @@
sValue = change.
-after
+before
.data();%0A
|
20d12c0498aa144da55517e00d5844feeffa9e87 | Remove console.log | rd_ui/app/scripts/ng_highchart.js | rd_ui/app/scripts/ng_highchart.js | (function () {
'use strict';
var defaultOptions = {
title: {
"text": null
},
xAxis: {
type: 'datetime'
},
yAxis: {
title: {
text: null
}
},
tooltip: {
valueDecimals: 2,
... | JavaScript | 0.000004 | @@ -8874,68 +8874,8 @@
%7D);
-%0A%0A console.log(scope.series);
%0A
|
ba1b3374333324262d870d1d0176f1a2ce10556e | rename env variable (#6956) | e2e/test.config.js | e2e/test.config.js | /**
* Contains the default app deployment settings
* @class config.test.config
*/
require('dotenv').config({path: process.env.ENV_FILE});
const HOST = process.env.URL_HOST_ADF;
const LOG = process.env.LOG;
const HOST_ECM = process.env.PROXY_HOST_ADF || HOST || 'ecm';
const HOST_BPM = process.env.PROXY_HOST_ADF |... | JavaScript | 0.000001 | @@ -1456,16 +1456,20 @@
;%0Aconst
+E2E_
LOG_LEVE
@@ -1484,16 +1484,20 @@
ess.env.
+E2E_
LOG_LEVE
@@ -1542,16 +1542,20 @@
%22log%22:
+E2E_
LOG_LEVE
|
bcc4b022af23758c7d8fbc0e63262e325ed1088b | Update arquivo.routes.js | routes/arquivo.routes.js | routes/arquivo.routes.js | var express = require('express');
var router = express.Router();
var archiveModel = require('../models/archives');
var pushNotification = require('../util/push-notification');
var fs = require('fs');
var streamifier = require('streamifier');
router.post('/salvar', function (req, res) {
var form = req.body;
archiveMo... | JavaScript | 0.000001 | @@ -232,24 +232,126 @@
amifier');%0A%0A
+router.post('/testenotificacao', function (req, res) %7B%0A%09pushNotification.sendPDF('2','meuteste');%0A%7D);%0A
router.post(
@@ -467,29 +467,8 @@
%7B%0A%09%09
-var resultadodisso =
push
@@ -544,29 +544,8 @@
son(
-resultadodisso+'xxx'+
resu
@@ -725,14 +725,8 @@
son(
-'... |
32398797b7e985b7468481a6ae3e5b2fce0bce93 | remove console.log | scripts/app.js | scripts/app.js | var app = angular.module("goApp", []);
app.service("mirrors", function () {
return [];
});
app.controller("MainCtrl", function ($scope, $rootScope) {
var threadCount = 3,
timeout = 2000,
testUrl = "/images/srpr/logo11w.png",
originalHosts = ["74.125.232.95", "74.125.232.31", "64.233.185... | JavaScript | 0.000006 | @@ -1248,50 +1248,8 @@
) %7B%0A
- console.log(%22run%22, hosts.length);%0A
@@ -2097,39 +2097,8 @@
) %7B%0A
- console.log(%22change%22);%0A
@@ -3745,77 +3745,8 @@
) %7B%0A
- console.log('image is loaded', attrs.imageLoad);%0A
|
ff6d76668a98e370552a13320326ebeaadd4028c | add env var | Dev/test/retrieveSpec.js | Dev/test/retrieveSpec.js | //dependencies
var utils = require('./utils');
var config = require('../config/config');
var mongoose = require('mongoose');
var should = require('should');
var request = require('supertest');
var _ = require('underscore');
// express server
var app = require('../app.js');
var key;
describe('#retrieve', function() {
... | JavaScript | 0.000011 | @@ -216,16 +216,47 @@
score');
+%0Aprocess.env.NODE_ENV = 'test';
%0A%0A// exp
|
117f05046f454f2540580d748893f1792c9f86ce | remove genbank parsing for now | eln/dna/genbank.js | eln/dna/genbank.js |
import bioParsers from 'bioParsers';
import Twig from 'lib/twigjs/twig';
import 'angularplasmid';
import typerenderer from 'src/util/typerenderer';
import $ from 'jquery';
const templateOptions = {
style: `
#p1 {border:1px solid #ccc}
#t1 {fill:#f0f0f0;stroke:#ccc}
.sminor {stroke:#ccc}
... | JavaScript | 0 | @@ -1,42 +1,4 @@
-%0Aimport bioParsers from 'bioParsers';%0A
impo
@@ -2207,221 +2207,8 @@
%7D;%0A%0A
-export function parse(gb) %7B%0A var d;%0A // The bioParsers API is really strange. It uses a callback even though it is synchronous%0A bioParsers.genbankToJson(gb, function (data) %7B%0A d = data;%0A %7D);%0A... |
d643b37ec079ab8ac429cb1f256413d2a29c24cc | Clean out screenshots on gulp build | tasks/gulp/clean-pre.js | tasks/gulp/clean-pre.js | (function(){
'use strict';
var gulp = require('gulp');
var paths = require('./_paths');
var ignore = require('gulp-ignore');
var rimraf = require('gulp-rimraf');
// clean out assets folder
gulp.task('clean-pre', function() {
return gulp
.src([paths.dest, paths.tmp], {read: false})
.pip... | JavaScript | 0.000001 | @@ -22,18 +22,16 @@
trict';%0A
-
%0A var g
@@ -283,16 +283,55 @@
aths.tmp
+, 'reports/protractor-e2e/screenshots/'
%5D, %7Bread
|
a823948c20eef8a46495f7a8865d1580689d62f7 | Fix log line | tasks/includereplace.js | tasks/includereplace.js | /*
* grunt-include-replace
* https://github.com/alanshaw/grunt-include-replace
*
* Copyright (c) 2013 Alan Shaw
* Licensed under the MIT license.
*/
module.exports = function(grunt) {
"use strict";
var _ = grunt.util._;
var path = require('path');
var fs = require('fs');
grunt.registerMultiTask('inc... | JavaScript | 0.000123 | @@ -2685,16 +2685,17 @@
%0A%09%09%09%09%09if
+
(options
@@ -2707,16 +2707,17 @@
udesDir)
+
%7B%0A%09%09%09%09%09%09
@@ -2730,12 +2730,13 @@
log.
-warn
+error
('in
|
754ebb08971ada184a9c5525ededec7fadc31bc6 | fix childtaskPlan params assignment | tasks/services/plans.js | tasks/services/plans.js | const feathersKnex = require('feathers-knex')
import { isEmpty, ifElse, is, assoc, prop, map, pipe, __ } from 'ramda'
const { iff, validateSchema } = require('feathers-hooks-common')
const taskPlanSchema = require('../schemas/taskPlan')
import ajv from '../../app/schemas'
import * as taskRecipes from '../../tasks/data/... | JavaScript | 0.000002 | @@ -1546,20 +1546,22 @@
s: hook.
-data
+result
.params%0A
|
e7ab3c5b03a1cdbe0f1fb4aaaf7e200a91b37eaf | Remove webp | ember-cli-build.js | ember-cli-build.js | 'use strict';
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const shim = require('@html-next/flexi-layouts/lib/pod-templates-shim');
const { readFileSync } = require('fs');
const { extname } = require('path');
const yamlFront = require('yaml-front-matter');
const walkSync = require('walk-sync');
shim(... | JavaScript | 0.000001 | @@ -676,44 +676,8 @@
(),%0A
- require('imagemin-webp')(),%0A
|
625a2c9b6eeae4797635863905528ccee3def49c | update the ember-template-compiler import | ember-cli-build.js | ember-cli-build.js | /* eslint-env node */
/* global require, module */
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon')
module.exports = function (defaults) {
var app = new EmberAddon(defaults, {
babel: {
optional: ['es7.decorators']
},
'ember-cli-mocha': {
useLintTree: false
},
sassOptio... | JavaScript | 0.000001 | @@ -566,15 +566,115 @@
ort(
-'vendor
+app.project.addonPackages%5B'ember-source'%5D%0A ? 'vendor/ember/ember-template-compiler.js' : 'bower_components
/emb
|
b7c1d77f3f7d2f6d24c2825a97fe26a6f77d8bf3 | disable JSDoc validation for TS | pkg/npm/eslint-config/index.js | pkg/npm/eslint-config/index.js | const env = {
"browser": true,
"es6": true,
"node": true
};
const rules = {
"array-bracket-spacing": ["error", "never"],
"arrow-parens": [
"error",
"as-needed",
{
"requireForBlockBody": true
}
],
"arrow-spacing": "error",
"@typescript-eslint/ban-ts-comment": [2,
{
'ts-expe... | JavaScript | 0 | @@ -4452,21 +4452,72 @@
rules%22:
-rules
+%7B%0A ...rules,%0A %22valid-jsdoc%22: %22off%22%0A %7D
%0A %7D%0A
|
64c820a8d0ff424b010fb0c7fbb5af9a606736a3 | fix nak in desktop version | settings/local.js | settings/local.js | module.exports = function(manifest, installPath, settingDir) {
var path = require("path");
var fs = require("fs");
if (typeof installPath != "string") {
installPath = process.platform == "darwin" && false // disabled for sdk
? "/Library/Application Support/Cloud9"
: path... | JavaScript | 0 | @@ -1615,32 +1615,35 @@
%22http%22%0A %0A
+ //
config.nodeBin
@@ -1677,20 +1677,23 @@
32%22%0A
+//
+
? path.j
@@ -1729,24 +1729,27 @@
de.exe%22)%0A
+ //
: path.
|
1549c476999be7475ebe179c473be3761896e5a0 | Update app/js/FileHandler.js | app/js/FileHandler.js | app/js/FileHandler.js | const Settings = require('settings-sharelatex')
const { callbackify } = require('util')
const fs = require('fs')
const PersistorManager = require('./PersistorManager')
const LocalFileWriter = require('./LocalFileWriter')
const FileConverter = require('./FileConverter')
const KeyBuilder = require('./KeyBuilder')
const I... | JavaScript | 0 | @@ -1839,14 +1839,12 @@
all(
-%5B
jobs
-%5D
)%0A%7D%0A
|
f7725b2ab59c92a8db42842253571119cc740eea | Update cli setup | app/libs/cli/index.js | app/libs/cli/index.js | 'use strict';
// Load requirements
const dashdash = require('dashdash'),
spawn = require('child_process'),
path = require('path'),
os = require('os'),
fs = require('fs');
// Load modules
const utils = require(__base + 'libs/utils'),
locale = require(__base + 'libs/locale'),
logger ... | JavaScript | 0.000001 | @@ -343,16 +343,68 @@
bs/log')
+,%0A settings = require(__base + 'libs/settings')
;%0A%0A// Pa
@@ -1144,17 +1144,16 @@
hwAccel
-
= this.g
@@ -1169,80 +1169,11 @@
();%0A
-%0A
- // Define the temp directory to render to, not yet supported%0A //
opt
@@ -1186,19 +1186,29 @@
emp
-
= (
-config
+set... |
5fb248dcc2b0e6326bf831a62676331b7d72ea95 | Add comment and fix destructured parameter | src/data/NoteRepository.js | src/data/NoteRepository.js | import firebase from 'firebase';
import EventEmitter from 'events';
import { config } from '../config';
/**
* extend EventEmitter so user of NoteRepository can react to
* our custom events (ex: noteRepository.on('added'))
*/
class NoteRepository extends EventEmitter {
constructor() {
super();
// Initiali... | JavaScript | 0 | @@ -773,16 +773,36 @@
);%0A %7D%0A%0A
+ // removes a note%0A
remove
@@ -803,16 +803,20 @@
remove(%7B
+ id:
key %7D,
|
7d505494bef28bb8599099d00396d69254801876 | add DialRequest description | src/dialer/dial-request.js | src/dialer/dial-request.js | 'use strict'
const AbortController = require('abort-controller')
const anySignal = require('any-signal')
const debug = require('debug')
const errCode = require('err-code')
const log = debug('libp2p:dialer:request')
log.error = debug('libp2p:dialer:request:error')
const FIFO = require('p-fifo')
const pAny = require('p-... | JavaScript | 0 | @@ -350,16 +350,362 @@
/**%0A *
+ Manages running the %60dialAction%60 on multiple provided %60addrs%60 in parallel%0A * up to a maximum determined by the number of tokens returned%0A * from %60dialer.getTokens%60. Once a DialRequest is created, it can be%0A * started using %60DialRequest.run(options)%60. Once... |
87716f9352bc384628eaeab99c9c1595b2707b90 | Add centroid to mapState | app/routes/profile.js | app/routes/profile.js | import Ember from 'ember'; // eslint-disable-line
import { L } from 'ember-leaflet'; // eslint-disable-line
import bbox from 'npm:@turf/bbox'; // eslint-disable-line
import carto from '../utils/carto';
function buildBorocd(boro, cd) {
let borocode;
switch (boro) {
case 'manhattan':
borocode = 100;
... | JavaScript | 0.000013 | @@ -104,66 +104,8 @@
line
-%0Aimport bbox from 'npm:@turf/bbox'; // eslint-disable-line
%0A%0Aim
@@ -1114,20 +1114,16 @@
tate');%0A
-
%0A map
@@ -1167,16 +1167,72 @@
nds'));%0A
+ mapState.set('centroid', district.get('centroid'));%0A
%7D,%0A a
|
c499e04d46780950b877b7d9058fba29f654fc23 | Refactor functions as const | app/views/components/app/app.js | app/views/components/app/app.js | app.controller('appCtrl', function($scope, $http, $routeParams, $location, socket, Data) {
$scope.hash = '';
$scope.warning = false;
$scope.warningMessage = '';
$scope.pincode = '';
$scope.currStatus = 0;
/* need id input -> 0, checking id -> 1, waiting for btn -> 2, success -> 3 */
$scope... | JavaScript | 0.000006 | @@ -716,24 +716,21 @@
%7D;%0A%0A
-function
+const
joinFai
@@ -733,16 +733,27 @@
nFailure
+ = function
() %7B%0A
@@ -1154,32 +1154,33 @@
%7D);%0A %7D
+;
%0A%0A socket.rem
@@ -1285,24 +1285,21 @@
);%0A%0A
-function
+const
pollWai
@@ -1299,16 +1299,26 @@
pollWait
+= function
() %7B%0A ... |
c473baa2f60eda09bcd16ce272a1b6e6473e361d | add closeApp stub | platform/pure.femto/backend.js | platform/pure.femto/backend.js | exports.capabilities = {}
exports.init = function(ctx) {
log('backend initialization...')
var options = ctx.options
var nativeContext = options.nativeContext
var oldOn = fd.Object.prototype.on
fd.Element.prototype.on = function(name, callback) {
oldOn.call(this, name, ctx.wrapNativeCallback(callback))
}
ctx... | JavaScript | 0.000001 | @@ -18,16 +18,74 @@
ies = %7B%7D
+%0A_globals.closeApp = function() %7B%0A%09log(%22closeApp: stub%22)%0A%7D
%0A%0Aexport
|
5661b98be522636dbc07c1de0ff213ff657eb047 | read env json on config.js | app/scripts/config.js | app/scripts/config.js | const firebase = require('firebase/app');
const envFile = require('../env.json');
const env = JSON.parse(envFile);
var config = {
apiKey: env.API_KEY,
authDomain: env.AUTH_DOMAIN,
databaseURL: env.DATABASE_URL,
storageBucket: env.STORAGE_BUCKET,
messagingSenderId: env.MESSAGING_SENDER_ID
};
fireba... | JavaScript | 0.000001 | @@ -44,20 +44,16 @@
onst env
-File
= requi
@@ -74,41 +74,8 @@
n');
-%0Aconst env = JSON.parse(envFile);
%0A%0Ava
|
0f4f943f76e1e7f92126b01671f3fee496ad380c | Correct path in annotations spec | test/annotationsSpec.js | test/annotationsSpec.js | import annotations from '../src/annotations';
describe('A test', function () {
it('will test something', function () {
expect(annotations).to.be.an('object');
});
});
| JavaScript | 0.000001 | @@ -36,16 +36,28 @@
otations
+/annotations
';%0A%0Adesc
|
0ad984725cc84315637843e7ae55a51ae32ffcd5 | Clean up router | app/scripts/router.js | app/scripts/router.js | HighFidelity.Router.map(function() {
// this.route('popular');
this.route('search');
this.resource('podcasts');
this.resource('podcast.new', {path: '/podcast/new'});
this.resource('podcast', {path: '/podcast/:podcast_id'}, function() {
// this.route('episodes', {path: '/episodes'});
... | JavaScript | 0 | @@ -150,17 +150,16 @@
st.new',
-
%7Bpath:
@@ -238,112 +238,8 @@
_id'
-%7D, function() %7B%0A // this.route('episodes', %7Bpath: '/episodes'%7D);%0A this.route('edit');%0A
%7D);%0A
|
036158343b3d8c8d042a902a9c4c962710939c87 | Add a test about caching the result | test/applyTransforms.js | test/applyTransforms.js | require('should');
var applyTransforms = require('../src/applyTransforms');
describe('applyTransforms', function () {
it('exists', function () {
applyTransforms.should.be.a.Function;
});
function apply(transforms, declarations) {
applyTransforms(transforms, declarations, Object.create(nul... | JavaScript | 0.000003 | @@ -4133,12 +4133,644 @@
%7D);%0A%0A
+ it('should memoize the results', function () %7B%0A var called = 0;%0A apply(%0A %7B%0A custom: function () %7B%0A called++;%0A return %7B%0A textDecoration: 'none',%0A ... |
a6ff28f9dff5717ef0c3b077ce7b75b741a6b04b | add alerts from broadcasts | app/services/wsApi.js | app/services/wsApi.js | /**
* @ngdoc service
* @name core.service:WsApi
* @requires ng.$q
* @requires core.service:RestApi
* @requires core.service:WsService
*
* @description
* A service wrapper for the webservices api.
*
*/
core.service("WsApi", function ($q, $location, $rootScope, RestApi, WsService) {
var WsApi = this;
... | JavaScript | 0 | @@ -264,16 +264,30 @@
otScope,
+ AlertService,
RestApi
@@ -2240,32 +2240,232 @@
nel);%0A %7D%0A
+ subscriptions%5Bchannel%5D.then(null, null, function (message) %7B%0A var messageContent = JSON.parse(message.body);%0A AlertService.add(messageContent.meta, channel);%0A %7D)... |
48f640047822fcb95c8f022fc580634b73214c76 | 修改baidu.swf.Proxy用例 | test/baidu/swf/Proxy.js | test/baidu/swf/Proxy.js | /***************************************************************************
*
* Copyright (c) 2011 Baidu.com, Inc. All Rights Reserved
* $Id$
*
**************************************************************************/
/**
* proxy.js ~ 2011/01/23 00:32:02
*
* @author leeight(liyubei@baidu.com)
* @versio... | JavaScript | 0 | @@ -558,24 +558,146 @@
unction() %7B%0A
+%09%09%09%09%09%09%09%09var div=document.createElement('div');%0A%09%09%09%09%09%09%09%09div.id='FlashContainer';%0A%09%09%09%09%09%09%09%09document.body.appendChild(div);%0A//
%09%09%09%09%09%09%09%09$(do
@@ -717,16 +717,18 @@
append(%0A
+//
%09%09%09%09%09%09%09%09
@@ -167... |
78bd640972220bda8f5d6d67917ba5f811514666 | remove old comments | app/src/initialize.js | app/src/initialize.js | // initializes the application and links it with the GUI
// require core modules
// const nodeInfo = require('./src/core/nodeInfo.js')
const printTotalNodes = require('./core/printTotalNodes.js')
const hoverNodeInfo = require('./core/hoverNodeInfo.js')
const editMenu = require('./core/editMenu.js')
const editEdge = re... | JavaScript | 0 | @@ -5030,46 +5030,8 @@
%7D)%0A%0A
- // load the buttons for each phase%0A%0A
//
@@ -5328,37 +5328,18 @@
des%0A )%0A
+%0A
- printTotalNodes(cy)
// init
@@ -5353,10 +5353,32 @@
e count%0A
+ printTotalNodes(cy)%0A
%7D%0A
|
0d6f30e8d420395db3a889c5c9d1fa9847847772 | Add space | app/src/views/root.js | app/src/views/root.js | import React from 'react';
import { Provider } from 'react-redux';
import { Router, Route, IndexRoute } from 'react-router'
import App from './app';
import HomePage from './pages/Home';
import NotFound from './pages/NotFound';
import LoginPage from './pages/Login';
import RegisterPage from './pages/Register';
import Pr... | JavaScript | 0.030891 | @@ -1220,32 +1220,33 @@
nt=%7BProjectPage%7D
+
/%3E%0A
|
87cb302463a88227232b03923179728a8c0904f8 | Add jshint option: noarg | app/view/Gruntfile.js | app/view/Gruntfile.js | module.exports = function(grunt) {
grunt.util.linefeed = '\n';
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
config: grunt.file.readYAML('../config/config.yml'),
watch: {
options: {
spawn: false,
livereload: true
},... | JavaScript | 0.999999 | @@ -5200,16 +5200,118 @@
a line%0A
+ noarg: true, // Prohibits the use of arguments.caller and arguments.callee%0A
|
822d2eea148df2dd2e567c2eb51344f49a31b37e | convert cli-plugin.test to mocha | test/cli-plugin.test.js | test/cli-plugin.test.js | var Cimpler = require('../lib/cimpler'),
net = require('net'),
childProcess = require('child_process');
exports.cliInterface = function(done, assert) {
var cb = 0,
tcpPort = 20002,
consumedBuild = false,
cimpler = new Cimpler({
plugins: {
cli: { tcpPort: tcpPort}
},
... | JavaScript | 0.999801 | @@ -62,24 +62,58 @@
ire('net'),%0A
+ assert = require('assert'),%0A
childPro
@@ -150,30 +150,81 @@
);%0A%0A
-exports.cliInterface =
+describe(%22CLI plugin%22, function() %7B%0A it(%22should accept builds via TCP%22,
fun
@@ -237,20 +237,15 @@
done
-, assert
) %7B%0A
+
v
@@ -255,16 +255,19 @@
c... |
4da621e1b9a60e11da91fb67ee16622736c4ced0 | a todo | test/data-management.js | test/data-management.js | const chai = require('chai');
const expect = chai.expect;
const kindOfRegularResponse = require('./fake-api/kind-of-regular-response.json');
const SuperRepo = require('../lib/index.js');
const defaultConfiguration = {
storage: 'LOCAL_VARIABLE',
name: 'test',
outOfDateAfter: 3 * 1000, // 3 seconds
requ... | JavaScript | 0.99896 | @@ -3194,24 +3194,71 @@
evData =%3E %7B%0A
+ // TODO: More complex process.%0A
|
aeb305ac085e451a5ba5655cee4076d2f64f2b64 | add default date for transactions | business/transactions-logic.js | business/transactions-logic.js | const Transaction = require('../models/transaction')
var Q = require('q')
const ObjectID = require('mongodb')
.ObjectID
function TransactionsLogic(ItemsLogic) {
var monitor
let startMonitor = (monitorInstance) => {
monitor = monitorInstance
}
let stopMonitor = () => {
monitor = null
}
let saveTra... | JavaScript | 0.000001 | @@ -415,24 +415,81 @@
ransaction)%0A
+ if (!transaction.date) transaction.date = new Date()%0A
return n
|
7378ca953c4925ffa904d2f5b4c457632276c9ef | fix alert being undefined when doing `var alert = window.alert` | scegratoo/public/scripts/services/treenode.js | scegratoo/public/scripts/services/treenode.js | 'use strict'
const {
alert,
angular,
FileReader
} = window
angular.module('scegratooApp')
.service('TreeNode', function Project (React, R, TreeNodeAttribute, Project) {
const {
__,
always,
complement,
contains,
eq,
filter,
flatten,
ifElse,
map,
m... | JavaScript | 0.000001 | @@ -19,17 +19,8 @@
t %7B%0A
- alert,%0A
an
@@ -3955,16 +3955,23 @@
h(() =%3E
+window.
alert('U
|
c9b7b60440576542a4aa8a52db95886590f5bc82 | Fix theme change | project/src/js/ui/settings/index.js | project/src/js/ui/settings/index.js | import * as utils from '../../utils';
import router from '../../router';
import helper from '../helper';
import { header as headerWidget, backButton } from '../shared/common';
import layout from '../layout';
import formWidgets from '../shared/form';
import settings from '../../settings';
import session from '../../sess... | JavaScript | 0.000001 | @@ -2352,35 +2352,58 @@
e =%3E
+ utils.autoredraw(() =%3E
%7B%0A
-
se
@@ -2513,32 +2513,33 @@
);%0A %7D
+)
%0A )),%0A
@@ -2734,16 +2734,39 @@
e =%3E
+ utils.autoredraw(() =%3E
%7B%0A
@@ -2874,32 +2874,32 @@
.target.value);%0A
-
%7D%0A
@@ -... |
3ea6926455ed1f039af8c4be40954e42316a64c8 | Add announcement for friends.nico @ TOKYO | app/javascript/mastodon/features/compose/components/announcements.js | app/javascript/mastodon/features/compose/components/announcements.js | import React from 'react';
import Immutable from 'immutable';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import IconButton from '../../../components/icon_button';
const announcements = Immutable.fromJS([
{
id: 1,
body: 'friends.nico のアプリができました!',
links... | JavaScript | 0 | @@ -251,24 +251,221 @@
romJS(%5B%0A %7B%0A
+ id: 3,%0A body: 'friends.nico @ TOKYO %E9%96%8B%E5%82%AC%EF%BC%81',%0A links: %5B%0A %7B%0A href: 'https://goo.gl/forms/LLi2wmHuzr4NJiTG3',%0A body: '%E5%8F%82%E5%8A%A0%E7%99%BB%E9%8C%B2%E3%81%AF%E3%81%93%E3%81%A1%E3%82%89',%0A %7D,%0A %... |
e71d5225f77dab6e69cda99751fc9e3c3cdb106a | add hideSteps | src/jquery-simple-steps.js | src/jquery-simple-steps.js | /* Version 0.1.0 */
(function($){
$.fn.simpleSteps = function (options){
options = $.extend({
stepClass : '.step',
animationSpeed : 500
}, options);
var stepsContainer = this;
var currentStep, nextButtons, steps, validations;
currentStep = 0;
validations = {
... | JavaScript | 0.000001 | @@ -457,32 +457,74 @@
ind(
-'.step');%0A nextStep
+options.stepClass);%0A hideSteps();%0A $(steps).first().show
();%0A
@@ -683,24 +683,51 @@
ed);%0A %7D%0A%0A
+ function hideSteps() %7B%0A
var i;
@@ -841,92 +841,16 @@
%7D
-else %7B%0A $(steps%5Bi%5D).show('slow');%0A %... |
1d79400cd8a25fb0726dc8ea45b40c8e9177a2b8 | Remove switch statement | src/js/components/Alert.js | src/js/components/Alert.js | import classNames from 'classnames';
import React from 'react';
import Icon from './Icon';
const Alert = ({children, showIcon, type}) => {
const classes = classNames('alert', {
[`alert-${type}`]: type != null
});
let icon = null;
if (showIcon) {
const className = 'alert-icon';
const family = 'min... | JavaScript | 0.000002 | @@ -268,227 +268,31 @@
nst
-className = 'alert-icon';%0A const family = 'mini';%0A const size = 'mini';%0A%0A switch (type) %7B%0A case 'danger':%0A icon = (%0A %3CIcon className=%7BclassName%7D%0A family=%7Bfamily%7D%0A id=%22
+ids = %7B%0A danger: '
ring
@@ ... |
866e71630a1fd747afe746e4ec0b024e8649465c | Add option to show both sides of split for mobile screen sizes | src/js/components/Split.js | src/js/components/Split.js | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import React, { Component, PropTypes } from 'react';
const CLASS_ROOT = "split";
const BREAK_WIDTH = 720; //adds the breakpoint of single/multiple split
export default class Split extends Component {
constructor () {
super();
this._onRe... | JavaScript | 0 | @@ -2142,16 +2142,61 @@
AK_WIDTH
+ && this.props.showOnResponsive === 'primary'
) %7B%0A
@@ -3302,16 +3302,75 @@
pes.bool
+,%0A showOnResponsive: PropTypes.oneOf(%5B'priority', 'both'%5D)
%0A%7D;%0A%0ASpl
@@ -3439,12 +3439,44 @@
'right'
+,%0A showOnResponsive: 'priority'
%0A%7D;%0A
|
5239ac8ee1cccb7ffd86cb91732fffe75a7932f5 | Fix catching promise errors on validate call | addon/forms/model-form.js | addon/forms/model-form.js | import _ from 'lodash';
import Ember from 'ember';
import DS from 'ember-data';
import EmberValidations from 'ember-validations';
import FormObjectMixin from 'ember-form-object/mixins/form-object';
import { depromisifyProperty, isThenable } from 'ember-form-object/utils/core';
function propertyTypeReducer(type) {
re... | JavaScript | 0.000002 | @@ -1878,16 +1878,45 @@
lidate()
+.then(Ember.K).catch(Ember.K)
;%0A %7D,%0A%0A
|
65a74f22f0327746759af6bb2259e3c0e19b4b4d | Improve dashboard router transition | addon/routes/dashboard.js | addon/routes/dashboard.js | import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
export default class DashboardRoute extends Route {
@service router;
beforeModel() {
this.router.transitionTo('dashboard.week');
}
}
| JavaScript | 0 | @@ -198,20 +198,19 @@
ter.
-transitionTo
+replaceWith
('da
|
88ee434bd1b79daba5a948b3cfdcdd9b97df9206 | Use await* for waiting on multiple promises | push.js | push.js | /* jshint node: true, esnext: true */
'use strict';
var AWS = require('aws-sdk');
var modes = require('js-git/lib/modes');
var fs = require('fs');
var path = require('path');
var s3db = require('./s3-db');
var fsdb = require('./fs-db');
var cachedb = require('./cache-db');
var callback = require('./callback');
var q... | JavaScript | 0 | @@ -1118,29 +1118,18 @@
= await
+*
-Promise.all(
files.ma
@@ -1175,17 +1175,16 @@
, file))
-)
;%0A var
@@ -1641,29 +1641,18 @@
= await
+*
-Promise.all(
items.ma
@@ -1684,17 +1684,16 @@
, item))
-)
;%0A va
@@ -3740,21 +3740,10 @@
wait
+*
-Promise.all(
Obje
@@ -3813,17 +3813,16 @@
s%5Bref%5D))
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.