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 |
|---|---|---|---|---|---|---|---|
b520033953d520087ebb47e99ccb21677101ddd4 | Update script.min.js | js/dist/script.min.js | js/dist/script.min.js | function toggleNav(){$(".nav").hasClass("expanded")?($(".nav ul").slideUp(),$(".nav").addClass("hidden"),$(".nav").removeClass("expanded"),$(".menu-toggle").removeClass("active")):$(".nav").hasClass("hidden")&&($(".nav ul").slideDown(),$(".nav").addClass("expanded"),$(".nav").removeClass("hidden"),$(".menu-toggle").add... | JavaScript | 0.000002 | @@ -1278,16 +1278,17 @@
,%22Ju%C5%BC ni
+g
dy nie z
@@ -1690,8 +1690,9 @@
gle()%7D);
+%0A
|
4868f8ff622fd2d9b70be77b73042470bfc07fba | Fix imports | index.js | index.js | /* globals System, mocha, Promise */
import { defaults } from 'lodash';
const loadTestem = () => {
return System.import('/testem');
};
const loadTests = (tests) => {
return Promise.all(tests.map(test => System.import(test)));
};
const setUpChai = () => {
return System
.import('chai')
.then(chai => {
... | JavaScript | 0.000002 | @@ -636,33 +636,43 @@
em%0A .import('
-.
+jspm-testem
/frameworks/' +
@@ -714,16 +714,24 @@
=%3E load
+.default
());%0A%7D;%0A
@@ -798,33 +798,43 @@
em%0A .import('
-.
+jspm-testem
/frameworks/' +
@@ -879,16 +879,24 @@
=%3E setup
+.default
(opts));
@@ -973,17 +973,27 @@
import('
-.
+jspm-testem
/fram... |
228958072b46bd96086fd41050a8f3bae539750c | Update bar.js | drawing/bar.js | drawing/bar.js | var drawSingleBar = function(canvas, context, x, y, bar){
}
| JavaScript | 0.000001 | @@ -1,8 +1,32 @@
+//dependencies: item.js%0A
var draw
|
221f22385cb0b62d6f99144a409ddc71d0f586d1 | Remove timer on timeout | hawk/models/notifies.js | hawk/models/notifies.js | let request = require('request');
let Twig = require('twig');
let email = require('../modules/email');
let mongo = require('../modules/database');
let collections = require('../config/collections');
let Crypto = require('crypto');
let projectModel = require('./project');
/** Notifications config **/
let config = requi... | JavaScript | 0.000007 | @@ -4221,16 +4221,276 @@
%7D;
+%0A%0A /** Remove timer if no error in GROUP_TIME seconds */%0A setTimeout(function () %7B%0A /** notify about pack of errors */%0A if (timers%5Bevent.groupHash%5D.times == 0) %7B%0A delete timers%5Bevent.groupHash%5D;%0A %7D;%0A %7D, GR... |
12852929ec1a6ec4aca8806464f89a08c149d2d7 | Add support for summary files | formatter.js | formatter.js | var builder = require('xmlbuilder');
/**
* Formats a `TestRun` into xml
*
* @param {TestRun} testRun - the `TestRun` instance to format
* @return {string} xml
*/
exports.testRun = function (testRun) {
var xml = builder.create('TestRun')
, el;
xml.att('xmlns', 'http://microsoft.com/schemas/VisualStudio/Te... | JavaScript | 0 | @@ -1052,29 +1052,30 @@
ultSummary')
+;
%0A
-
+el
.att('outcom
@@ -1947,24 +1947,171 @@
.pending);%0A%0A
+%0A if(result.resultFiles && result.resultFiles.length %3E 0) %7B%0A buildArray(result.resultFiles, el.ele('ResultFiles'), buildResultFileEntry);%0A %7D%0A%0A
el = xml.e
|
6a75bba0a05c5504702489938862db17be62fd3a | Replace ~/ with ./ for folder references in shelljs.exec() calls. shelljs.exec always sets the working folder to the same folder as the Gruntfile.js | Gruntfile.js | Gruntfile.js | /*global module:false*/
var shell = require('shelljs');
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Task configuration.
jshint: {
options: {
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
no... | JavaScript | 0.000002 | @@ -2007,17 +2007,17 @@
pack to
-~
+.
/buildpa
@@ -2175,17 +2175,17 @@
git-dir
-~
+.
/buildpa
@@ -2350,17 +2350,17 @@
ess.git
-~
+.
/buildpa
@@ -2578,17 +2578,17 @@
l.exec('
-~
+.
/buildpa
@@ -2606,16 +2606,16 @@
ile
-~
+.
/dist
-~
+.
/.bu
@@ -3962,25 +3962,25 @@
ompt --path
-~
+.
/dist').code
@@ -40... |
023fb77e39997f56ae6a4f5e9db6702c0d406460 | Fix to load Redux store with immutable `sourceRequest` state. | index.js | index.js | var React = require('react');
var ReactRouter = require('react-router');
var RoutingContext = ReactRouter.RoutingContext;
var match = ReactRouter.match;
var History = require('history');
var createMemoryHistory = History.createMemoryHistory;
var useQuerie... | JavaScript | 0 | @@ -1,16 +1,66 @@
+var Immutable = require('immutable');%0A
var React
@@ -1906,16 +1906,34 @@
equest:
+new Immutable.Map(
%7B%0A
@@ -2020,24 +2020,25 @@
host%0A %7D
+)
%0A %7D);%0A
|
23622db74b3b13a99905ade513cfffe1d8adf7b8 | Fix eslint ts override tsx matching | .eslintrc.js | .eslintrc.js | module.exports = {
"extends": ["matrix-org", "matrix-org/react"],
"env": {
"browser": true,
"node": true,
},
"rules": {
"quotes": "off",
},
"overrides": [{
"files": ["src/**/*.{ts, tsx}"],
"extends": ["matrix-org/ts", "matrix-org/react"],
"env": {
... | JavaScript | 0.000001 | @@ -229,17 +229,16 @@
*/*.%7Bts,
-
tsx%7D%22%5D,%0A
|
f68fe1e99dc6d92cbd4130c762c60a82be4448f6 | changed colour to green | src/main/js/shaders/load_screen_fragment_shader.js | src/main/js/shaders/load_screen_fragment_shader.js | 'use strict';
export function fragmentSource() {
const fsSource = `#version 300 es
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
uniform vec2 u_resolution;
uniform float u_time;
out vec4... | JavaScript | 0.998262 | @@ -698,17 +698,17 @@
c, vec3(
-1
+0
.0, 1.0,
@@ -708,17 +708,17 @@
0, 1.0,
-1
+0
.0), %0A
@@ -822,17 +822,16 @@
* a)));%0A
-%0A
|
1ed80a2369f782a988e2db6ab805174398027ee8 | Update sub-nav-path.js | src/conf/sub-nav-path.js | src/conf/sub-nav-path.js | export default [ {
title: '零安樂死真相',
path: '/a/protect-animal-no-killing-ch1'
},
{
title: '一例一休吵什麼?',
path: '/a/taiwan-labor-day-off-dispute'
},
{
title: '美國總統大選',
path: '/tag/57b065e5360b651200848d76'
},
{
title: '台灣空汙紫爆怎麼辦',
path: '/tag/5773c909c107b51000e9beb4'
},
{
title: '走入同志家庭',
path: '/topic... | JavaScript | 0.000001 | @@ -12,16 +12,92 @@
ult %5B %7B%0A
+ title: '%E8%A1%80%E6%B7%9A%E6%BC%81%E5%A0%B4',%0A path: '/topics/far-sea-fishing-investigative-report'%0A%7D,%7B%0A
title:
@@ -107,16 +107,16 @@
%E5%AE%89%E6%A8%82%E6%AD%BB%E7%9C%9F%E7%9B%B8',%0A
-
path:
@@ -227,72 +227,8 @@
,%0A%7B%0A
- title: '%E7%BE%8E%E5%9C%8B%E7%B8... |
6b670a6aa2c61963b4fe902c8303a8cadb73e127 | Fix #12 Have a smoother sync | app/js/controllers/init/sync/SyncController.js | app/js/controllers/init/sync/SyncController.js | "use strict";
var co = require('co');
module.exports = ($scope, $http, $state, $timeout, $stateParams, BMA, UIUtils) => {
let syncWS = BMA.webmin.ws();
UIUtils.enableInputs();
$scope.synchronizing = false;
$scope.sync_failed = false;
$scope.host = $stateParams.host || localStorage.getItem('sync_host') || ... | JavaScript | 0 | @@ -486,16 +486,48 @@
= false;
+%0A $scope.remote_current = null;
%0A%0A $sco
@@ -779,24 +779,65 @@
(current) %7B%0A
+ $scope.remote_current = current;%0A
$sco
@@ -2299,16 +2299,127 @@
scope.to
+,%0A chunkLen: Math.min(25, Math.max(500, $scope.remote_current ? $scope.remote_current.number /... |
9127cb77d530d047f33fad5da212935dac127041 | Fix benchmark | lib/node_modules/@stdlib/math/base/random/discrete-uniform/benchmark/benchmark.js | lib/node_modules/@stdlib/math/base/random/discrete-uniform/benchmark/benchmark.js | 'use strict';
// MODULES //
var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/math/base/random/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var pkg = require( ... | JavaScript | 0.000009 | @@ -1890,37 +1890,43 @@
round( (b-a) *
+Math.
rand
-u
+om
() ) + a;%0A%09%09if (
|
a60a0a365de50c0799daba7eb3c2cd552f13cca0 | Update form_validation.js | js/form_validation.js | js/form_validation.js | $(document).ready(function () {
$("#rsvpform").validate({
//by default the error elements is a <label>
errorElement: "div",
//place all errors in a <div id="errors"> element
errorPlacement: function(error, element) {
error.appendTo("div#errors");
},
rules... | JavaScript | 0.000002 | @@ -322,33 +322,32 @@
%7B%0A %22
-1
name%22: %7B%0A
@@ -527,17 +527,16 @@
%22
-1
name%22: %7B
|
fe7495b4e0e56245eafef6042c3c47356208c3f1 | Improve string handling | index.js | index.js | /**
* @param {string} str USD-formatted string to be converted into a number.
* @return {string} The converted number OR the original argument if a
* string was not passed.
*/
var unFormatUSD = function( str ) {
return typeof str.replace !== 'undefined' ? parseFloat(str.replace(/[^0-9\.]/g,'')) || str :... | JavaScript | 0.002888 | @@ -242,31 +242,20 @@
str
-.replace !== 'undefined
+ === 'string
' ?
|
10c16b9adcd8c26b04385dbe009049e6003dab89 | Update ProjectsCollectionView.js | app/scripts/Projects/ProjectsCollectionView.js | app/scripts/Projects/ProjectsCollectionView.js | // /* Projects */
(function(module, sstt, preloaded_projects) {
module.CollectionView = Backbone.View.extend({
template: JST['app/scripts/Projects/ProjectsCollectionTpl.ejs'],
initialize: function() {
this.projectsCollection = new module.Collection... | JavaScript | 0 | @@ -318,12 +318,8 @@
ion(
-);//
prel
@@ -339,144 +339,13 @@
s);%0A
+%09
- this.listenTo(this.projectsCollection, %22sync%22, this.render);%0A %0A this.projectsCollection.fetch();%0A%09%09%09//
this
@@ -1389,16 +1389,17 @@
rrent_projects);
+%0A
|
12e64ec55f7a9461d173e47aff186cc057118611 | Fix the description of Point class: 'new Point' to 'new createjs.Point' | src/easeljs/geom/Point.js | src/easeljs/geom/Point.js | /*
* Point
* Visit http://createjs.com/ for documentation, updates and examples.
*
* Copyright (c) 2010 gskinner.com, 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
* restrict... | JavaScript | 0.999999 | @@ -1404,24 +1404,33 @@
point = new
+createjs.
Point(0, 100
|
17b401e4f7026c6a0c6c27c39de65b80749edbcf | fix rz stuff | src/main/webapp/static/app/controllers/register.js | src/main/webapp/static/app/controllers/register.js | (function() {
'use strict';
angular
.module('app')
.controller('RegisterCtrl', ['$scope', '$http', function($scope, $http, $location, userService){
$scope.registerUser = function() {
$http.post('/register', $scope.user,$scope.phoneNumber)
.then(fu... | JavaScript | 0 | @@ -116,16 +116,44 @@
'$http',
+ '$location', 'userService',
functio
|
60159295d3a87b047d7c7aaa1f5552c3107525e2 | Fix missing return statement | src/models/baseModel.js | src/models/baseModel.js | export default (getDataStore, modelName) => {
const getModel = () => {
getDataStore()[modelName];
};
const create = (vals) => {
return getModel().create(vals);
};
const del = (conditions) => {
return getModel().del(conditions);
};
const deleteById = (id) => {
return getModel().deleteById(id);
};
co... | JavaScript | 1 | @@ -67,16 +67,23 @@
=%3E %7B%0A%09%09
+return
getDataS
|
afb6d72d1b70a4fc866cb73202d8a47d0730eaae | Store entranceData in localStorage. | kanban/component/welcome/controllers/welcomeController.js | kanban/component/welcome/controllers/welcomeController.js | /**
* Created by xubt on 4/20/16.
*/
kanbanApp.controller('welcomeController', ['$scope', '$location', '$q', 'welcomeServices', 'publicKeyServices', 'localStorageService', '$uibModal',
function ($scope, $location, $q, welcomeServices, publicKeyServices, localStorageService, $uibModal) {
var entrancePromi... | JavaScript | 0 | @@ -491,16 +491,84 @@
ceData;%0A
+ localStorageService.set(%22entranceData%22, _entranceData);%0A
|
b54c5c7a86ccccc717d610acdf0396e462d72904 | Test Heap: Tests for single element initialization | test/data-structures/testHeap.js | test/data-structures/testHeap.js | /* eslint-env mocha */
const Heap = require('../../src').datastructures.Heap;
const assert = require('assert');
describe('Heap', () => {
it('should be empty when initialized', () => {
const inst = new Heap();
assert(inst.isEmpty());
assert.equal(inst.size, 0);
});
it('should test default compare fun... | JavaScript | 0 | @@ -268,32 +268,179 @@
ize, 0);%0A %7D);%0A%0A
+ it('should initialize with 1 element', () =%3E %7B%0A const inst = new Heap(1);%0A assert(!inst.isEmpty());%0A assert.equal(inst.size, 1);%0A %7D);%0A%0A
it('should tes
|
efbc7044910a08e397e825c01663ec7520cafedf | Update facebook tracker to only track messages sent | lib/trackers/facebook.js | lib/trackers/facebook.js | var _ = require('underscore');
var moment = require('moment');
var FacebookStrategy = require('passport-facebook').Strategy;
var FacebookClient = require("facebook-client").FacebookClient;
module.exports = {
id: "facebook",
name: "Facebook",
description: "Track your social activity and your relations from Facebook... | JavaScript | 0 | @@ -1063,16 +1063,198 @@
= this;%0A
+%0A%09%09user.setModel(%7B%0A%09%09%09'eventNamespace': this.id,%0A%09%09%09'eventName': %22message%22,%0A%0A%09%09%09'name': %22Messages sent%22,%0A%09%09%09'icon': '$facebook',%0A%09%09%09'description': %22Messages sent on Facebook%22%0A%09%09%7D);%0A%0A
%09%09sessio
@@ -1860,31... |
87bea2040942f44eae5299b02167dec8b2ae2ef7 | Debug print the path it currently resolves to | index.js | index.js | module.exports = {
website: {
assets: ".",
html: {
"body:start": function(current) {
var fs = require("fs");
console.log("### ADD-HEADER ###")
console.dir(current);
var filePath = current.basePath + "/HEADER.md";
try {
return fs.readFileSync(filePath);... | JavaScript | 0 | @@ -138,126 +138,179 @@
-console.log(%22### ADD-HEADER ###%22)%0A console.dir(current);%0A var filePath = current.basePath + %22/HEADER.md%22
+var path = require(%22path%22);%0A var filePath = current.basePath + %22/HEADER.html%22;%0A console.log(%22### ADD-HEADER ###%22)%0A con... |
e46e5beccbca184e8bc105baa8324957cd4f74c9 | Remove unnecessary event handler | app/scripts/modules/payments/models/payment.js | app/scripts/modules/payments/models/payment.js | 'use strict';
var _ = require('lodash');
var $ = require('jquery');
var Backbone = require('backbone');
var dispatcher = require('../../../dispatchers/admin-dispatcher');
var payment = require('../config.json');
Backbone.$ = $;
var Payment = Backbone.Model.extend({
defaults: {
to_address_id: 0,
from_address... | JavaScript | 0 | @@ -1346,37 +1346,8 @@
= %7B
-%0A login: this.login%0A
%7D;%0A%0A
|
847b847c0f2809d903f2944124a383b0b0bb6af5 | Update minified | frame.min.js | frame.min.js | /**
The MIT License (MIT)
Copyright (c) 2013 Tolo Palmer
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.000009 | @@ -1282,16 +1282,58 @@
__:true,
+__picture_regex__:/%5C.(png%7Cjpg%7Cjpeg%7Cgif)$/,
init:fun
@@ -1526,16 +1526,65 @@
true%7D%7D);
+if($(%22#%22+Frame.config%5B%22modal-frame%22%5D).length==0)%7B
$(%22body%22
@@ -1803,16 +1803,28 @@
-content
+ text-center
%22%3E%3C/div%3E
@@ -1838,16 +1838,17 @@
/div%3E')%7D
+%7... |
3b317a205cc2f0186b90333978e3aca72462dc82 | update eslintrc | .eslintrc.js | .eslintrc.js | module.exports = {
'extends': 'airbnb',
'plugins': [
'react',
'jsx-a11y',
'import',
],
'env': {
'browser': true,
'es6': true,
'node': true,
'mocha': true,
},
'parser': 'babel-eslint',
'rules': {
'semi': ['error', 'never'],
'import/no-unresolved': [2, { 'ignore': ['views... | JavaScript | 0.000001 | @@ -307,16 +307,23 @@
nore': %5B
+%0A
'views/.
@@ -361,16 +361,69 @@
p-types'
+,%0A '@blueprintjs/core', 'styled-components'%0A
%5D %7D%5D,%0A
@@ -640,24 +640,86 @@
ts'%0A %7D%5D,%0A
+ 'indent': %5B%22error%22, 2, %7B%22flatTernaryExpressions%22: true%7D%5D,%0A
'no-lone
|
08291c193f3088149f15989c8c9b73fd180a047a | set button default to not be all caps | src/index.js | src/index.js | import "utils/polyfills" // necessary for IE11
import React from "react"
import ReactDOM from "react-dom"
import { Provider } from "react-redux"
import { MuiThemeProvider, createMuiTheme } from "@material-ui/core/styles"
import { ConnectedRouter } from "connected-react-router"
import { ApolloProvider } from "@apollo/re... | JavaScript | 0.00315 | @@ -2255,16 +2255,87 @@
%7D,%0A %7D,%0A
+ typography: %7B%0A button: %7B%0A textTransform: %22none%22,%0A %7D,%0A %7D,%0A
%7D)%0A%0A// W
|
208798d0d72f95255fdf3ba67a35ad1f28db517c | Fix issues with eslint. | index.js | index.js | 'use strict';
var path = require('path'),
childProcess = require('child_process'),
gutil = require('gulp-util'),
chalk = require('chalk'),
through = require('through2'),
phantomjs = require('phantomjs'),
binPath = phantomjs.path;
module.exports = function (params) {
var options = params ||... | JavaScript | 0 | @@ -318,16 +318,17 @@
%7C%7C %7B%7D;%0A
+%0A
binP
@@ -529,18 +529,17 @@
th) %3E= 0
-;%0A
+,
%0A
@@ -539,19 +539,19 @@
-var
+
childAr
@@ -559,16 +559,17 @@
s = %5B%5D;%0A
+%0A
@@ -666,25 +666,24 @@
ldArgs.push(
-
options%5B'pha
@@ -698,17 +698,16 @@
ptions'%5D
-
);%0A ... |
2ba0a210e7e450cf9ebd749dcdcde58dda97bd40 | Test for #assignContent | jasmine/spec/NoteSpec.js | jasmine/spec/NoteSpec.js | describe("Note", function(){
beforeEach(function() {
note = new PinPoint.Note();
localStorage["time"] = "0:30"
localStorage["url"] = "http://www.youtube.com/12i3t47grfi"
});
it("should be defined.", function(){
expect(note).toBeDefined();
});
describe("#assignURL", function(){
it("should... | JavaScript | 0 | @@ -562,13 +562,326 @@
);%0A %7D);
+%0A%0A describe(%22#assignContent%22, function()%7B%0A xit(%22should assign note's noteContent attribute to new value.%22, function()%7B%0A note.assignContent();%0A expect(note.noteContent).toEqual(%22%22);%0A expect(note.noteContent).not.toEqual(undefined);%0A ... |
4fb378296e84ccbe79ba32134256b7b1f8000e62 | Update ModernJavascript.js (#16) | src/pages/ModernJavascript.js | src/pages/ModernJavascript.js | import React, { Component } from 'react';
import { Author } from '../components'
import Page from './Page'
import styles from './styles'
export default class ModernJavascript extends Component {
render() {
return (
<Page title={this.props.title} footer={this.props.footer}>
<div style={styles.well}... | JavaScript | 0 | @@ -1623,17 +1623,16 @@
nterpret
-t
ers will
|
970af542b08a2d63f1ab54ac0ef085efc7dc47b9 | allow console | .eslintrc.js | .eslintrc.js | module.exports = {
extends: 'airbnb/base',
env: {
'mocha': true,
'node': true
},
rules: {
// Node 6 does not support dangling commas in function arguments
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"functions": "n... | JavaScript | 0.000006 | @@ -95,24 +95,172 @@
%0A rules: %7B%0A
+ // Using 'console' is perfectly okay for a Node.js CLI tool and avoiding%0A // it only brings unnecessary complexity%0A 'no-console': 'off',%0A%0A
// Node
@@ -320,17 +320,17 @@
nts%0A
-%22
+'
comma-da
@@ -333,17 +333,17 @@
a-dangle
-%22
+'
: %5B%0A
@... |
4f357daea173a522d7b56612a55d118174b19168 | Remove unused | js/id/ui/inspector.js | js/id/ui/inspector.js | iD.ui.Inspector = function() {
var event = d3.dispatch('changeTags', 'close', 'change'),
taginfo = iD.taginfo(),
presetData = iD.presetData(),
initial = false,
inspectorbody,
entity,
presetUI,
presetGrid,
tagList,
tagEditor,
context;
... | JavaScript | 0.000349 | @@ -90,40 +90,8 @@
'),%0A
- taginfo = iD.taginfo(),%0A
@@ -206,47 +206,12 @@
eset
-UI,%0A presetGrid,%0A tagList
+Grid
,%0A
|
3b3ef16fe37c57293680fb0be13521c37c7acf9d | Remove use of helpers for v2/v3 compatibility | src/index.js | src/index.js | import Chart from 'chart.js';
import {
parse, parseISO, toDate, isValid, format,
startOfSecond, startOfMinute, startOfHour, startOfDay,
startOfWeek, startOfMonth, startOfQuarter, startOfYear,
addMilliseconds, addSeconds, addMinutes, addHours,
addDays, addWeeks, addMonths, addQuarters, addYears,
differenceInMillis... | JavaScript | 0 | @@ -988,42 +988,54 @@
if (
-Chart.helpers.isNullOrUndef(value)
+value === null %7C%7C typeof value === 'undefined'
) %7B%0A
|
616eef7dbd816a1b20f4f1ffbfc2ac7418a5b6f7 | handle polarities in arrays | src/embeds/WeaponEmbed.js | src/embeds/WeaponEmbed.js | 'use strict';
const BaseEmbed = require('./BaseEmbed.js');
const dispositions = ['\\⚫\\⚫\\⚫\\⚫\\⚫', '\\⚫\\⚫\\⚫\\⚫\\⚪', '\\⚫\\⚫\\⚫\\⚪\\⚪', '\\⚫\\⚫\\⚪\\⚪\\⚪', '\\⚫\\⚪\\⚪\\⚪\\⚪', '\\⚪\\⚪\\⚪\\⚪\\⚪'];
/**
* Generates enemy embeds
*/
class WeaponEmbed extends BaseEmbed {
/**
* @param {Genesis} bot - An instance of ... | JavaScript | 0.000001 | @@ -2576,18 +2576,47 @@
arities
-%7C%7C
+? weapon.polarities.join(' ') :
'-',%0A
|
98bc36f0993343a77762a1eff94bcc3a44fbc350 | Add call to make login default | ensure-login-keychain.js | ensure-login-keychain.js | #!/usr/bin/env node
'use strict'
var program = require('commander')
var winston = require('winston')
var exec = require('./lib/exec')
program
.version(require('./package.json').version)
.description('Ensure default login keychain exists')
.parse(process.argv)
exec('security list-keychains -d user').then(func... | JavaScript | 0 | @@ -685,16 +685,108 @@
%7D%0A
+ %7D).then(function () %7B%0A return exec('security default-keychain -s login.keychain');%0A
%7D)%0A
|
22e7ea29ad2eb95c049cda379e6f9120122ec22e | fix applying ? to every url | lib/ui/components/url.js | lib/ui/components/url.js | import React from 'react';
export class Url extends React.Component {
static get propTypes() {
return {
url: React.PropTypes.string.isRequired
}
}
_getFormattedUrl() {
const parts = this.props.url.split('?');
const url = parts[0];
const queryString = parts[1];
return (
<spa... | JavaScript | 0.000047 | @@ -287,16 +287,40 @@
parts%5B1%5D
+ ? %60?$%7Bparts%5B1%5D%7D%60 : null
;%0A%0A r
@@ -388,17 +388,16 @@
%22query%22%3E
-?
%7B queryS
|
af01a2517d4a991c063de38b228a94c68852aaff | Set namespace on store | src/index.js | src/index.js | 'use strict';
const EventEmitter = require('events');
const JSONB = require('json-buffer');
const loadStore = opts => {
const adapters = {
redis: 'keyv-redis',
mongodb: 'keyv-mongo',
mongo: 'keyv-mongo'
};
if (opts.adapter || opts.uri) {
const adapter = opts.adapter || /^[^:]*/.exec(opts.uri)[0];
return ... | JavaScript | 0.000002 | @@ -704,16 +704,68 @@
ts);%0A%09%09%7D
+%0A%0A%09%09this.opts.store.namespace = this.opts.namespace;
%0A%09%7D%0A%0A%09_g
|
4e4d4de07eb4252d70a20afefef5c6e30dbaacd5 | print environment | index.js | index.js | (function() {
'use strict';
console.log("Found redis host: " + process.env.OPENSHIFT_REDIS_DB_HOST);
console.log("Found redis port: " + process.env.OPENSHIFT_REDIS_DB_PORT);
var redishost = process.env.OPENSHIFT_REDIS_DB_HOST || process.env.REDIS || 'localhost';
var redisport = process.env.OPENSHIFT_REDIS_DB... | JavaScript | 0.000004 | @@ -24,16 +24,44 @@
rict';%0A%0A
+ console.log(process.env);%0A
consol
|
f261bac5f39d92d983abd17d9162c63993ad7df6 | Align multiline string backslashes | frequency.js | frequency.js | /* frequency.js
* (c) Pranav Ravichandran <me@onloop.net>
* Released the MIT license.
* http://github.com/pranavrc/frequency/
*/
$(document).ready(function () {
var count = 0;
$("*[id^=frequency]").each(function () {
var frequency = parseFloat(($(this).attr('id')).split("-")[1]);
var fadeD... | JavaScript | 0.000054 | @@ -672,32 +672,42 @@
+
%5C%0A @k
@@ -722,32 +722,42 @@
%22 + aName + %22 %7B
+
@@ -1079,32 +1079,42 @@
+
%5C%0A @-
@@ -1137,32 +1137,42 @@
%22 + aName + %22 %7B
+
@@ -1486,32 +148... |
9aae29fb9a917278ec833981fbdedecba25bf3bb | Fix process stop bug | lib/gerrit-event-emitter.js | lib/gerrit-event-emitter.js | /*
* gerrit-event-emitter
* https://github.com/shiwano/gerrit-event-emitter
*
* Copyright (c) 2014 Shogo Iwano
* Licensed under the MIT license.
*/
'use strict';
var util = require('util'),
inflection = require('inflection'),
EventEmitter2 = require('eventemitter2').EventEmitter2,
gerritStream = req... | JavaScript | 0.000002 | @@ -643,16 +643,17 @@
false;%0A
+%0A
this._
@@ -668,16 +668,247 @@
= null;%0A
+ this._stream = null;%0A%0A var _this = this;%0A this._subscriber = %7B%0A write: function() %7B%0A _this.onStreamWrite.apply(_this, arguments);%0A %7D,%0A end: function() %7B%0A _this.onStreamEnd.apply(_this, arg... |
a0742154aec31817c6e86e12ed3083662372c3c2 | implement a graph class for use in edge inference | src/pgraphs/fromPointCloud.js | src/pgraphs/fromPointCloud.js | import * as lattices from '../geometry/lattices';
import { points } from '../geometry/types';
const ops = points;
const flatMap = (fn, xs) => xs.reduce((t, x) => t.concat(fn(x)), []);
const cartesian = (xs, ys) => flatMap(x => ys.map(y => [x, y]), xs);
export default function fromPointCloud(rawPoints, edges, gram... | JavaScript | 0.000001 | @@ -250,16 +250,940 @@
), xs);%0A
+const vecabs = v =%3E v %3C ops.times(0, v) ? ops.negative(v) : v;%0A%0A%0Aconst graph = () =%3E %7B%0A const neighbors = %5B%5D;%0A%0A const degree = i =%3E (neighbors%5Bi%5D %7C%7C %5B%5D).length;%0A%0A const contains = (adjs, j, s) =%3E %7B%0A for (const %5Bk, v%5D of adj... |
80e5e6852a2a7f132e731f22db85778a3479db4e | save the regex itself, if cloned it will be a regex, if merged it will be an object | index.js | index.js | 'use strict';
var util = require('./lib/util');
exports = module.exports = Parth;
function Parth(){
if(!(this instanceof Parth)){
return new Parth();
}
this.store = {children: {}};
this.regex = [];
this.regex.master = /(?:[])/;
}
// ## parth.add(path)
// > path to regex classification
// > TODO: give... | JavaScript | 0.000002 | @@ -1998,17 +1998,22 @@
path%5D =
-o
+parsed
;%0A retu
|
59cf2f879f438aff1af147e024b3f7610032397e | Rename confusing variable `self` | js/plugins/natingtel.js | js/plugins/natingtel.js | "use strict";
var Natingtel = function (html, document_mail) {
this.html = html || '';
this.document_mail = this.peel(document_mail);
};
Natingtel.prototype = new Vendor('MailDec');
extend(Natingtel.prototype, {
init: function () {
this.sender = {
name: '대신증권',
support: tru... | JavaScript | 0.000012 | @@ -1080,20 +1080,20 @@
var
-self
+that
= this;
@@ -1167,12 +1167,12 @@
n =
-self
+that
.key
|
0d5bcfdd92c9ab0cf96ccaae7784d5780cecd569 | Remove cascader | src/index.js | src/index.js | import Group from '../packages/group/index.js';
import SelectDropdown from '../packages/select-dropdown/index.js';
import Pagination from '../packages/pagination/index.js';
import Dialog from '../packages/dialog/index.js';
import Cascader from '../packages/cascader/index.js';
import Autocomplete from '../packages/autoc... | JavaScript | 0.000001 | @@ -220,62 +220,8 @@
s';%0A
-import Cascader from '../packages/cascader/index.js';%0A
impo
@@ -2936,50 +2936,8 @@
g);%0A
- Vue.component(Cascader.name, Cascader);%0A
Vu
@@ -5138,20 +5138,8 @@
og,%0A
- Cascader,%0A
Au
|
82f75363d2fd4c112cd2e2d97305820247dd17ec | Remove legacy warning by using "parserOptions.ecmaVersion" now | index.js | index.js | module.exports = {
extends: [
"./rules/4-0",
"./rules/4-2",
"./rules/4-6",
"./rules/es6",
"./rules/es6-plugins"
].map(require.resolve),
parserOptions: {
ecmaVersion: 2017,
sourceType: "module",
ecmaFeatures: {
experimentalObjectRestSpread: true,
},
},
rules: {
str... | JavaScript | 0 | @@ -251,36 +251,35 @@
-experimentalObjectRestSpread
+%22parserOptions.ecmaVersion%22
: tr
|
7a7f8f7f773c373dadd7368525aacab43ea0d149 | Add new line after error message | lib/handlers/error-pages.js | lib/handlers/error-pages.js | module.exports = handler
var debug = require('../debug').server
var fs = require('fs')
function handler (err, req, res, next) {
debug('Error page because of ' + err.message)
var ldp = req.app.locals.ldp
// If the user specifies this function
// then, they can customize the error programmatically
if (ldp.e... | JavaScript | 0.000012 | @@ -546,32 +546,39 @@
send(err.message
+ + %22%5Cn%22
%7C%7C '')%0A %7D%0A%0A /
|
57b60e721305ce944291c9070098c662fec89b4c | add support for parse function | index.js | index.js | var assert = require('assert');
var tzdata = require('./lib/tzdata.js');
exports.tzdata = tzdata;
var _Date = Date;
exports._Date = _Date;
var timezone;
var HOUR = 60 * 60 * 1000;
var date_iso_8601_regex=/^\d\d\d\d(-\d\d(-\d\d(T\d\d\:\d\d\:\d\d(\.\d\d\d)?(Z|[+-]\d\d\:?\d\d))?)?)?$/;
var date_with_offset=/^\d\d\d\d-... | JavaScript | 0 | @@ -4078,24 +4078,102 @@
ar(yr);%0A%7D;%0A%0A
+MockDate.parse = function (dateString) %7B%0A return _Date.parse(dateString);%0A%7D%0A%0A
MockDate.pro
|
07f4b423a1a12ea34eecf5798e695c8a5fc18f51 | Add alias for all link arguments | src/index.js | src/index.js | /*
* Copyright (c) 2015 TechnologyAdvice
*/
import Promise from 'bluebird';
import config from './lib/config';
import services from './lib/services';
import proc from './lib/process';
import output from './lib/output';
import parsers from './lib/parsers';
// Process timer
const start = new Date().getTime();
const c... | JavaScript | 0 | @@ -2250,17 +2250,27 @@
-link',
-l
+%60$%7Bl%7D:$%7Bl%7D%60
%5D); %7D);
|
81eb140b141177ab7d3627d4674e49260952d6c7 | Fix for an issue on windows where fhc fails to find the node_modules directory. | lib/utils/find-prefix.js | lib/utils/find-prefix.js | // try to find the most reasonable prefix to use
module.exports = findPrefix;
var fs = require("fs");
var path = require("path");
var fhc = require("../fhc");
function findPrefix (p, cb) {
p = path.resolve(p);
if (fhc.config.get("global")) return cb(null, p);
// if there's no node_modules folder, then
// wal... | JavaScript | 0 | @@ -155,16 +155,19 @@
fhc%22);%0A%0A
+/*%0A
function
@@ -1056,12 +1056,1075 @@
);%0A %7D);%0A%7D;%0A
+*/%0A%0Afunction findPrefix (p, cb_) %7B%0A function cb (er, p) %7B%0A process.nextTick(function () %7B%0A cb_(er, p)%0A %7D)%0A %7D%0A%0A p = path.resolve(p)%0A if (fhc.config.get(%22global%22)) ret... |
5ed80977ba9e53f4c7e138cfb4848c737764bfe9 | Fix issue with renderers not being handed an explicit data object correctly | js/layout/renderer.js | js/layout/renderer.js | (function registerRenderLayout(){
var dispatch = widget.layout.register( 'renderer', createRendererView, {
description: "Creates a dynamic renderer via indirection, allowing complex data structures"
} );
function getRendererLayout( def )
{
var key = 'staticRenderer';
var renderer = widget.get( def... | JavaScript | 0 | @@ -1185,24 +1185,53 @@
tack', %5B%5D );
+%0A%0A var dataPopCount = 1;
%0A dataS
@@ -1255,16 +1255,130 @@
.data );
+%0A if( def.layout.data )%0A %7B%0A dataStack.unshift( def.layout.data );%0A dataPopCount++;%0A %7D
%0A%0A
@@ -1768,24 +1768,68 @@
tack.pop();%0A
+ f... |
9dced38f48b578f0fd5f87db45d588396d01848e | fix typo in change listener | js/views/MiniProfile.js | js/views/MiniProfile.js | import app from '../app';
import { followsYou } from '../utils/follow';
import { isBlocked, events as blockEvents } from '../utils/block';
import baseVw from './baseVw';
import loadTemplate from '../utils/loadTemplate';
export default class extends baseVw {
constructor(options = {}) {
const opts = {
fetchF... | JavaScript | 0.000009 | @@ -810,17 +810,16 @@
nge:name
-,
change:
|
ae6ed503dd7d85b9638b678da08dfc83d6bf7db4 | Set CSW Harvester user agent | lib/helpers/CSWHarvester.js | lib/helpers/CSWHarvester.js | const EventEmitter = require('events').EventEmitter;
const MultiStream = require('multistream');
const through = require('through2').obj;
const csw = require('csw-client');
const _ = require('lodash');
const stringify = require('json-stable-stringify');
const debug = require('debug')('geogw:csw-harvester');
const sha1 ... | JavaScript | 0 | @@ -778,18 +778,20 @@
t: '
-InspireBot
+CSWHarvester
',%0A
|
c7e5718538d1c704654a8bca926938c54a7b41be | Handle this.caps not being an array | index.js | index.js | var debug = require( 'debug' )( 'wpcom-vip' );
var Request = require( './lib/util/request' );
// Modules
function WPCOM_VIP( token ) {
this.req = new Request( this );
this.auth = {};
this.caps = [];
const sites = require( './lib/sites' );
this.sites = new sites( this );
}
WPCOM_VIP.p... | JavaScript | 0 | @@ -1085,24 +1085,99 @@
action ) %7B%0A
+ if ( ! Array.isArray( this.caps ) ) %7B%0A return false;%0A %7D%0A %0A
return t
|
14090cc6b5048717bcbeb389ddbe456ba74d53c8 | Add config for Sails responses and passing the payload in the req object | index.js | index.js | var JWT = require('jsonwebtoken');
var ext_token = require('./lib/extract_token');
module.exports = function indexes(sails) {
return {
// Default config
defaults: {
kimyjwt: {
idField: "id",
passportLike: true,
magicObject: false
}
},
// Hook config. None by now..... | JavaScript | 0 | @@ -257,16 +257,83 @@
cObject:
+ false,%0A useSailsResponses: false,%0A passPayloadInReq:
false%0A
@@ -945,16 +945,154 @@
cObject;
+%0A var useSailsResponses = sails.config.kimyjwt.useSailsResponses;%0A var payloadInReq = sails.config.kimyjwt.passPayloadInReq;
%0A%0A
@@ -1245,16 ... |
d1d50158ed857feaaac2d2e11fa11609a863a318 | Fix inheritance.js as module. | js/lib/inheritance.js | js/lib/inheritance.js | /* Simple JavaScript Inheritance
* By John Resig http://ejohn.org/
* MIT Licensed.
*
* Converted to a module by Atom and Zach when they did a code sprint on 04/26/2014
*/
// Inspired by base2 and Prototype
define(
[],
function(){
var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.... | JavaScript | 0.000001 | @@ -2066,11 +2066,35 @@
s;%0A %7D;%0A
+ %0A return this.Class;%0A
%7D);
|
1c1241eaca06f92d1a1072d3e0209c05fda0736d | Add transformObservable option | src/index.js | src/index.js | import React from 'react';
import Rx from 'rx-lite';
import isFunction from 'lodash.isfunction';
class SubscriberWrapper extends React.Component {
constructor(props) {
super(props);
this.state = {};
}
subscribeOnNext(observable) {
this.disposable.add(
observable.subscribeOnNext((stateChanges)... | JavaScript | 0 | @@ -614,16 +614,37 @@
rvables,
+ transformObservable,
forward
@@ -658,24 +658,25 @@
%7D = props;%0A
+%0A
if (isFu
@@ -907,32 +907,52 @@
subscribeOnNext(
+transformObservable(
observable);%0A
@@ -946,16 +946,17 @@
ervable)
+)
;%0A %7D)
@@ -1463,16 +1463,61 @@
%0A %7D%0A%7D%0A%0A
+function reflect(i... |
91c232827ffdd47786ca0a6a29210e4ec2a77d91 | Add bounds support | index.js | index.js | (function (factory) {
var L;
if (typeof define === 'function' && define.amd) {
// AMD
define(['leaflet', 'proj4leaflet'], factory);
} else if (typeof module !== 'undefined') {
// Node/CommonJS
L = require('leaflet');
proj4leaflet = require('proj4leaflet');
mod... | JavaScript | 0.993954 | @@ -2368,16 +2368,170 @@
leUrls;%0A
+ %7D,%0A bounds: function(context, bounds) %7B%0A context.bounds = new L.LatLngBounds(%5B%5Bbounds%5B1%5D, bounds%5B0%5D%5D, %5Bbounds%5B3%5D, bounds%5B2%5D%5D%5D);%0A
@@ -5539,8 +5539,9 @@
ON;%0A%7D));
+%0A
|
0f9b34c02a485cf8cf8e0e6ed30b0dded85df39b | Fix for broken payload when no internal actions | lib/internalClientServer.js | lib/internalClientServer.js | const _ = require('lodash');
const Client = require('ci-client');
const commands = require('./commands');
module.exports.start = (commonConfig) => {
const commandNames = _.flatten(commands.map(cmd => cmd.commands));
console.log('Internal commands found', commandNames);
const clientConfig = Object.assign(... | JavaScript | 0.000001 | @@ -382,29 +382,8 @@
ames
-,%0A actions: %5B%5D
%0A
|
2fc06952016a8b54c4d280c030840ebb3409850d | Add additional reducer methods to supplier invoice reducer | src/pages/dataTableUtilities/reducer/getReducer.js | src/pages/dataTableUtilities/reducer/getReducer.js | /**
* mSupply Mobile
* Sustainable Solutions (NZ) Ltd. 2019
*/
/**
* Method using a factory pattern variant to get a reducer
* for a particular page or page style.
*
* For a new page - create a constant object with the
* methods from reducerMethods which are composed to create
* a reducer. Add to PAGE_REDUCER... | JavaScript | 0 | @@ -719,16 +719,37 @@
shData,%0A
+ deleteBatchesById,%0A
%7D from '
@@ -1302,32 +1302,51 @@
%0A deselectAll,%0A
+ closeBasicModal,%0A
openBasicModal
@@ -1385,32 +1385,85 @@
%0A refreshData,%0A
+ addItem,%0A editTotalQuantity,%0A deleteBatchesById,%0A
%7D;%0A%0Aconst PAGE_R
|
b3a50010bab8d9e2c531df578c424aee81992f72 | format code | functions.js | functions.js | var TemplateEngine = function(html, options) {
var re = /\{\{([^\}\}]+)?\}\}/g, reExp = /(^( )?(if|for|else|switch|case|break|{|}))(.*)?/g, code = 'var r=[];\n', cursor = 0, match;
var add = function(line, js) {
js? (code += line.match(reExp) ? line + '\n' : 'r.push(' + line + ');\n') :
(cod... | JavaScript | 0.000061 | @@ -77,16 +77,21 @@
%5C%7D%5C%7D/g,
+%0A
reExp =
@@ -142,16 +142,21 @@
.*)?/g,
+%0A
code = '
@@ -169,16 +169,21 @@
%5B%5D;%5Cn',
+%0A
cursor =
@@ -186,16 +186,21 @@
or = 0,
+%0A
match;%0A
|
52b7909e06f166f53b4146dd8ef27fe1186f71e1 | modify SpriteImage.js | src/extras/SpriteImage.js | src/extras/SpriteImage.js | SPP.SpriteImage=function()
{
SPP.Particle.call(this);
this.context=null;
this.texture=null;
this.onUpdate=null;
this.scale=1;
this.rotation=0;
this.alpha=1;
this.registrationX=0.5;
this.registrationY=0.5;
};
SPP.SpriteImage.prototype = SPP.inherit(SPP.Particle.prototype);
SPP.SpriteImage.prototype.construc... | JavaScript | 0.000001 | @@ -207,24 +207,26 @@
ionY=0.5;%0A%09%0A
+%09%0A
%7D;%0ASPP.Sprit
@@ -1519,10 +1519,175 @@
0.5;%0A%7D;%0A
+SPP.SpriteImage.prototype.width=function()%0A%7B%0A%09return this.texture.width*scale;%0A%7D;%0ASPP.SpriteImage.prototype.height=function()%0A%7B%0A%09return this.texture.height*scale;%0A%7D;
%0A%0A
|
2ab983b8c7774a30ec1317f073f7921d670eca1c | set maxresults | lib/views/finder-view.js | lib/views/finder-view.js | 'use babel';
import SelectListView from 'atom-select-list'
import fuzzaldrin from 'fuzzaldrin'
import fuzzaldrinPlus from 'fuzzaldrin-plus'
import path from 'path'
import {Disposable, CompositeDisposable} from 'atom'
import FileView from './file-view.js';
const Queue = require('./../helper/queue.js');
export default... | JavaScript | 0.000002 | @@ -610,24 +610,46 @@
items:%5B%5D,%0A
+ maxResults: 10,%0A
filter
|
41b2fbdc8b502ffaa885fa588f05625f237c77b3 | Call equal(srcItem, dstItem) with params in intuitive order | index.js | index.js | module.exports = function diffResource(src, dst, opts) {
if (!opts) opts = {};
var equal = opts.equal || defaultEqual();
var key = opts.key || 'id';
var transforms = {put: [], post: [], del: []};
var hash = {};
var pk;
src.forEach(function(srcItem) {
var pk = srcItem[key];
if (!hash[pk]) hash[pk] = [];
... | JavaScript | 0 | @@ -518,20 +518,20 @@
ual(
-dst
+src
Item,
-src
+dst
Item
|
ef6037ef908157533484b10100442eb7858e1580 | Remove support of uglify and change path | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
jshint: {
all: ['Gruntfile.js', 'cookie.js', 'tests/spec.js'],
options: {
browser: true,
evil: false,
expr: true,
supernew: true,
eqeqeq: true,
eqnull: true,
forin: true,
smarttabs: true
}
},
mocha: {
all: {
... | JavaScript | 0 | @@ -88,16 +88,20 @@
e.js', '
+src/
cookie.j
@@ -379,119 +379,17 @@
%0A%0A%09%09
-uglify: %7B%0A%09%09%09options: %7B%0A%09%09%09%09banner: grunt.file.read('cookie.js').split('%5Cn')%5B0%5D + %22%5Cn%22%0A%09%09%09%7D,%0A%0A%09%09%09my_target
+watch
: %7B%0A
-%09
%09%09%09f
@@ -398,86 +398,14 @@
es:
-%7B%0A%09%09... |
2338adb16a89e6dd60ce82b14bc926fd662c943e | Make endpoints configurable and the defaults just / | index.js | index.js | var extend = require('cog/extend');
/**
# rtc-switchboard-messenger
A specialised version of
[`messenger-ws`](https://github.com/DamonOehlman/messenger-ws) designed to
connect to [`rtc-switchboard`](http://github.com/rtc-io/rtc-switchboard)
instances.
**/
module.exports = function(switchboard, opts) {
re... | JavaScript | 0 | @@ -383,20 +383,35 @@
ts:
-%5B'/primus',
+(opts %7C%7C %7B%7D).endpoints %7C%7C %5B
'/'%5D
|
70d47af6898a9f086d6244c8da15fef1172e0eb4 | Revert "Increase maxbuffer" | Gruntfile.js | Gruntfile.js | /*global timeout: false,
browser_timeout: false */
/*jslint node: true, nomen: true */
"use strict";
var path = require('path');
module.exports = function (grunt)
{
grunt.initConfig(
{
jshint: {
src: [ '*.js', 'test/*.js' ]
},
env: {
fast: {
... | JavaScript | 0 | @@ -1161,18 +1161,16 @@
r: 10000
-00
* 1024%0A
|
f65c9b9d98cd41ab5d22d2fe43e032acef5f76d2 | reset timer on rejection | src/factories/debounce.js | src/factories/debounce.js | const pending = {}
export default function (time, continueChain, { terminateChain = [], immediate = true } = {}) {
const id = Symbol('id')
const timeout = function debounceTimeout () {
if (pending[id].continue) {
// continue the final signal
pending[id].continue()
// immediate debounce shoul... | JavaScript | 0.000002 | @@ -794,24 +794,145 @@
terminate()%0A
+ clearTimeout(pending%5Bid%5D.timeout)%0A pending%5Bid%5D = %7B%0A timeout: setTimeout(timeout, time)%0A %7D%0A
%7D%0A
|
cbeb79d48394eb8e30eaa503e50e956597000b83 | Update the test:verbose task | Gruntfile.js | Gruntfile.js | module.exports = function gruntConfig(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
eslint: {
options: {
configFile: '.eslintrc',
},
target: ['VerbalExpressions.js', 'test/tests.js', 'Gruntfile.js'],
},
ava... | JavaScript | 0.999904 | @@ -3103,16 +3103,38 @@
bose', %5B
+'compile', 'umd:all',
'eslint'
|
0bd18c2373d7cf4611200068cadae669896098da | Remove unnecessary stuff from ramble.template.js | js/ramble.template.js | js/ramble.template.js | /*jslint browser: true, devel: true, plusplus: true, indent: 4, unparam: true */
/*globals $: false, Pages: false, Config: false, Login: false */
var Template = function (template) {
"use strict";
this.template = template;
this.template_data = null;
this.regexes = {
variable: /\{\{ ([\s\S]+?) \... | JavaScript | 0.000026 | @@ -264,1726 +264,325 @@
-this.regexes = %7B%0A variable: /%5C%7B%5C%7B (%5B%5Cs%5CS%5D+?) %5C%7D%5C%7D/,%0A each: /%5C%7B%5C%7B%5C%7B each:(%5Cw+?) %5C%7D%5C%7D%5C%7D(%5B%5Cs%5CS%5D+?)%5C%7B%5C%7B%5C%7B %5C/each:%5C1 %5C%7D%5C%7D%5C%7D/,%0A sum: /%5C%7B%5C%7B%5C%7B sum:(%5Cw+?):(%5Cw+?) %5C%... |
e9ac6d7c6d351daad57a0cd44940dbb453ea9436 | Revert "[WLK-INSTANCE] Disable reset password link for now" | src/components/Dialogs/LoginDialog/LoginForm.js | src/components/Dialogs/LoginDialog/LoginForm.js | import React from 'react';
import PropTypes from 'prop-types';
import { translate } from 'react-i18next';
import EmailIcon from 'material-ui/svg-icons/communication/email';
import PasswordIcon from 'material-ui/svg-icons/action/lock';
import Loader from '../../Loader';
import Form from '../../Form';
import FormGroup fr... | JavaScript | 0 | @@ -2248,20 +2248,8 @@
p%3E%0A%0A
- %7B/*%0A
@@ -2416,20 +2416,8 @@
up%3E%0A
- */%7D%0A
|
aec07d866200ff66adbfb35b16492ad017a3ff3e | Fix grunt-crx settings | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
'use strict';
require('load-grunt-tasks')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: ["app"],
copy: {
manifest: {
options: {
processContent: function(content) {
return grunt.template.process(conte... | JavaScript | 0.000001 | @@ -2582,20 +2582,19 @@
.crx': '
-dist
+app
/',%0A
@@ -2626,20 +2626,19 @@
.crx': '
-dist
+app
/'%0A
|
0ef52cab6f561cb169903b3c732f359f579e41a8 | Adjust wording | src/forms/futureIncome.js | src/forms/futureIncome.js | // COMPONENTS
import React from 'react';
import { Form, Header, Statistic } from 'semantic-ui-react';
// PROJECT COMPONENTS
import { FormPartsContainer, IntervalColumnHeadings, CashFlowRow } from './formHelpers';
// UTILITIES
import { roundMoney } from '../helpers/math';
// BENEFIT PROGRAM CALCULATIONS
import { perc... | JavaScript | 0.961898 | @@ -2617,20 +2617,13 @@
ney
-do you think
+would
you
@@ -2638,14 +2638,8 @@
old
-could
make
|
0fb74761592c19db0fe2f47e774d0560203a2e37 | add debug code | src/index.js | src/index.js | import { createFilter } from 'rollup-pluginutils'
import compiler from 'stylus'
export default function(options = {}) {
// set default stylus file extensions
if (!options.include) options.include = ['**/*.styl', '**/*.stylus']
const filter = createFilter(options.include, options.exclude);
// use to cache the... | JavaScript | 0.000032 | @@ -74,16 +74,99 @@
tylus'%0A%0A
+const name = 'rollup-plugin-stylus-compiler'%0Aconst debug = require('debug')(name)%0A%0A
export d
@@ -517,39 +517,12 @@
me:
-'rollup-plugin-stylus-compiler'
+name
,%0A
@@ -1030,24 +1030,94 @@
importer) %7B%0A
+ debug('resolveId importee=%25s, importer=%25s', importee, imp... |
cd32a0659714803c6a4dad2a2e9d9c6212517627 | update jsDoc | jscs-html-reporter.js | jscs-html-reporter.js | /* global process, require */
var path = require('path');
var fs = require('fs');
var through = require('through2');
var handlebars = require('handlebars');
handlebars.registerHelper('inc', function (value) {
return parseInt(value, 10) + 1;
});
var reporter = {
/**
* Returns reporter's output path or de... | JavaScript | 0 | @@ -1828,23 +1828,25 @@
oolean%7D
+%5B
isGrunt
+%5D
%0A */
|
ee137ef36a6fce6db2ad7421f579cb8d04932405 | add sauce browsers | Gruntfile.js | Gruntfile.js | /**
* User: Constantine Melnikov
* Email: ka.melnikov@gmail.com
* Date: 12.12.13
* Time: 0:31
*/
'use strict';
module.exports = function (grunt) {
require('time-grunt')(grunt);
grunt.initConfig({
//pkg: grunt.file.readJSON('package.json'),
watch: {
files: ['lib/**/*.js'],
tasks: ['browseri... | JavaScript | 0 | @@ -2079,26 +2079,24 @@
,%0A
-//
'sauce_chrom
@@ -2107,34 +2107,32 @@
nux',%0A
-//
'sauce_firefox',
@@ -2138,26 +2138,24 @@
,%0A
-//
'sauce_firef
@@ -2171,26 +2171,24 @@
,%0A
-//
'sauce_safar
@@ -2243,34 +2243,32 @@
e_9',%0A
-//
'sauce_ie_10',%0A
@@ -2268,34 ... |
a97cde8058ab266216aa418594393b5affd6f7d8 | Remove extra semicolon | index.js | index.js | var q = require('q');
var urlResolver = require('url');
var request = require('request');
var cheerio = require('cheerio');
var resolveUrl = require('./utils/resolve-url');
module.exports = function(url, options){
var deferred = q.defer();
var options = options || {};
var parsed = 0;
var total = 0;
var res... | JavaScript | 0.999967 | @@ -1557,17 +1557,16 @@
%7D);
-;
%0A %7D);
|
14be5f10786536c06d89b7392cf9afd70fe0bbf2 | Add exitCode to resolve so it is passed in the promise chain. | index.js | index.js | 'use strict';
var Q = require('q');
var path = require('path');
var http = require('http');
var ecstatic = require('ecstatic');
var karma = require('karma').server;
var merge = require('merge');
var jsb3 = require('jsb3');
module.exports = {
run: function (options){
var me = this;
return jsb3(opti... | JavaScript | 0 | @@ -2047,16 +2047,24 @@
resolve(
+exitCode
);%0A%0A
|
aa000465113fc8e615682a8416ac053e332f77c4 | correct link to css | index.js | index.js | var request = new XMLHttpRequest();
var widget = document.getElementById('speakerdeck-widget');
var username, pathname = location.pathname.split('/');
if(location.hostname=='http://ezefranca.com/speakerdeck-widget/' && !!pathname[1])
username = pathname[1];
else if(widget.dataset.user)
username = widget.dataset.use... | JavaScript | 0.000001 | @@ -1302,16 +1302,48 @@
endCSS('
+ezefranca.com/speakerdeck-widget
/main.cs
|
043fbbe5a5b0a555af54db561aae0e8a921e708d | implement rootApplicationDir option | index.js | index.js | var fs = require( "fs" );
var path = require( "path" );
var shasum = require( "shasum" );
var pathMapper = require( "path-mapper" );
var _ = require( "underscore" );
var kMetaDataFileName = "metaData.json";
var kOldPackageMapName = "package_map.json";
module.exports = CarteroNodeHook;
function CarteroNodeHook( outpu... | JavaScript | 0.000017 | @@ -559,16 +559,50 @@
ions, %7B%0A
+%09%09rootApplicationDir : undefined,%0A
%09%09output
@@ -637,16 +637,71 @@
%0A%09%7D );%0A%0A
+%09this.rootApplicationDir = options.rootApplicationDir;%0A
%09this.ou
@@ -2437,16 +2437,48 @@
kageMap%5B
+ _this.getPackageMapKeyFromPath(
parcelS
@@ -2483,16 +2483,18 @@
lSrcPath... |
ff47d5804513443b037addf5267a714916e1e42d | use npm link by default... | index.js | index.js | /*!
* helper-related <https://github.com/helpers/helper-related>
*
* Copyright (c) 2015, Jon Schlinkert.
* Licensed under the MIT License.
*/
'use strict';
var red = require('ansi-red');
var gray = require('ansi-gray');
var green = require('ansi-green');
var async = require('async');
var filter = require('arr-fi... | JavaScript | 0 | @@ -1,152 +1,4 @@
-/*!%0A * helper-related %3Chttps://github.com/helpers/helper-related%3E%0A *%0A * Copyright (c) 2015, Jon Schlinkert.%0A * Licensed under the MIT License.%0A */%0A%0A
'use
@@ -111,38 +111,8 @@
');%0A
-var async = require('async');%0A
var
@@ -180,24 +180,68 @@
s-symbol');%0A
+var reduce = require... |
0052ce7c2fe15c286198e231b13b95509f1f0262 | Add a operatordebug karma target to allow to debug while running unit tests | Gruntfile.js | Gruntfile.js | /*
* Copyright (c) 2016 Vendor
* Licensed under the MIT license.
*/
var ConfigParser = require('wirecloud-config-parser');
var parser = new ConfigParser('src/config.xml');
module.exports = function (grunt) {
'use strict';
grunt.initConfig({
metadata: parser.getData(),
bower: {
... | JavaScript | 0 | @@ -4180,32 +4180,158 @@
%0A %7D,%0A
+ operatordebug: %7B%0A options: %7B%0A singleRun: false%0A %7D%0A %7D,%0A
oper
|
6764d1ed972dedda801d9c89802dece61f70598d | use a separate/configurable root for package.json | index.js | index.js | var TIMEOUT = 4000;
var _ = require('lodash'),
q = require('bluebird'),
fs = require('fs'),
glob = require('glob'),
introspect = require('introspect'),
appRootPath = require('app-root-path'),
TimeoutError = q.TimeoutError;
function defer() {
var deferred = { };
deferred.promise = new q... | JavaScript | 0.000002 | @@ -669,16 +669,46 @@
otPath,%0A
+ pkgroot: appRootPath,%0A
@@ -5418,26 +5418,26 @@
require(
-this.
+pkg
root
-+
+ +
'/packag
|
6a658355c8ebb00a1b0a32757c7d1fa30f2e0771 | use bkkhack instead of my personal account | src/index.js | src/index.js | /*
* The Vue.js UI.
* See index.html for the associated DOM
*/
import Vue from 'vue';
import GitHubIssueService from './github-issues.js'
import GitHubAuth from './github-oauth.js'
// this is the entire datamodel for the app.
// Vue.js requires the datamodel to be initialized with empty values
// this is so it can ... | JavaScript | 0 | @@ -726,11 +726,15 @@
n: %22
-waf
+bkkhack
%22,%0A
|
fa896c2354c15b9853dea1d5b87afedc03289bca | Fix an import typo. | index.js | index.js |
var fs = require('fs'),
sequoria = require('sequoria'),
createBot = require('./lib');
if (require.main === module) {
// this module is being directly run.
var configFilename = process.argv[1] || 'config.json',
config = JSON.parse(fs.readFileSync(configFilename));
var bot = createBot(config);
bot.start... | JavaScript | 0.001368 | @@ -82,16 +82,26 @@
'./lib')
+.createBot
;%0A%0Aif (r
|
9aee5091563d1ec2732ab9ad683546dfd3f15f3d | Correct ESLint indentation error | index.js | index.js | /**
* NTwitBot - index.js
* @file App entry point.
* @author Jordan Sne <jordansne@gmail.com>
* @license MIT
*/
const secretData = require('./config/secret'),
setup = require('./config/setup');
const Main = require('./src/main.js');
const main = new Main(secretData, setup);
main.init().then(() => {
... | JavaScript | 0.000036 | @@ -160,15 +160,15 @@
et')
-,%0A
+;%0Aconst
set
|
31e80ab51afae172afb4702150c5b3de95ed8ebc | fix bug | index.js | index.js | var express = require('express');
var request = require('request');
var url = require('url');
var fs = require('fs');
var cmg = require('./CMG.js');
const serverPort = 80;
app = express();
// Default : proxy to remoteUrl
app.use('*', function(req, res){
var uri = req._parsedUrl;
if (uri.host.indexOf('mus... | JavaScript | 0.000001 | @@ -288,58 +288,8 @@
rl;%0A
- if (uri.host.indexOf('music') === -1) %7B%0A%0A %7D
%0A
|
6d6f9a251340b5f9f7e0663b68abc1636647dbd4 | Fix to cache flush buttons not working. | gemma-web/src/main/webapp/scripts/app/monitoring.js | gemma-web/src/main/webapp/scripts/app/monitoring.js | /**
* Monitor hibernate, caches, etc.
*/
Ext.onReady(function() {
var pauseBx = new Ext.form.Checkbox({
id : 'cache-pause-stats-checkbox',
renderTo : 'cache-pause-stats-checkbox-div',
boxLabel : 'Pause updates'
});
// fire once immediately.
task();
window.setInterval(task, 10000);... | JavaScript | 0 | @@ -314,16 +314,25 @@
10000);%0A
+
%0A%09%09%09func
@@ -845,32 +845,35 @@
s%22, data);%0A%09%09%09%7D%0A
+%7D);
%0A%09%09%09function flu
@@ -2246,14 +2246,8 @@
%7D%0A%09%09%09%7D%0A%0A
-%09%09%7D);%0A
|
0f034890590f4de44e4ffc80ee7c95ceef75692c | update promise/filter — streamline | src/promise/promtie/filter.js | src/promise/promtie/filter.js | 'use strict'
var limitConcurrency = require('./util/limitConcurrency')
function filter (arr, fn, options) {
options = options || {concurrency: Infinity}
return Promise.all(arr)
.then((result) => {
return limitConcurrency(options.concurrency,
result.map((value, i, array) => () => fn(value, i, ar... | JavaScript | 0 | @@ -177,18 +177,16 @@
ll(arr)%0A
-
.then(
@@ -190,33 +190,19 @@
en((
-result) =%3E %7B%0A return
+arr) =%3E%0A
lim
@@ -239,23 +239,12 @@
ncy,
-%0A result
+ arr
.map
@@ -295,30 +295,20 @@
ay))
-%0A
)%0A
-
.then(
-(
shou
@@ -319,255 +319,59 @@
lter
-Results) =%3E %7B%0A v... |
78fbe23fb04183393a39952bfbdfd7cdd05c6365 | support null res | index.js | index.js | var _ = require('lodash'),
Db = require('backbone-db'),
debug = require('debug')('backbone-db-mongodb'),
ObjectId = require('mongodb').BSONPure.ObjectID;
function MongoDB(client) {
if (!client) throw new Error('Db.MongoDB requires a connected mongo client');
this.client = client;
}
function convertSort(sort... | JavaScript | 0.000001 | @@ -1375,16 +1375,23 @@
if(res
+ && res
._id) %7B%0A
|
9d5908eb39de19a78cca25afdf392ba17587cc02 | Add jsbeautifier to watch:js | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
'use strict';
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
less: {
development: {
options: {
paths: ['assets/css']
},
files: {
'examples/css/strapped.css': 'static/less/strapped.less',
'examples/css/style.min.css': 'examples/css/st... | JavaScript | 0 | @@ -1735,24 +1735,34 @@
%09%09%09%09tasks: %5B
+'format',
'_buildJS'%5D,
|
ab1bf5812258710466e00ce338e732a4f525baae | bump version grip | index.js | index.js | #!/usr/bin/env node
const fs = require('fs');
const os = require('os');
const path = require("path");
const templates = require('./templates.js');
const compile = require('node-elm-compiler').compile;
const yargs = require('yargs');
const STDOUT_KEY = '::stdout';
const defaultViewFunction = "view";
var renderDirName ... | JavaScript | 0.000001 | @@ -4474,11 +4474,11 @@
v %3C
-2.1
+3.0
.0%22;
|
61841459231e6cfb2aad7abdd496275fdb57dd90 | fix amd clean config | index.js | index.js | var gulp = require('gulp');
var path = require('path');
var fs = require('fs');
var _ = require('lodash');
var amd = require('gulp-requirejs-optimize');
var amdclean = require('gulp-amdclean');
var uglify = require('gulp-uglify');
var cwd = process.cwd();
var default_config = {
config_file: path.join(cwd, 'sr... | JavaScript | 0.000001 | @@ -1112,18 +1112,16 @@
c_path;%0A
-
%0A var b
@@ -1277,24 +1277,16 @@
= true;%0A
-
%0A
@@ -1441,24 +1441,16 @@
%7D%0A
-
%0A
@@ -1552,20 +1552,16 @@
%0A );%0A
-
%0A if (c
@@ -1618,96 +1618,16 @@
ulp(
-%7B%0A removeAllRequires: true,%0A aggressiveOpti... |
ec9316545c62516ab24b4381d025742ee94d4ded | reset right away when toggle button is pressed | index.js | index.js | const { ToggleButton } = require("sdk/ui/button/toggle");
const panels = require("sdk/panel");
const tabs = require("sdk/tabs");
const self = require("sdk/self");
const data = require("sdk/self").data;
// This add-on uses built-in tracking protection, which doesn't have
// hooks for add-ons to use yet.
const {Cu} = re... | JavaScript | 0 | @@ -1883,16 +1883,67 @@
);%0A%7D);%0A%0A
+tabs.on(%22*%22, (e) =%3E %7B%0A console.log(%22*:%22, e);%0A%7D);%0A%0A
// page
@@ -2486,24 +2486,53 @@
ssage) =%3E %7B%0A
+ panel.port.emit(%22reset%22);%0A%0A
let active
|
a72625e7954e148e5325fd07849e0d1b0f2158c8 | add concat:bundle to watch task | Gruntfile.js | Gruntfile.js | var cp = require('child_process');
var buildConfig = require('./config/build');
module.exports = function(grunt) {
grunt.initConfig({
concat: {
options: {
separator: ';\n'
},
dist: {
src: buildConfig.ionicFiles.concat(buildConfig.angularIonicFiles),
dest: 'dist/js/ioni... | JavaScript | 0.000001 | @@ -3594,32 +3594,49 @@
'string-replace'
+, 'concat:bundle'
%5D,%0A optio
|
781a9c3a88c55a5c21a705a71fa5f1f56178a4e9 | add debug logs | index.js | index.js | var isolines = require('turf-isolines'),
grid = require('turf-grid'),
destination = require('turf-destination'),
point = require('turf-point'),
distance = require('turf-distance'),
extent = require('turf-extent'),
featureCollection = require('turf-featurecollection'),
polylineDecode = requir... | JavaScript | 0.000001 | @@ -2827,32 +2827,79 @@
res.durations);%0A
+ console.log(res.destinations);%0A
|
7042395fa3826f896478d4d71b31f4918bdc04b1 | Fix fetch of returned values | src/index.js | src/index.js | const {resolve} = require('path')
const tasksEngine = require('@projectlint/tasks-engine')
const {parsedTypeParse} = require('levn')
// const pkgDir = require('pkg-dir')
const {parseType} = require('type-check')
const entry = '(String | Number, Undefined | {...})'
const ruleTypeDesc = `${entry} | [${entry}] | {...}... | JavaScript | 0.000001 | @@ -4872,16 +4872,23 @@
: error,
+ value:
result%7D
|
4fb67e679946abc707ac74db7ae87ab23faa24a7 | Allow /mute, /unmute and /start commands to be made directly to the bot rather than only on the target chat. | index.js | index.js | var telegram = require('telegram-bot-api');
var _ = require('lodash');
var fs = require('fs');
(function() {
var Game = function() {
this.process = function(message) {
if(message.text !== '/game') {
return;
}
var sender = resolveSender(message);
... | JavaScript | 0 | @@ -213,16 +213,61 @@
'/game'
+ %7C%7C message.chat.id !== settings.targetChatId
) %7B%0A
@@ -3324,95 +3324,8 @@
) %7B%0A
- if(message.chat.id !== settings.targetChatId) %7B%0A return;%0A %7D%0A%0A
|
2892b5c19feef284313368144a58499b0217cc95 | Add JSDoc | index.js | index.js | /**
* Author: Umayr Shahid <umayrr@hotmail.com>,
* Created: 23:50, 02/08/15.
*/
'use strict';
var _validator = require('validator');
var extensions = {
notEmpty: function (str) {
return !str.match(/^[\s\t\r\n]*$/);
},
len: function (str, min, max) {
return this.isLength(str, min, max);
},
isUrl: ... | JavaScript | 0 | @@ -1424,14 +1424,21 @@
&&
-!!
+Boolean(
elem
+)
;%0A
@@ -1818,16 +1818,78 @@
%7D%0A%7D;%0A%0A
+/**%0A * Creates new instance of Validator.%0A * @constructor%0A */%0A
function
@@ -1974,16 +1974,102 @@
ions);%0A%7D
+%0A%0A/**%0A * Registers extra validators to validator instance.%0A *%0A * @param extensions%... |
7f506ff0418a19aa0b790638d847918623662708 | Refactor shadow generator to map object directly instead of converting to pairs | src/generators/shadows.js | src/generators/shadows.js | import _ from 'lodash'
import defineClass from '../util/defineClass'
export default function({shadows}) {
return _(shadows)
.toPairs()
.map(([className, shadow]) => {
return defineClass(`shadow-${className}`, {
boxShadow: shadow,
})
})
.value()
}
| JavaScript | 0 | @@ -114,16 +114,20 @@
rn _
+.map
(shadows
)%0A
@@ -126,63 +126,35 @@
dows
-)%0A .toPairs()%0A .map((%5BclassName, shadow%5D
+, (shadow, className
) =%3E %7B%0A
-
@@ -203,18 +203,16 @@
%7B%0A
-
boxShado
@@ -230,31 +230,14 @@
-
-
%7D)%0A
- %7D)%0A .value(
+%7D
)%0A%7D%0A
|
cba498eaebbf35b2f9fe2c05320593d13a21fca1 | Make grunt clean up after the timetable. | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
GIT_RV: require('fs').readFileSync('.git/refs/heads/master').toString().trim(),
GIT_RV_SHORT: require('fs').readFileSync('.git/refs/heads/master').toString().trim().substr(0,6),
uglify: {
options: {
banner: ... | JavaScript | 0 | @@ -2083,20 +2083,54 @@
s'%0A%09%09%09%7D%0A
+%09%09%7D,%0A%09%09'delete': %7B%0A%09%09%09run: 'true'%0A
%09%09%7D%0A
-
%09%7D);%0A%09%0A%09
@@ -2384,16 +2384,372 @@
oncat');
+%0A%09%0A%09grunt.registerMultiTask('delete', 'delete stuff', function() %7B%0A%09%09if (process.platform !== 'win32' && require('fs').exist... |
a28b0ace084fa3e412f2733e1b17fe9a8b92f77b | fix lint errors | src/index.js | src/index.js | import 'aurelia-polyfills';
import {PLATFORM} from 'aurelia-pal';
import {initialize} from 'aurelia-pal-browser';
let bootstrapQueue = [];
let sharedLoader = null;
let Aurelia = null;
function onBootstrap(callback) {
return new Promise((resolve, reject) => {
if (sharedLoader) {
resolve(callback(sharedLoad... | JavaScript | 0.000011 | @@ -3090,17 +3090,16 @@
fig =%3E %7B
-
%0A i
@@ -3140,15 +3140,24 @@
-
throw
+new Error(
%22Can
@@ -3233,16 +3233,17 @@
nction.%22
+)
;%0A
@@ -3243,22 +3243,17 @@
%0A %7D
-
+%0A
%0A c
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.