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
63328fa4c016936a8dd538bfc92bb5950d53bed3
add timeout of 1 minute
.testem.js
.testem.js
var angularVersion; for(var i=0; i<process.argv.length;i++){ if(process.argv[i].indexOf('--angular-version=') !== -1){ angularVersion = process.argv[i].replace('--angular-version=',''); } } console.log(module.exports); var port; for(var i=0; i<process.argv.length;i++){ if(process.argv[i].indexOf('--port=') !...
JavaScript
0.999518
@@ -1520,16 +1520,38 @@ e'%0A %5D,%0A + timeout: 60 * 1000,%0A launch
3ad934e4f115a4c6da212d232e21dc9698fc9ba5
Clear validation messages on switch form (#33)
admin/src/scripts/components/ui/descriptoredit.js
admin/src/scripts/components/ui/descriptoredit.js
require('fileapi'); var backbone = require('backbone'); var backboneBase = require('backbone-base'); var getUri = require('get-uri'); var Goodtables = require('../goodtables'); var jsonEditor = require('json-editor'); var jtsInfer = require('jts-infer'); var highlight = require('highlight-redux'); var UploadView = req...
JavaScript
0
@@ -2300,24 +2300,169 @@ is;%0A %7D,%0A%0A + clearResourceValidation: function() %7B%0A this.$('#resources-validation-messages %5Bdata-id=messages%5D').remove();%0A return this;%0A %7D,%0A%0A events: @@ -2459,24 +2459,24 @@ events: %7B%0A - 'click @@ -2616,39 +2616,38 @@ this...
82c96e1f0f2e935fb7199452551655bc068e30ed
Add day 8 solution part 2
2017/08.js
2017/08.js
// Part 1 R={},document.body.innerText.split`\n`.map(l=>l&&([x,a,y,,z,o,v]=l.split` `,R[x]=(R[x]|0)+y*(a[0]=='i'?1:-1)*eval((R[z]|0)+o+v))),Math.max(...Object.values(R))
JavaScript
0.002756
@@ -163,8 +163,169 @@ ues(R))%0A +%0A// Part 2%0Am=0,R=%7B%7D,document.body.innerText.split%60%5Cn%60.map(l=%3El&&(%5Bx,a,y,,z,o,v%5D=l.split%60 %60,m=Math.max(m,R%5Bx%5D=(R%5Bx%5D%7C0)+y*(a%5B0%5D=='i'?1:-1)*eval((R%5Bz%5D%7C0)+o+v)))),m%0A
4c6e6aeba5bf49bc132b368c8d80035c992598fd
Fix incorrect query in player module
modules/player/models/queueItem.js
modules/player/models/queueItem.js
const { channels } = Core.bot /** * Represents an item in the queue */ class QueueItem { /** * Instantiates a new queue item * @param {object} data * @param {GuildQueue} queue */ constructor (data, queue) { this._d = data this.queue = queue /** * If set to true, a notification will b...
JavaScript
0.014044
@@ -1450,16 +1450,19 @@ d(m =%3E m +.id === thi @@ -1954,25 +1954,25 @@ s.find(c =%3E -m +c .id === this
3ef9ab07dce19af2b4f0b375513308fad158c222
Replace with operator assignment
src/Menu/DelayedItems.js
src/Menu/DelayedItems.js
import PropTypes from 'prop-types'; import React, { Children, cloneElement } from 'react'; import { TRANSITION_DURATION_MS, TRANSITION_SCALE_ADJUSTMENT_Y } from './constants'; const DelayedItems = WrappedComponent => class extends React.PureComponent { static propTypes = { children: PropTypes.node, applyDel...
JavaScript
0.999993
@@ -858,13 +858,10 @@ i -= i - += 1;%0A
444ad09a0ecf8d571b2c539182f0e26a20e5f224
improve doc on redux-thunk
frontend/src/actions/action.js
frontend/src/actions/action.js
export const RECEIVED_USER_PROFILE = 'RECEIVED_USER_PROFILE'; export function receivedUserProfile (json) { return { type: RECEIVED_USER_PROFILE, user: json.user } } /** * Action creator fired just before fetching data for a user profile * @type {Function} */ export const REQUESTING_USER_PROF...
JavaScript
0
@@ -510,16 +510,84 @@ actions +.%0A * The redux-thunk middleware let us have access the %60dispatch%60 fn %0A * Redu @@ -732,23 +732,16 @@ lay the -action dispatch @@ -741,17 +741,25 @@ ispatche -s +d action %0A * @ret
c04854697983cae13d1b6627478d56c5a35a891d
Format nested objects as JSON in table view
frontend/src/lib/formatting.js
frontend/src/lib/formatting.js
import d3 from "d3"; import inflection from "inflection"; var precisionNumberFormatter = d3.format(".2r"); var fixedNumberFormatter = d3.format(",.f"); var decimalDegreesFormatter = d3.format(".08f"); export function formatNumber(number) { if (number > -1 && number < 1) { // numbers between 1 and -1 roun...
JavaScript
0.000001
@@ -1166,16 +1166,145 @@ %7D%0A + %7D else if (typeof value === %22object%22) %7B%0A // no extra whitespace for table cells%0A return JSON.stringify(value);%0A %7D el
648aa3d207f91d8e3657261fedff923bcdba04cc
set account id on tokens correctly
api/src/plugins/openid-connect/grants/password.js
api/src/plugins/openid-connect/grants/password.js
module.exports = (options) => ({ params: ['username', 'password'], grantTypeFactory: function passwordGrantTypeFactory(providerInstance) { return async function passwordGrantType(ctx, next) { const { username, password } = ctx.oidc.params; const account = await options.authenticateUser(username, pas...
JavaScript
0.000001
@@ -464,13 +464,25 @@ Id: -'foo' +account.accountId ,%0A @@ -868,16 +868,61 @@ sToken); +%0A token.set('sub', account.accountId); %0A%0A
2d2a8191eaec54b0ef0e259fb06eff1b0a54ea83
improve code quality
dev/main.js
dev/main.js
$(function() { let App = require("./App.vue"); new Vue({ el: "body", components: { App } }); });
JavaScript
0.000008
@@ -43,16 +43,26 @@ ue%22);%0A%0A%09 +let app = new Vue(
f1408eef99256a510bece2441a60103460dff706
Fix (very) minor comment typos
lib/common/lib/services/storageserviceclient.js
lib/common/lib/services/storageserviceclient.js
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
0.000047
@@ -1419,16 +1419,17 @@ cating w +h ether to @@ -1448,11 +1448,11 @@ yle -uri +URI s.%0A*
6dd530e2a4b8bb2ebd8d143329b4fa0a6ba833be
Comment getEmailPusher
src/UserSettingsStore.js
src/UserSettingsStore.js
/* Copyright 2015, 2016 OpenMarket 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 Unless required by applicable law or agreed to in writing, sof...
JavaScript
0
@@ -2153,32 +2153,284 @@ sword);%0A %7D,%0A%0A + /**%0A * Returns the email pusher (pusher of type 'email') for a given%0A * email address. Email pushers all have the same app ID, so since%0A * pushers are unique over (app ID, pushkey), there will be at most%0A * one such pusher.%0A */%0A ...
ed0380ea909378e07cb8b23709657c2327599b51
Add info to page
Display/JquerySample/jquery-demo.js
Display/JquerySample/jquery-demo.js
// Highlight correct nav item $('.active').removeClass(); $('.third-item').addClass('active'); //Get Schedules and set up table var scheduleData = JSON.stringify(false); var xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === 4) { ...
JavaScript
0
@@ -3553,16 +3553,28 @@ m-text%22%3E +Start Date: ' + sche @@ -3613,32 +3613,199 @@ Date + '%3C/p%3E' +%0A + '%3Cp class=%22list-group-item-text%22%3ENumber of media items: ' + scheduleDetails.events%5Bx%5D.media.length + '%3C/p%3E' +%0A %0A
b876a080940f0ced86fe70c6b3f8d3436d9dd3e0
Reduce duplication in test
src/modules/__tests__/api.js
src/modules/__tests__/api.js
import reducer, * as actions from '../api'; import serialize from '../../serialize'; describe('API module', () => { describe('Action Creators', () => { const resource = { type: 'widgets' }; const params = { foo: 'bar' }; const headers = { lorem: 'ipsum' }; const meta = { auth: true }; describe('...
JavaScript
0.999151
@@ -307,1026 +307,157 @@ -describe('get', () =%3E %7B%0A it('creates an GET request', () =%3E %7B%0A expect(actions.get(resource, %7B params, headers, meta %7D)).toEqual(%7B%0A type: actions.GET,%0A payload: %7B%0A params,%0A headers,%0A resource: ser...
47d4d43c7c7130e2a8f3eedab6eecb9da58b80d9
add items for bindable multiple with separate function
src/mvc/bindable/Multiple.js
src/mvc/bindable/Multiple.js
Ext.define('Densa.mvc.bindable.Multiple', { extend: 'Densa.mvc.bindable.Abstract', items: null, panel: null, //optional init: function() { if (this.panel && !(this.panel instanceof Ext.panel.Panel)) Ext.Error.raise('panel config needs to be a Ext.panel.Panel'); if (!this.items) Ext...
JavaScript
0
@@ -539,24 +539,81 @@ to be %3E0');%0A + var items = this.items;%0A this.items = %5B%5D;%0A for @@ -624,21 +624,16 @@ i=0; i%3C -this. items.le @@ -657,34 +657,109 @@ -if (!this.items%5Bi%5D +this.addItem(items%5Bi%5D);%0A %7D%0A %7D,%0A%0A addItem: function(item)%0A ...
d81feda4d1e8a09156cc95530cd3d67fa5c588c1
queue name will be node_js
app/assets/javascripts/app/controllers/sidebar.js
app/assets/javascripts/app/controllers/sidebar.js
Travis.Controllers.Sidebar = SC.Object.extend({ cookie: 'sidebar_minimized', init: function() { Travis.Controllers.Workers.create(); Travis.Controllers.Jobs.create({ queue: 'builds.common' }); Travis.Controllers.Jobs.create({ queue: 'builds.rails' }); Travis.Controllers.Jobs.create({ queue: 'build...
JavaScript
0.999998
@@ -444,16 +444,19 @@ lds.node +_js ' %7D);%0A%0A
8105f42c6b3ef5cf2d511d1a54b8f2fe7adab5fe
Improve router logic.
public/app/util/router.js
public/app/util/router.js
(function () { 'use strict'; define( [ 'lodash', 'knockout', 'page' ], function (_, ko, page) { var runHook, attach, current, applicationContainer = document.getElementById('application-container'); // Run the ...
JavaScript
0.000001
@@ -409,24 +409,71 @@ callback) %7B%0A + callback = callback %7C%7C _.noop;%0A @@ -1241,230 +1241,48 @@ -runHook(vm, 'ready', container, function () %7B%0A current = %7B%0A vm: vm,%0A ...
cda1c36edef8a65f482b51b30f76a23a0e807d18
Convert manchester line names to more sensible names
src/adapters/helsinki.js
src/adapters/helsinki.js
import _ from 'lodash'; import moment from 'moment'; import ajax from '../ajax'; const id = 'helsinki'; const name = 'Helsinki'; const latitude = 60.200763; const longitude = 24.936219; const apiUrl = 'http://dev.hsl.fi/siriaccess/vm/json'; function fetch() { return ajax(apiUrl).then(_transform); } function _tra...
JavaScript
1
@@ -742,24 +742,380 @@ uteInfo%5B2%5D;%0A + if (_.startsWith(lineName, 'GMN:')) %7B%0A // Helsinki data contains some Manchester vehicles also,%0A // they are prefixed with a special name.%0A // Try to make the line name sensible%0A const parts = lineName.split('GMN:');%0A if (par...
62055fbb0041b0d98675d2d421ecb9813b519b17
Change autocomplete plugin to search box plugin, it allows us to use the enter key
app/assets/javascripts/map/views/SearchboxView.js
app/assets/javascripts/map/views/SearchboxView.js
/** * The Searchbox module. * * @return searchbox class (extends Backbone.View). */ define([ 'underscore', 'backbone', 'handlebars', 'map/views/Widget', 'map/presenters/SearchboxPresenter', 'text!map/templates/searchbox.handlebars' ], function(_, Backbone, Handlebars, Widget, Presenter, tpl) { 'use s...
JavaScript
0
@@ -1339,56 +1339,8 @@ ) %7B%0A - console.log(place.geometry.location);%0A
50a79674d5a0d45da2aa47076b88b8ddf8488061
Support setting user's 'more.lang' property
src/api/db/validators.js
src/api/db/validators.js
/* This file is a part of libertysoil.org website Copyright (C) 2015 Loki Education (Social Enterprise) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o...
JavaScript
0
@@ -824,16 +824,116 @@ uniq';%0A%0A +const SUPPORTED_LOCALES = Object.keys(%0A require('../../consts/localization').SUPPORTED_LOCALES%0A);%0A%0A export c @@ -2266,16 +2266,229 @@ string'%5D +,%0A lang: %7B%0A rule: val =%3E %7B%0A if (val) %7B%0A if (!SUPPORTED_LOCALES.includes(val))...
790c4c193708a0c0feed3e53ad350d739a9fbbec
Remove accidental commit of my local mapnik layer.
public/javascripts/map.js
public/javascripts/map.js
var map; var markers; var popup; OpenLayers._getScriptLocation = function () { return "/openlayers/"; } function createMap(divName) { map = new OpenLayers.Map(divName, { controls: [ new OpenLayers.Control.ArgParser(), new OpenLayers.Control.Attribution(), new OpenLayers.Cont...
JavaScript
0
@@ -988,168 +988,8 @@ );%0A%0A - var maplint = new OpenLayers.Layer.OSM.Maplint(%22Maplint%22, %7B %0A displayOutsideMaxExtent: true,%0A wrapDateLine: true%0A %7D);%0A map.addLayer(maplint);%0A%0A v
33515046e0895a0cff17b05051e94bdb589f13f4
remove logos from popups since they take too much space.
public/javascripts/map.js
public/javascripts/map.js
/** * * Map View Functionality .js * * */ // All mines object var mines = {}; /** * Load mines from Registry */ function loadMines(){ $.get("service/instances", function(response){ var response = response.instances; for (var i = 0; i < response.length; i++){ var mine = response[i]; if (min...
JavaScript
0
@@ -2476,16 +2476,35 @@ L.Popup( +%7BcloseButton:false%7D ).setLat @@ -3161,16 +3161,33 @@ Add%5Bj%5D;%0A + if(j%3E0)%7B%0A mi @@ -3207,98 +3207,18 @@ r /%3E -%3Ca href='%22 + mine.url + %22' target='_blank'%3E%22 + %22%3Cimg src='%22 + mine.logo + %22' /%3E %22+ %22%3C/a%3E%22; +%22;%0A %7D %0A...
72e32ef734dd88d675a5d5ec55d300fda9ca3ae3
touchEnable flag should be true
Resources/result.js
Resources/result.js
var html1 = '<!doctype html><html lang="ja"><head><title>Radar Chart</title><script src="./Chart.js"></script><meta charset="UTF-8"><meta name = "viewport" content = "initial-scale = 1, user-scalable = no"><style>canvas{}</style></head><body><canvas id="canvas" height="450" width="450"></canvas><script>var radarChartDa...
JavaScript
0.99995
@@ -2794,17 +2794,45 @@ ize:9%7D,%0A -%09 + touchEnabled : true,%0A width: ' @@ -2890,16 +2890,18 @@ tion()%7B%0A +// %09Ti.API. @@ -2933,24 +2933,24 @@ zing ...');%0A - %09Ti.App.Prop @@ -3078,16 +3078,18 @@ swers);%0A +// %09Ti.API. @@ -3180,24 +3180,24 @@ (%7Burl: %22 -question +mainMenu .js%22%7D))...
faa7ad152e1c8fe415f15f0ef3c97715385a04d5
tag control functions in ui/index.js
src/node_modules/ui/index.js
src/node_modules/ui/index.js
var React = require('react') var r = require('r-dom') var debug = require('debug')('ui:index') var getDefaultRoleTypes = require('graph-view/get-default-role-types') var getRoleTypes = require('graph-view/get-role-types') var getUniLinkLabels = require('graph-view/get-uni-link-labels') var each = require('lodash.foreac...
JavaScript
0.000001
@@ -1159,17 +1159,16 @@ ctiveTag -s : this.u @@ -1181,17 +1181,60 @@ ctiveTag -s +.bind(this),%0A clearTag: this.clearTag .bind(th @@ -1914,16 +1914,19 @@ %0A %7D,%0A%0A + // updateA @@ -1963,24 +1963,27 @@ iveTags) %7B%0A + // var tagOb @@ -2015,18 +2015,21 @@ ype%5D)%0A +// + debug('t @...
e24a06cb0b88e0746fb3577aee4750ebdd3e1a3a
fix in auto refreshing (wrong npm repo)
workflow.js
workflow.js
var q = require('bluebird'); var registry = require("npm-registry"); var _ = require('underscore'); var database = require("./lib/database.js"); // crawlers var keywords = require("npm-keywords"); var ghClient = require("./lib/github.js"); var npmClient = require("./lib/npm.js"); var npmHistory = require("./lib/npmHi...
JavaScript
0
@@ -3037,20 +3037,20 @@ atest%22, -this +self .npm).th @@ -3166,17 +3166,16 @@ rsion != -= newPkg. @@ -3191,33 +3191,32 @@ & newPkg.name != -= undefined) %7B%0A @@ -3262,32 +3262,64 @@ : %22, newPkg.name +, newPkg.version, oldPkg.version );%0A self.
7a5da4f4115cadc62caa71e82e7237d7692dbec5
Update broker.js
src/parties/Broker/broker.js
src/parties/Broker/broker.js
import Company from '../Company/company' /** * Class representing a Broker * @memberof module:parties * @extends module:parties.Company */ class Broker extends Company { /** * Construct a new Broker instance * @param {object} params - Broker creation options: * @param {number} params.assetManagerId - As...
JavaScript
0.000001
@@ -1075,69 +1075,8 @@ ion%0A - * @param %7Bstring%7D %5Bparams.contactNumber%5D - Contact number%0A * @@ -2287,35 +2287,16 @@ ration,%0A - contactNumber,%0A addr @@ -2632,29 +2632,8 @@ on,%0A - contactNumber,%0A
36478e47a08436da5392d1842d2654a9559c9906
Initialize database on startup
server/config/environment/production.js
server/config/environment/production.js
'use strict'; // Production specific configuration // ================================== var production = { server: { staticDir : '/../../dist' }, // MongoDB connection options mongodb: { uri: 'mongodb://localhost/devnews-dev' }, seedDB: false }; // if OPENSHIFT env variables...
JavaScript
0.000001
@@ -278,12 +278,11 @@ DB: -fals +tru e%0A%7D;
aedcf33df52bcfd734271432a7251898a45b6052
Handle mongo error in ensureTextIndex
lib/list/ensureTextIndex.js
lib/list/ensureTextIndex.js
var debug = require('debug')('keystone:core:list:ensureTextIndex'); // A basic string hashing function function hashString (string) { var char; var hash = 0; if (string.length === 0) return hash; for (var i = 0; i < string.length; i++) { char = string.charCodeAt(i); hash = ((hash << 5) - hash) + char; hash =...
JavaScript
0
@@ -1675,161 +1675,400 @@ rr) -throw err; // Not sure what else to do +%7B%0A%09%09%09if (err.code === 26) %7B%0A%09%09%09%09// if the database doesn't exist, we'll get error code 26 %22no database%22 here -.. %0A%09%09 -var indexNames = Object.keys( +%09%09// that's fine, we just default the indexes object so th...
463a2ea05b34d46c600aec162b6b0b6f14fd6315
Fix #clearPaths mixin
lib/mincer/helpers/paths.js
lib/mincer/helpers/paths.js
/** internal * mixin Paths * * An internal mixin whose public methods are exposed on the [[Environment]] * and [[Index]] classes. * * Provides helpers to work with `Hike.Trail` instance. **/ // REQUIRED PROPERTIES ///////////////////////////////////////////////////////// // // - `__trail__` (Hike.Trail) //...
JavaScript
0
@@ -2052,16 +2052,22 @@ trail. +paths. remove(p
549689b99c4961328c2da06d65f087b53d927c40
use last call stack when payload is undefined
lib/model/callStackModel.js
lib/model/callStackModel.js
'use strict' 'use babel' const {Emitter} = require('atom') class CallStackModel { constructor (service) { this.service = service this.emitter = new Emitter() this.selectedIndex = 0 this.service.onPaused(this._pausedHandler.bind(this)) } getCallStack () { return this.callstack } getSe...
JavaScript
0.000004
@@ -560,16 +560,34 @@ llFrames + %7C%7C this.callstack %0A t
a8fcdea1428f2a8f364fd84fc210d32d77aeb283
Fix mongo plugin
lib/plugins/mongo-plugin.js
lib/plugins/mongo-plugin.js
const mongodb = require('mongodb'); const Plugin = require('../plugin'); module.exports = Plugin.define('mongo', [], { defaultConfig: { 'uri': null, 'prefix': '', }, }, { async start (config) { if (!config.uri) { throw new Error('MongoDB URI (config path: "uri") not set'); } const mo...
JavaScript
0
@@ -618,16 +618,25 @@ .exports +.ObjectId = mongo
964001619a1dfa6df7461b1f0a63287d0b2616db
fix oauth plugin for IE8
lib/plugins/sammy.oauth2.js
lib/plugins/sammy.oauth2.js
(function($) { Sammy = Sammy || {}; // Sammy.OAuth2 is a plugin for using OAuth 2.0 to authenticate users and // access your application's API. Requires Sammy.Session. // // Triggers the following events: // // * `oauth.connected` - Access token set and ready to use. Triggered when new // access token ...
JavaScript
0
@@ -3770,27 +3770,69 @@ -for (var i in pairs +var i, len = pairs.length;%0A%0A for (i = 0; i %3C len; i += 1 ) %7B%0A
ac7b73afefa038b11feaf3704573dcbe263f36c5
use colors/safe (#3548)
lib/reporters/base_color.js
lib/reporters/base_color.js
require('colors') function BaseColorReporter () { this.USE_COLORS = true this.LOG_SINGLE_BROWSER = '%s: ' + '%s'.cyan + '\n' this.LOG_MULTI_BROWSER = '%s %s: ' + '%s'.cyan + '\n' this.SPEC_FAILURE = '%s %s FAILED'.red + '\n' this.SPEC_SLOW = '%s SLOW %s: %s'.yellow + '\n' this.ERROR = '%s ERROR'.red + '\...
JavaScript
0
@@ -1,8 +1,45 @@ +const %7B red, yellow, green, cyan %7D = require( @@ -45,16 +45,21 @@ ('colors +/safe ')%0A%0Afunc @@ -145,33 +145,34 @@ = '%25s: ' + -'%25s'.cyan +cyan('%25s') + '%5Cn'%0A th @@ -210,17 +210,18 @@ ' + -'%25s'.cyan +cyan('%25s') + ' @@ -247,16 +247,20 @@ ILURE = +red( '%25s %25s F @@ ...
dfa567d762645410155932942b591c994164619c
Update BoundsArraySet_Pointwise.js
CNN/Conv/BoundsArraySet/BoundsArraySet_Pointwise.js
CNN/Conv/BoundsArraySet/BoundsArraySet_Pointwise.js
export { Pointwise }; import * as FloatValue from "../../Unpacker/FloatValue.js"; import * as ValueDesc from "../../Unpacker/ValueDesc.js"; import * as Weights from "../../Unpacker/Weights.js"; import { ConvBiasActivation } from "./BoundsArraySet_ConvBiasActivation.js"; import { ChannelPartInfo, FiltersBiasesPartInfo ...
JavaScript
0
@@ -14,16 +14,42 @@ twise %7D; +%0Aexport %7B PointwisePool %7D; %0A%0Aimport @@ -1208,16 +1208,92 @@ range.%0A + *%0A * @return %7BBoundsArraySet.Pointwise%7D%0A * Return the this object.%0A */%0A @@ -2829,10 +2829,611 @@ %0A%0A -%7D%0A%0A%7D%0A + return this;%0A %7D%0A%0A%7D%0A%0A%0A/**%0A * Pr...
4cbedf555f12175d6407b0947ab99f66aaf9945b
Send same thing in both parameters
myModules/zsoServerComunication.js
myModules/zsoServerComunication.js
//save requests to files var mongo = require('./mongoFunctions.js'), assert = require('assert'), request= require('request'), jsonFromHtml = require('./getJsonFromHtml.js'), userMod = require('./getSubstitution.js'), querystring = require('querystring'), messenger = require('./messengerBot.js'), setTime = requir...
JavaScript
0
@@ -930,16 +930,32 @@ ata, obj +%5B'substitution'%5D , functi
66599b3eaf28d6e0ea01b39d2fa3b78849a3da14
Update jquery.cronui.js
i18n/jquery.cronui.js
i18n/jquery.cronui.js
;(function($){ $.fn.cronui.data['ru-RU'] = { periods: ['Минута', 'Час', 'День', 'Неделю', 'Месяц', 'Год'], days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"], months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август"...
JavaScript
0.000001
@@ -131,23 +131,8 @@ s: %5B -%22%D0%92%D0%BE%D1%81%D0%BA%D1%80%D0%B5%D1%81%D0%B5%D0%BD%D1%8C%D0%B5%22, %22%D0%9F%D0%BE%D0%BD
d3b24fd83f6c201b37ef3d2f5bda57676a94e4a9
use require and module.exports instead of import/export for the Pusher client
javascript_client/subscriptions/PusherLink.js
javascript_client/subscriptions/PusherLink.js
// An Apollo Link for using graphql-pro's Pusher subscriptions // // @example Adding subscriptions to a HttpLink // // Load Pusher and create a client // import Pusher from "pusher-js" // var pusherClient = new Pusher("your-app-key", { cluster: "us2" }) // // // Build a combined link, initialize the client: // ...
JavaScript
0
@@ -1098,16 +1098,48 @@ %0A//%0A -import %7B +var ApolloLink = require(%22apollo-link%22). Apol @@ -1144,17 +1144,20 @@ olloLink -, +%0Avar Observa @@ -1163,15 +1163,19 @@ able -%7D from + = require( %22apo @@ -1183,16 +1183,28 @@ lo-link%22 +).Observable %0A%0Aclass @@ -2835,22 +2835,24 @@ %0A%7D%0A%0A -ex...
a581a6ec94ea56879fe2767d50f2ffbb6943c468
Update CheckBox.js
src/checkbox/CheckBox.js
src/checkbox/CheckBox.js
import React from 'react' import { StyleSheet, TouchableOpacity, View, Platform } from 'react-native' import Text from '../text/Text' import fonts from '../config/fonts' import colors from '../config/colors' import FAIcon from 'react-native-vector-icons/FontAwesome' import getIconType from '../helpers/getIconType' let...
JavaScript
0.000001
@@ -997,24 +997,116 @@ es.wrapper,%0A + right && %7BjustifyContent: 'flex-end'%7D,%0A center && %7BjustifyContent: 'center'%7D%0A %5D%7D%3E%0A
b918e05a6bd3b108584964340a2250fda4346bbd
initialize @children array before using it
src/child-observation.js
src/child-observation.js
import {DOM} from 'aurelia-pal'; import {metadata} from 'aurelia-metadata'; import {HtmlBehaviorResource} from './html-behavior'; function createChildObserverDecorator(selectorOrConfig, all) { return function(target, key, descriptor) { let actualTarget = typeof key === 'string' ? target.constructor : target; //i...
JavaScript
0.000001
@@ -6094,32 +6094,33 @@ let items = +( this.viewModel%5Bt @@ -6124,32 +6124,73 @@ l%5Bthis.property%5D + %7C%7C (this.viewModel%5Bthis.property%5D = %5B%5D)) ;%0A let in @@ -6565,16 +6565,17 @@ items = +( this.vie @@ -6587,32 +6587,73 @@ l%5Bthis.property%5D + %7C%7C (this.viewModel%5Bthis.property%...
e7e95f5d4b9b8b21fa2c97bec22b9e6df9386450
Add mkdirp to create a @<scope> folder before doing symlink so that yarn link works (#910)
src/cli/commands/link.js
src/cli/commands/link.js
/* @flow */ import type {Reporter} from '../../reporters/index.js'; import type Config from '../../config.js'; import {MessageError} from '../../errors.js'; import * as fs from '../../util/fs.js'; const invariant = require('invariant'); const path = require('path'); export async function getRegistryFolder(config: Co...
JavaScript
0
@@ -1736,24 +1736,70 @@ %7D else %7B%0A + await fs.mkdirp(path.dirname(linkLoc));%0A await
c684662c5543e12fa7edeb52fac8c2cd83a01d4b
Add workaround for 2.12.x support
addon/helpers/utils.js
addon/helpers/utils.js
function save() { this._super.apply(this, arguments); this._save(); } function saveIfChanged(key) { this._super.apply(this, arguments); if (key !== '_isInitialContent') { this._save(); } } export { save, saveIfChanged };
JavaScript
0
@@ -137,16 +137,293 @@ ents);%0A%0A + // TODO: v2.0 - Remove workaround and drop support for 2.12.x%0A // Ember 2.12.x sets __OWNER__ and __NAME_KEY__ on factoryFor().create()%0A // which results in a premature save hat overwrites the already stored data.%0A if (/%5E__OWNER%7CNAME_KEY__/.test(key)) %7B%0A retu...
631b6991eb2253b4b39cb3e899030e9efd1e90ed
rename private methods.
addon/services/intl.js
addon/services/intl.js
/** * Copyright 2015, Yahoo! Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ import { getOwner } from '@ember/application'; import { computed, get, set } from '@ember/object'; import Evented from '@ember/object/evented'; import { assert } from '@ember/debug'; imp...
JavaScript
0
@@ -949,32 +949,198 @@ formats: null,%0A%0A + /**%0A * Returns an array of registered locale names%0A *%0A * @property locales%0A * @public%0A */%0A locales: computed.readOnly('_translationContainer.locales'),%0A%0A /** @public ** @@ -1446,16 +1446,17 @@ this. +_ updateDo @@ -2038,211 +2038,8 @@ ...
76c61b45cd48599812fa4972ab324d79b2fd9506
Add youtube playlist thumbnail buttons.
js/content_scripts/youtube-content-scripts.js
js/content_scripts/youtube-content-scripts.js
initYouTubeList(); chrome.runtime.onMessage.addListener( function(request, sender, sendResponse) { if (request.action == "getPlaylistUrls") { initYouTubeList(); sendResponse({urlList: JSON.stringify(urlList)}); } else if (request.action == "onPlayback") { $("vide...
JavaScript
0
@@ -2266,24 +2266,233 @@ RER$/)) init +VideoButtons(node);%0A if (node.nodeName.match(/%5EYTD.*PLAYLIST-RENDERER$/)) initPlaylistButtons(node);%0A if (node.nodeName.match(/%5EYTD-PLAYLIST-SIDEBAR-PRIMARY-INFO-RENDERER$/)) initPlaylist Buttons(node @@ -2589,24 +2589,60 @@ e,%0A%7D);%0A%0Ainit +V...
3e3730f030a071831c54cdad6f876ead52ba94c9
move association mapping to the initialize method
lib/waterline/core/index.js
lib/waterline/core/index.js
/** * Dependencies */ var _ = require('underscore'), extend = require('../utils/extend'), schemaUtils = require('../utils/schema'), Model = require('../model'), Cast = require('./typecast'), Schema = require('./schema'), Validator = require('./validations'), AdapterLoader = requir...
JavaScript
0.000001
@@ -977,74 +977,8 @@ s);%0A - this._associations = schemaUtils.associations(this.attributes);%0A th @@ -2013,16 +2013,112 @@ hods);%0A%0A + // Map association keys%0A this._associations = schemaUtils.associations(this.attributes);%0A %0A //
22d739993473b0d514e1c81fa0af886e7750fb81
fix bug
lib/wechat-enterprise-im.js
lib/wechat-enterprise-im.js
'use strict'; var xml2js = require('xml2js'); var ejs = require('ejs'); var Session = require('./session'); var List = require('./list'); var WXBizMsgCrypt = require('wechat-crypto'); var load = function (stream, callback) { var buffers = []; stream.on('data', function (trunk) { buffers.push(trunk); }); s...
JavaScript
0.000001
@@ -4912,35 +4912,8 @@ %7D;%0A%0A -middleware.reply = reply;%0A%0A modu
5059d05e75d4992aea8dc826529ca14eb550c48e
Update user-service.js
www/user/user-service.js
www/user/user-service.js
'use strict'; angular.module('MyApp.services').service('User', function($q, $firebase, FIREBASE_ROOT, Auth) { var usersRef = new Firebase(FIREBASE_ROOT + '/users'); var currentUser = null; this.loadCurrentUser = function() { var defer = $q.defer(); var currentUserRef = usersRef.child(Auth.cu...
JavaScript
0.000002
@@ -900,14 +900,441 @@ %0A %7D;%0A + %0A this.manageSubscriptions = function(subs) %7B%09%09%0A var users = $firebase(usersRef);%09%09%0A %09%09%0A for (var key in users) %7B%09%09%0A var obj = users%5Bkey%5D;%09%09%0A if (key.toLowerCase() === Auth.currentUser.uid) %7B%09...
5a723d0cd2676cfecd83f1a0edd7717fadb75b82
remove useless override
src/ValidationError.js
src/ValidationError.js
class ValidationError extends Error { constructor(validation) { super(ValidationError.message); this.validation = validation; // We don't want to capture the Stack, no useful information there this.stack = ""; } // Pretty print the error inspect(depth, opts) { ...
JavaScript
0.000002
@@ -884,108 +884,8 @@ %7D; -%0A%0A // We don't want to capture the Stack, no useful information there%0A captureStackTrace () %7B%7D %0A%7D%0A%0A
fcbcdee6aa18c9f507c7a8d981fb8d77f319997f
Allow more information for casting
src/_column-matches.js
src/_column-matches.js
import { isArray } from 'lodash'; import strategies from './strategies'; const defaultTransform = (v = '') => v && v.toLowerCase && v.toLowerCase(); const defaultCastingStrategy = v => (isArray(v) ? v : String(v)); const _columnMatches = ({ query, castingStrategy = defaultCastingStrategy, column = {}, row, ...
JavaScript
0
@@ -641,16 +641,24 @@ gy(value +, column );%0A%0A re
add1cc0cfff66946f3052cf637c130400e4424f0
Change Claims header title
src/components/Claims.js
src/components/Claims.js
import React, { Component } from 'react'; import claims from '../../data/claims.json'; import documents from '../../data/documents.json'; console.log(claims, documents); import Sidebar from './Sidebar'; import Header from'./Header'; import NavBar from './NavBar'; import logo from '../logo.svg'; import '../App.css'; ...
JavaScript
0
@@ -512,62 +512,27 @@ le%22%3E -Defining a %3Cspan className=%22text-bold%22%3EFieldset%3C/span%3E +Claims/Attestations %3C/h5
8dfa19e22397180ff80857b6660145eafa6e17bd
rename "master" -> "main" (git branch)
src/components/Footer.js
src/components/Footer.js
import React from 'react'; import FontList from '../components/FontList'; class Footer extends React.Component { render() { const props = this.props; const data = props.data; return ( <div className="clearfix bg-white bg-fallback-white py2 md-py4" style={{minHeight: `60vh`}}> ...
JavaScript
0
@@ -1225,12 +1225,10 @@ b/ma -ster +in /CON
c739a116db50207adfcfa7ddeecc0a26bb64b63e
replace vw at header component to %
src/components/Header.js
src/components/Header.js
import React from 'react'; import { css } from 'glamor'; import Logo from './Logo'; import Infos from './Infos'; import Title from './Title'; import BackgroundPattern from '../media/images/backgroundPattern.png'; const styles = { container: css({ backgroundImage: `url(${BackgroundPattern})`, color: 'white'...
JavaScript
0
@@ -326,26 +326,25 @@ width: '100 -vw +%25 ',%0A heigh @@ -377,10 +377,9 @@ '100 -vw +%25 ',%0A
bbf04a74ad407c48a463e689092dc7ec3fab8e7b
Reorder header per client. Closes #199
src/components/Header.js
src/components/Header.js
import React, { PropTypes } from 'react'; import { throttle } from 'lodash'; import { Link } from 'react-router'; import socialMediaLinks from '../../static/socialMediaLinks.json'; /** * Header block at top of site, with logo and nav links */ export default class Header extends React.Component { static propType...
JavaScript
0
@@ -1895,36 +1895,18 @@ %7B %60/ -stories/$%7B this.props.mode %7D +about/page %60 %7D @@ -1982,15 +1982,13 @@ pan%3E -Stories +About %3C/sp @@ -2030,12 +2030,14 @@ %7B %60/ -even +projec ts/$ @@ -2132,20 +2132,22 @@ '%3E%3Cspan%3E -Even +Projec ts%3C/span @@ -2175,38 +2175,36 @@ li%3E%3CLink to=%7B %60/ -pro...
a3f67930793c1e494617c43803648392c1454fcc
change default module name
src/components/config.js
src/components/config.js
var colors = [ '#008EBA', '#99CC00', '#AA66CC', '#FD7400', '#723147', '#FF5F5F', '#AC59D6', '#6B5D99', '#FFBB33', '#FF4444', '#1F8A70', '#9BCF2E', '#004358', '#979C9C', '#962D3E', '#35478C', '#5F9C6D', '#FD7400', '#16193B', '#7FB2F0' ]; var config = { colors, scopeLogs: fals...
JavaScript
0.000001
@@ -335,18 +335,23 @@ e: ' -ngx.defaul +frankland.valen t',%0A
a24a492bc61bd7381bf78b55bbd74a6c50b364c5
add blog and youtube links
src/components/header.js
src/components/header.js
import React from 'react' import { NavLink } from 'react-router-dom' import logo from '../logo.jpg' export default () => ( <nav className='pa3 pa4-ns mb4'> <NavLink className='link f6 f5-ns ttu near-black dib mr3' to='/'><img alt='avatar' className='br-100 h2 h3-ns w2 w3-ns dib v-mid' src={logo} /></NavLink> ...
JavaScript
0
@@ -844,16 +844,399 @@ ter%3C/a%3E%0A + %3Ca className='link f6 f5-ns ttu near-black hover-near-white hover-bg-near-black dib mr3 pa1 br1 ba b--near-black' href='https://medium.com/@bsdlp' title='blog'%3Eblog%3C/a%3E%0A %3Ca className='link f6 f5-ns ttu near-black hover-near-white hover-bg-near-black dib mr3 pa1...
a1e90f64703472196ac2e3e93d9e4a3ba929d8cb
add REQUEST_BUS_STOPS_AROUND_ME action and action factory
src/actions/actions.js
src/actions/actions.js
import fetch from 'isomorphic-fetch' // // action types // export const REQUEST_BUS_STOPS_AROUND_ME = 'REQUEST_BUS_STOPS_AROUND_ME' export const RECEIVE_BUS_STOPS_AROUND_ME = 'RECEIVE_BUS_STOPS_AROUND_ME' // // action creators // export function requestBusStopsAroundMe(meters, coors) { return { type: REQUES...
JavaScript
0
@@ -1,42 +1,4 @@ -import fetch from 'isomorphic-fetch'%0A%0A //%0A/ @@ -94,80 +94,62 @@ ME'%0A -export const RECEIVE_BUS_STOPS_AROUND_ME = 'RECEIVE_BUS_STOPS_AROUND_ME' +%0A//%0A// other constants%0A//%0A%0Aexport loadingState = false %0A%0A// @@ -288,170 +288,164 @@ -meters,%0A coors%0A %7D%0A%7D%0A%0Aexp...
9480c748e474be3fc1d700c3ccf513681297bf6b
fix memberlist bug
src/components/navbar.js
src/components/navbar.js
import React, { Component } from 'react'; import { SplitButton, MenuItem, Popover, OverlayTrigger, Navbar, NavItem, Nav, Button, ButtonGroup, Glyphicon, InputGroup, FormGroup, FormControl } from 'react-bootstrap'; import axios from 'axios'; class navbar extends Component { constructor(props) { super(props); ...
JavaScript
0.000001
@@ -711,15 +711,19 @@ api/ -profile +team/select ')%0A @@ -760,38 +760,134 @@ -le +cons t team -;%0A +id = res.data.id;%0A axios.get('/api/profile')%0A .then((resp) =%3E %7B%0A const team +s = res +p .dat @@ -897,13 +897,122 @@ eams -%5B0%5D;%0A +;%0A ...
113c579707135f9a95c3ad84acf0919bbcf40d88
Add object counter.
qml/scripts/levelLogic.js
qml/scripts/levelLogic.js
var NUM_ROCKETS = 5; var rocketUrl = Qt.resolvedUrl("../entities/Rocket.qml"); var objects = {}; var gravityWells = []; var impulse = Qt.point(0,0); var objectSettings = {"x": 0, "y": 0, "rotation": 60, "target": null } function init() { } function createRockets(target) { for(var i = 0; i < NUM_ROCKETS; i++)...
JavaScript
0
@@ -90,16 +90,38 @@ s = %7B%7D;%0A +var objectsCount = 0;%0A var grav @@ -974,16 +974,34 @@ ityId);%0A + objectsCount++;%0A %7D%0A%0Afunct @@ -1057,16 +1057,33 @@ ityId%5D;%0A + objectsCount--%0A %7D%0A%0Afunct
2847c820f2f1dcb4de3a4a79ef247f82d6a00582
fix #244
methods/indicators/RSI.js
methods/indicators/RSI.js
// required indicators var EMA = require('./EMA.js'); var Indicator = function(weight) { this.lastPrice = 0; this.weight = weight; this.weightEma = 2 * weight - 1; this.avgU = new EMA(this.weightEma); this.avgD = new EMA(this.weightEma); this.u = 0; this.d = 0; this.rs = 0; this.rsi = 0; this.age ...
JavaScript
0.000001
@@ -98,12 +98,12 @@ last -Pric +Clos e = @@ -379,35 +379,16 @@ var -open = candle.open;%0A var c +currentC lose @@ -415,19 +415,36 @@ if(c -lose %3E open +urrentClose %3E this.lastClose ) %7B%0A @@ -707,16 +707,48 @@ .age++;%0A + this.lastClse = currentClose;%0A %7D%0A%0Amodul
5b62e0495f587402177e08eb03a3940136e9ba86
Set the 404.swig rendering to use the blank.swig layout
middleware/controllers.js
middleware/controllers.js
'use strict'; var debug = require('debug')('fundation'); var debugRoutes = require('debug')('fundation:controllers'); var glob = require("glob"); var path = require('path'); /** * Routes * * @param {Application} app * @api private */ module.exports = function(app) { debug("Sett...
JavaScript
0
@@ -1518,32 +1518,80 @@ ender('404.swig' +, %7B%0A layout: %22blank.swig%22%0A %7D );%0A bre @@ -1666,24 +1666,72 @@ r('404.swig' +, %7B%0A layout: %22blank.swig%22%0A %7D );%0A
3c9c7d909a2046fb7f4bba55a165ea46e5e22def
Optimize Trending Movies and Upcoming Movies Queries.
src/app/index.route.js
src/app/index.route.js
(function() { 'use strict'; angular .module('movieApp') .config(routerConfig); /** @ngInject */ function routerConfig($stateProvider, $urlRouterProvider) { $stateProvider .state('home', { url: '/', templateUrl: 'app/main/main.html', controller: 'MainController', ...
JavaScript
0
@@ -392,32 +392,33 @@ ction ($http) %7B%0A +%0A retu @@ -417,232 +417,799 @@ -return $http.get('https://api.themoviedb.org/3/discover/movie?sort_by=popularity.desc&api_key=6101bba1eadfefbac6a1e1549e861665')%0A .then(function (res) %7B%0A return res.data.results;%0A ...
b791c78ebfde6e3721b6818edda9875198538cb2
Remove created flag
migration/fixtures/v12.js
migration/fixtures/v12.js
/* eslint-disable no-magic-numbers */ // NOTE This file is an important documentation of the data structure at v12. // NOTE The properties changed from the prev version are marked with NOTE var c = require('./common'); var db = require('tresdb-db'); module.exports = { collections: { config: [{ key: 'sche...
JavaScript
0.000001
@@ -1334,37 +1334,8 @@ OTE%0A - created: true, // NOTE%0A @@ -2097,37 +2097,8 @@ %5D,%0A - created: true, // NOTE%0A
875c5e1f10d31e09372050ed58f41f9d7748aab6
set background color of views
main/viewManager.js
main/viewManager.js
var viewMap = {} // id: view function createView (id, webPreferencesString, boundsString, events) { let view = new electron.BrowserView(JSON.parse(webPreferencesString)) events.forEach(function (ev) { view.webContents.on(ev.event, function (e) { if (ev.options && ev.options.preventDefault) { e.p...
JavaScript
0
@@ -726,16 +726,51 @@ ring))%0A%0A + view.setBackgroundColor('#fff')%0A%0A viewMa
23038c3ebb6d632dac0e611b52b49feda0d49baa
Refactor to create closure
bin/gest.js
bin/gest.js
#! /usr/bin/env node const args = require('args') const path = require('path') const { printSchema } = require('graphql') const chalk = require('chalk') const gest = require('../src/index') const REPL = require('../src/REPL') const { readFile, checkPath, flagsToOptions, colorResponse, errorMessage, findFiles } = requi...
JavaScript
0
@@ -1182,53 +1182,16 @@ cons -ole.log(%60$%7Bchalk.black.bgYellow(' RUNS ')%7D $%7B +t rep = chal @@ -1230,11 +1230,8 @@ .')) -%7D%60) %0A @@ -1243,49 +1243,63 @@ -return v%0A %7D)%0A .map(v =%3E +console.log(%60$%7Bchalk.black.bgYellow(' RUNS ')%7D $%7Brep%7D%60) %0A @@ -1492,48 +14...
e0462872d6103adc00adab64c31a728d4c90b92b
update bin
bin/jung.js
bin/jung.js
#!/usr/bin/env node var Jung = require('../').Jung , nopt = require('nopt') , fs = require('fs') , path = require('path') , color = require('bash-color') , jung = require('../package.json') var noptions = { root: Array , files: Array , dirs: Array , notfiles: Array , notdirs: Array , wait: Num...
JavaScript
0
@@ -18,20 +18,18 @@ de%0A%0Avar -Jung +fs = requi @@ -36,27 +36,21 @@ re(' -../').Jung +fs') %0A , -nopt +path = r @@ -61,21 +61,25 @@ re(' -nopt')%0A , fs +path')%0A%0Avar color = r @@ -82,37 +82,45 @@ = require(' -fs +bash-color ')%0A , -path +nopt = require(' @@ -123,54 +123,59 @@ re(' -path')%...
cc539d96bc2d14796279fc2c4c867bb6a3b2df06
Fix buffers completion when there are some tabs with undefined title.
src/background/tabs.js
src/background/tabs.js
const closeTab = (id) => { return browser.tabs.remove(id); }; const reopenTab = () => { return browser.sessions.getRecentlyClosed({ maxResults: 1 }).then((sessions) => { if (sessions.length === 0) { return; } let session = sessions[0]; if (session.tab) { return browser.sessions.re...
JavaScript
0
@@ -1511,32 +1511,43 @@ udes(keyword) %7C%7C + t.title && t.title.include
2f9bb88adb9323c5adda0481a87cf3e97a881b6f
Fix package.json location
bin/moro.js
bin/moro.js
#!/usr/bin/env node 'use strict' // packages const prog = require('caporal') const chalk = require('chalk') const updateNotifier = require('update-notifier') // ours const pkg = require('./package.json') updateNotifier({ pkg }).notify() const spinner = require('../lib/utils/spinner.js') console.log(` ${chalk.red('💙...
JavaScript
0.000236
@@ -183,16 +183,17 @@ quire('. +. /package
12a00da402b2da010275b4ba96f26ac9fd98b953
remove bookmark correctly
src/bookmarks/index.js
src/bookmarks/index.js
const Ractive = require('ractive'); const fade = require('ractive-transitions-fade'); const { EVENT, bookmarks, github, helper } = require('../services'); const $ = require('../util'); const BuildStatus = require('./build-status'); const DEFAULT_REPO_NAME = 'Pages'; // for ungrouped pages const DEFAULT_PROJECTS_RE...
JavaScript
0
@@ -2332,65 +2332,42 @@ );%0A%09 -const idx = data.bookmarks.indexOf(issue);%0A%09 +Module.set('bookmarks', Module. -splice +get ('bo @@ -2378,20 +2378,40 @@ rks' -, idx - 1, 1 +).filter(i =%3E i.id !== issue.id) );%0A%7D
95e2a4aab8a354a5d90643d32c0a7c3febfd82e0
Fix failure to generate endpoint responses caused by a missing return in getter
api/controllers/rat.js
api/controllers/rat.js
'use strict' const { Rat } = require('../db') const RatQuery = require('../Query/RatQuery') const { CustomPresenter } = require('../classes/Presenters') const APIEndpoint = require('../APIEndpoint') const { Ships } = require('./ship') const { NotFoundAPIError } = require('../APIError') class Rats extends APIEndpoint...
JavaScript
0.00001
@@ -202,18 +202,14 @@ onst - %7B Ships - %7D = r @@ -2717,16 +2717,41 @@ 'rats'%0A + return RatsPresenter%0A %7D%0A%7D%0A%0Am
e2f6125de937936a79a865cdb66a1fba7f0e829e
load user list + handle users order #62.
src/client/js/users.js
src/client/js/users.js
function loadUsers(callback) { $('#content').load(`/_users.html`, callback); }
JavaScript
0
@@ -14,69 +14,2735 @@ User -s(callback) %7B%0A $('#content').load(%60/_users.html%60, callback); +List(apiRoute, page, url) %7B%0A showLoader();%0A $('#users_order_dropdown').dropdown(%7B%0A onChange: function (value, text) %7B handleUsersOrder(value, page); %7D%0A %7D);%0A $.get(apiRoute)%0A ...
4d731dc41293cef0f422cf60dc2cdabb8ddff6a8
test refactored changes
respondToSMS-NodeJS/index.js
respondToSMS-NodeJS/index.js
//'use strict'; var qs = require('querystring'); var twilio = require('twilio'); var cookie = require('cookie'); var crypto = require('crypto'); var encryptKey = "s0m3Rand0mStr!ng"; // this should be put into a config var, env var var encryptStandard = "aes256"; module.exports = function (context, req) { context....
JavaScript
0.000001
@@ -1,11 +1,9 @@ %EF%BB%BF -// 'use str @@ -414,35 +414,29 @@ .body);%0A -var cookieS +req.s ession = get @@ -452,31 +452,16 @@ sion(req -.headers.cookie );%0A / @@ -636,16 +636,20 @@ ringify( +req. session) @@ -756,16 +756,20 @@ );%0A%0A +var res = %7B%0A @@ -957,24 +957,25 @@ true%0A %7D;%0A...
3be3264a48dc3b31b90c6f644308866eb592b7de
add save to localstorage
app/components/Home.js
app/components/Home.js
import React, { Component } from 'react'; import { Link } from 'react-router'; import styles from './Home.module.css'; const { TextField,Snackbar } = require('material-ui'); const GitHubApi = require("github-api"); var slug = require('limax'); var moment = require('moment'); var marked = require('marked'); var toMarkdo...
JavaScript
0
@@ -927,16 +927,394 @@ );%0A %7D%0A%0A + componentDidMount() %7B%0A if(localStorage.getItem('data') !== null )%7B%0A var data = JSON.parse(localStorage.getItem('data'));%0A this.setState(%7B%0A title: data.title,%0A author: data.author,%0A url: data.url,%0A date: data.date,%0...
c309046aa15355082b010bebee6b9116f5cabc8f
Enable clicking on 3D plots (requires rgl modification)
inst/www/glbinding.js
inst/www/glbinding.js
var glOutputBinding = new Shiny.OutputBinding(); $.extend(glOutputBinding, { find: function(scope) { return $(scope).find('.shiny-gl-output'); }, renderValue: function(el, data) { if (!data || !data.html){ return; } $(el).html(data.html); setTimeout(function() { // ...
JavaScript
0
@@ -1011,24 +1011,205 @@ %7D);%0A +newObj.onClick(function(x, y)%7B%0A Shiny.onInputChange(el.id + '.click', %5Bx,y%5D);%0A Shiny.onInputChange('.clientdata_gl_output_' + el.id + '_click', %5Bx,y%5D);%0A %7D); %0A %7D els
e76db0ea9c90f31b801156e85d7181b0237c809e
Add some more logging to figure out what's going on
app/lib/users/index.js
app/lib/users/index.js
var db = require('../database'); var messenger = require('../messenger'); var _ = require('lodash'); function User(doc) { // Call the new constructor in case your forgot it. if (!(this instanceof User)) { return new User(doc); } // Assume that if you just get a string, that it's a phone number. // ...
JavaScript
0
@@ -1826,16 +1826,88 @@ back) %7B%0A + console.log('Setting status of ' + this._id + ' to ' + status + '.');%0A this.s
6c18b74b7e647fccf0c48747026d7e1a78ad176d
Update moves.js
mods/trademarked/moves.js
mods/trademarked/moves.js
'use strict'; exports.BattleMovedex = { "copycat": { num: 383, accuracy: true, basePower: 0, category: "Status", desc: "The user uses the last move used by any Pokemon, including itself. Fails if no move has been used, or if the la...
JavaScript
0.000001
@@ -3108,2923 +3108,7 @@ %7D,%0A - %22batonpass%22: %7B%0A num: 226,%0A accuracy: true,%0A basePower: 0,%0A category: %22Status%22,%0A desc: %22The user is replaced with another Pokemon in its party. The selected Pokemon has the user's ...
33bae59d7752ec77aab9338f2ea98fe93be7f0d7
add width and height to video
src/components/home.js
src/components/home.js
import React from "react"; import Footer from "./footer"; import Banner from "./banner"; export default class Home extends React.Component { constructor(props) { super(props) this.state = { body: null } } componentDidMount = () => { let unauthBody = ( <di...
JavaScript
0
@@ -441,16 +441,47 @@ %3Cvideo + id=%22home-video%22 preload=%22none%22 control
4fa3dad1159e5f4ab61072002264d82b684a00a4
Throw an error, not just a plain string
src/EventContext.js
src/EventContext.js
"use strict"; import Guard from './Guard'; class EventContext { constructor(modelId, eventType, event) { Guard.isString(modelId, "The modelId should be a string"); Guard.isString(eventType, "The eventType should be a string"); Guard.isDefined(event, "The event should be defined"); ...
JavaScript
0.000014
@@ -884,32 +884,42 @@ throw +new Error( 'event is alread @@ -926,19 +926,21 @@ y cancel +l ed' +) ;%0A
baaa1e94526d7da77332648d384e6c085ce2b285
Fix linux issue with process.env usage. See https://github.com/electron/electron/issues/3306
app/services/config.js
app/services/config.js
'use strict'; const fs = require('fs'); const path = require('path'); const angular = require('angular'); const process = require('process'); angular.module('app').factory('config', config); config.$inject = []; const configPath = path.join(process.env.USER_DATA_PATH, 'user.json'); function config() { let config;...
JavaScript
0.000021
@@ -105,23 +105,24 @@ ;%0Aconst -process +%7Bremote%7D = requi @@ -125,23 +125,24 @@ equire(' -process +electron ');%0A%0Aang @@ -239,16 +239,23 @@ th.join( +remote. process. @@ -287,16 +287,57 @@ .json'); +%0Aconsole.log('Config path:', configPath); %0A%0Afuncti
46c9fac82938ef57b5639561ddecc874054a3c3f
Fix settings
app/shared-settings.js
app/shared-settings.js
export const ownAddress = 'http://localhost:3000';
JavaScript
0.000001
@@ -31,21 +31,13 @@ p:// -localhost:3000 +izm.io ';%0A
1e063619a4c53de906bdc35d820ab9d3809df430
Change stats order
app/stats/statModel.js
app/stats/statModel.js
"use strict"; //Load dependencies var applicationStorage = process.require("core/applicationStorage"); /** * Insert a stat object * @param tier * @param raid * @param stat * @param callback */ module.exports.insertOne = function (tier, raid, stats, callback) { var collection = applicationStorage.mongo.colle...
JavaScript
0
@@ -779,16 +779,17 @@ t(%7B_id: +- 1%7D)%0A
a8420e148b9f55f3a0d043f7c05e4ce24a861076
Check if doc already optimized
optimize_pdfs.js
optimize_pdfs.js
#!/usr/bin/env node const { MONGODB: DB, ES } = process.env const child_process = require('child_process') const fs = require('fs') const mongoose = require('mongoose') mongoose.Promise = global.Promise const elasticsearch = require('elasticsearch') let es = new elasticsearch.Client({ host: ES }) let db = mongoose.cr...
JavaScript
0
@@ -631,16 +631,75 @@ oc._id)%0A + if (doc.gs_optimized) %7B%0A return%0A %7D%0A @@ -1238,32 +1238,70 @@ ave()%0A %7D%0A + doc.set('gs_optimized', true)%0A await do
b6835cfeacb5d8e5784d1dd7bf22dda6b2a90ab7
remove sort and filter
torrent/index.js
torrent/index.js
const Webtorrent = require('webtorrent'); const pump = require('pump'); const mime = require('mime'); const rangeParser = require('range-parser'); const admin = require("firebase-admin"); const firestore = admin.firestore(); const _ = require('lodash'); const webtorrent = new Webtorrent(); const listTorrent = {} // F...
JavaScript
0
@@ -949,59 +949,8 @@ n')%0A - .orderBy('date')%0A .limit(1)%0A
65f244f5c55b20d2d1bd7b3f18e7fa9b2478c79c
fix the sorting algorithm for live-updating elements
browser.js
browser.js
var through = require('through'); var hyperglue = require('hyperglue'); var domify = require('domify'); module.exports = function (html, opts, cb) { if (typeof opts === 'function') { cb = opts; opts = {}; } if (!opts) opts = {}; var elements = {}; var className = classNameOf(ht...
JavaScript
0.000252
@@ -3087,21 +3087,22 @@ var -nodes +sorted = %5B%5D.sl @@ -3165,34 +3165,14 @@ -var sorted - = nodes.slice() .sor @@ -3199,37 +3199,38 @@ (var i = 0; i %3C -nodes +sorted .length; i++) %7B%0A @@ -3479,24 +3479,169 @@ pdate', -onupdate +function (elem) %7B%0A if (hasChild(target, elem)) ...
6b4aa9676278f06b75baee839623fbde5252e56c
change scope of numSteps
orbits/orbits.js
orbits/orbits.js
var orbits = document.getElementById('orbits'); var prototypeCircle = document.getElementById('circle1'); prototypeCircle.style.display = "none"; (function () { var numSteps = 80; var fps = 1000/25; function getCircleLocation (circle) { return { x: parseInt(circle.getAttribute('cx')), y: parseI...
JavaScript
0
@@ -160,28 +160,8 @@ ) %7B%0A - var numSteps = 80; %0A v @@ -178,17 +178,16 @@ 000/25;%0A -%0A functi @@ -653,24 +653,47 @@ unction() %7B%0A + var numSteps = 80;%0A function
7ac3784f32cedf7b98e9609d6404bc2c5f86228f
Increase the ratio used to select an overview level from a bounding box
lib/cartodb/models/dataview/overviews/base.js
lib/cartodb/models/dataview/overviews/base.js
var _ = require('underscore'); var BaseWidget = require('../base'); function BaseOverviewsDataview(query, queryOptions, BaseDataview, queryRewriter, queryRewriteData, options) { this.BaseDataview = BaseDataview; this.query = query; this.queryOptions = queryOptions; this.queryRewriter = queryRewriter; this.qu...
JavaScript
0
@@ -808,16 +808,84 @@ id size%0A + // (this would ideally be based on the viewport size in pixels)%0A zoom @@ -899,17 +899,18 @@ ctor: 10 -0 +24 .0%0A%7D;%0A%0A/
dbc354ffb00b6c098c08f67ab6e4115b1236b503
Update flairs for RimWorld
modules/flair/RimWorld.js
modules/flair/RimWorld.js
const base = require( './base.js' ); module.exports = Object.assign( {}, base, { list: [ 'extralife', 'fun', 'gold', 'granite', 'jade', 'limestone', 'marble', 'mod', 'mod2', 'plasteel', 'pmfaf', 'sandstone', 'sh...
JavaScript
0
@@ -87,16 +87,37 @@ list: %5B%0A + 'community',%0A
2f626d6a5861fdc12d63d1d994ca449ff8ce1a61
fix header
src/foam/nanos/ruler/CompositeRuleAction.js
src/foam/nanos/ruler/CompositeRuleAction.js
/** * @license * Copyright 2019 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
JavaScript
0.000001
@@ -31,18 +31,24 @@ 019 -Google Inc +The FOAM Authors . Al @@ -72,563 +72,51 @@ .%0A * -%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/lic...
c553f2c7c57c74bf53d5431e71ce5d6b259f8e19
Correct send function in Ports.writableStream
src/Native/Ports.js
src/Native/Ports.js
Elm.Native.Ports = {}; Elm.Native.Ports.make = function(localRuntime) { localRuntime.Native = localRuntime.Native || {}; localRuntime.Native.Ports = localRuntime.Native.Ports || {}; if (localRuntime.Native.Ports.values) { return localRuntime.Native.Ports.values; } var NS; var Promise // WRITABLE STREAMS ...
JavaScript
0.000001
@@ -289,16 +289,66 @@ Promise%0A +%09var Utils = Elm.Native.Utils.make(localRuntime);%0A %0A%0A%09// WR @@ -749,16 +749,33 @@ 0);%0A%09%09%09%09 +callback(Promise. succeed( @@ -787,16 +787,17 @@ .Tuple0) +) ;%0A%09%09%09%7D);
fe8644987044b4ace5de39fde88084a9506ab2c3
refactor of DelegatedSourceDependency to es6 (#3784)
lib/dependencies/DelegatedSourceDependency.js
lib/dependencies/DelegatedSourceDependency.js
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var ModuleDependency = require("./ModuleDependency"); function DelegatedSourceDependency(request) { ModuleDependency.call(this, request); } module.exports = DelegatedSourceDependency; DelegatedSourceDependency.prototy...
JavaScript
0
@@ -97,11 +97,27 @@ %0A*/%0A -var +%22use strict%22;%0Aconst Mod @@ -168,16 +168,13 @@ );%0A%0A -function +class Del @@ -199,21 +199,17 @@ ency -(request) %7B%0A%09 + extends Modu @@ -224,167 +224,90 @@ ency -.call(this, request);%0A%7D%0Amodule.exports = DelegatedSourceDependency;%0A%0ADelegatedSourceDepende...
aa4179bf3c71e9c884584be2d3bbb9ba14dbfb73
Refactoring the code
src/PrimeFactors.js
src/PrimeFactors.js
"use strict"; function PrimeFactors() { } PrimeFactors.prototype.result = []; PrimeFactors.prototype.getPrimeFactors = function(number) { this.result = this.isPrime(number) ? [number] : []; if(this.result.length == 0) { var primeNumbers = []; for(var k=2; k<number; k++) { if(this.isPrime(k)) { prim...
JavaScript
0.673673
@@ -33,16 +33,42 @@ tors() %7B +%09%0A%09this.primeNumbers = %5B%5D; %0A%7D%0A%0APrim @@ -223,125 +223,62 @@ %09if( +! this. -result.length == 0) %7B%0A%09%09var primeNumbers = %5B%5D;%0A%09%09%0A%09%09for(var k=2; k%3Cnumber; k++) %7B%0A%09%09%09if(this.isPrime(k)) %7B%0A%09%09%09%09p +firstNumberIsPrime()) %7B%09...
61099843b70b807d6d00c32315360e837f011476
remove display name
.eslintrc.js
.eslintrc.js
module.exports = { env: { browser: true, node: true }, extends: [ 'standard', 'plugin:prettier/recommended', 'plugin:react/recommended' ], plugins: ['@typescript-eslint'], parser: '@typescript-eslint/parser', parserOptions: { sourceType: 'module', project: './tsconfig.json', ...
JavaScript
0.000284
@@ -558,24 +558,57 @@ oda: 'off',%0A + 'react/display-name': 'off',%0A 'react/p
f1662f6564c3441e4c315b0cb34f2fb54f9b5e4e
add rule to prefer const declarations
.eslintrc.js
.eslintrc.js
module.exports = { "env": { "browser": true, "es6": true }, "globals": { "$": true, "droll": true, }, "rules": { "no-console": 2, "no-extra-semi": 2, "no-inner-declarations": 2, "no-mixed-spaces-and-tabs": 2, "no-redeclare": 2, ...
JavaScript
0
@@ -12,20 +12,17 @@ rts = %7B%0A - +%09 %22env%22: %7B @@ -22,24 +22,18 @@ env%22: %7B%0A - +%09%09 %22browser @@ -41,24 +41,18 @@ : true,%0A - +%09%09 %22es6%22: t @@ -55,27 +55,21 @@ %22: true%0A - %7D,%0A +%09%7D,%0A%09 %22globals @@ -73,24 +73,18 @@ als%22: %7B%0A - +%09%...
b8357ff8e4e041246761c8eaef06ca135731b365
Update eslint settings
.eslintrc.js
.eslintrc.js
module.exports = { "parser": "babel-eslint", "env": { "browser": true, "jest": true, "node": true, "es6": true }, "extends": ["eslint:recommended", "plugin:react/recommended"], "parserOptions": { "ecmaFeatures": { "experimentalObjectRestSpread": true, "jsx": true }, "so...
JavaScript
0
@@ -438,9 +438,9 @@ %2216. -5 +6 %22,%0A @@ -463,17 +463,17 @@ n%22: %220.8 -1 +4 %22%0A %7D%0A
bc4b64b6ec2d60860f48134f99aaafd19df0af3c
Update eslint-rules
.eslintrc.js
.eslintrc.js
module.exports = { parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features sourceType: 'module', // Allows for the use of imports }, extends: [ 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @ty...
JavaScript
0
@@ -736,24 +736,76 @@ %0A rules: %7B%0A + '@typescript-eslint/no-empty-interface': 'off',%0A '@typesc
f23ee47e6767cb51f822123307b946ff77814d41
Disable the template-string linter — it’s just too loud right now. Hopefully we’ll get back to it.
.eslintrc.js
.eslintrc.js
const schemaJson = require('./app/graph/schema.json'); const ERROR = 'error'; const WARN = 'warn'; const OFF = 'off'; module.exports = { parser: 'babel-eslint', extends: [ 'eslint:recommended', 'plugin:import/react', 'plugin:import/recommended', 'plugin:react/recommended', 'plugin:flowtype/rec...
JavaScript
0
@@ -4790,32 +4790,88 @@ emaJson %7D %5D,%0A + // Disabled for now %E2%80%94 it%E2%80%99s just a bit too noisy.%0A // 'graphql/templa @@ -4881,29 +4881,28 @@ strings': %5B -ERROR +WARN , %7B env: 're @@ -4911,24 +4911,23 @@ y', -tagName: 'graphq +validators: 'al l',
eaccd9a3bf626818dc61320fb863a5bb6e635aae
Fix line length of deprecation message
app/components/job-infrastructure-notification.js
app/components/job-infrastructure-notification.js
import Component from '@ember/component'; import { computed } from 'ember-decorators/object'; import { alias, equal } from 'ember-decorators/object/computed'; import { service } from 'ember-decorators/service'; import moment from 'moment'; const NOVEMBER_2017_RETIREMENT = '2017-11-28T12:00:00-08:00'; const LATEST_TRU...
JavaScript
0.9995
@@ -2364,17 +2364,17 @@ will be - +%0A removed @@ -2462,17 +2462,17 @@ ort team - +%0A at %3Ca hr
31bfdcddaa1bc68b911d0ff8cdc044090566aa2c
Fix BibTeX output path
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.000045
@@ -717,55 +717,157 @@ -this.input = await this.getResolvedInput( +const %7B dir, name %7D = path.parse(this.firstParameter.normalizedFilePath)%0A this.input = await this.getInput(path.format(%7B dir, name, ext: '.aux' + %7D) )%0A @@ -2022,54 +2022,167 @@ -await this.getResolvedOutputs(%5B'.bbl', '....
ae14b93b1a63c1023502230b89756aef1c683bc3
Update paths
cautils.js
cautils.js
var exec = require('child_process').exec; var fs = require('fs'); var path = require('path'); var async = require('async'); var scrypt = require("scrypt"); var mystatus = { init: false, status: 'idle' }; //Let's see the state of the CA var serversslfiles = [ 'ca.crt', 'dh2048.pem', 'server.cnf', 'server.crt',...
JavaScript
0.000001
@@ -486,16 +486,69 @@ penssl%22; +%0Avar openvpnssldir = %22/mnt/securefwd-openvpn.openssl%22 %0A%0A//Chai @@ -2939,47 +2939,25 @@ dir= -/persistant/openvpn-server/etc/openssl' +' + openvpnssldir ;%0A%0A
06a10924a18ea2c91d358dbfd6926b2093183700
Send notifications from the verification
src/Verification.js
src/Verification.js
const Notification = require('./Notification'); async function Verification( request, reply ) { console.log(request); // const notificationResult = await Notification({ // status: 'Error', // description: `There was an error proccesing`, // room: request.query.hipchat, // url: request.query.site, ...
JavaScript
0
@@ -40,16 +40,111 @@ ation'); +%0Aconst fetch = require('node-fetch'); // polyfill%0A%0Aconst SCORE = %7B%0A GOOD: 75,%0A AVARAGE: 45,%0A%7D %0A%0Aasync @@ -152,19 +152,23 @@ unction -Ver +sendNot ificatio @@ -174,228 +174,1138 @@ on( -reques +total = 0, url, hipcha t, rep -ly +ort ) %7B%0A -console.log(...
d9881a3c7b991639bd0f90c90c1445ba338a5d85
update Thead
src/_Thead/Thead.js
src/_Thead/Thead.js
/** * @file Thead component * @author liangxiaojun(liangxiaojun@derbysoft.com) */ import React, {Component} from 'react'; import PropTypes from 'prop-types'; import Th from '../_Th'; import HorizontalAlign from '../_statics/HorizontalAlign'; import SelectMode from '../_statics/SelectMode'; import SelectAllMode fr...
JavaScript
0
@@ -2833,32 +2833,50 @@ rayOf(PropTypes. +arrayOf(PropTypes. shape(%7B%0A%0A @@ -5605,16 +5605,17 @@ %0A %7D)) +) .isRequi
890e2298ae1af3efafcdfd5e49e70ca4de9b642a
change error throwing to console warning when having same api name in models
src/ajax-manager.js
src/ajax-manager.js
// use global count instead of jquery global event because it does't support cross domain request window.__apiCount__ = 0 window.__apiCounter = { add () { window.__apiCount__++ }, remove () { window.__apiCount__-- }, get: function () { return window.__apiCount__ } } // function getMessage (xhr)...
JavaScript
0
@@ -2330,24 +2330,27 @@ e name%0A + // if (key in @@ -2423,16 +2423,120 @@ ey%7D%22.%60)%0A + if (key in models) console.warn(%60ajaxManager: api in models should not have same name %22$%7Bkey%7D%22.%60)%0A mo
fa5f5ce25ca9af9b8c022d8b86809cafbbcac64a
Add AngularyticsProvider.setPageChangeEvent()
src/angularytics.js
src/angularytics.js
(function(){ angular.module('angularytics', []).provider('Angularytics', function() { var eventHandlersNames = ['Google']; this.setEventHandlers = function(handlers) { if (angular.isString(handlers)) { handlers = [handlers]; } eventHandlersNames =...
JavaScript
0
@@ -599,32 +599,220 @@ ng(1);%0A %7D +%0A %0A var pageChangeEvent = '$locationChangeSuccess';%0A this.setPageChangeEvent = function(newPageChangeEvent) %7B%0A pageChangeEvent = newPageChangeEvent;%0A %7D %0A%0A this.$ @@ -1358,32 +1358,23 @@ $on( -'$locationChangeSu...