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
9f1eb689fbdc4b90895d479b10fc8cfd4a2f4665
replace true false values with icons in README (#15)
generate-json.js
generate-json.js
const fs = require('fs'); const awsRegionTableParser = require('./index.js'); const chartGenerator = require('./chart-generator.js'); const sortArrayByProp = (array, prop, asc = true) => { return array.sort((a, b) => { return asc ? a[prop] - b[prop] : b[prop] - a[prop]; }); }; async function generateRegionSum...
JavaScript
0
@@ -317,16 +317,24 @@ nSummary +Markdown (parsedd @@ -2516,16 +2516,24 @@ nSummary +Markdown (service @@ -2994,16 +2994,67 @@ value%5D). +map(value =%3E value ? ':white_check_mark:' : ':x:'). join(' %7C
3b3bfe35367cd6a48aa30a99aedb1fa7cded186c
add route for signupChild function
modules/users/server/routes/auth.server.routes.js
modules/users/server/routes/auth.server.routes.js
'use strict'; /** * Module dependencies. */ var passport = require('passport'); module.exports = function(app) { // User Routes var users = require('../controllers/users.server.controller'); // Setting up the users password api app.route('/api/auth/forgot').post(users.forgot); app.route('/api/auth/reset/:toke...
JavaScript
0.000001
@@ -500,16 +500,77 @@ ignup);%0A +%09app.route('/api/auth/signupchild').post(users.signupChild);%0A %09app.rou
aa1a32685ce67dd4b935c3cf878e22e5f273c83d
support for current latency
requests-sorted-by-latency-saved.js
requests-sorted-by-latency-saved.js
const assert = require('assert') const debug = require('debug')('requestsSortedByLatencySaved') const _ = require('lodash') module.exports = function requestsSortedByLatencySaved (problem) { return _.orderBy(_.reduce(problem.requests, (links, request) => { const endpoint = problem.endpoints[request.endpoint] ...
JavaScript
0
@@ -185,12 +185,23 @@ blem +, latencies ) %7B%0A - re @@ -321,16 +321,114 @@ dpoint%5D%0A + const latency = _.get(latencies, %5Bendpoint.index, request.video%5D, endpoint.datacenterLatency)%0A retu @@ -662,57 +662,18 @@ y * -endpoint.datacenterLatency - request.popularity * +(latency - cac @@ -682,16 ...
719966026fd573c364740a7c030917758ffa765b
Fix double scroll issue (#16108)
packages/material-ui/src/DialogActions/DialogActions.js
packages/material-ui/src/DialogActions/DialogActions.js
import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import '../Button'; // So we don't have any override priority issue. export const styles = { /* Styles applied to the root element. */ root: { display: 'flex', alignItems: ...
JavaScript
0
@@ -371,16 +371,38 @@ x-end',%0A + flex: '0 0 auto',%0A %7D,%0A /
f191cf104387dc8e5060af24a5e7a7b05b88fa8d
Update studio-edit.js
main/local_modules/frontend_studio/static/js/studio-edit.js
main/local_modules/frontend_studio/static/js/studio-edit.js
// ref : https://output.jsbin.com/quvelo/2/#tab3 $(window).load(function () { // cache the id var navbox = $('.nav-tabs'); // activate tab on click navbox.on('click', 'a', function (e) { var $this = $(this); // prevent the Default behavior e.preventDefault(); // send the hash to the ...
JavaScript
0.000001
@@ -44,16 +44,132 @@ #tab3 %0D%0A +// fonction de re-formatage de l'adresse URL pour pouvoir acc%C3%A9der aux tabs depuis un lien et une page externe.%0D%0A%0D%0A%0D%0A %0D%0A$(wind @@ -916,8 +916,10 @@ %0D%0A%0D%0A %7D); +%0D%0A
795afba02dcec11c92cbc646c770cf86f9bc504b
fix merge
lib/components/WeatherCards.js
lib/components/WeatherCards.js
import React from 'react'; const WeatherCards = ({ weatherText, weatherSimple, city }) => { if(!weatherText.forecastday) { return ( <div> please whatevers </div> ) } return ( <<<<<<< HEAD ======= >>>>>>> b90c5e7665a56cf78ccfdaa9ad76d936aad13326 <div> <p>Conditions To...
JavaScript
0.000001
@@ -208,83 +208,8 @@ n (%0A -%3C%3C%3C%3C%3C%3C%3C HEAD%0A%0A %0A=======%0A%3E%3E%3E%3E%3E%3E%3E b90c5e7665a56cf78ccfdaa9ad76d936aad13326 %0A
b26718580fdb4d6daddf5252965bd41b136697c7
Fix text wrap test
expanding.js
expanding.js
// Expanding Textareas v0.1.0 // MIT License // https://github.com/bgrins/ExpandingTextareas (function(factory) { // Add jQuery via AMD registration or browser globals if (typeof define === 'function' && define.amd) { define([ 'jquery' ], factory); } else { factory(jQuery); } }(function ($) { var ...
JavaScript
0.013758
@@ -5147,16 +5147,17 @@ perty == += 'maxHei @@ -5163,24 +5163,35 @@ ight' && val + !== 'none' ) %7B%0A
fd12786736618e7b9e83ef1adbf8865b11b42813
Add fusionMerge() utility
src/utilities/functional/merge.js
src/utilities/functional/merge.js
'use strict'; const { throwError } = require('../error'); // Deep merge objects and arrays (concatenates for arrays) const deepMerge = function (objA, ...objects) { if (objects.length === 0) { return objA; } if (objects.length === 1) { return simpleMerge({ objA, objects }); } return recursiveMerge({ obj...
JavaScript
0.000001
@@ -57,78 +57,15 @@ );%0A%0A -// Deep merge objects and arrays (concatenates for arrays)%0A const -deepM +m erge @@ -77,16 +77,22 @@ nction ( +type, objA, .. @@ -213,24 +213,30 @@ bjA, objects +, type %7D);%0A %7D%0A%0A @@ -272,16 +272,22 @@ objects +, type %7D);%0A%7D;%0A @@ -324,32 +324,38 @@ (%7B o...
de797c406d3b5dc1f51000296e973c9ee11f10ee
Rename mantissa to fractionalPart in the LOD vertice shader
experiments/projected_grid_vs_lod/js/shaders/LODShader.js
experiments/projected_grid_vs_lod/js/shaders/LODShader.js
/** * @author jbouny / https://github.com/fft-ocean */ THREE.ShaderChunk["lod_pars_vertex"] = [ 'uniform float u_scale;', 'uniform int u_resolution;', 'uniform int u_level;', 'uniform vec3 u_planeUp;', 'uniform vec3 u_planeAt;', 'uniform vec3 u_planePoint;', 'uniform bool u_usePlaneParameters;', ...
JavaScript
0.000011
@@ -570,24 +570,31 @@ ' vec2 -mantissa +fractionnalPart = gridP @@ -661,29 +661,43 @@ ' -mantissa = ( mantissa +fractionnalPart = ( fractionnalPart + 0 @@ -757,35 +757,49 @@ ' -mantissa -= floor( mantissa +fractionnalPart -= floor( fractionnalPart );' @@ -1259,29 +1259,43 @@ if( -mantissa.x + mantiss...
77f0d7b40427654157e3748dfa8c2bd247344e3c
implement fire() in timerAid
resource/modules/utils/timerAid.jsm
resource/modules/utils/timerAid.jsm
moduleAid.VERSION = '2.0.0'; moduleAid.LAZY = true; // timerAid - Object to aid in setting, initializing and cancelling timers // init(aName, aFunc, aDelay, aType) - initializes a named timer to be kept in the timers object // aName - (string) to name the timer // aFunc - (function) to be fired by the timer, it will b...
JavaScript
0.000032
@@ -18,17 +18,17 @@ = '2.0. -0 +1 ';%0Amodul @@ -1510,16 +1510,208 @@ ;%0A%09%7D,%0A%09%0A +%09fire: function(name) %7B%0A%09%09if(this.timers%5Bname%5D) %7B%0A%09%09%09aSync(this.timers%5Bname%5D.handler);%0A%09%09%09if(this.timers%5Bname%5D.timer.type == Ci.nsITimer.TYPE_ONE_SHOT) %7B%0A%09%09%09%09this.cancel(na...
3d5ab47426953ab54f8242d382dc2b2848bb0d6d
fix (pinning): do not pass empty slots to getCachedMetadata
addon/Feeds/TopSitesFeed.js
addon/Feeds/TopSitesFeed.js
/* globals Task, NewTabUtils */ const {Cu} = require("chrome"); const {PlacesProvider} = require("addon/PlacesProvider"); const Feed = require("addon/lib/Feed"); const {TOP_SITES_SHOWMORE_LENGTH} = require("common/constants"); const am = require("common/action-manager"); const UPDATE_TIME = 15 * 60 * 1000; // 15 minute...
JavaScript
0
@@ -2243,16 +2243,39 @@ pinned. +filter(link =%3E !!link). concat(f
ff685f2c587eeaa7f26ea96e0c511b1d1fac74b5
Add api-ui in proxy
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 target = config.apiServer; var proxy = HttpProxy.cre...
JavaScript
0.000001
@@ -1994,16 +1994,40 @@ rsion',%0A + 'Apiui': '/api-ui',%0A %7D%0A%0A a
30307231e63a57d8bedac103be0ad88d4e33e95f
Fix linting issues
src/main-process/file-recovery-service.js
src/main-process/file-recovery-service.js
'use babel' import {BrowserWindow, ipcMain} from 'electron' import crypto from 'crypto' import Path from 'path' import fs from 'fs-plus' class RecoveryFile { constructor (originalPath, recoveryPath) { this.originalPath = originalPath this.recoveryPath = recoveryPath this.refCount = 0 } storeSync ()...
JavaScript
0.000001
@@ -2127,17 +2127,17 @@ .on( -%22 +' crashed -%22 +' , () @@ -2196,16 +2196,16 @@ .on( -%22 +' closed -%22 +' , ()
8d105803ef89efd3c59ca63c1a846cef633997f1
Create stripGenericPattern
extension.js
extension.js
const path = require('path'); const vscode = require('vscode'); function stripWorkspaceFolder(currentFilename, workspaceFolder) { if (workspaceFolder && currentFilename.indexOf(workspaceFolder) === 0) { return currentFilename.slice(workspaceFolder.length); } else { return currentFilename; }...
JavaScript
0.000001
@@ -1118,32 +1118,141 @@ (separator);%0A%7D%0A%0A +function stripGenericPattern(currentFilename, pattern) %7B%0A return currentFilename.replace(pattern, '');%0A%7D%0A%0A function stripPa @@ -1541,16 +1541,36 @@ ename = +stripGenericPattern( currentF @@ -1576,36 +1576,25 @@ Filename -.replace( +, pattern -, '...
3ee7ed2698db579ec2d8b4cb6c6c4afc509993c2
Add an emitter to AbstractComponent
lib/core/abstract-component.js
lib/core/abstract-component.js
/** @babel */ import etch from 'etch' import {CompositeDisposable} from 'atom' export default class AbstractComponent { constructor(properties, children, callback) { if (properties) this.properties = properties else this.properties = {} if (children) this.children = children else this.children = []...
JavaScript
0.000001
@@ -41,16 +41,25 @@ import %7B +Emitter, Composit @@ -369,24 +369,57 @@ isposable()%0A + this.emitter = new Emitter()%0A if (call @@ -837,24 +837,51 @@ s.dispose()%0A + this.emitter.dispose()%0A if (call
028e0ea9371b890fe6accac6b04ff8430abebd34
Fix lint error in DOM fixtures (#10369)
fixtures/dom/src/components/fixtures/date-inputs/index.js
fixtures/dom/src/components/fixtures/date-inputs/index.js
const React = window.React; import Fixture from '../../Fixture'; import FixtureSet from '../../FixtureSet'; import TestCase from '../../TestCase'; import SwitchDateTestCase from './switch-date-test-case'; class DateInputFixtures extends React.Component { render() { return ( <FixtureSet title="Dates" descr...
JavaScript
0
@@ -1,33 +1,4 @@ -const React = window.React;%0A%0A impo @@ -171,16 +171,45 @@ case';%0A%0A +const React = window.React;%0A%0A class Da
3c32a0eec0697be3a61508a99a75e28157f4cde4
add residence as props to p2p
src/javascript/app/pages/cashier/dp2p.js
src/javascript/app/pages/cashier/dp2p.js
const React = require('react'); const ReactDOM = require('react-dom'); const Client = require('../../base/client'); const BinarySocket = require('../../base/socket'); const getLanguage = require('../../../_common/language').get; const urlForStatic = require('../../../_common/url').urlForStatic; const...
JavaScript
0
@@ -2751,24 +2751,85 @@ _virtual'),%0A + residence : Client.get('residence'),%0A
7d35415d2962f2cd9af78e515db5663c7b90ddf4
make path logic more robust
bin/polymerize.js
bin/polymerize.js
#!/usr/bin/env node /** * @license * Copyright (c) 2015 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of c...
JavaScript
0.000067
@@ -1677,34 +1677,34 @@ h.join(__dirname +, -+ '../node_module @@ -1870,18 +1870,17 @@ _dirname - + +, '../nod
bcd1908dac5524ce05fa242b62f8e6aa5bb58d28
fix referrer
app/assets/javascripts/scripts/core/lib/modules/renderer/combo.box.js
app/assets/javascripts/scripts/core/lib/modules/renderer/combo.box.js
/** * Created by i061485 on 7/10/14. */ define([], function defineComboBoxRenderer() { /** * Define ComboBoxRenderer * @class ComboBoxRenderer * @extends LabelRenderer * @constructor */ var ComboBoxRenderer = function ComboBoxRenderer() { }; return ComboBoxRenderer.extend(...
JavaScript
0.000002
@@ -955,32 +955,77 @@ * Get wrapper%0A + * @param %7BBaseElement%7D $element%0A * @ @@ -1121,16 +1121,24 @@ Wrapper( +$element ) %7B%0A%0A @@ -1266,20 +1266,24 @@ errer = -this +$element .view.sc @@ -1339,14 +1339,78 @@ r = -this.$ +$element.$;%0A%0A referrer = refe...
440a6415c55ddd8481fc1827460dbdf4ab99fbbb
Remove unused dep
packages/rest-bearer-token-parser/package.js
packages/rest-bearer-token-parser/package.js
Package.describe({ name: 'simple:rest-bearer-token-parser', version: '1.0.0', // Brief, one-line summary of the package. summary: 'Parse standard bearer token via request headers, query params ' + 'or body (REST middleware)', // URL to the Git repository containing the source code for this packag...
JavaScript
0.000001
@@ -885,58 +885,8 @@ ');%0A - api.use('simple:rest-accounts-password@1.1.0');%0A ap
8e37d74ce6024af6f519871acfef4884577e5352
fix typos
app-start.js
app-start.js
/** * This PM2 file starts a Kuzzle instance. Without any argument, a Kuzzle instance is launched, complete * with a server and a single set of workers. * * This default configuration isn't optimal performance-wise. Instead, it's prefered to start a Kuzzle server, and * then spawns a couple of workers. * * To st...
JavaScript
0.999974
@@ -1142,17 +1142,8 @@ %0A - result = kuz @@ -1156,28 +1156,29 @@ rvices.list. -read +write Engine.reset @@ -1183,426 +1183,228 @@ et() -; %0A -if (result) %7B%0A kuzzle.log.info('=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-');%0A kuzzle.log.info('Reset done: Kuzzle...
576976d42ce045176db932449fd163c83335fd84
Change default width of desktop settings
src/main/features/core/desktopSettings.js
src/main/features/core/desktopSettings.js
import { BrowserWindow } from 'electron'; import path from 'path'; import AutoLaunch from 'auto-launch'; const appLauncher = new AutoLaunch({ name: 'Google Play Music Desktop Player', }); export const showDesktopSettings = () => { if (WindowManager.getAll('settings').length > 0) { WindowManager.getAll('settin...
JavaScript
0
@@ -403,17 +403,17 @@ width: 8 -0 +4 0,%0A h
c0422c9957d4f0317406c3aaf6b5b9df8ae0151f
fix promise regression
core/env.js
core/env.js
/** Copyright 2014 Gordon Williams (gw@pur3.co.uk) This Source Code is subject to the terms of the Mozilla Public License, v2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ------------------------------------------------------------------ Board ...
JavaScript
0.000001
@@ -3302,12 +3302,8 @@ -dfd. reso
9db222b4b4e87e78ede7186c045991eca415138c
Remove unused JSHint directive
packages/@glimmer/blueprint/files/config/environment.js
packages/@glimmer/blueprint/files/config/environment.js
'use strict'; /* jshint node: true */ module.exports = function(environment) { let ENV = { modulePrefix: '<%= component %>', environment: environment }; return ENV; };
JavaScript
0
@@ -12,33 +12,8 @@ ';%0A%0A -/* jshint node: true */%0A%0A modu
2d74c10d8fa70ab805682bf96eee2cd79366f5bb
Add EngineJS_ prefix
resources/sendFormRequestManager.js
resources/sendFormRequestManager.js
var EngineJS_sendFormRequestManage = { formInstance: null, treatAllErrorAsGeneral: true, apiClient: null, requestInProgress: false, submitUrl: null, onErrorCallback: function() {}, onGeneralErrorCallback: function() {}, onSuccessCallback: function() {}, beforeSubmitCallback: functi...
JavaScript
0.00003
@@ -27,16 +27,17 @@ stManage +r = %0A%7B%0A
e321a78226b3d03e4f35dba3793346ef62cff372
add JsHint
tests/src/encoder-mattermost-test.js
tests/src/encoder-mattermost-test.js
var sonarExemple = require("./../resources/sonar.exemple.json"); var EncoderMattermost = require('./../../src/encoder-mattermost'); var chai = require('chai'); var expect = chai.expect; describe('EncoderMattermost', function() { it('encodeSonarMessage() should return null if there\'s no message',function() {...
JavaScript
0.000004
@@ -63,16 +63,20 @@ );%0D%0Avar +Test EncoderM @@ -127,24 +127,24 @@ termost');%0D%0A - var chai = r @@ -186,16 +186,32 @@ expect;%0D +%0Achai.should();%0D %0A%0D%0Adescr @@ -363,32 +363,36 @@ attermost = new +Test EncoderMattermos @@ -604,16 +604,20 @@ t = new +Test EncoderM @@ -733,14 +733,21 @@ nu). +s...
3ae891b42f738b906d13a6a8fb71dfd331736f5f
Make the rounding actually work
js/ScatterChartController.js
js/ScatterChartController.js
function ScatterChartController(data) { this.chart = null; this.context = null; this.topicID = data.topicID; this.latestPointTime = 0; } ScatterChartController.prototype = { draw: function() { var topic = topics[this.topicID]; var $canvas = $('<canvas>').addClass('').attr('id', 'canvas_' + top...
JavaScript
0.000012
@@ -2112,21 +2112,16 @@ el: %22%3C%25= -Math. round(va
a08eba428d77f8d2e07b175bc4a40e27da1843c6
remove code from configure time.
app/clock.js
app/clock.js
var Clock = function(minutes) { this.minutes = minutes; this.seconds = 60; this.paused = true; this.power = false; this.init = function() { var currentTime = document.getElementById("currentTime"); var configureTime = document.getElementById("configureTime"); currentTime.innerHTML = this.minutes...
JavaScript
0
@@ -470,24 +470,12 @@ ion( -minutes, seconds +time , el @@ -535,16 +535,17 @@ ement);%0A +%0A elem @@ -564,84 +564,17 @@ L = -minutes + %22:%22 + seconds;%0A%0A return this.minutes + %22:%22 + this.seconds +time ;%0A %7D -; %0A t @@ -611,335 +611,127 @@ -console.log(this.power);%0A this.minute...
eabc0671d86b7e3012e4dacc1eceaf96d7a9ed1b
add optional path to save preferences
packages/app-extensions/src/rest/helpers/preferences.js
packages/app-extensions/src/rest/helpers/preferences.js
import {call} from 'redux-saga/effects' import {requestSaga} from '../rest' /** * To fetch user preferences. * * @param path {string} To load specific preferences matching the path. Wildcards (e.g. *) may be used. */ export function* fetchUserPreferences(path) { const response = yield call(requestSaga, `client/...
JavaScript
0
@@ -771,16 +771,56 @@ pairs.%0A + * @param path %7Bstring%7D preference path%0A */%0Aexpo @@ -859,16 +859,45 @@ ferences +, path = '/nice2/ui/settings' ) %7B%0A yi @@ -965,16 +965,22 @@ body: %7B +path, values:
a524cdd835e2b52b2395e492ba4b582e8122dfe8
Make the marker visible again when the visitor dismisses the startup modal
script.js
script.js
;(function () { 'use strict' Ink.loadScript = function () { } // no dynamic loading today! var streetViewSvc = { endPoint: 'http://maps.googleapis.com/maps/api/streetview?size=300x300&sensor=false', apiKey: 'notsureifshouldshow' } var googleMapsDirectionsLink = 'https://maps.google.com/maps?daddr=' var mapC...
JavaScript
0.000001
@@ -3912,24 +3912,160 @@ hareMode();%0A + Ink.requireModules(%5B'aa.marker_1'%5D, function (marker) %7B%0A marker.setVisible(true);%0A %7D)%0A
69efd16a6db1794ae3a719740d296a035e79c7f0
Add missing calls to `util.callbackify`
bin/rebuildPad.js
bin/rebuildPad.js
'use strict'; /* This is a repair tool. It rebuilds an old pad at a new pad location up to a known "good" revision. */ // As of v14, Node.js does not exit when there is an unhandled Promise rejection. Convert an // unhandled rejection into an uncaught exception, which does cause Node.js to exit. process.on('unhan...
JavaScript
0
@@ -983,15 +983,33 @@ +util.callbackify( db.init +) (cal @@ -1763,24 +1763,41 @@ ;%0A %7D%0A +util.callbackify( PadManager.d @@ -1807,17 +1807,17 @@ PadExist -s +) (newPadI @@ -1938,24 +1938,41 @@ %7D);%0A +util.callbackify( PadManager.g @@ -1976,16 +1976,17 @@ r.getPad +) (padId,
7c74bce8a10ca8896815d6715d9b084ac7bf9977
Add retry logic to downloadFile (#59)
src/downloadFile.js
src/downloadFile.js
import fs from 'fs'; import https from 'https'; export default async function downloadFile(url, dest) { let file = fs.createWriteStream(dest); let response = await new Promise((resolve, reject) => { https.get(url, (response) => { resolve(response); }).on('error', (err) => { reject(err); });...
JavaScript
0
@@ -46,23 +46,8 @@ ';%0A%0A -export default asyn @@ -57,17 +57,20 @@ unction -d +tryD ownloadF @@ -230,26 +230,144 @@ -resolve(response); +if (response.statusCode %3C 400) %7B%0A resolve(response);%0A %7D else %7B%0A reject(new Error('Error downloading file.'));%0A %7D %0A @@ -63...
02af129651f3032e592b75dd1c5385ebc4deb6e0
Fix update on date.
lib/assets/javascripts/cartodb3/components/modals/publish/publish-view.js
lib/assets/javascripts/cartodb3/components/modals/publish/publish-view.js
var _ = require('underscore'); var moment = require('moment'); var CoreView = require('backbone/core-view'); var template = require('./publish.tpl'); var TabPaneTemplate = require('./tab-pane-submenu.tpl'); var createTextLabelsTabPane = require('../../tab-pane/create-text-labels-tab-pane'); var PublishView = require('....
JavaScript
0
@@ -2573,16 +2573,37 @@ adeView; +%0A var publishedOn; %0A%0A dr @@ -3268,128 +3268,254 @@ -this.$('.js-update').html(_t('editor.published', %7B when: moment(this._visDefinitionModel.get('updated_at')).fromNow() %7D) +publishedOn = _t('components.modals.publish.share.last-published', %7B date:%0A ...
831e1f7dc92411abe5c40cbaea4748e6d4adce55
Switch to using d3 drag events
packages/system/public/controllers/battle.js
packages/system/public/controllers/battle.js
/*global angular, d3*/ 'use strict'; angular.module('mean.system') .controller('BattleController', ['$scope', 'Global', function ($scope, Global) { $scope.global = Global; console.log( 'Battle started' ); // Game state is contiained in this structure, which is synchronized between devices var gameStat...
JavaScript
0
@@ -1203,42 +1203,119 @@ rag -start location%0A d._dragStar +points%0A d._dragPoints = %5B%5D;%0A %7D)%0A .on('drag', function( d ) %7B%0A // Stash%0A var poin t = @@ -1338,28 +1338,16 @@ 3.event. -sourceEvent. x,%0A @@ -1367,31 +1367,57 @@ ent. -sourceEvent.y%0A ...
12ed1dbfd2cfa2d9c5ef9dd93b1ede0e28c32fdf
Add colored output to repl
bin/ballz-repl.js
bin/ballz-repl.js
#!/usr/bin/env node /*! * BALLZ repl module * * @author pfleidi */ var Readline = require('readline'); var Util = require('util'); var Parser = require('../lib/parser'); var Environment = require('../lib/environment'); var interpreter = require('../lib/interpreter').createInterpreter( Environment.createEnviron...
JavaScript
0.000003
@@ -106,20 +106,20 @@ ');%0Avar -Util +Eyes = requi @@ -126,12 +126,12 @@ re(' -util +eyes ');%0A @@ -458,12 +458,12 @@ urn -Util +Eyes .ins
901a3acf21ff024205095fef356a656056c23c91
Add author and gihub
camut_slider.js
camut_slider.js
(function($) { $.fn.camutSlider = function() { $(".slider").each(function (i, el) { // Variables var slider = $(el), // this is the element numSlides = slider.find("li").length, // number of slides width = slider.outerWidth(), height...
JavaScript
0
@@ -1,16 +1,102 @@ +/*%0A%09@author: Jim Camut%0A%09Github: https://github.com/jimcamut/Simple-jQuery-Slider%0A*/%0A%0A%0A (function($) %7B%0A%0A @@ -6934,8 +6934,9 @@ Query)); +%0A
595a6b264bc8865f11b54988d93238e16573d0f8
format nested
ckstyle/entity/nestedstatement.js
ckstyle/entity/nestedstatement.js
var helper = require('./entityutil'); Cleaner = helper.Cleaner; var doExtraDetect = require('../browsers/Hacks').doExtraDetect var ALL = require('../browsers/BinaryRule').ALL function NestedStatement(selector, statement, comments, styleSheet) { var self = this; self.extra = true self.nested = true self...
JavaScript
0.000004
@@ -1302,24 +1302,29 @@ elector%0A +if (! self.fixedSt @@ -1335,59 +1335,65 @@ ent -= +&& self. -fixedStatement %7C%7C self.statement%0A // if ( +innerStyleSheet) %7B%0A self.fixedStatement = self @@ -1412,19 +1412,29 @@ heet -) %7B +.fixed(config) %0A -// +%7D%0A @@ -1464,46 +1464,40...
7464ca5a5d6d69b706d6a74a7d270ec7be18f670
Order config options
extension.js
extension.js
var vscode = require('vscode'); var renderTableInOutputChannel = require('./view'); var fzCalculator = require('filesize-calculator'); var window = vscode.window; var workspace = vscode.workspace; var cachedLocation = 'left'; var statusBarItem, oc, info, config, isShowingDetailedInfo; function updateConfig() { va...
JavaScript
0.000001
@@ -703,16 +703,132 @@ tusBar') +,%0A showBrotli: configuration.get('showBrotli'),%0A showGzipInStatusBar: configuration.get('showGzipInStatusBar') %0A %7D;%0A @@ -2591,16 +2591,96 @@ : info;%0A + info = config.showBrotli ? fzCalculator.addBrotliSize(info, config) : info;%0A info @@ -2954,32 +2954,1...
23720759e3a31557468ee6a7041a3d6e48d4f5d3
remove jquery
addon/mixins/active-link.js
addon/mixins/active-link.js
import Ember from 'ember'; // these are not currently editable in Ember const transitioningInClass = 'ember-transitioning-in'; const transitioningOutClass = 'ember-transitioning-out'; export default Ember.Mixin.create({ classNameBindings: ['_active','_disabled','_transitioningIn','_transitioningOut'], linkSelec...
JavaScript
0.000001
@@ -649,9 +649,32 @@ his. -$ +element.querySelectorAll (chi @@ -795,16 +795,41 @@ Views = +Array.prototype.map.call( childLin @@ -841,23 +841,9 @@ ents -.toArray().map( +, %0A
42674d6ba86948b868d7e5458990f89ea9bfefd9
Clean up login page
src/js/components/handlers/login-page.js
src/js/components/handlers/login-page.js
'use strict'; var h = require('react-hyperscript'); var React = require('react'); var Router = require('react-router'); var SessionActions = require('../../actions/session.actions'); var SessionStore = require('../../stores/session.store'); var LoginPage = React.createClass({ displayName: 'LoginPage', mixins: ...
JavaScript
0
@@ -1364,35 +1364,41 @@ ', %7BclassName: ' -row +container '%7D, %5B%0A h( @@ -1390,39 +1390,35 @@ %7D, %5B%0A h(' -section +div ', %7BclassName: ' @@ -1413,33 +1413,27 @@ className: ' -col-md-12 +row '%7D, %5B%0A @@ -1462,20 +1462,32 @@ e: ' -page__header +col-md-4 col-md-offset-4 '%7D, @@...
720c6ef160c7511b83e2cf6548a5b2abeeaac221
update key shortcut docs
js/plugins/keyShortcuts.js
js/plugins/keyShortcuts.js
/** Copyright 2014 Gordon Williams (gw@pur3.co.uk) This Source Code is subject to the terms of the Mozilla Public License, v2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ------------------------------------------------------------------ Key sho...
JavaScript
0
@@ -1447,41 +1447,46 @@ l + -I +B %22 : %22 -Find type +Beautify (reform at +) c -ursor +ode %22,%0A %22 Alt @@ -1485,59 +1485,40 @@ %22 -Alt + . +Ctrl + I %22 : %22 -Jump to definition (Alt-, to jump back) +Find type at cursor %22,%0A @@ -1609,16 +1609,75 @@ iable%22,%0A + %22Alt + .%22 : %22Ju...
6f079e8165464ad92bc0ab77e7dca532a9f02ca2
revert weird table export
packages/veritone-widgets/src/build-entry.js
packages/veritone-widgets/src/build-entry.js
import r from 'regenerator-runtime/runtime'; window.regeneratorRuntime = r; export VeritoneApp from './shared/VeritoneApp'; export AppBar, { AppBarWidget } from './widgets/AppBar'; export OAuthLoginButton, { OAuthLoginButtonWidget } from './widgets/OAuthLoginButton'; export FilePicker, { FilePickerWidget } from './w...
JavaScript
0
@@ -567,30 +567,8 @@ rt %7B - TableWidget as Table, Tab
35d0626d1bf44fcd9876766e1d2a9a7ac4d6678b
use inherited calendar url method
workers/county_parks/index.js
workers/county_parks/index.js
var log4js = require("log4js"), log = log4js.getLogger("megapis-worker"), request = require("request"), moment = require("moment-timezone"), util = require("util"); var MegapisWorker = require("megapis-worker").MegapisWorker; function Worker(config) { Worker.super_.call(this, config); } util.inh...
JavaScript
0.000001
@@ -487,19 +487,26 @@ %22output%22 +, %22url%22 %5D;%0A - %7D;%0A%0AWork @@ -1321,429 +1321,8 @@ A%22); -%0A var calDate = startDt.tz(%22UTC%22).format(%22YYYYMMDDTHHmm00%22)+%22Z/%22+%0A endDt.tz(%22UTC%22).format(%22YYYYMMDDTHHmm00%22)+%22Z%22;%0A var calendarUrl = %22https://...
c5b2eed2d9a6fd6209b94b79213c17b505830a09
Add configuration for MAX_CONCURRENT_OFFERS
bin/storjshare.js
bin/storjshare.js
#!/usr/bin/env node 'use strict'; var fs = require('fs'); var path = require('path'); var program = require('commander'); var storj = require('storj'); var platform = require('os').platform(); var prompt = require('prompt'); var colors = require('colors/safe'); var Logger = require('kad-logger-json'); var WizardSchem...
JavaScript
0.000023
@@ -2124,32 +2124,198 @@ etwork.address,%0A + concurrency: !config.network.concurrency ?%0A storj.FarmerInterface.DEFAULTS.concurrency :%0A config.network.concurrency,%0A port: co
fb706c23873afa65ed83f351184448670f202540
Use self instead of this to refer to state constants
XMLHttpRequest.js
XMLHttpRequest.js
/** * Wrapper for built-in http.js to emulate the browser XMLHttpRequest object. * * This can be used with JS designed for browsers to improve reuse of code and * allow the use of existing libraries. * * Usage: include("XMLHttpRequest.js") and use XMLHttpRequest per W3C specs. * * @todo SSL Support * @author D...
JavaScript
0
@@ -5246,20 +5246,20 @@ etState( -this +self .HEADERS
7443a1f3176d894a841d57e759a3cd6a64d5f11a
add url.
sketches/theme/fluid/advect/index.js
sketches/theme/fluid/advect/index.js
var createCaption = require('vendors/utils').createCaption; var title = 'Fluid based on Perlin noise.'; var caption = ''; var url = 'https://github.com/kenjiSpecial/webgl-sketch-dojo/tree/master/sketches/theme/swap-renderer/app00'; createCaption({title : title, caption: caption, url : url}) var raf = require('raf'...
JavaScript
0
@@ -207,27 +207,20 @@ eme/ -swap-renderer/app00 +fluid/advect ';%0Ac
3b6843bce7b80ed20a607841cc79fa56346cfbcd
Improve consumer#addTopics
lib/consumer.js
lib/consumer.js
'use strict'; var util = require('util'), _ = require('lodash'), events = require('events'), Client = require('./client'), protocol = require('./protocol'), Offset = require('./offset'), errors = require('./errors') var DEFAULTS = { groupId: 'kafka-node-group', // Auto commit config ...
JavaScript
0.000003
@@ -4839,32 +4839,81 @@ yloads(topics);%0A + var reFetch = !self.payloads.length;%0A // u @@ -5225,32 +5225,120 @@ %7D);%0A + self.updateOffsets(offsets);%0A if (reFetch) self.fetch();%0A
2665ac49e970de3c7092d96fefd820cdc84e9229
make null reader code suitable to use as return value code
lib/compile_text_parser.js
lib/compile_text_parser.js
var Types = require('./constants/types.js'); var Charsets = require('./constants/charsets.js'); var CharsetToEncoding = require('./constants/charset_encodings.js'); var srcEscape = require('./helpers').srcEscape; var genFunc = require('generate-function'); var typeNames = []; for (var t in Types) { typeNames[Types[t...
JavaScript
0.000003
@@ -4627,27 +4627,37 @@ rn ' -null; packet. -skip(1 +readLengthCodedNumber( )';%0A
a6b1b5d67a3f423b6b282aebb7af74976dbdc1dc
Revert "Revert "Delays enabling fetching of more data for high velocity scrolling""
aura-components/src/main/components/ui/scrollerLib/InfiniteLoading.js
aura-components/src/main/components/ui/scrollerLib/InfiniteLoading.js
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
JavaScript
0
@@ -4293,36 +4293,16 @@ tion() %7B - %0A @@ -4375,16 +4375,83 @@ ments);%0A + Logger.log('InfiniteLoading callback called');%0A @@ -5657,32 +5657,85 @@ se/*loading*/);%0A + w.requestAnimationFrame(function() %7B%0A this @@ -5752,32 ...
d1d726d434e31d0b7c47b713dd23eefbf4d73982
Fix missing required param.
lib/assets/javascripts/cartodb3/editor/editor-map-view.js
lib/assets/javascripts/cartodb3/editor/editor-map-view.js
var _ = require('underscore'); var Backbone = require('backbone'); var CoreView = require('backbone/core-view'); var EditorView = require('./editor-view'); var AddAnalysisView = require('../components/modals/add-analysis/add-analysis-view'); var StackLayoutView = require('../components/stack-layout/stack-layout-view');...
JavaScript
0.000001
@@ -632,35 +632,32 @@ ctions',%0A ' -editorModel +basemaps ',%0A 'visDef
fc3254e8c2271e45c749cab1c88c1f3b2c16e195
Put front page images in static folder.
src/js/hutmap/controllers/controllers.js
src/js/hutmap/controllers/controllers.js
'use strict'; (function () { angular.module('hutmap'). controller('HutmapCtrl', ['$scope', '$route', '$location', '$timeout', '$log', 'angulargmContainer', function($scope, $route, $location, $timeout, $log, angulargmContainer) { $scope.$route = $route; $scope.loading = 0; $scope.incLo...
JavaScript
0
@@ -891,921 +891,272 @@ e: ' -https://mail-attachment.googleusercontent.com/attachment/u/0/?ui=2&ik=8768b5ed5b&view=att&th=13ba670d57d0c5f1&attid=0.3&disp=inline&realattid=f_haswzj3n2&safe=1&zw&saduie=AG9B_P9lJiRTwBR09D1jE4IKml8C&sadet=1363715869360&sads=7jqjo-uAUQ2mWgLwJ-5zPIGflA0'%7D,%0A %7Btitle: 'Joe River Ch...
d747e6a22fcd43e9ff126eeb439446f3e5bb5ffe
Add default video skins.
app/index.js
app/index.js
require('./main.scss'); var Rx = require('rx'); require('rx-dom'); var $ = require('jquery'); var videojs = require('videojs'); var GIPHY = { searchUri: 'http://api.giphy.com/v1/gifs/search?q=', apiKey: 'dc6zaTOxFJmzC' } var $adjective = $('#adjective'), $noun = $('#noun'); var adjectiveUp = observableFromI...
JavaScript
0
@@ -1315,16 +1315,93 @@ ht.mp4); +%0A%0A video.classList.add('vjs-default-skin', 'vjs-big-play-centered'); %0A
15b55f09ba97c7cabe368900bcdc4c120f988d47
fix deprecation export messages (#29563)
packages/gatsby/cache-dir/gatsby-browser-entry.js
packages/gatsby/cache-dir/gatsby-browser-entry.js
import React from "react" import PropTypes from "prop-types" import Link, { withPrefix, withAssetPrefix, navigate, push, replace, navigateTo, parsePath, } from "gatsby-link" import { useScrollRestoration } from "gatsby-react-router-scroll" import PageRenderer from "./public-page-renderer" import loader fr...
JavaScript
0
@@ -3014,128 +3014,8 @@ te,%0A - push, // TODO replace for v3%0A replace, // TODO remove replace for v3%0A navigateTo, // TODO: remove navigateTo for v3%0A us
64e0eddedf50e93d4fb7ff3e5f57c65548936183
Remove trailing whitespace
generators.js
generators.js
/* jshint node: true */ 'use strict'; var detect = require('./detect'); var defaults = require('cog/defaults'); var mappings = { offer: { // audio toggle // { audio: false } in peer connection config turns off audio audio: function(c) { c.mandatory = c.mandatory || {}; c.mandatory.OfferToRec...
JavaScript
0.999999
@@ -1254,18 +1254,17 @@ o an W3C - %0A + RTCPee @@ -2085,18 +2085,16 @@ per.%0A**/ - %0Aexports @@ -2546,17 +2546,16 @@ they are - %0A being @@ -3537,24 +3537,24 @@ lags(opts)%0A%0A + This is a @@ -3613,17 +3613,16 @@ generic - %0A optio
65f4fa81e08793f2774c1d0c079c3cd657870faa
remove testing change
js/utils/bulkCoinUpdate.js
js/utils/bulkCoinUpdate.js
import $ from 'jquery'; import { Events } from 'backbone'; import { openSimpleMessage } from '../views/modals/SimpleMessage'; import app from '../app'; const events = { ...Events, }; export { events }; let bulkCoinUpdateSave; export function isBulkCoinUpdating() { return bulkCoinUpdateSave && bulkCoinUpdateSave...
JavaScript
0.000001
@@ -821,11 +821,8 @@ 'ob/ -xxx bulk
68ca9f8b7e86344f4b26cfa82b5e0f5056d975aa
Fix react/no-unknown-property
client/components/Common/Modal.js
client/components/Common/Modal.js
import React from 'react' export default class Modal extends React.Component { constructor(props) { super(props) this.state = { modalShown: false, } } render() { if (!this.state.modalShown) { return '' } return ( <div class="modal in" id="renamePage" style="display: b...
JavaScript
0.00014
@@ -264,24 +264,28 @@ %3Cdiv class +Name =%22modal in%22 @@ -335,32 +335,36 @@ %3Cdiv class +Name =%22modal-dialog%22%3E @@ -376,32 +376,36 @@ %3Cdiv class +Name =%22modal-content%22 @@ -462,30 +462,28 @@ %22 on -s +S ubmit= -%22return +%7B() =%3E false -;%22 +%7D %3E%0A @@ -496,32 +496,36 @...
1c886954a36b41a4caee717b43267f7af71a202d
Fix Shameless search
app/scripts/src/content/item.js
app/scripts/src/content/item.js
'use strict'; /* This was necessary to priorize Star Wars: The Clone Wars (2008) over Star Wars: Clone Wars (2003). I left this object because it could be useful for other movies/shows */ var fullTitles = { 'Star Wars: The Clone Wars': '"Star Wars: The Clone Wars"', 'The Office (U.S.)': 'The Office (US)', 'The...
JavaScript
0.000016
@@ -565,16 +565,51 @@ f Cards' +,%0A 'Shameless (U.S.)': 'Shameless' %0A%7D%0A%0Afunc
91e28a45c1ef6cc520c2bf20f5ee4d3fa2b3a024
remove chalk from formatWebpackMessages (#10198)
packages/react-dev-utils/formatWebpackMessages.js
packages/react-dev-utils/formatWebpackMessages.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; const chalk = require('chalk'); const friendlySyntaxErrorLabel = 'Syntax error:'; function isLikelyASyntaxError(message)...
JavaScript
0
@@ -196,40 +196,8 @@ ';%0A%0A -const chalk = require('chalk');%0A cons @@ -2726,47 +2726,8 @@ %7D%0A%0A - lines%5B0%5D = chalk.inverse(lines%5B0%5D);%0A%0A me
d7e2221203de3f69a952ae02562d8e6556ae1087
Set up tests to log in on first getting to the site
test/functional/cucumber/step_definitions/commonSteps.js
test/functional/cucumber/step_definitions/commonSteps.js
var chai = require('chai'); var chaiAsPromised = require('chai-as-promised'); chai.use(chaiAsPromised); var expect = chai.expect; module.exports = function() { disclaimer = element(by.css('div.disclaimer')); this.Given(/^that I am at the HMDA homepage$/, function(next) { browser.get('http://dev.hmda...
JavaScript
0
@@ -269,32 +269,145 @@ unction(next) %7B%0A + passwordBox = element.all(by.id('txt-pwd'));%0A loginButton = element.all(by.css('.login-button'))%0A%0A browser. @@ -453,16 +453,17 @@ m/#/');%0A +%0A @@ -634,25 +634,222 @@ -next();%0A %7D +if(passwordBox.count() !== 0)%7B%0...
027b57266d434f156665c3c78bef52f10885a206
delete debug lines for comment paging
lib/fetching/content-services/comments-content-service.js
lib/fetching/content-services/comments-content-service.js
var request = require('request'); var ContentService = require('../content-service'); var util = require('util'); var logger = require('../../logger'); var Report = require('../../../models/report'); var config = require('../../../config/secrets'); var { completeUrl, authenticate, getJWTToken } = require('../../comment...
JavaScript
0
@@ -2817,158 +2817,8 @@ %5D;%0A%0A - console.log(%60acquiredAt: $%7BacquiredAt%7D%60);%0A console.log(%60timestamp: $%7Btimestamp%7D%60);%0A console.log(%60length: $%7Bcomments.length%7D%60);%0A%0A
e53deb5d90fa7d6751bb753415dda5274a2b2cb5
increase window size and login in wait time
test/nightwatch_tests/custom-commands/auth/loginToGUI.js
test/nightwatch_tests/custom-commands/auth/loginToGUI.js
// 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, software // distributed un...
JavaScript
0
@@ -890,16 +890,46 @@ client%0A + .resizeWindow(1200, 1200)%0A .url @@ -995,32 +995,29 @@ #/login%22%5D', -waitTime +50000 , false)%0A
bc9a30c5658c717b7461e5048206ec65d2c63d2d
fix bug in reading db config file
src/lib/modules/connection/repository.js
src/lib/modules/connection/repository.js
'use strict'; const _ = require('underscore'); const Promise = require('bluebird'); const uuid = require('node-uuid'); const fileUtils = require('lib/utils/fileUtils'); const appConfig = require('src/config/appConfig'); const errors = require('lib/errors'); const Connection = require('lib/entities/connection'); cons...
JavaScript
0
@@ -3855,177 +3855,45 @@ urn -new Promise((resolve, reject) =%3E %7B%0A fileUtils.readJsonFile(DB_CONNECTIONS, (err, data) =%3E %7B%0A if (err) return reject(err);%0A return resolve(data);%0A %7D);%0A %7D +fileUtils.readJsonFile(DB_CONNECTIONS );%0A%7D @@ -3940,47 +3940,8 @@ urn -new Promise((reso...
a45b78779bdd813dbf2fbaa1145c1c523a9c3d38
Clean up DiscordRESTError
lib/errors/DiscordRESTError.js
lib/errors/DiscordRESTError.js
"use strict"; let a = { "code": 50035, "errors": { "embed": { "color": { "_errors": [ { "code": "NUMBER_TYPE_COERCE", "message": "Value \"#1234\" is not int." } ] ...
JavaScript
0.999879
@@ -12,894 +12,25 @@ %22;%0A%0A -let a = %7B%0A %22code%22: 50035,%0A %22errors%22: %7B%0A %22embed%22: %7B%0A %22color%22: %7B%0A %22_errors%22: %5B%0A %7B%0A %22code%22: %22NUMBER_TYPE_COERCE%22,%0A %22message%22:...
07ed62a4b92537a0132d5a85e50b6248c8d6349d
Call refresh() when the value of the excludeInvisible option changes. Fixes #6199.
js/widgets/controlgroup.js
js/widgets/controlgroup.js
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude); //>>description: Visually groups sets of buttons, checks, radios, etc. //>>label: Controlgroups //>>group: Forms //>>css.structure: ../css/structure/jquery.mobile.controlgroup.css //>>css.theme: ../css/themes/default/jquery.mobile.theme.css define( [ "jquer...
JavaScript
0
@@ -2027,24 +2027,62 @@ ns.type ) %7B%0A +%09%09%09%09this.options.type = options.type;%0A %09%09%09%09callRefr @@ -2444,24 +2444,163 @@ dow );%0A%09%09%7D%0A%0A +%09%09if ( options.excludeInvisible !== undefined ) %7B%0A%09%09%09this.options.excludeInvisible = options.excludeInvisible;%0A%09%09%09callRefresh = true...
2fd279b5a01c27646946a33c3ed7d9a319173d6e
add todo tag
script.js
script.js
var apiKey = "FtHwuH8w1RDjQpOr0y0gF3AWm8sRsRzncK3hHh9"; var xhr = new XMLHttpRequest(); xhr.open("GET", "http://www.boruili.com/", false); xhr.send(); console.log(xhr.status); console.log(xhr.statusText); function showResponse(response) { var responseString = JSON.stringify(response, '', 2); document.getEleme...
JavaScript
0
@@ -452,16 +452,22 @@ );%0A%7D%0A%0A// + TODO: add a a
e67259ce629fd1f7f922b6ef9386a0627bb29937
Fix empty favourites bug
www/js/services/favourites.js
www/js/services/favourites.js
var services = angular.module('services.favourites', []); services.factory('FavouritesService', function ($window) { var service = { favourites: [], getFavourites: function () { return service.favourites; }, isFavourite: function (id) { var index = servic...
JavaScript
0.000002
@@ -291,36 +291,40 @@ -var index = +angular.forEach( service.favo @@ -333,98 +333,71 @@ ites -.indexOf(id);%0A if (index %3E -1) %7B%0A console.log(%22Is Favourite.%22);%0A +, function(value, key) %7B%0A if (id == value) %7B%0A @@ -404,24 +404,25 @@ ...
4844c57a9a3b906465b9bcc1911f5530bf53a3a3
use correct config when file present
app/index.js
app/index.js
'use strict'; var genUtils = require('../util'); var path = require('path'); var yeoman = require('yeoman-generator'); var bangAscii = require('./ascii'); var chalk = require('chalk'); function bangLog (msg, color) { console.log('[' + chalk.blue('bangular') + ']: ' + chalk[color](msg)); } var BangularGenerator = y...
JavaScript
0.000002
@@ -1048,16 +1048,69 @@ Config;%0A + self.filters = self.config.get('filters');%0A
307f643f677cc23443dde5b6bb4ba80d9b5b4b36
Update tools and pre-processors
app/index.js
app/index.js
'use strict'; var util = require('util'); var path = require('path'); var spaw = require('child_process').spaw; var chalk = require('chalk'); var globule = require('globule'); var shelljs = require('shelljs'); var yeoman = require('yeoman-generator'); var bundle = false; var errr = chalk.bold.red; var MilagroGenerato...
JavaScript
0
@@ -1681,24 +1681,410 @@ this));%0A%7D;%0A%0A +MilagroGenerator.prototype.askForTools = function askForTools() %7B%0A var cb = this.async();%0A var prompts = %5B%7B%0A name: 'cssPre',%0A type: 'list',%0A message: 'Pr%C3%A9-processadores CSS?',%0A choices: %5B'Compass', 'Sass', 'None'%5D%0A %7D,%0A %7B%...
7e43e6f681a34fead0ec3644844cb1b7df306929
Update touch.js
html5-2/touch.js
html5-2/touch.js
document.getElementById("id_logic_version").innerHTML = "Logic version: 2018.11.26.10"; var canvas = document.getElementById("id_canvas"); canvas.addEventListener("touchstart", on_touch_start); canvas.addEventListener("touchmove", on_touch_move); canvas.addEventListener("touchend", on_touch_end); var canvas_bounding_r...
JavaScript
0.000001
@@ -77,17 +77,17 @@ .11.26.1 -0 +1 %22;%0Avar c @@ -568,36 +568,348 @@ ;%0A%09%09 -context.fillStyle = %22black%22; +var last_pos = %7Bx: e.changedTouches%5Bi%5D.pageX, %0A%09%09%09%09%09%09y: e.changedTouches%5Bi%5D.pageY, %0A%09%09%09%09%09%09id: e.changedTouches%5Bi%5D.identifier,%0A%09%09%09%09%09%09color: get_r...
3b6babfd8563a1e95a0f7d9b55b79b86bf6f8e77
Update namespace
lib/node_modules/@stdlib/number/float64/base/lib/index.js
lib/node_modules/@stdlib/number/float64/base/lib/index.js
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
JavaScript
0.000001
@@ -3605,32 +3605,278 @@ to-int32' ) );%0A%0A +/**%0A* @name float64ToInt64Bytes%0A* @memberof ns%0A* @readonly%0A* @type %7BFunction%7D%0A* @see %7B@link module:@stdlib/number/float64/base/to-int64-bytes%7D%0A*/%0AsetReadOnly( ns, 'float64ToInt64Bytes', require( '@stdlib/number/float64/base/to-int64-bytes' ) );%0A%0A...
60a2f60cebd3d17a897ca9df75dac619378d1edf
Add convert time helper function for remaining time in fileUploadFactory.js
client/app/components/client_utilities/factories/fileUploadFactory.js
client/app/components/client_utilities/factories/fileUploadFactory.js
angular.module('utils.fileUpload', ['utils.fileReader']) .factory('fileUpload', ['fileReader', 'fileTransfer', function(fileReader, fileTransfer) { var fileUploadObj = {}; fileUploadObj.getFiles = function() { return document.getElementById('filesId').files; }; fileUploadObj.convertFromBinary = function(...
JavaScript
0
@@ -1263,16 +1263,17 @@ 100 +0 ; // ms%0A @@ -1264,24 +1264,24 @@ 1000; // ms%0A - if (curr @@ -1815,34 +1815,31 @@ rate -; // bytes / bytes/ms + / 1000; // ms/1000 -%3E -m s%0A @@ -1968,26 +1968,24 @@ var convert -ed Rate = funct @@ -1992,24 +1992,48 @@ ion(rate) %7B%0A + // expects KB...
21ff6819850dcdfb4641cbc0f43a33b341cb07ad
fix reference to checkLintStagedRc
packages/pluginsdk/scripts/check-plugin/linters/lint.lintstagedrc.json.js
packages/pluginsdk/scripts/check-plugin/linters/lint.lintstagedrc.json.js
const { assertFileExists } = require('../asserters/assertFileExists'); function checkLintStaged(report) { assertFileExists(report, '.lintstagedrc.json'); } module.exports = { checkLintStaged };
JavaScript
0
@@ -89,16 +89,18 @@ ntStaged +Rc (report) @@ -189,12 +189,14 @@ ntStaged +Rc %7D;%0A
7bd34e1674507d90741fa341618c7132dcf8e5d0
remove init function, use constructor function
jslibraryboilerplate_js.js
jslibraryboilerplate_js.js
/*! * JavaScript Library Boilerplate * Copyright (c) 2013 Denis Ciccale (@tdecs) * Released under MIT license (https://raw.github.com/dciccale/jslibraryboilerplate/master/LICENSE.txt) */ (function (window) { var document = window.document, // helper methods push = [].push, slice = [].slice, splice...
JavaScript
0.000001
@@ -531,23 +531,8 @@ JSLB -.prototype.init (sel
1d28bcaa7d4aa6dd0182c9cc0ebc47faa3c46e36
Add throws annotation and directly require join
lib/node_modules/@stdlib/utils/configdir/lib/configdir.js
lib/node_modules/@stdlib/utils/configdir/lib/configdir.js
'use strict'; // MODULES // var path = require( 'path' ); var isWindows = require( '@stdlib/utils/is-windows' ); var isString = require( '@stdlib/utils/is-string' ).isPrimitive; var platform = require( '@stdlib/utils/platform' ); var homedir = require( '@stdlib/utils/homedir' ); // MAIN // /** * Returns a director...
JavaScript
0
@@ -27,20 +27,20 @@ //%0A%0Avar -path +join = requi @@ -51,16 +51,21 @@ 'path' ) +.join ;%0Avar is @@ -420,16 +420,80 @@ rectory%0A +* @throws %7BTypeError%7D first argument must be a string primitive%0A * @retur @@ -1347,21 +1347,16 @@ dir ) ? -path. join( di @@ -1589,29 +1589,24 @@ ta%0A%09%09return -pat...
5437696a75f7e50cb781405ba20db78d6a2b3d45
Make staticRoot configurable
geotwitter.js
geotwitter.js
#!/usr/bin/env node 'use strict'; /*jslint node: true, es5: true, indent: 2 */ var amulet = require('amulet'); var fs = require('fs'); var http = require('http-enhanced'); var logger = require('winston'); var mime = require('mime'); var path = require('path'); var sv = require('sv'); var socketio = require('socket.io')...
JavaScript
0.000004
@@ -568,16 +568,55 @@ itter',%0A + staticRoot: 'http://127.0.0.1:3601',%0A %7D).argv; @@ -728,50 +728,8 @@ ';%0A%0A -var staticRoot = 'http://127.0.0.1:3601';%0A var @@ -1447,16 +1447,21 @@ icRoot: +argv. staticRo
1bf43b1bfe8b90d199239f39acbd4c8338db0ddd
Update TODO list (preparation for GA task)
app/index.js
app/index.js
/* * TODO: * - h5bp via bower + add variable to settings * - mixins * - open sublime when ready * - modernizr custom build/CDN * - do I need to include normalize, h5bp, foundation & compass resets? * - separate print styles and add media element for IE8- * - print.scss, ie.scss (if supported) * - suppo...
JavaScript
0
@@ -53,16 +53,270 @@ ettings%0A + * - GA (https://github.com/dciccale/grunt-processhtml, https://github.com/changer/grunt-targethtml) + ask for key%0A * - new task (%22dploy%22/%22production%22), because of build is sometimes being used for testing final product (don't wanna analyze this :))%0A * - mi @@ -952,1...
5b5f3fe2e54db752c74ea2d2d7edcd7d64ec3c51
Use consistent selection argument style
js/id/renderer/background.js
js/id/renderer/background.js
iD.Background = function() { var tileSize = [256, 256]; var tile = d3.geo.tile(), projection, cache = {}, offset = [0, 0], transformProp = iD.util.prefixCSSProperty('Transform'), source = d3.functor(''); function tileSizeAtZoom(d, z) { return Math.ceil(tile...
JavaScript
0.000001
@@ -1259,16 +1259,25 @@ kground( +selection ) %7B%0A @@ -1288,32 +1288,8 @@ var -sel = this,%0A tile @@ -2663,34 +2663,34 @@ background -.apply(sel +(selection );%0A %7D @@ -2779,16 +2779,33 @@ ct(this) +%0A .on('loa @@ -2813,17 +2813,16 @@ ', null) -; %0A @@ -...
0208d952c1d2f657aec88bb246f6e38cd5c48857
Simplify and generalise component inference logic
src/exitable.es3.js
src/exitable.es3.js
window.m = ( function( mithril ){ // Registry of controllers and corresponding root nodes var roots = new Map() // A record of recent view outputs for every root-level component var history = new WeakMap() // Whether the current draw is being used to revert to its previous state var reverting = false ...
JavaScript
0.000005
@@ -4238,62 +4238,19 @@ if( - Object.prototype.hasOwnProperty.call( first -, ' +. view -' ) )%0A
fe09495399896d9a1aaaf43bce156acf60d79bde
Stringify all msg and parse them without checking msg type
lib/helpers/message-parsers.js
lib/helpers/message-parsers.js
module.exports.in = function(_msg) { if (_msg.properties.contentType === 'application/json') { return JSON.parse(_msg.content.toString()); } return _msg.content.toString(); }; module.exports.out = function(content, options) { if (typeof content === 'object') { content = JSON.stringify(content); o...
JavaScript
0.999469
@@ -87,24 +87,36 @@ on/json') %7B%0A + try %7B%0A return J @@ -151,16 +151,34 @@ ing());%0A + %7D catch(e) %7B%7D%0A %7D%0A%0A r @@ -272,35 +272,15 @@ if ( -typeof content === 'object' +content ) %7B%0A
d4ba538d15b4eedd28be6cecabcef8509118f6ca
Add method to get all members of the circuit-element
js/models/circuit-element.js
js/models/circuit-element.js
(function(app) { 'use strict'; var circuit = require('circuit'); var Wrapper = function(obj, self) { obj.unwrap = Wrapper.unwrap.bind(self); return obj; }; Wrapper.unwrap = function(key) { if (key === Wrapper.KEY) return this; }; Wrapper.KEY = {}; var CircuitElementMember = functi...
JavaScript
0
@@ -1244,32 +1244,194 @@ .wrapper;%0A %7D;%0A%0A + CircuitElement.prototype.getAll = function() %7B%0A return this.names.map(function(name) %7B%0A return this.memberTable%5Bname%5D.wrapper;%0A %7D.bind(this));%0A %7D;%0A%0A CircuitElement
c596901ffce073b75635fe86000b5911e2d98cf7
Refactor layout controllers layout attributes to static members
packages/app/source/client/controllers/layout-controller.js
packages/app/source/client/controllers/layout-controller.js
Space.Object.extend('Todos.LayoutController', { mixin: [ Space.messaging.EventSubscribing ], dependencies: { layout: 'Layout', _: 'underscore' }, Constructor() { this._currentLayout = null; this._currentSections = {}; }, eventSubscriptions() { return [{ 'Todos.RouteTrigge...
JavaScript
0
@@ -168,33 +168,8 @@ %0A%0A -Constructor() %7B%0A this. _cur @@ -182,26 +182,19 @@ yout - = +: null -;%0A this. +,%0A%0A _cur @@ -209,17 +209,11 @@ ions - = %7B%7D;%0A +: %7B %7D,%0A%0A
6fab2088cd670b8d74919fb0c17212c64baa9cc0
Fix source map
starter-kit/hmr/webpack.config.js
starter-kit/hmr/webpack.config.js
var path = require('path'); var webpack = require('webpack'); var merge = require('webpack-merge'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var CopyWebpackPlugin = require('copy-webpack-plugin'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var poststylus = require('poststylus'); var...
JavaScript
0.000001
@@ -688,59 +688,8 @@ der%22 -,%0A include: %22path.join(__dirname, 'public')%22 %0A
a63df61988e7e4120d2ac2491e5de94bac439039
move partials to be first in parse chain
lib/end-dash.js
lib/end-dash.js
var Parser = require("./parser") , AttributeReaction = require("./reactions/attribute") , CollectionReaction = require("./reactions/collection") , ModelReaction = require("./reactions/model") , VariableReaction = require("./reactions/variable") , ConditionalReaction = require("./reactions/conditional") , Co...
JavaScript
0
@@ -474,16 +474,64 @@ cope%22)%0A%0A +Parser.registerReaction(ContentPartialReaction)%0A Parser.r @@ -778,56 +778,8 @@ on)%0A -Parser.registerReaction(ContentPartialReaction)%0A Pars
f5c5ac3bef466dcdc83145b90b0b91cbdab4d18f
Fix migrate warning on non-html arg to $()
static/js/impala/addon_details.js
static/js/impala/addon_details.js
$(function () { if (!$("body").hasClass('addon-details')) return; $('#background-wrapper').css('height', $('.amo-header').height() + $('#addon-description-header').height() + 20 + 'px'); $(".previews").zCarousel({ btnNext: ".previews .next", btnPrev: ".previews .prev", ...
JavaScript
0
@@ -5108,24 +5108,135 @@ %7D%0A%0A + // Strip the leading whitespace so that $() treats this as html and%0A // not a selector.%0A @@ -5259,16 +5259,23 @@ = $(resp +.trim() );%0A
2d307501d2fc1f6e2caf5a139cc12f160d3633df
copy Socket files and templates to project, and modify prompt messages a bit
app/index.js
app/index.js
'use strict'; var util = require('util'); var path = require('path'); var yeoman = require('yeoman-generator'); var VinelabGenerator = module.exports = function VinelabGenerator(args, options, config) { yeoman.generators.Base.apply(this, arguments); this.on('end', function () { this.installDependenci...
JavaScript
0
@@ -932,19 +932,46 @@ your app + (CamelCase with no spaces) ',%0A - @@ -1054,32 +1054,14 @@ it -with a small description +for us ',%0A @@ -1358,28 +1358,32 @@ );%0A this. -copy +template ('app/bootst @@ -1532,17 +1532,16 @@ p/views/ -_ main.htm @@ -2234,32 +2234,66 @@ p/src/Config');%0A + th...
f2a99f578ea06415978eec1c3bac3226bdb2e29f
Revert "updated one last place where backend host was defined."
client/src/js/states/preloader.js
client/src/js/states/preloader.js
/** * Created by petermares on 20/02/2016. */ module.exports = (function() { var settings = require('../../settings'); var o = {}; var _images = { logo: 'assets/logo.png', sky: 'assets/sky.png', diamond: 'assets/diamond.png', heart: 'assets/heart.png', star: 'asset...
JavaScript
0
@@ -1806,42 +1806,57 @@ ' + -process.env.GITRUNNER_BACKEND_HOST +settings.server.host + ':' + settings.server.port + '
8502d941df7f18db9c644f409c5cd4856499807c
add object detection to remove error
client/views/public/field/list.js
client/views/public/field/list.js
Template.FieldList.rendered = function() { $('.draggable').draggable(); $('.droppable').droppable({ drop: function(event, ui) { $(this) .addClass('ui-state-highlight') .find('div') .html('dropped'); } }); }; Template.FieldList.helpers({ // if there is a team return fals...
JavaScript
0.000001
@@ -236,18 +236,16 @@ ;%0A %7D%0A -%0A%0A %7D);%0A%0A%7D @@ -3163,405 +3163,8 @@ );%0A%0A -// Template.StartingFieldList.rendered = function() %7B%0A%0A // // var currGame = Games.findOne(%7B%0A // // _id: Session.get('sGameId')%0A // // %7D, %7B%0A // // playerGameInfo: 1%0A // // ...
da4cc3b456f630b0b462c83ccd2854c76c1bd6c7
Remove broken memento property.
js/foam/ui/Window.js
js/foam/ui/Window.js
/** * @license * Copyright 2014 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
@@ -928,23 +928,8 @@ p',%0A - 'memento',%0A @@ -2086,136 +2086,8 @@ %7D,%0A - %7B%0A name: 'memento',%0A lazyFactory: function() %7B this.window.WindowHashValue.create(%7Bwindow: this.window%7D); %7D%0A %7D%0A %5D,
de3ddd3e8a30de9397aa32a0b1ff552c8cb04df0
Copy config to avoid mutating options
src/fetch-client.js
src/fetch-client.js
import 'isomorphic-fetch' import Url from 'url' import QS from 'qs' import { map } from 'lodash' import extendify from 'extendify' const merge = extendify({ inPlace: false, isDeep: true, arrays: 'concat' }) const methods = ['get', 'post', 'put', 'patch', 'delete', 'del'] export default class...
JavaScript
0.000001
@@ -3220,24 +3220,69 @@ path%0A %7D%0A%0A + // Copy config to avoid mutating options%0A let conf @@ -3306,16 +3306,21 @@ ? +%7B ... this.opt @@ -3331,16 +3331,17 @@ .server +%7D %0A : @@ -3341,16 +3341,21 @@ : +%7B ... this.opt @@ -3365,16 +3365,18 @@ s.client + %7D %0A%0A co
e4ec495dc16eea0e873b651a83e4a894f1575e84
Cleanup stringify
lib/favicons.js
lib/favicons.js
'use strict'; var loaderUtils = require('loader-utils'); var favicons = require('favicons/es5'); var faviconPersitenceCache = require('./cache'); module.exports = function (content) { var self = this; self.cacheable && this.cacheable(); if (!self.emitFile) throw new Error('emitFile is required from module system...
JavaScript
0.999999
@@ -1090,33 +1090,34 @@ (null, ' -module.exports = +// LOADER START // ' + JSON @@ -1136,24 +1136,45 @@ achedResult) + + '// LOADER END //' );%0A %7D%0A @@ -1320,51 +1320,17 @@ -faviconPersitenceCache.emitCacheInformation +emitCache File @@ -1399,33 +1399,34 @@ (null, ' -module.exports = +// LOADER ...
43f085629080f1e43d93a53712a83fc13005e749
Fix failure if there's no content-type returned
lib/ensure_content_type.js
lib/ensure_content_type.js
'use strict'; const cType = require('content-type'); const mwUtil = require('./mwUtil'); // Utility function to split path & version suffix from a profile parameter. function splitProfile(profile) { const match = /^(.*)\/([0-9.]+)$/.exec(profile); return { path: match[1], version: match[2], ...
JavaScript
0.003347
@@ -1654,32 +1654,210 @@ (res.headers && + res.headers === undefined) %7B%0A delete res.headers%5B'content-type'%5D;%0A %7D%0A%0A if (res.headers%0A && res.headers%5B'content-type'%5D%0A && res.headers%5B'co
3e7b8483439f1c2505e27b33353288a29a2013c4
Fix typo
lib/fetchAll.js
lib/fetchAll.js
"use strict"; const throat = require("throat"); const fetch = require("./fetch"); module.exports = function fetchAll(options) { return Promise.all( options.url.map( throat( options.config.concurrency, u => fetch(Object.assign({}, options, { url: u, indeex: options.sib...
JavaScript
0.999999
@@ -298,17 +298,16 @@ inde -e x: optio
914a282b9d8af81a930b32d3e4fae26809aa3b02
Update Polish locale
source/js/Core/Language/locale/pl.js
source/js/Core/Language/locale/pl.js
/* Polish LANGUAGE ================================================== */ if(typeof VMM != 'undefined') { VMM.Language = { lang: "pl", api: { wikipedia: "pl" }, date: { month: ["Stycznia", "Lutego", "Marca", "Kwietnia", "Maja", "Czerwca", "Lipca", "Sierpnia", "Września", "Października", "Listopada", "Gru...
JavaScript
0
@@ -1037,24 +1037,25 @@ dowanie -Timeline +osi czasu ... %22,%0A%09 @@ -1121,24 +1121,24 @@ owi%C4%99ksz -Timeline +o%C5%9B czasu %22,%0A%09%09%09co @@ -1159,17 +1159,18 @@ e: %22 -Z +Po mniejsz Time @@ -1169,16 +1169,16 @@ jsz -Timeline +o%C5%9B czasu %22,%0A%09 @@ -1301,9 +1301,10 @@ %0A%09%09%7D%0A%09%...
f48cabde39938a3117229309a290216b27d7421f
clean markdown code
gulp/markdown.js
gulp/markdown.js
'use strict'; var gulp = require('gulp'); var path = require('path'); var _ = require('lodash'); var fs = require('fs'); var $ = require('gulp-load-plugins')({ pattern: ['gulp-*', 'del'] }); module.exports = function(options) { function markdown(files,dest,folder,env){ return function markdown(){ var stream =...
JavaScript
0.000018
@@ -1754,19 +1754,16 @@ %09)));%0A%0A%09 -// gulp.tas @@ -1809,19 +1809,16 @@ down(%5B%0A%09 -// %09%09'src/p @@ -1840,19 +1840,13 @@ ',%0A%09 -// %09%5D,%0A%09 -// %09opt @@ -1864,19 +1864,16 @@ site',%0A%09 -// %09%22/parti @@ -1883,18 +1883,18 @@ /%22%0A%09 -// )));%0A%0A%09 +// gulp @@ -1929,24 +...
5ade9b9e846eccdb7139d6bb612fc6db4c450c93
Use git config properties to determine default projectAuthor.
app/index.js
app/index.js
'use strict'; var path = require('path'); var yeoman = require('yeoman-generator'); var yosay = require('yosay'); // var chalk = require('chalk'); var YuiGenerator = yeoman.generators.Base.extend({ init: function () { this.pkg = require('../package.json'); this.on('end', function () { ...
JavaScript
0
@@ -487,16 +487,49 @@ async(); +%0A var git = this.user.git; %0A%0A @@ -1172,53 +1172,504 @@ lt: -'Rockstar Developer %3Crockstar@mycompany.com%3E' +function () %7B%0A var name = git.name %7C%7C git.username, // generator v0.17.0 uses 'name'%0A email = git.ema...
6b3ad70d9bd6c0559adc067fc432174689e3012b
Set each slide to have it's own z-index.
angular-web-applications/src/scripts/app.js
angular-web-applications/src/scripts/app.js
(function () { // Set to true to show console.log for debugging var DEBUG_MODE = true; 'use strict'; var Slide = function (title) { // Constructor this.title = title; this.eleRef = null; }; Slide.prototype.SetReference = function (dom) { this.eleRef = dom; ...
JavaScript
0
@@ -1002,32 +1002,131 @@ %0A + // Set z-index for each slide%0A slidesDOM%5Bi%5D.style.zIndex = 10 + i;%0A%0A
cf3a64135025666baf9d3537a7327a5c6b6ca19a
Fix progress link to README
lib/generate/site/index.js
lib/generate/site/index.js
var util = require("util"); var path = require("path"); var Q = require("q"); var _ = require("lodash"); var swig = require('swig'); var fs = require("../fs"); var parse = require("../../parse"); var BaseGenerator = require("../generator"); var indexer = require('./search_indexer'); // Swig filter for returning the ...
JavaScript
0.000001
@@ -563,22 +563,26 @@ ) %7B%0A -return +var link = link.re @@ -604,16 +604,85 @@ html%22);%0A + if (link == %22README.html%22) link = %22index.html%22;%0A return link;%0A %7D);%0A%0Avar
149a10359f8558e6df71bfa4b8a0cc6062071fd5
Update frontier.js
lib/frontier.js
lib/frontier.js
//Licensed under the ISC license. //Copyright 2014 Yuki Ahmed var WORLD_STATUS = "http://frontier.ffxiv.com/worldStatus/current_status.json", LOBBY_STATUS = "http://frontier.ffxiv.com/worldStatus/gate_status.json", LOGIN_STATUS = "http://frontier.ffxiv.com/worldStatus/login_status.json", HEADLINE_URL = "ht...
JavaScript
0.000001
@@ -202,32 +202,43 @@ gate_status.json +?lang=en-us %22,%0A LOGIN_STA @@ -444,14 +444,25 @@ le.json? +lang=en-us& id=%22;%0A
333ab79004a9a27cb70262c81c8948bf3d3928e9
Fix HubSpot script url
corehq/apps/analytics/static/analytix/js/hubspot.js
corehq/apps/analytics/static/analytix/js/hubspot.js
/* globals window */ /** * Instatiates the Hubspot analytics platform. */ hqDefine('analytix/js/hubspot', [ 'underscore', 'analytix/js/initial', 'analytix/js/logging', 'analytix/js/utils', ], function ( _, initialAnalytics, logging, utils ) { 'use strict'; var _get = initialAna...
JavaScript
0.007367
@@ -716,16 +716,24 @@ ta.apiId + + '.js' ;%0A
45001258ffba7aa98c7a3d07ad6325dabe45ea9d
Fix the condition because `projectId` in the localStorage is null when starting app for the first time
app/index.js
app/index.js
(function() { 'use strict'; const DEFAULT_FETCH_INTERVAL_SEC = 600; const NOTIE_DISPLAY_SEC = 1.5; const COLOR_ICON_FILENAME_64 = 'redmine_icon_color_64.png'; var remote = window.require('remote'); var shell = remote.require('shell'); var fs = require('fs'); var notie = require('notie'); var notifie...
JavaScript
0.000137
@@ -5870,16 +5870,49 @@ if ( +typeof projectId === 'string' && projectI