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
084df32bd81f32b8bf082a2c7353242f505e9e8f
Fix SSL WebSockets in dev server
server/proxies/api.js
server/proxies/api.js
module.exports = function(app, options) { var path = require('path'); var ForeverAgent = require('forever-agent'); var HttpProxy = require('http-proxy'); var httpServer = options.httpServer; var config = require('../../config/environment')().APP; var proxy = HttpProxy.createProxyServer({ ws: true, ...
JavaScript
0.00021
@@ -519,32 +519,112 @@ 'to', req.url);%0A + if ( socket.ssl ) %7B%0A req.headers%5B'X-Forwarded-Proto'%5D = 'https';%0A %7D%0A proxy.ws(req
a4978d9284288031cb83e55e562bcf8af6b0dfe5
Update main.js
assets/js/main.js
assets/js/main.js
JavaScript
0.000001
@@ -0,0 +1,29 @@ +var React = require('react');
4827f18c6b47929696184cd5feaafe52947135a4
Update core.js
server/public/core.js
server/public/core.js
var LOGNS = 'DeezerKids:'; var APP_ID = '236482'; var CHANNEL_URL = 'http://www.beup2date.com/DeezerKids/channel.html'; var DeezerKids = angular.module('DeezerKids', []); DeezerKids.controller("AppController", function($scope, $route, $routeParams, $location, $rootScope, $http) { // Init config $scope.login = ...
JavaScript
0.000001
@@ -461,24 +461,76 @@ gth == 1) %7B%0A +%09%09%09%09console.log(LOGNS, 'Account already loggedin');%0A %09%09%09%09$scope.a @@ -580,24 +580,76 @@ %09%09%09%7D else %7B%0A +%09%09%09%09console.log(LOGNS, 'Account not loggedin yet');%0A %09%09%09%09$scope.l @@ -900,16 +900,78 @@ NEL_URL%0A +%09%09console.log(LOGNS, ...
cbb0d7c620526c85a696d5127adc8b3f90cfd027
Update core.js
server/public/core.js
server/public/core.js
var LOGNS = 'DeezerKids:'; var APP_ID = '236482'; var CHANNEL_URL = 'http://www.beup2date.com/DeezerKids/channel.html'; var DeezerKids = angular.module('DeezerKids', []); DeezerKids.controller('AppController', function($scope, $rootScope, $http) { ////////////////////////////////////////////////////// // STEP1: c...
JavaScript
0.000001
@@ -483,20 +483,17 @@ nt') -%0A%09%09.success( +.then(%0A%09%09 func @@ -795,19 +795,12 @@ %0A%09%09%7D -) +, %0A%09%09 -.error( func
adc12791f253b68dfc4438f8550f9064fc1591c0
Remove unnecessary comment from Javascript file
assets/js/main.js
assets/js/main.js
/** * Project: masterroot24.github.io */ $(document).ready(function () { /* Add the current year to the footer */ function getYear() { var d = new Date(); var n = d.getFullYear(); return n.toString(); } $('#year').html(getYear()); /* Enable Bootstrap tooltips */ $("b...
JavaScript
0
@@ -1,48 +1,4 @@ -/**%0A * Project: masterroot24.github.io%0A */%0A%0A $(do
859f161280414413e794108412f6fb06daac08e9
make debugbar index page load in iframe
assets/toolbar.js
assets/toolbar.js
(function () { 'use strict'; var findToolbar = function () { return document.querySelector('#yii-debug-toolbar'); }, ajax = function (url, settings) { var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP'); settings = ...
JavaScript
0
@@ -5103,49 +5103,8 @@ lock - && !block.classList.contains(titleClass) %0A
e5d50892ccf34dc573f1f95b1e9a497e3eef2042
Add moisture sensor
app/views/room-compositeview.js
app/views/room-compositeview.js
SensorCollection = require('models/sensor-collection'); module.exports = RoomView = Backbone.Marionette.CompositeView.extend({ template : 'views/templates/room', getItemView : function(sensor){ console.log("Getting itemView"); if(sensor.get('model') == 'temperature') return TemperatureView; if(sensor.get('model...
JavaScript
0.000001
@@ -49,16 +49,17 @@ tion');%0A +%0A module.e @@ -347,16 +347,80 @@ orView;%0A +%09%09if(sensor.get('model') == 'moisture')%09%09%09return MoistureView;%0A%0A %09%7D,%0A%09//i
9d1e3c21f49a6a78127fd560ddd214c0949687a8
use transformed tex coords for roughness map
systems/renderer/pex-shaders/shaders/chunks/metallic-roughness.glsl.js
systems/renderer/pex-shaders/shaders/chunks/metallic-roughness.glsl.js
export default /* glsl */ ` #ifdef USE_METALLIC_ROUGHNESS_WORKFLOW uniform float uMetallic; uniform float uRoughness; // Source: Google/Filament/Overview/4.8.3.3 Roughness remapping and clamping, 07/2019 // Minimum roughness to avoid division by zerio when 1/a^2 and to limit specular aliasing // This could b...
JavaScript
0
@@ -2312,32 +2312,33 @@ PBRData data) %7B%0A +%0A #ifdef U @@ -2674,66 +2674,16 @@ ap, -getTextureCoordinates(data, ROUGHNESS_MAP_TEX_COORD_INDEX) +texCoord ).r
5ebe08b0eb943506efbc19b65c6a376d7120927e
Make the suggestion colorbox a square (increased the height)
templates/system/modules/ph7cms-helper/themes/base/js/suggestionbox.js
templates/system/modules/ph7cms-helper/themes/base/js/suggestionbox.js
/* * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2015-2019, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ var $suggestionBox = (function () { $.get(pH7Url.base + 'ph7cms-hel...
JavaScript
0.000003
@@ -85,10 +85,10 @@ 5-20 -19 +20 , Pi @@ -432,10 +432,10 @@ : '2 -35 +40 px',
b5708438033f59ec562050fe3d54ed3b4fdcb3b6
correct paths
assets/angular/directives.js
assets/angular/directives.js
console.log("directives loaded"); angular.module('loadmaster', []) .directive('ngUser', function() { return { controller:userCtrl, link:function(scope,element,attrs){ scope.init(); } } }) .directive('ngTrip', function() { return { controller:tripCtrl, link:function(scope,ele...
JavaScript
0.000341
@@ -425,37 +425,32 @@ templateUrl: ' -/www/ src/loadmaster_a @@ -898,37 +898,32 @@ templateUrl: ' -/www/ src/loadmaster_a @@ -1454,13 +1454,8 @@ l: ' -/www/ src/
6ef978c45596d54c44011f3e91eba86cd41b7e80
fix broken Stack tests
specs/Stack.spec.js
specs/Stack.spec.js
import expect, { spyOn } from 'expect'; import React, { Component } from 'react'; import { render } from 'react-dom'; import { Chart, Stack } from '../src/'; describe('<Stack>', function () { this.timeout(10000); let node; beforeEach(() => { node = document.createElement('div'); ...
JavaScript
0.001916
@@ -961,14 +961,12 @@ -layers +data =%7Bda
47f7b9ff2aa4f533d7c7d51b08fadff6dfbc7b2f
remove deprecated func
src/needUpdate.js
src/needUpdate.js
import isNil from 'lodash.isnil'; import pick from 'lodash.pick'; import isPlainObject from 'lodash.isplainobject'; import Native from './native'; import { getLatestVersion, defaultOption as defaultOptionForLatestVersion, } from './getLatestVersion'; function getVersionNumberArray(version, depth, delimiter) { v...
JavaScript
0.001262
@@ -656,258 +656,8 @@ ) %7B%0A - if (arguments.length && !isPlainObject(option)) %7B%0A console.warn(%0A '%5BDEPRECATED%5D Use object type option instead. https://github.com/kimxogus/react-native-version-check#needUpdate'%0A );%0A needUpdateDeprecated.apply(null, arguments);%0A %7D%0A%0A op @@ -661,...
cdeecf750f8a3f781459ed817815a537392993c1
Change handling of the |visitedRules| array
lib/compiler/passes/report-left-recursion.js
lib/compiler/passes/report-left-recursion.js
"use strict"; var arrays = require("../../utils/arrays"), GrammarError = require("../../grammar-error"), asts = require("../asts"), visitor = require("../visitor"); /* * Reports left recursion in the grammar, which prevents infinite recursion in * the generated parser. * * Both dire...
JavaScript
0.000001
@@ -587,16 +587,42 @@ (ast) %7B%0A + var visitedRules = %5B%5D;%0A%0A var ch @@ -658,33 +658,41 @@ e: function(node -, +) %7B%0A visitedRules) %7B @@ -684,27 +684,41 @@ visitedRules -) %7B +.push(node.name); %0A check @@ -733,17 +733,24 @@ pression -, +);%0A visited @@ -759,14 +759,11 @@ le...
12542d7b0e45a8ad78b88cc43e0473b5e6712eea
Fix build.js
@types/jdk/build.js
@types/jdk/build.js
var fs = require("fs") var path = require("path") var parse = require("../../jar/parse") var jars = [ "jre/lib/charsets.jar", "jre/lib/ext/cldrdata.jar", "jre/lib/ext/dnsns.jar", "jre/lib/ext/icedtea-sound.jar", "jre/lib/ext/jaccess.jar", "jre/lib/ext/localedata.jar", "jre/lib/ext/nashorn.j...
JavaScript
0.000002
@@ -52,16 +52,19 @@ ar parse +JAR = requi @@ -77,17 +77,29 @@ /../ -ja +src/compile r/parse +JAR %22)%0A%0A @@ -260,32 +260,72 @@ t/jaccess.jar%22,%0A + %22jre/lib/ext/java-atk-wrapper.jar%22,%0A %22jre/lib/ext @@ -629,32 +629,73 @@ re/lib/rt.jar%22,%0A + %22jre/lib/security/local_policy.jar%22,%0A ...
3a35c3dc4ee03cb1ae0d35a28732a1f6ca607b18
Fix typo
packages/bpk-docs/src/pages/MobileScrollContainerPage/MobileScrollContainerPage.js
packages/bpk-docs/src/pages/MobileScrollContainerPage/MobileScrollContainerPage.js
/* * Backpack - Skyscanner's Design System * * Copyright 2016-2019 Skyscanner Ltd * * 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 * ...
JavaScript
0.999995
@@ -1225,16 +1225,17 @@ d%0A wi +d th situa
d717243e4c1fd7ccba08ee4bf21c9a94b2b88de9
Resolve that path!
test/basic.js
test/basic.js
var test = require('tap').test var MF = require('../multi-fs.js') var path = require('path') var fs = require('fs') var base = path.resolve(__dirname, 'fixtures') var cwd = process.cwd() var locshort = base if (cwd && base.indexOf(cwd) === 0) locshort = base.substr(cwd.length).replace(/^\/+/, '') var home = proces...
JavaScript
0.000002
@@ -439,24 +439,79 @@ %5E%5C/+/, '')%0A%0A +%0Aconsole.error('ssh://localhost:' + homeshort + '/5')%0A%0A var mf%0A%0Atest @@ -2375,11 +2375,33 @@ eam( -'./ +path.resolve(__dirname, ' cat_ @@ -2413,16 +2413,17 @@ box.jpg' +) , 'binar
4dfd6df4229cfa8638991be3eca8abf9a5d8eeb1
test that args are handled properly
test/basic.js
test/basic.js
var test = require('tap').test var dz = require('../dezalgo.js') test('the dark pony', function(t) { var n = 0 function foo(cb) { cb = dz(cb) if (++n % 2) cb() else process.nextTick(cb) } var called = 0 for (var i = 0; i < 10; i++) { foo(function() { called++ }) t.equal(called...
JavaScript
0.000001
@@ -123,16 +123,19 @@ ion foo( +i, cb) %7B%0A @@ -168,16 +168,23 @@ %25 2) cb( +true, i )%0A el @@ -205,16 +205,37 @@ tTick(cb +.bind(null, false, i) )%0A %7D%0A%0A @@ -250,16 +250,73 @@ led = 0%0A + var order = %5B0, 2, 4, 6, 8, 1, 3, 5, 7, 9%5D%0A var o = 0%0A for (v @@ -348,16 +348,19 @@ foo...
6f0ca2ef87703112bde5c19c8f9c208fcda71c0c
Fix delayed load and capital image extension
assets/javascripts/banner.js
assets/javascripts/banner.js
var banner = $("#homepage-banner"); var imageNames = ['bot', 'soccer', 'teamCrop', 'working']; var imageIndex = Math.floor((Math.random() * imageNames.length)); var imageUrl = "assets/images/homepage-banners/" + imageNames[imageIndex] + ".JPG"; $( document ).ready(function(){ banner.css('background-image', 'url(' +...
JavaScript
0.000001
@@ -237,49 +237,16 @@ + %22. -JPG +jpg %22;%0A%0A -$( document ).ready(function()%7B%0A +%0A bann @@ -302,8 +302,4 @@ ');%0A -%7D);%0A
61db2458f4e9b2b610dab9fa03bf24d47f0a2bb7
Update metrics
assets/javascripts/graphs.js
assets/javascripts/graphs.js
defaults = { "chart": { chart: { type: 'spline' }, "plotOptions": { "spline": { "marker": { "enabled": false } } }, "tooltip": { "crosshairs": true } } } graphs = [ /* ...
JavaScript
0.000001
@@ -4777,16 +4777,76 @@ , %22adc3%22 +, %22nrf1a1%22, %22nrf2a1%22, %22nrf3a1%22, %22nrf1a2%22, %22nrf2a2%22, %22nrf3a2%22 %5D%0A @@ -5601,16 +5601,76 @@ piout13%22 +, %22nrf1g1%22, %22nrf2g1%22, %22nrf3g1%22, %22nrf1g2%22, %22nrf2g2%22, %22nrf3g2%22 %5D%0A
20377faa0d45e23612686729a39dd7e9cd6dd128
clean old code
test/fetch.js
test/fetch.js
import fetch from '../src/fetch' import Headers from '../src/Headers' import isFunction from 'lodash/isFunction' import chai, { expect, should, assert } from 'chai'; should(); import chaiAsPromised from "chai-as-promised"; import 'babel-polyfill'; chai.use(chaiAsPromised); describe('fetch', () => { it('expect to ...
JavaScript
0.000096
@@ -2507,44 +2507,8 @@ d)%7B%0A - //throw new Error(errRes)%0A @@ -2572,114 +2572,8 @@ %7D%0A - if (errRes.code !== undefined)%7B%0A expect(errRes.code).to.be.equal('GENERIC_TIMEOUT');%0A %7D%0A
75ee470bd377689d2c1d811f5352ecd50e24e120
Debug failing test on Travis
test/hooks.js
test/hooks.js
"use strict"; var should = require('should') , Post = require('./model/post') , HistoryPost = Post.historyModel(); require('./config/mongoose'); describe('History plugin', function() { var post = null; function createAndUpdatePostWithHistory(post, callback) { post.save(function(err) {...
JavaScript
0
@@ -893,36 +893,227 @@ -post.title = 'Updated title' +console.log('=== * Post * ===');%0A console.log(post);%0A var post = post.toObject();%0A post.title = 'Updated title';%0A delete post._id;%0A%0A console.log('=== * POST POST * ===');%0A console.log(post) ;%0A%0A
113616d7a0f3522e6c51fbaaf081170106a67ec6
add more tests
test/index.js
test/index.js
(function() { module('DLV', { setup: function() { }, teardown: function() { } }); test('initialize with nothing', 1, function() { var dlv = new DLV(); ok(!dlv.listeners, 'no constructor instance listeners'); }); test('initialize with listeners', 1,...
JavaScript
0
@@ -882,32 +882,35 @@ non.spy(view -. +, ' handler +' );%0A m @@ -1371,16 +1371,19 @@ view -. +, ' handler +' );%0A @@ -1959,17 +1959,19 @@ spy(view -. +, ' fooHandl @@ -1968,24 +1968,25 @@ 'fooHandler +' );%0A v @@ -2018,17 +2018,19 @@ spy(view -. +, ' barHandl @@ -2031,16 +2031,17 @@ rHan...
61c613c6e9ee4bf50d0aab65a2eea7c36c7b9b70
test click on introduction
test/index.js
test/index.js
/* global describe, it */ var Nightmare = require('nightmare'); var join = require('path').join; describe('index page', function () { it('should have global jQuery', function (done) { new Nightmare() .goto(join(__dirname, '../dist/index.html')) .evaluate(function() { ...
JavaScript
0
@@ -652,13 +652,344 @@ %0A %7D); +%0A%0A it('should have link to introduction', function (done) %7B%0A new Nightmare()%0A .goto(join(__dirname, '../dist/index.html'))%0A .click('.nav__link%5Bhref=%22introduction.html%22%5D')%0A .run(function (err) %7B%0A if ...
a15175dd9647d3684fd6dd3462929be03ea612c5
improve test for tabbed entry
test/index.js
test/index.js
'use strict'; const Proxyquire = require('proxyquire'); const Code = require('code'); const Lab = require('lab'); const lab = exports.lab = Lab.script(); const beforeEach = lab.beforeEach; const describe = lab.describe; const it = lab.it; const expect = Code.expect; const internals = { stub: { fs: {} } }; internals...
JavaScript
0
@@ -1312,17 +1312,17 @@ e%0AThe%0Ais -%0A +%09 iS%60;%0A%0A
a035629a75be43c166b13e276fc6c6f528086212
add test code
test/index.js
test/index.js
var styleGuide = require('../') var fs = require('fs') var postcss = require('postcss') var test = require('tape') var css = fs.readFileSync('test/fixture.css', 'utf-8') var options = { name: 'Default theme', } var res = postcss().use(styleGuide(options)).process(css).css.trim() var mdParse = require('../lib/md_...
JavaScript
0.000003
@@ -213,17 +213,58 @@ ,%0A%7D%0A -var res = +%0A%0Atest('exist styleguide.html', function (t) %7B%0A pos @@ -319,16 +319,106 @@ .trim()%0A + var actual = fs.existsSync('styleguide.html')%0A%0A t.same(actual, true)%0A t.end()%0A%7D) %0A%0Avar md @@ -452,21 +452,16 @@ parse')%0A - test('md @@ -476...
a1d4ca54e5d0abe038a2dbac863ae873a51f9a1d
Fix agent not finding address of app err.
test/index.js
test/index.js
import co from 'co'; import test from 'blue-tape'; import agent from 'promisify-supertest'; import createApplication from '../src'; const setup = () => { return agent(createApplication()); }; test('GET /', (sub) => { sub.test('responds with OK status code', co.wrap(function* (assert) { const app = setup(); ...
JavaScript
0
@@ -183,16 +183,27 @@ cation() +.callback() );%0A%7D;%0A%0At
0045306aadfc62b55f40a8c07c613f9fc599eb5a
Add test for stringification with invalid bullet option
test/index.js
test/index.js
'use strict'; var mdast, assert, fixtures, chalk, diff; mdast = require('..'); assert = require('assert'); fixtures = require('./fixtures.js'); chalk = require('chalk'); diff = require('diff'); /* * Settings. */ var INDENT; INDENT = 2; /* * Tests. */ describe('mdast', function () { it('sh...
JavaScript
0.000005
@@ -432,16 +432,30 @@ t.parse( +value, options )', func @@ -456,32 +456,32 @@ , function () %7B%0A - it('should b @@ -607,16 +607,28 @@ ringify( +ast, options )', func @@ -741,31 +741,306 @@ function');%0A - %7D); +%0A%0A it('should throw when %60options.bullet%60 is not a valid bullet',%0A fu...
23a9349c33e78a545e6903deafa05721bd0c1ba3
change mocha default timeout again
test/index.js
test/index.js
'use strict'; var should = require('should'); var path = require('path'); var fs = require('fs'); var rewire = require('rewire'); var pngdefry = rewire('../lib/index'); var Magic = require('mmmagic').Magic; var magic = new Magic(); describe('Index', function() { describe('#pngdefry()', function() { it('should ...
JavaScript
0
@@ -374,16 +374,17 @@ out(5000 +0 );%0A
7df05e77dd6510fde3d3186db377b1291335e6a4
test for var arrays
test/index.js
test/index.js
var tape = require('tape') var crypto = require('crypto') var b = require('../') tape('simple', function (t) { var byte = b.int8 var double = b.DoubleBE t.equal(byte.decode(byte.encode(9)), 9) var r = Math.random() t.equal(double.decode(double.encode(r)), r) t.end() }) tape('vector', function (t) { va...
JavaScript
0.000003
@@ -2713,28 +2713,558 @@ er), expected)%0A t.end()%0A%7D)%0A +%0Atape('vararray', function (t) %7B%0A%0A var array = b.vararray(b.byte, b.DoubleBE)%0A var expected = %5B%0A Math.random(), Math.random(), Math.random(), Math.random(),%0A Math.random(), Math.random(), Math.random(), Math.random(),%0A Math.ran...
4e3d017aaa59222864a5268886d1b7d92c2321d0
add constructor tests
test/index.js
test/index.js
(function() { module('DLV', { setup: function() { }, teardown: function() { } }); test('initialize', 0, function() { }); })();
JavaScript
0
@@ -139,12 +139,25 @@ lize + with nothing ', -0 +1 , fu @@ -163,24 +163,372 @@ unction() %7B%0A + var dlv = new DLV();%0A ok(!dlv.listeners, 'no constructor instance listeners'); %0A %7D);%0A test('initialize with listeners', 1, function() %7B%0A var listeners = %7B%7D;%0A var ...
e8141353210b4c2867d010a93b3249a34b0e15e9
move dependency
test/index.js
test/index.js
var _ = require('lodash') , path = require('path') , should = require('chai').should() , speech = require('../index') , en = path.join(__dirname, 'fixtures/en.mp3') , es = path.join(__dirname, 'fixtures/es.mp3') , lengthy = path.join(__dirname, 'fixtures/lengthy.mp3') , natural = require('natural') , pr...
JavaScript
0.000001
@@ -15,24 +15,57 @@ e('lodash')%0A + , natural = require('natural')%0A , path = r @@ -311,41 +311,8 @@ 3')%0A - , natural = require('natural')%0A ,
2561548c82272cb4948f45d1fc7588d42dbe3c52
Remove test
test/index.js
test/index.js
var assert = require("assert"); var lune = require('../lib/lune'); describe('lune', function() { describe('#phase()', function() { it('should return expected values for feb 17th data', function() { var feb17 = { phase: 0.5616632223402672, illuminated: 0.9629393807872504, age: 16.58...
JavaScript
0.000001
@@ -655,548 +655,8 @@ %7D); -%0A%0A describe('#phase_hunt()', function() %7B%0A it('should return expected values for feb 17th data', function() %7B%0A%0A var feb17phasehunt = %7B%0A new_date: '2014-01-31T02:40:35.000Z',%0A q1_date: '2014-02-07T00:22:34.000Z',%0A full_date: '2014-02-15T0...
59b726c1fee0b9c2dd3cf0c7c79541f287389818
Fix support for ember-3.4.0-beta.1
addon/record-array.js
addon/record-array.js
import { get } from '@ember/object'; import { RecordArray } from 'ember-data/-private'; import { A } from '@ember/array'; export default class extends RecordArray { // TODO: implement more of RecordArray but make this not an arrayproxy replace(idx, removeAmt, newModels) { this.replaceContent(idx, removeAmt, n...
JavaScript
0
@@ -1458,16 +1458,247 @@ %7D%0A %7D%0A%0A + // The length property can be removed entirely once our ember-source peer dep%0A // is %3E= 3.1.0.%0A //%0A // It is not safe to override a getter on a superclass that specifies a%0A // setter as a matter of OO + es6 class semantics.%0A%0A get le @@ -1797,11 +1797,...
47081a744e933404e06a3c395fc84da61a3ff18e
test index
test/index.js
test/index.js
require('./utils.test.js'); require('./otherplugins.test.js'); require('./candidateplugins.test.js'); require('./clientplugins.test.js'); require('./adminplugins.test.js'); require('./harensstalent.test.js'); require('./redis.test.js'); //require('./interview.test.js'); //require('./agencyplugins.test.js'); require('./...
JavaScript
0.000002
@@ -222,34 +222,32 @@ edis.test.js');%0A -// require('./inter @@ -266,10 +266,8 @@ ');%0A -// requ
aaaa1c3d8fd0161bdc8b78b35e730e7de2bb3b03
add deprecation warning for suggest.js (closes #7355)
trac/htdocs/js/suggest.js
trac/htdocs/js/suggest.js
(function($){ /* Text field auto-completion plugin for jQuery. Based on http://www.dyve.net/jquery/?autocomplete by Dylan Verheul. */ $.suggest = function(input, url, paramName, minChars, delay) { var input = $(input).addClass("suggest").attr("autocomplete", "off"); var timeout = null; va...
JavaScript
0.000001
@@ -1,8 +1,226 @@ +/* Warning: this module is deprecated and will be removed in Trac 1.1.x%0A *%0A * Don't use $.suggest in your own plugins, rather look into jquery-ui's%0A * autocomplete features (http://docs.jquery.com/UI/Autocomplete).%0A */ %0A(functi
46fdc14f70f0911f27ed7eeca14515cb70ae57eb
add test for preid
test/index.js
test/index.js
'use strict'; var gutil = require('gulp-util'); var should = require('should'); var bump = require('..'); require('mocha'); describe('gulp-bump: JSON comparison fixtures', function() { it('should bump patch version by default', function(done) { var fakeFile = new gutil.File({ contents: new Buffer('{ "ve...
JavaScript
0
@@ -3279,13 +3279,1160 @@ );%0A %7D); +%0A%0A it('should add and bump preid version', function(done) %7B%0A var fakeFile = new gutil.File(%7B%0A contents: new Buffer('%7B %22version%22: %220.1.0%22%7D'),%0A path: 'test/fixtures/test.json'%0A %7D);%0A%0A var bumpS = bump(%7Btype: 'prerelease', prei...
e8de9dcb206afd9556b4a0ac8f00d341a50e5f83
Update test to use Apiary mock server.
test/index.js
test/index.js
/** * test/index.js * Contains tests for client entry point. * * @author Francis Brito <fr.br94@gmail.com> * @license MIT */ /* global describe, it, before */ /* jshint expr:true */ 'use strict'; require('should'); var Client = require('../').Client; var LOCAL_TEST_SERVER = 'http://localhost:3000'; describe('...
JavaScript
0
@@ -257,21 +257,18 @@ t;%0A%0Avar -LOCAL +PH _TEST_SE @@ -282,30 +282,61 @@ 'http:// -localhost:3000 +private-50d6dc-printhouse.apiary-mock.com/api ';%0A%0Adesc @@ -1268,37 +1268,34 @@ endpoint: -LOCAL +PH _TEST_SERVER%0A @@ -3413,13 +3413,10 @@ nt: -LOCAL +PH _TES
ae6edf624bb53789796b5e0568791461d8cb6d94
test that abort works correctly, even with a null item
test/index.js
test/index.js
var pull = require('pull-stream') var cat = require('../') require('tape')('cat', function (t) { cat([pull.values([1,2,3]), pull.values([4,5,6])]) .pipe(pull.collect(function (err, ary) { console.log(err, ary) t.notOk(err) t.deepEqual(ary, [1,2,3,4,5,6]) t.end() })) }) require('tape')('cat -...
JavaScript
0
@@ -54,17 +54,27 @@ ('../')%0A -%0A +var test = require( @@ -76,24 +76,30 @@ uire('tape') +%0A%0Atest ('cat', func @@ -303,39 +303,28 @@ %0A %7D))%0A%0A%7D)%0A%0A -require('tape') +test ('cat - with @@ -551,31 +551,20 @@ ))%0A%0A%7D)%0A%0A -require('tape') +test ('cat - @@ -881,28 +881,245 @@ 5,6%5D)%0A ...
fb1b96f20fada2cb9382e3ac12b0ec95ae1d08a1
Test getDocumentById & getDocumentByIdentifier
test/index.js
test/index.js
'use strict'; var should = require('should'); var Anyfetch = require('../lib/index.js'); var configuration = require('../config/configuration.js'); // Tests to write: // getStatus() // getCompany() // getSubcompanyById() // postUser() // postCompanyUpdate() // getDocumentById(123).getRaw() // getDocumentById(123, cb...
JavaScript
0
@@ -142,16 +142,75 @@ on.js'); +%0Avar isFunction = require('../lib/helpers/is-function.js'); %0A%0A// Tes @@ -1381,193 +1381,1153 @@ -it('should return synchronously an object containing only functions', function()%7B%0A var ret = Anyfetch.getDocumentById(123);%0A // TODO: Test that %60ret%60 is an o...
aea37f9ea9029ce23ec0e7502ed66c598caaa31e
add unit test purchase order
test/index.js
test/index.js
function test(name, path) { describe(name, function () { require(path); }); } describe('#dl-module', function (done) { this.timeout(2 * 60000); // Auth test('@AUTH/ACCOUNT', './auth/account'); test('@AUTH/ROLE', './auth/role'); test('@AUTH/API-ENDPOINT', './auth/api-endpoint'); ...
JavaScript
0
@@ -4974,24 +4974,120 @@ e-request'); +%0A test('@GARMENT PURCHASING/PURCHASE ORDER INTERNAL', './garment-purchasing/purchase-order'); %0A%0A //Sale
fa8ce405bfefe8fd962248dab2a1c1927fa7525a
Add job in cron
crontab-gen.js
crontab-gen.js
/* ----------------------------------------------------------- * * PayWhich Currency Bot - Crontab Script Generator * Author: Jeremy Yen (jeremy5189@gmail.com) * License: MIT * Repo: https://github.com/jeremy5189/payWhich * Production: http://paywhich.pw * * ------------------------------------------------...
JavaScript
0.000009
@@ -671,16 +671,32 @@ lse;%0A%7D%0A%0A +var cron = '';%0A%0A for( var @@ -727,27 +727,8 @@ %7B%0A%0A - var cron = '';%0A @@ -1197,8 +1197,103 @@ n++;%0A %7D%0A +%0Aconsole.log('%5Cn# JCB');%0Aconsole.log(cron + config.node_bin + ' ' + config.path + 'jcb.js 1');%0A
37ab86ee77ee87404fc66c558dc581fe373e0c8f
Remove bluebird
db/seeds/create_albums.js
db/seeds/create_albums.js
// Create demo albums for 'admin' user and moderators in first forum section // 'use strict'; const Promise = require('bluebird'); const Charlatan = require('charlatan'); const path = require('path'); const glob = require('glob').sync; const _ = require('lodash'); const numCPUs = require('os').c...
JavaScript
0.000024
@@ -93,47 +93,8 @@ ;%0A%0A%0A -const Promise = require('bluebird');%0A cons @@ -245,55 +245,8 @@ ');%0A -const numCPUs = require('os').cpus().length;%0A cons @@ -2694,19 +2694,19 @@ Promise. -map +all (user_id @@ -2706,18 +2706,21 @@ user_ids -, +.map( uid =%3E c @@ -2747,34 +2747,9 @@ uid) -, %7B concurr...
ca32895c7d4e26aff241d86a37d177dbb25499b6
Update angleTool.js
src/imageTools/angleTool.js
src/imageTools/angleTool.js
import external from '../externalModules.js'; import mouseButtonTool from './mouseButtonTool.js'; import touchTool from './touchTool.js'; import drawTextBox from '../util/drawTextBox.js'; import roundToDecimal from '../util/roundToDecimal.js'; import toolColors from '../stateManagement/toolColors.js'; import drawHandle...
JavaScript
0.000001
@@ -3157,16 +3157,158 @@ angle.%0A + const columnPixelSpacing = eventData.image.columnPixelSpacing %7C%7C 1;%0A const rowPixelSpacing = eventData.image.rowPixelSpacing %7C%7C 1;%0A co @@ -3385,32 +3385,16 @@ d.x)) * -eventData.image. columnPi @@ -3491,32 +3491,16 @@ d.y)) * -eventData.image. ro...
55f04c2615d8348af9f58f83772f205a0d42fe1a
Update quotes daily
backend/server.js
backend/server.js
const express = require('express'); const app = express(); const shuffle = require('shuffle-array'); const host = '127.0.0.1'; const port = 3000; const mongodb = require('mongodb'); const MongoClient = mongodb.MongoClient; const url = 'mongodb://localhost:27017/dailyquote'; MongoClient.connect(url, (err, database) =...
JavaScript
0
@@ -931,14 +931,21 @@ on(' +current_ quote -s ').f @@ -1031,222 +1031,855 @@ - res.send(%22db error%22)%0A %7D else if (result.length) %7B%0A console.log('Select random +%7D else %7B%0A var d = new Date();%0A if (result%5B0%5D.weekday === d.getDay()) %7B%0A res.send(result%5B0%5D.quo...
311c994ec373e421adaeb2cce4c9741b1097cc15
make instance delegate method read-only
src/instance/constructor.js
src/instance/constructor.js
import defaults from './defaults' import noop from './noop' import clean from './methods/clean' import destroy from './methods/destroy' import reveal from './methods/reveal' import sync from './methods/sync' import delegate from './functions/delegate' import { isMobile, transformSupported, transitionSupported } from...
JavaScript
0.000001
@@ -1544,22 +1544,47 @@ rue%0A -%09 +%0A%09Object.defineProperty( this -. +, ' delegate = d @@ -1579,18 +1579,31 @@ delegate +', %7B get: () = +%3E delegat @@ -1614,17 +1614,19 @@ nd(this) -%0A + %7D) %0A%09Object @@ -1655,27 +1655,25 @@ 'version', %7B -%0A%09%09 + get: () =%3E v @@ -1682,15 +1682,12 @@ ...
ed3b02def9ebf33f4513dc123be8b9a85a54bd1a
refactor tests a bit; add failing tests to cover 0.1.1
test/model.js
test/model.js
/* global describe, it, beforeEach */ 'use strict'; var chai = require('chai'); var expect = chai.expect; var sinon = require('sinon'); var Joi = require('joi'); var model = require('../src/model'); describe('AveryModel', function() { describe('#factory', function() { it('throws with invalid params', function(...
JavaScript
0.000002
@@ -157,25 +157,30 @@ joi');%0A%0Avar -m +averyM odel = requi @@ -327,33 +327,38 @@ %7B%0A expect( -m +averyM odel).to.throw() @@ -421,33 +421,38 @@ %7B%0A expect( -m +averyM odel.bind(null, @@ -644,33 +644,38 @@ ;%0A%0A expect( -m +averyM odel.bind(null, @@ -896,33 +896,38 @@ ;%0A%0A ...
62877a00929c488d2ee5a902c2635616792aff74
check for presence of phone_number and area_code before formatting
app/scripts/models/address.js
app/scripts/models/address.js
define([ 'underscore', 'backbone' ], function (_, Backbone) { 'use strict'; var AddressModel = Backbone.Model.extend({ urlRoot: 'http://localhost:3000/rez/addresses', defaults: { building_number: '', street_name: '', secondary_address: '', city: '', state: '', zip_c...
JavaScript
0
@@ -992,32 +992,97 @@ r: function() %7B%0A + if (this.get('area_code') && this.get('phone_number')) %7B%0A return thi @@ -1145,24 +1145,32 @@ rt(3, '.');%0A + %7D%0A %7D%0A %7D);%0A
04517caf36265055505c6dbec085c34aa0e14b33
Add missing semicolon
atom/common/api/lib/shell.js
atom/common/api/lib/shell.js
'use strict'; const bindings = process.atomBinding('shell'); exports.beep = bindings.beep; exports.moveItemToTrash = bindings.moveItemToTrash; exports.openItem = bindings.openItem; exports.showItemInFolder = bindings.showItemInFolder; exports.openExternal = (url, options) => { var activate = true; if (options !=...
JavaScript
0.999999
@@ -439,9 +439,10 @@ vate);%0A%7D +; %0A
0756707a421d44c4071a18bb9004aa8960337fe3
fix typo
redef/patron-client/src/frontend/store/index.js
redef/patron-client/src/frontend/store/index.js
import { browserHistory } from 'react-router' import thunkMiddleware from 'redux-thunk' import { createStore, applyMiddleware, compose } from 'redux' import { routerMiddleware } from 'react-router-redux' import createLogger from 'redux-logger' import persistState from 'redux-localstorage' import adapter from 'redux-loc...
JavaScript
0.998906
@@ -690,24 +690,25 @@ pes.REGISTRA +T ION_SUCCESS, @@ -722,16 +722,17 @@ REGISTRA +T ION_FAIL
fb2c20c8626db50953b364004711e69024a240ae
remove all graphs when you close menu
web-app/numeter_webapp/static/js/angular/numeter.js
web-app/numeter_webapp/static/js/angular/numeter.js
/*global window, angular, console*/ (function (angular) { 'use strict'; angular.module('numeter', ['ui.bootstrap', 'ngCookies']) .run( function run( $http, $cookies ){ // For CSRF token compatibility with Django //$http.defaults.headers.post['X-CSRFToken'] = $cookies['csrftoken']; $http.defau...
JavaScript
0
@@ -2483,32 +2483,266 @@ var +plugins;%0A if (chosen_category.open) %7B%0A //console.log('Close remove all graphs');%0A plugins = %5B%5D;%0A %7D else %7B%0A plugins = angula @@ ...
0db37a708e0ca34db1025a0a15ac1171ca9b74ef
Rely on string for statut_marital Enum
lib/simulation/openfisca/mapping/individu.js
lib/simulation/openfisca/mapping/individu.js
var moment = require('moment'); var _ = require('lodash'); function formatDate(date) { return moment(date).format('YYYY-MM-DD'); } module.exports = { date_naissance: { src: 'dateDeNaissance', fn: formatDate }, age: { src: 'dateDeNaissance', fn: function (dateDeNaissanc...
JavaScript
0.999967
@@ -759,82 +759,234 @@ ul: -2,%0A mariage: 1,%0A pacs: 5,%0A union_libre: 2 +'C%C3%A9libataire', // Enum value 2 in OpenFisca%0A mariage: 'Mari%C3%A9',// Enum value 1 in OpenFisca%0A pacs: 'Pacs%C3%A9', // Enum value 5 in OpenFisca%0A union_libre: 'C%C...
44fac46f87257f6582df422f648989d12762b30c
create messages in loadFixture
apps/api/test/fixtures/index.js
apps/api/test/fixtures/index.js
/** * Bootstrap the test database * before running tests */ /** * npm dependencies */ var async = require('async'); /** * models */ var Account = require('../../api/models/Account'); var App = require('../../api/models/App'); var accounts = { first: { name: 'Prateek', email: 'test@userjoy.co',...
JavaScript
0
@@ -117,16 +117,70 @@ sync');%0A +var ObjectId = require('mongoose')%0A .Types.ObjectId;%0A %0A%0A/**%0A * @@ -286,16 +286,67 @@ /App');%0A +var Message = require('../../api/models/Message');%0A %0A%0Avar ac @@ -714,16 +714,383 @@ '%0A %7D%0A + %7D,%0A%0A messages = %7B%0A%0A first: %7B%0A accid: nul...
7f5b0b66c8a581e51d2d8842b74d078bd4be5bb3
update again databrowser.js 25-2-2016 6:47
assets/core/page-databrowser.js
assets/core/page-databrowser.js
app.section("databrowser"); viewModel.databrowser ={}; var br = viewModel.databrowser; br.templateConfigDataBrowser= { _id: "", BrowserNmame: "" } br.confirBrowser = ko.mapping.fromJS(br.templateConfigDataBrowser); br.dataBrowser = ko.observableArray([]); br.searchfield = ko.observable(""); br.pageVisible = ko.obs...
JavaScript
0
@@ -2206,21 +2206,27 @@ rowser%22, +%7B_id: vals +%7D , functi
54145f3f25d2ab2f703f144c40b0923c4b4e971b
Remove extra debug statement
models/accountsApiHandler.js
models/accountsApiHandler.js
var extend = require('extend'); var response = require('response'); var JSONStream = require('JSONStream'); var jsonBody = require('body/json'); var through = require('through2'); var filter = require('filter-object'); module.exports = AccountsApiHandler; function AccountsApiHandler (server) { if (!(this instanceof...
JavaScript
0.000007
@@ -2209,20 +2209,8 @@ ) %7B%0A - debugger;%0A va
6f456a68c6a748d9aa2a9a7b887a8311874177ab
Update scoring 2.2.5
dev-scripts/config.get.js
dev-scripts/config.get.js
'use strict' const { getMhub } = require('./.get/get-mhub') const { getCaddy } = require('./.get/get-caddy') const { getMongo } = require('./.get/get-mongo') const { getNpmModule } = require('./.get/get-npm-module') const { getByHttp } = require('./.get/get-by-http') // eslint-disable-next-line node/exports-style mod...
JavaScript
0.000009
@@ -1200,17 +1200,17 @@ n: '2.2. -4 +5 '%0A
2e7cc5f8aa68bf476b88154d8bf4cb9a2d7ee6f8
Load immediately instead of on channel switch
slack-hacks-loader.js
slack-hacks-loader.js
(function() { console.log("Slack hacks loader loading..."); url_regex = new RegExp("^" + "(?:(?:https?|)://)" + "(?:\\S+(?::\\S*)?@)?" + "(?:" + "(?!(?:10|127)(?:\\.\\d{1,3}){3})" + "(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})" + "(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})" + "(?:[1-9]\\d?|1\\d\\d|2[01]\\...
JavaScript
0
@@ -1197,24 +1197,87 @@ unction() %7B%0A + if (window.slackHacksLoaded === true) %7B%0A return%0A %7D%0A var chan @@ -1339,16 +1339,16 @@ words;%0A - chan @@ -1514,44 +1514,8 @@ ue;%0A - console.log(channel_purpose);%0A @@ -1707,24 +1707,136 @@ lue;%0A %7D%0A%0A + console.log(...
510a210471b69e71151ac843c230fbbbe9a6a8d0
add tokenTypes: Null, Boolean, RegularExpression
acorn-to-esprima.js
acorn-to-esprima.js
var traverse = require("babel-core").traverse; var tt = require("babel-core").acorn.tokTypes; var t = require("babel-core").types; exports.toToken = function (token) { var type = token.type; if (type === tt.name) { token.type = "Identifier"; } else if (type === tt.semi || type === tt.comma || ...
JavaScript
0.002468
@@ -1560,32 +1560,194 @@ JSXIdentifier%22;%0A + %7D else if (type.keyword === %22null%22) %7B%0A token.type = %22Null%22;%0A %7D else if (type.keyword === %22false%22 %7C%7C token.keyword === %22true%22) %7B%0A token.type = %22Boolean%22;%0A %7D else if (typ @@ -1998,16 +1998,89 @@ ue);%0A %7D + else if (...
df221d554fedc8e4068462e92ea10ebdea8c4991
fix bug
packages/westore-cloud/store.js
packages/westore-cloud/store.js
export default { data: { //user 对应 db 的 collectionName 'user':[], //其他 collection 可以继续添加 'product': [] }, methods:{ //这里可以扩展 collection 每项的方法 'product':{ 'agentString':function(){ return this.agent.join('-') } } }, env:'test-06eb2e' }
JavaScript
0.000001
@@ -69,12 +69,13 @@ er': + %5B%5D,%0A - @@ -130,16 +130,17 @@ methods: + %7B%0A // @@ -177,16 +177,17 @@ roduct': + %7B%0A @@ -204,16 +204,17 @@ ng': + function ()%7B%0A @@ -213,10 +213,12 @@ tion + () + %7B%0A @@ -276,16 +276,17 @@ ,%0A env: + 'test-06 @@ -290,13 +290,32 @@ -06e...
14f5b219f74afc15a70d9127f4754fbe87949e81
Fix an error
assets/javascripts/greetings.js
assets/javascripts/greetings.js
$(function() { if (DATA.type != 'schedule') { return; } var tabs = [ { hash: 'timetable', tabElement: $('#timetable-tab'), contentElement: $('#timetable') }, { hash: 'character', tabElement: $('#character-tab'), contentElement: $('#character') } ]; var ...
JavaScript
0.998142
@@ -18,16 +18,38 @@ if (DATA + !== undefined && DATA .type !=
c0b5f5c8f7dc7f30b0264e0f7e0de24ba11cef57
Stop dragging on mouse leave
src/DraggableDiv.js
src/DraggableDiv.js
import React from 'react'; // A div that tracks its own dragging and calls its onMove // callback with preprocessed drag events. export default class DraggableDiv extends React.Component { constructor(props) { super(props); this.state = { prevMousePos: [0, 0], mouseDown: false, dragStarted: false }; ...
JavaScript
0.000001
@@ -1855,16 +1855,50 @@ seMove%7D%0A +%09%09%09%09onMouseLeave=%7Bthis.onMouseUp%7D%0A %09%09%09%09onCl
6237ad04730159a75bdcb16cf4bab501387bcce7
Fix incorrect count
ui/src/dashboards/containers/DashboardsPage.js
ui/src/dashboards/containers/DashboardsPage.js
import React, {PropTypes} from 'react' import {Link, withRouter} from 'react-router' import {connect} from 'react-redux' import {bindActionCreators} from 'redux' import SourceIndicator from 'shared/components/SourceIndicator' import DeleteConfirmTableCell from 'shared/components/DeleteConfirmTableCell' import {create...
JavaScript
0.999999
@@ -1611,9 +1611,9 @@ === -0 +1 ) %7B%0A @@ -1703,12 +1703,8 @@ ngth - + 1 %7D Da
a6e59d9210ba37567adcd4007f9a526a6143ea82
Add some tests
test/suite.js
test/suite.js
var inspector = require('..'); var expect = require('expect.js'); describe("url-inspector", function suite() { it("should inspect large file without downloading it entirely", function(done) { this.timeout(3000); inspector('https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.3.3.tar.xz', function(err, meta) { ...
JavaScript
0.000008
@@ -414,16 +414,49 @@ hive');%0A +%09%09%09expect(meta.ext).to.be('xz');%0A %09%09%09done( @@ -733,24 +733,58 @@ e('image');%0A +%09%09%09expect(meta.ext).to.be('jpg');%0A %09%09%09expect(me @@ -1243,32 +1243,67 @@ ed).to.be.ok();%0A +%09%09%09expect(meta.ext).to.be('html');%0A %09%09%09expect(meta.w
b7be14952119491fb076a0c0219e80fc24ea8e1b
Update imp-models.js
bin/imp-models.js
bin/imp-models.js
#! /usr/bin/env node // Get a list of models in the user's account var program = require("commander"); var prompt = require("cli-prompt"); var Table = require("cli-table"); var colors = require("colors"); var fs = require("fs"); var ImpConfig = require("../lib/impConfig.js"); var config = new ImpConfig(); program ...
JavaScript
0.000001
@@ -5594,16 +5594,23 @@ gned to +device '%22 + pro
a19b2193682dacf0e850bf68ce8584fa21d2d5d4
make master slider icons clickable
material-ui/modules/mixer.js
material-ui/modules/mixer.js
import React from 'react' import Channel from './channel' import Master from './master' import { connect } from 'react-redux' class Mixer extends React.Component { constructor(props) { super(props) } render() { const { mixer : { channelList }, sendMessage } = this.props return ( <div>...
JavaScript
0
@@ -329,16 +329,42 @@ %3CMaster + sendMessage=%7BsendMessage%7D /%3E%0A
404f5901a66342fd28a242161cee6194711fcca0
FIX sidebar loading visibility
lib/ui/src/components/sidebar/SidebarItem.js
lib/ui/src/components/sidebar/SidebarItem.js
import React from 'react'; import PropTypes from 'prop-types'; import { styled } from '@storybook/theming'; import { opacify, transparentize } from 'polished'; import { Icons } from '@storybook/components'; const Expander = styled.span( ({ theme }) => ({ display: 'block', width: 0, height: 0, margin...
JavaScript
0
@@ -2094,16 +2094,77 @@ ng && %7B%0A + '&& %3E svg + span': %7B background: theme.color.medium %7D,%0A '& @@ -2199,16 +2199,16 @@ neGlow,%0A - '& @@ -2310,17 +2310,8 @@ me,%0A - depth,%0A is @@ -2363,19 +2363,8 @@ ed,%0A - loading,%0A .. @@ -2558,16 +2558,16 @@ %3CItem%0A + is @...
fc3b88fa553627e3ef697a9058e474092a3b8de1
Add getVariantUrl to content node.
src/models/ContentNode.js
src/models/ContentNode.js
'use strict'; const ContentNode = function (context) { const self = this; const api = require('../api'); const config = require('../config'); this.uuid = context.content.uuid; this.document = context.content; this.children = []; if (this.document.children && this.document.children.length === this.doc...
JavaScript
0
@@ -897,16 +897,192 @@ ;%0A %7D;%0A%0A + this.getVariantUrl = name =%3E %7B%0A const query = '?variant=' + encodeURIComponent(name);%0A return config.host + '/api/delivery' + escape(this.document.path) + query;%0A %7D;%0A%0A %7D;%0A%0Amodu
73684b6489078ce2a725fc591c31249ef8c4019b
Make Serializer work with nest API
addon/serializer.js
addon/serializer.js
import DS from "ember-data"; import Ember from 'ember'; var singularize = Ember.String.singularize; var camelize = Ember.String.camelize; export default DS.RESTSerializer.extend({ normalize: function(type, hash, prop) { var links = hash.links; for (var key in links) { var linkedData = links[key]; ...
JavaScript
0
@@ -54,23 +54,21 @@ ';%0A%0Avar -singula +dashe rize = E @@ -83,15 +83,13 @@ ing. -singula +dashe rize @@ -94,20 +94,21 @@ ze;%0Avar -came +plura lize = E @@ -123,12 +123,13 @@ ing. -came +plura lize @@ -959,16 +959,184 @@ rn key;%0A + %7D,%0A%0A serializeIntoHash: function(data, type, record, options) %7B...
b4a619e71f15508d8843ebb5a3bf408f5f155c2e
Remove Unuse Code In Number Component
src/js/components/number.js
src/js/components/number.js
import React from 'react' import cx from 'classnames' import Numeral from 'numeral' import InputErrorList from './input_error_list' import Saved from './saved' import Label from './label' import { sizeClassNames, formGroupCx } from '../util.js' import defaultProps from '../default_props.js' import defaultPropTypes fr...
JavaScript
0.000001
@@ -725,58 +725,8 @@ ) %7B%0A - if (!this.props.format) return currentNumber%0A%0A @@ -1689,143 +1689,8 @@ %7D%0A%0A - _isNumber(value) %7B%0A const number = parseFloat(value)%0A return !Number.isNaN(parseFloat(number)) && Number.isFinite(number)%0A %7D%0A%0A _t
b72c07ad8decc7ec809a2e566bb9bfd524a38d4f
Add eslint disable for no-unused-vars to core/interfaces/i_metrics_manager.js
core/interfaces/i_metrics_manager.js
core/interfaces/i_metrics_manager.js
/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview The interface for a metrics manager. * @author aschmiedt@google.com (Abby Schmiedt) */ 'use strict'; goog.module('Blockly.IMetricsManager'); goog.module.declareLegacyNamespace(); const Metrics = goog.requi...
JavaScript
0
@@ -287,16 +287,62 @@ ace();%0A%0A +/* eslint-disable-next-line no-unused-vars */%0A const Me @@ -388,24 +388,70 @@ .Metrics');%0A +/* eslint-disable-next-line no-unused-vars */%0A const Size = @@ -491,16 +491,62 @@ Size');%0A +/* eslint-disable-next-line no-unused-vars */%0A const %7BA
4d7145ff21f7191cd0eba60595d4cc97fe158ff2
Return after flushing the database
routes/messages.js
routes/messages.js
var messenger = require('../lib/messenger'); var session = require('../lib/session'); module.exports = function (server) { server.post('/messages', function (req, res, next) { var phoneNumber = req.params.From; var message = req.params.Body.toLowerCase(); if (message === 'flush') { session.fl...
JavaScript
0.000008
@@ -411,24 +411,59 @@ ;%0A %7D);%0A + res.send(200);%0A return;%0A %7D%0A %0A
b8120565bac8020d5b45f7f100e6e9051b7a1852
include expo in the init error message (#873)
src/GoogleSignin.js
src/GoogleSignin.js
import { NativeModules, Platform } from 'react-native'; const { RNGoogleSignin } = NativeModules; const IS_IOS = Platform.OS === 'ios'; class GoogleSignin { configPromise; constructor() { if (__DEV__ && !RNGoogleSignin) { console.error( 'RN GoogleSignin native module is not correctly linked. P...
JavaScript
0
@@ -256,17 +256,17 @@ -' +%60 RN Googl @@ -407,17 +407,132 @@ linking. -' + If you're using Expo, please use expo-google-sign-in. This is because Expo does not support custom native modules.%60 %0A )
1d73b2050bc3fb2ee67f20868c7f75cd8f08b90d
Refactor rendering method in EndingView
src/modules/EndingView.js
src/modules/EndingView.js
/* View that is shown at the end of application. When speech ends or the speech bubble is closed, user is moved to home page */ import React, {PropTypes} from 'react'; import {connect} from 'react-redux'; import SpeechBubble from '../components/SpeechBubble'; import Hemmo from '../components/Hemmo'; import {getSizeByH...
JavaScript
0
@@ -821,22 +821,36 @@ nder +SpeechBubble () %7B%0A -%0A -if ( +return this @@ -871,49 +871,12 @@ ble -=== true) %7B%0A var speechBubble = +? (%0A - @@ -899,18 +899,16 @@ - - text=%7B'e @@ -915,18 +915,16 @@ nding'%7D%0A - @@ -960,18 +960,16 @@ - bubbleTy...
a1150feab29d6e59c52ade2e9d6731d3f961b37d
Add package version to clientProperties, as well as started date, and last connection date Fixes #35
src/modules/connection.js
src/modules/connection.js
var amqp = require('amqplib'), assert = require('assert'); var connections = {}; /** * Connect to the broker. We keep only 1 connection for each connection string provided in config, as advised by RabbitMQ * @return {Promise} A promise that resolve with an amqp.node connection object */ function getConnection() ...
JavaScript
0
@@ -52,16 +52,100 @@ assert') +,%0A packageVersion = require('../../package.json').version,%0A startedAt = new Date() ;%0A%0Avar c @@ -868,16 +868,22 @@ perties: +%0A %7B hostn @@ -899,18 +899,89 @@ name - %7D %7D) +, bunnymq: packageVersion, startedAt: startedAt, connectedAt: new Date() %7D %0A +%7D)...
d2a69515488823caab54cd3ea2a996b3ac308895
Update .npmignore generation
bin/npm-create.js
bin/npm-create.js
#!/usr/bin/env node var path = require( 'path' ) var fs = require( 'fs' ) var prompt = require( 'inquirer' ).prompt var readdir = require( 'readdirp' ) var config = require( 'npmconf' ) var lookup = require( 'dotty' ) var target = process.cwd() function render( template, data ) { return template.replace( /\{\{...
JavaScript
0.000001
@@ -3544,19 +3544,16 @@ %0A ' -doc ',%0A @@ -3558,12 +3558,17 @@ ' -docs +benchmark ',%0A @@ -3573,20 +3573,19 @@ %0A ' -test +doc ',%0A @@ -3599,33 +3599,28 @@ le',%0A ' -benchmark +test ',%0A %5D.joi
0b1330c1fdc3827c5a75cbaf06a187441ebe7bdc
remove some unnecessary white space to simplify diffs
src/js/media/types/Audio.js
src/js/media/types/Audio.js
import { Media } from "../Media"; import { transformMediaURL } from "../../core/Util"; import * as Browser from "../../core/Browser" import { trace } from "../../core/Util"; export default class Audio extends Media { _loadMedia() { // Loading Message this.loadingMessage(); // Create m...
JavaScript
0.000005
@@ -234,13 +234,8 @@ ) %7B%0A - %0A @@ -585,17 +585,16 @@ = this; - %0A%0A
e59a51ecd1b809f189c4b0f318ee1fafd07d4987
Fix jshint errors.
src/pat/toggle.js
src/pat/toggle.js
/** * Patterns toggle - toggle class on click * * Copyright 2012-2014 Simplon B.V. - Wichert Akkerman */ define([ "jquery", "pat-registry", "pat-logger", "pat-parser", "pat-store" ], function($, patterns, logger, Parser, store) { var log = logger.getLogger("pat.toggle"), parser = new...
JavaScript
0
@@ -6958,15 +6958,15 @@ ger( -' +%22 click -' +%22 , ev @@ -6980,17 +6980,16 @@ %7D -, %0A %7D;%0A
95b56029ad2a69f09b9e991bc113900f4b2d08d9
remove abi insert from register
routes/register.js
routes/register.js
let express = require('express'); let router = express.Router(); let knexConfig = require('../knex/knexfile'); let knex = require('knex')(knexConfig[process.env.NODE_ENV || "development"]); let web3Handler = require("../public/javascripts/Web3Handler.js"); router.get("/register", (req, res, next) => { res.render('...
JavaScript
0
@@ -1089,17 +1089,8 @@ ame, - abi:abi, con
dd3f656d58c7623668cb6a8e0728163b3ec9ccc1
Add default text for switcher
src/js/switcher/switcher.js
src/js/switcher/switcher.js
const Joomla = window.Joomla || {}; /** Include the relative styles */ if (!document.head.querySelector('#joomla-switcher-style')) { const style = document.createElement('style'); style.id = 'joomla-switcher-style'; style.innerHTML = '{{stylesheet}}'; document.head.appendChild(style); } class JoomlaSwitcherEl...
JavaScript
0.000001
@@ -610,24 +610,33 @@ e('offText') + %7C%7C 'Off' ; %7D%0A get on @@ -678,16 +678,24 @@ onText') + %7C%7C 'On' ; %7D%0A%0A /
2ec7eaa89e90108c2de46f83e3fb23cfa28b6065
Update movies.js
application/actions/movies.js
application/actions/movies.js
import 'whatwg-fetch' import { API_URL, API_KEY } from '../config' import types from '../constants/actionTypes' const fetchMoviesByGenre = (genreId) => { const apiUrl = API_URL const apiKey = API_KEY let api_endpoint = `${apiUrl}/genre/${genreId}/movies?api_key=${apiKey}&language=en-US` return { type: ty...
JavaScript
0.000001
@@ -160,57 +160,8 @@ nst -apiUrl = API_URL%0A const apiKey = API_KEY%0A%0A let api_ @@ -178,14 +178,15 @@ %60$%7B -apiUrl +API_URL %7D/ge @@ -221,14 +221,15 @@ y=$%7B -apiKey +API_KEY %7D&la
4d68812b6539fac45648dd7c69873acd467f21b6
Fix usage description
bin/pegjs-main.js
bin/pegjs-main.js
importPackage(java.io); importPackage(java.lang); /* * Rhino does not have __FILE__ or anything similar so we have to pass the * script path from the outside. */ load(arguments[0] + "/../lib/peg.js"); var FILE_STDIN = "-"; var FILE_STDOUT = "-"; function readFile(file) { var f = new BufferedReader(new InputStr...
JavaScript
0.002393
@@ -979,21 +979,8 @@ %5B--%5D - %3Cparser_var%3E %5B%3Ci
d9d5bd29e4eade28d46c38ef4256bf2a224c599d
fix whitespace
src/languages/powershell.js
src/languages/powershell.js
/* Language: PowerShell Author: David Mohundro <david@mohundro.com> Contributors: Nicholas Blumhardt <nblumhardt@nblumhardt.com>, Victor Zhou <OiCMudkips@users.noreply.github.com> */ function(hljs) { var backtickEscape = { begin: '`[\\s\\S]', relevance: 0 }; var VAR = { className: 'variable', var...
JavaScript
0.999999
@@ -3163,9 +3163,12 @@ AR,%0A -%09 + MU
c048f4651723366e7b163c8335567feedc2362a9
Make ngModel for hidden input field work with parent scope
angular-uploadcare.js
angular-uploadcare.js
'use strict'; /** * @ngdoc directive * @name angular-uploadcare.directive:UploadCare * @description Provides a directive for the Uploadcare widget. * # UploadCare */ angular.module('ng-uploadcare', []) .directive('uploadcareWidget', function () { return { restrict: 'E', replace: true, requ...
JavaScript
0
@@ -980,24 +980,151 @@ ion(file) %7B%0A + $scope.$apply(function () %7B%0A $parse($attrs.ngModel).assign($scope.$parent, $element.val());%0A %7D);%0A $s
5790b884a769437289c9bb4d05d4e04a7bf13341
Fix for node v6
admin/app/static.js
admin/app/static.js
/** * Returns an Express Router with bindings for the Admin UI static resources, * i.e files, less and browserified scripts. * * Should be included before other middleware (e.g. session management, * logging, etc) for reduced overhead. */ var browserify = require('./browserify'); var express = require('express')...
JavaScript
0.000001
@@ -2643,24 +2643,27 @@ e router */%0A +// router.use(' @@ -2731,60 +2731,329 @@ ));%0A -router.use(express.static(__dirname + '../../public' +console.log(__dirname + '../../public/styles');%0Aconsole.info(path.resolve(__dirname + '/../public/styles'));%0Arouter.use('/styles', less(path.resolve(__dirname + '/../pub...
7e3b64690d1b7e125f7f25f24c0a3fbe4a4b134b
Update prop type definition for subheader
resources/assets/components/MultiValueFilter/index.js
resources/assets/components/MultiValueFilter/index.js
import React from 'react'; import { map } from 'lodash'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import '../Tags/tags.scss'; class MultiValueFilter extends React.Component { constructor() { super(); this.state = {}; this.handleClick = this.handleClick.bind(this); } ...
JavaScript
0
@@ -2144,22 +2144,59 @@ opTypes. -string +arrayOf(%5BPropTypes.string, PropTypes.node%5D) ,%0A%7D;%0A%0AMu
07da4db81317130321a8889d943839e433ef06aa
Fix lint suggestions
src/selectors/index.js
src/selectors/index.js
import { createSelector } from 'reselect'; import { joinEvents, transformData, calculateYearRange } from 'd3-bumps-chart'; import { calculateNumYearsToview } from '../util'; const pickEvents = (events, gender, set, yearRange = [-Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY]) => { const transformedEvents = eve...
JavaScript
0.000006
@@ -74,28 +74,8 @@ Data -, calculateYearRange %7D f @@ -620,27 +620,16 @@ s = -( state -, props) =%3E -%0A sta @@ -2811,36 +2811,16 @@ r = -( state -, props) =%3E %7B%0A return + =%3E sta @@ -2831,10 +2831,8 @@ i.year;%0A -%7D%0A
025438c7e305ca060fe61cde93572e711135b167
Fix semester name
migrations/1469038260014-AddSemesters2017.js
migrations/1469038260014-AddSemesters2017.js
'use strict' var db = require('../app/db'); exports.up = function(next) { db.Semester.create([ { name: 'סתיו תשע"ו', year: 2017, semester: 1, startDate: new Date("2016-10-29T00:00:00.000Z"), endDate: new Date("2017-01-26T00:00:00.000Z"), examsStart: new Date("2017-01-28T00:00:00.000Z"), examsE...
JavaScript
0.999889
@@ -114,15 +114,15 @@ '%D7%A1%D7%AA%D7%99 -%D7%95 +%D7%96 %D7%AA%D7%A9%D7%A2%22 -%D7%95 +%D7%96 ', y @@ -388,9 +388,9 @@ %D7%AA%D7%A9%D7%A2%22 -%D7%95 +%D7%96 ',
fecc1e9026d90fd68e6fafaf6859ef5644fc7c75
add ~boxmein to nickometer
modules/module-nickometer.js
modules/module-nickometer.js
/* Nickometer module for this bot */ var nickometer = require('./nickometer'); exports.type = 'command'; exports.listAll = function() { return ['*']; }; exports.getHelp = function() { return { '*': '`nickometer [nick]` - return how lame your / someone else\'s nickname is' }; }; exports.listener = functio...
JavaScript
0
@@ -29,16 +29,27 @@ his bot%0A + ~boxmein%0A */%0Avar n
df28fb75392c0dc1127a455e2579a82524e4da67
remove duplicated track() test
test/track.js
test/track.js
var Mixpanel = require('../lib/mixpanel-node'), Sinon = require('sinon'), mock_now_time = new Date(2016, 1, 1).getTime();; exports.track = { setUp: function(next) { this.mixpanel = Mixpanel.init('token'); this.clock = Sinon.useFakeTimers(mock_now_time); Sinon.stub(this.mix...
JavaScript
0.000007
@@ -2165,999 +2165,8 @@ %7D,%0A%0A - %22calls %60track%60 endpoint if within last 5 days%22: function(test) %7B%0A var event = 'test',%0A time = mock_now_time / 1000,%0A props = %7B time: time %7D,%0A expected_endpoint = %22/track%22,%0A expected_data = %7B%0A ...
f416b77a1fd12b76eda629dc45cc57c6166f9f94
add some failing tests that have method encodings present
test/types.js
test/types.js
var types = require('../lib/types') , assert = require('assert') , inspect = require('util').inspect test('v@:' , [ 'v', [ '@', ':' ] ] , [ 'void', [ 'pointer', 'pointer' ] ] ) // test types.map() //assert.equal(types.map('r^^{__CFData}'), 'pointer') assert.equal(types.map('^^{__CFData}'), 'pointer') test('...
JavaScript
0
@@ -200,18 +200,58 @@ s.map()%0A -// +assert.equal(types.map('r%5Ev'), 'pointer')%0A assert.e
9f5a7355e31b9ec64016e308edc5e090b1fe949d
fix import-export functional tests - fixed js test
src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/action/export-action.js
src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/action/export-action.js
define([ 'jquery', 'underscore', './abstract-action', 'orotranslation/js/translator', 'oroui/js/mediator' ], function($, _, AbstractAction, __, mediator) { 'use strict'; var ExportAction; /** * Allows to export grid data * * @export oro/datagrid/action/export-action ...
JavaScript
0
@@ -1334,86 +1334,8 @@ ';%0A%0A - this.on('preExecute', _.bind(this._preExecuteSubscriber, this));%0A%0A
defc1c09ed79f2e9518d8f8385197bb04f083244
Fix object assign
src/Rules/BibTeX.js
src/Rules/BibTeX.js
/* @flow */ import path from 'path' import BuildState from '../BuildState' import File from '../File' import Rule from '../Rule' import type { Message } from '../types' export default class BibTeX extends Rule { static fileTypes: Set<string> = new Set(['ParsedLaTeXAuxilary']) static description: string = 'Runs ...
JavaScript
0.000004
@@ -1606,17 +1606,16 @@ irectory -%7D %5D.join(p
6fe5e224bcfd64074a8ea5bca83c2f7d7790b705
remove require
runParse.js
runParse.js
var request = require('request'); var cp = require('child_process'); var ndjson = require('ndjson'); var spawn = cp.spawn; var progress = require('request-progress'); var processAllPlayers = require('./processAllPlayers'); var processTeamfights = require('./processTeamfights'); var processCreateParsedData = require('./...
JavaScript
0.000005
@@ -276,76 +276,8 @@ ');%0A -var processCreateParsedData = require('./processCreateParsedData');%0A var
be0b3e1393ee260d48c65ecf6467bdb99ec9efa5
add missing 'module' to function in scoreMatches.js
workers/processMatches/scoreMatches/scoreMatches.js
workers/processMatches/scoreMatches/scoreMatches.js
var Promise = require('bluebird'); var request = require('request'); var tradesController = require('./../../../server/db/dbcontrollers/tradesController'); module.exports = function (knex) { var module = {}; tradesController = tradesController(knex); //Decides who was the winner of the match //---------------...
JavaScript
0.000002
@@ -785,16 +785,23 @@ return +module. determin
74976ad7bd6d4544cfd38619f2908d5a8b274096
add animation
src/objects/MapManager.js
src/objects/MapManager.js
import { CursorLength } from '../Constants.js'; class MapManager { constructor(map, mapLayer) { this.removedBlock = []; this.map = map; this.maxMapLayer = mapLayer; } findLayerToDestroy(x, y, lengthX, lengthY) { let layerIndex = this.maxMapLayer; for(let index = this.maxMapLayer; index >= 1...
JavaScript
0.000001
@@ -42,16 +42,46 @@ s.js';%0A%0A +const LengthAnimation = 100;%0A%0A class Ma @@ -91,16 +91,16 @@ nager %7B%0A - %0A const @@ -1058,16 +1058,43 @@ ves = %5B%5D +;%0A let indexRemoval = 0; %0A con @@ -1450,32 +1450,61 @@ true;%0A %7D%0A + const fn = () =%3E %7B%0A const ti @@ -1563...
2ce2038c01f38826cc35da0e0e70e23c9feb11b8
use new signup urls
public/javascripts/facebook-app.js
public/javascripts/facebook-app.js
var CobotFb = { renderPlans: function(){ var $plans = $('#plans'); var space_id = $plans.data('space-id'); var planTemplate = $('#planTemplate').html(); var space_url = "https://www.cobot.me/api/spaces/" + space_id; var plans_url = "https://" + space_id + ".cobot.me/api/plans"; var plans_req =...
JavaScript
0.000001
@@ -2358,13 +2358,25 @@ + '/ -users +membership_signup /new
2335fbdcfdc6470470d45313d1d67698ed9e245a
stop adding alpacas every time you load the home page
public/js/controllers/home-ctrl.js
public/js/controllers/home-ctrl.js
define(['./index'], function (controllers) { 'use strict'; controllers.controller('homeCtrl', ['$scope', '$rootScope', '$location', 'alpacaService', function ($scope, $rootScope, $location, alpacaService) { var alpacaMarkers = []; $scope.alpacas = alpacaService; $scope.seedAlpacas = fu...
JavaScript
0
@@ -2772,42 +2772,8 @@ ) %7B%0A - $scope.seedAlpacas();%0A
eb72ba94ebfc4444d2f13a4e46e8a53e9cac1e48
add size to localStorage state
src/singleton/cache.js
src/singleton/cache.js
/* global global, document, demand, provide, queue, processor, settings, setTimeout, clearTimeout, storage, DEMAND_ID, FUNCTION_EMPTY, EVENT_POST_REQUEST, EVENT_POST_PROCESS, EVENT_CACHE_HIT, EVENT_CACHE_MISS, EVENT_CACHE_EXCEED, EVENT_CACHE_CLEAR, EVENT_PRE_CACHE, EVENT_PRE_CACHE, EVENT_POST_CACHE, STRING_STRING, N...
JavaScript
0.000001
@@ -2453,16 +2453,49 @@ tate) %7B%0A +%09%09state.demand = demand.version;%0A %09%09state. @@ -2527,18 +2527,16 @@ tamp();%0A -%09%09 %0A%09%09setKe @@ -4030,32 +4030,8 @@ ion, - demand: demand.version, exp @@ -4124,16 +4124,48 @@ lifetime +, size: dependency.source.length %7D;%0A%09%09%09%09
34a0b0f73a4b8d45688b300e1a8cd5de98f512bc
Make sure constant name is not renamed
c2corg_ui/static/js/constants.js
c2corg_ui/static/js/constants.js
goog.require('app'); goog.provide('app.constants'); /** * @const * Constants for the module. * Access them like app.constants.SCREEN */ app.module.constant('constants', app.constants); app.constants = { SCREEN : { SMARTPHONE : 620, TABLET : 1099, DEKTOP : 1400 }, STEPS : { 'climbing_outdoor...
JavaScript
0.000573
@@ -211,21 +211,20 @@ SCREEN - : %7B%0A + SMAR @@ -286,17 +286,16 @@ %0A STEPS - : %7B%0A @@ -564,17 +564,16 @@ ELDS - : %7B%0A wayp @@ -568,16 +568,17 @@ : %7B%0A +' waypoint @@ -578,16 +578,17 @@ aypoints +' : %5B'titl @@ -660,22 +660,24 @@ '%5D,%0A +' routes +' : %5B'tit @@ ...
220ae58f981fad8050667fe5fcc0a1be6cabbb33
Update app.js
alpresidente/app.js
alpresidente/app.js
// Code goes here var myApp = angular.module('myApp', ['angularUtils.directives.dirPagination']); function MyController($scope, $http) { $scope.currentPage = 1; $scope.pageSize = 20; $scope.cart = [{ "Name" : "Demo Riga 1", "Price" : 10 }, { "Name" : "Demo Ri...
JavaScript
0.000002
@@ -556,16 +556,17 @@ tal;%0A%7D%0A%0A + $scope.a @@ -586,37 +586,106 @@ tion + () %7B%0A -%09console.log('test');%0A%7D +%0A $scope.cart.push(%7B%0A Name: 'DEMO',%0A name: 0%0A %7D);%0A %7D; %0A%0A $
a9dc1d71658718579ee0541b5dfe5d12e2480262
Refactor using es6 syntax
server/migrations/20170622145849-create-user.js
server/migrations/20170622145849-create-user.js
module.exports = { up(queryInterface, Sequelize) { return queryInterface.createTable('Users', { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER }, username: { type: Sequelize.STRING }, password: { ...
JavaScript
0
@@ -591,32 +591,36 @@ n(queryInterface + /* , Sequelize) %7B%0A @@ -606,32 +606,35 @@ e /* , Sequelize + */ ) %7B%0A return q