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
e0a8e5fa19620b40a454588e9b83019d37245c3f
Send a message when tests complete, see https://github.com/phetsims/aqua/issues/26
js/qunit-connector.js
js/qunit-connector.js
// Copyright 2017, University of Colorado Boulder /** * When running unit tests in an iframe, connects to the parent frame to give results. * @author Sam Reid (PhET Interactive Simulations) */ (function() { 'use strict'; QUnit.log( function( details ) { window.parent && window.parent.postMessage( JSON.stri...
JavaScript
0
@@ -191,16 +191,17 @@ s)%0A */%0A( + function @@ -222,16 +222,314 @@ rict';%0A%0A + // By default, QUnit runs tests when load event is triggered on the window. If you%E2%80%99re loading tests asynchronously,%0A // you can set this property to false, then call QUnit.start() once everything is loaded.%0A // See ht...
ff1e78dce280e86ec6fabb084cc0c0e7b3078c0c
Fix private tab settings
js/state/userPrefs.js
js/state/userPrefs.js
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ let registeredCallbacks = [] let registeredSessions = [] let registeredPrivateSessions = [] // TODO(bridiver) mov...
JavaScript
0
@@ -1115,14 +1115,8 @@ (cb, - name, inc @@ -1286,159 +1286,17 @@ %0A%0A -if (name) %7B%0A if (prefs%5Bname%5D) %7B%0A module.exports.setUserPref(name, prefs%5Bname%5D, incognito)%0A return true%0A %7D%0A return false%0A %7D%0A%0A for ( +let name @@ -1369,24 +1369,25 @@ ognito)%0A %7D%0A...
1138c13885f7d72326dfd844b512709c653a6ab2
fix console page render error
app/routes/index.js
app/routes/index.js
/* * GET home page. */ var contactCollection; var home = require('../config/home'); var partner = require('../config/partner'); function extend(dst, src) { for (var key in src) { if (src.hasOwnProperty(key)) { dst[key] = src[key]; } } } exports.setDb = function(db) { contactCollection = db.coll...
JavaScript
0
@@ -1338,17 +1338,16 @@ res) %7B%0A -%0A var mo
799f1c0f0f1bc64d68e41bbe9b59559742d46cc2
change loading message
app/routes/login.js
app/routes/login.js
import Ember from 'ember'; export default Ember.Route.extend({ beforeModel: function(/*transition*/) { if (this.session.isNotExpired()) { this.transitionTo('index'); } }, model: function() { if (this.get('provider')) { var session = this.get('session'); return session.authorize()....
JavaScript
0
@@ -1169,16 +1169,18 @@ unction( +/* transiti @@ -1194,16 +1194,18 @@ ginRoute +*/ ) %7B%0A @@ -1210,19 +1210,39 @@ -alert('load +Ember.Logger.debug('authenticat ing'
af62a41aa6f248014b1a4be87c4479952763fe27
Fix for sourcemaps 404's
app/routesStatic.js
app/routesStatic.js
'use strict'; var express = require('express'), less = require('less-middleware'), uglify = require("uglifyjs-middleware"), favicon = require('serve-favicon'); var path = require('path'); module.exports = function routesStatic(app) { var staticOptions = { maxAge: app.get('env') === 'development' ? 0 : '30d...
JavaScript
0
@@ -400,370 +400,8 @@ );%0A%0A - // Needs to be before Express static on public folder.%0A app.use(less(path.join('.', 'public')));%0A%0A app.use('/js', uglify(path.join('.', 'public', 'js'), %7B%0A generateSourceMap: app.get('env') === 'development'%0A %7D));%0A%0A app.use(express.static(path.join('.', 'publi...
36a69f7b8350b3fef96f24765eecaa3f8d53eaaf
Tackle Chrome buffering bug on refresh
app/scripts/main.js
app/scripts/main.js
$(document).ready(function() { var animateText = function( nameDuration, baseListDelay, contactDuration, contactLabelDelay, animationTimeout ) { $('.name').fadeIn(nameDuration); $('li').each(function(index) { var delay = baseListDelay; if (index === 1) { delay = baseListDelay + 200...
JavaScript
0
@@ -1021,18 +1021,16 @@ to:c -ari pearl -10 +613 @gma @@ -4058,42 +4058,515 @@ var -checkIfLoaded = function() %7B%0A +isLocalStorageSupported = function() %7B // Safari incognito mode support%0A var testKey = 'test';%0A%0A try %7B%0A window.localStorage.setItem(testKey, '1');%0A windo...
5d7bcc75bebf9ab7bd331e5beff15edad6f3850d
add escape key binding
app/scripts/main.js
app/scripts/main.js
/* jshint devel:true */ (function( $ ){ 'use strict'; $( document ).foundation(); $( '.play-button' ).click( function ( e ) { e.preventDefault(); $( '#video-modal' ).foundation( 'reveal', 'open' ); $( 'iframe' ).attr( 'src', '//player.vimeo.com/video/121852108?autoplay=1&color=7e8b9e&title=0&byl...
JavaScript
0
@@ -603,16 +603,220 @@ %0A %7D);%0A%0A + $( document ).keyup( function ( e ) %7B%0A if ( e.keyCode == 27 ) %7B%0A $( 'iframe').attr('src', '//player.vimeo.com/video/121852108?autoplay=0&color=7e8b9e&title=0&byline=0&portrait=0');%0A %7D%0A %7D);%0A%0A %7D)( jQue
78cde60355ef9ca07684093c7064cffebc978d3d
implement tick event
TimeCounter.js
TimeCounter.js
/** * This is a simple time counter. * It counts only how long it runs in following format: * <b>hh:mm:ss</b> * * @param autostart boolean */ function TimeCounter(autostart) { var autostart = autostart || false; /** * Private members */ var count = 0; var hours = 0; var minutes ...
JavaScript
0.000017
@@ -2345,22 +2345,8 @@ -console.debug( time @@ -2357,17 +2357,25 @@ ter. +trig ge -tTime() +rTickEvent( );%0A @@ -2471,24 +2471,24 @@ ck.%0A */%0A - triggerT @@ -2502,32 +2502,166 @@ t: function () %7B +%0A var ev = new CustomEvent('TimeCounter:tick', %7B'detail': %7B'time': this.getTime()%...
822789e92b8022634d82ba1e7e3b69b982b6d682
Update formatting of fake summary and added TODO
fake/fake-request-summary.js
fake/fake-request-summary.js
'use strict'; var chance = require('./fake-extension'); var fakeSession = require('./fake-request-user'); var moment = require('moment'); function generate(dateTime) { var mvcAction = chance.mvcAction(); var httpStatus = chance.httpStatus(); var networkTime = chance.integerRange(0, 15); var serverLowe...
JavaScript
0
@@ -133,16 +133,84 @@ ent');%0A%0A +// TODO: Even though this works, structure of this is kinda crummy%0A%0A function @@ -2097,28 +2097,8 @@ te = - %7B%0A messages: fun @@ -2103,28 +2103,24 @@ unction() %7B%0A - var @@ -2149,28 +2149,24 @@ ();%0A - var index = @@ -2175,28 +2175...
7862c5311ffef815b4507ff3691a01e61f723f64
send rpc contract call
src/store/contractActions.js
src/store/contractActions.js
import { rpc } from '../lib/rpc'; import log from 'loglevel'; export function loadContractList() { return (dispatch) => { dispatch({ type: 'CONTRACT/LOADING', }); rpc.call('emerald_contracts', []).then((result) => { dispatch({ type: 'CONTRACT/SET_LIST...
JavaScript
0
@@ -54,16 +54,65 @@ glevel'; +%0Aimport %7B functionToData %7D from '../lib/convert'; %0A%0Aexport @@ -1113,24 +1113,744 @@ %7D);%0A%7D%0A%0A +export function callContract(accountId, password, to, gas, value, func, inputs) %7B%0A console.log(func)%0A return (dispatch) =%3E %7B%0A let pwHeader = nul...
be02920a1880c7672e0705f19a26eb7703216d9d
Remove unneeded statement
src/storyline_test_runner.js
src/storyline_test_runner.js
import deepEqual from 'deep-equal'; import { combineReducers as reduxCombineReducers, createStore, applyMiddleware } from 'redux'; import StorylineTestAPI from './storyline_test_api'; export const IO = (fn, context, ...args) => ({ fn, context, args }); const _start = Symbol("start"); const _storyline = Symbol(...
JavaScript
0.999259
@@ -2053,29 +2053,8 @@ ue;%0A - this._blocked();%0A %7D%0A
35b82fe166eb4d9e48b5c151ad8c0da88f0795f0
fix bibparsing
bibliography/static/js/workers/importer/biblatex.js
bibliography/static/js/workers/importer/biblatex.js
import {BibLatexParser} from "biblatex-csl-converter" export class BibLatexImportWorker { constructor(fileContents, sendMessage) { this.fileContents = fileContents this.sendMessage = sendMessage } /** Second step of the BibTeX file import. Takes a BibTeX file object, * processes clien...
JavaScript
0.000021
@@ -396,26 +396,28 @@ ) %7B%0A -le +cons t bibData = @@ -454,16 +454,62 @@ ntents)%0A + const bibDataOutput = bibData.parse()%0A @@ -520,24 +520,25 @@ .tmpDB = + bibData .parse() @@ -525,32 +525,38 @@ B = bibData -.parse() +Output.entries %0A thi
f92b6d8b4b4c75c09d115b9975426ccb244fe439
FIx typo
fileupload/static/js/main.js
fileupload/static/js/main.js
/* * jQuery File Upload Plugin JS Example 8.8.2 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ /*jslint nomen: true, regexp: true */ /*global $, window, blueimp */ 'use s...
JavaScript
0.00002
@@ -769,16 +769,17 @@ eFiles++ +; %0A let
5a6e2d763ccf2533d2992452f4814b8112cdb45d
Add local storage for movie data
src/Components/App/App.js
src/Components/App/App.js
import React, { Component } from 'react'; import CardContainer from '../CardContainer/CardContainer'; import Aside from '../Aside/Aside'; import Header from '../Header/Header'; import Nav from '../Nav/Nav'; import { getVehicleData, getPersonData, getPlanetData } from '../../apiHelpers'; import Button from '../Button/Bu...
JavaScript
0.000001
@@ -2593,35 +2593,199 @@ a(url)%7B%0A -fetch(url)%0A +if (Object.keys(localStorage).find( (key) =%3E key===url ) ) %7B%0A this.setState(%7B%0A movieArray: JSON.parse(localStorage%5Burl%5D),%0A %7D)%0A %7D else %7B%0A fetch(url)%0A .then( @@ -2813,16 +2813,18 @@ son() )%0A + ...
dbf951585da70e5108ccf614e2a82ec0a5f34255
Fix eslint warnings
src/Data/EuclideanRing.js
src/Data/EuclideanRing.js
"use strict"; exports.intDegree = function (x) { return Math.min(Math.abs(x), 2147483647); }; // See the Euclidean definition in // https://en.m.wikipedia.org/wiki/Modulo_operation. exports.intDiv = function (x) { return function (y) { if (y == 0) return 0; return y > 0 ? Math.floor(x / y) : -Math.floor(x...
JavaScript
0.000013
@@ -239,32 +239,33 @@ ) %7B%0A if (y == += 0) return 0;%0A @@ -399,16 +399,17 @@ if (y == += 0) retu
8fedfa537f57d2e9c03499205396ea90bdceb182
Add test
src/Dialog/Dialog.spec.js
src/Dialog/Dialog.spec.js
// @flow weak /* eslint-env mocha */ import React from 'react'; import { assert } from 'chai'; import { createShallowWithContext } from 'test/utils'; import Dialog, { styleSheet } from './Dialog'; describe('<Dialog />', () => { let shallow; let classes; before(() => { shallow = createShallowWithContext(); ...
JavaScript
0.000005
@@ -1952,32 +1952,294 @@ class');%0A %7D);%0A%0A + it('should render with the fullscreen class on the Paper element', () =%3E %7B%0A const wrapper = shallow(%3CDialog fullscreen /%3E);%0A assert.strictEqual(wrapper.find('Paper').hasClass(classes.fullscreen), true,%0A 'should have the %22fullscreen%22 clas...
31cf79ec73895b6b96f376003ebdad2d53f05e85
Break the loop if the callback returns false
src/utils/CollectionUtils.js
src/utils/CollectionUtils.js
/* * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ri...
JavaScript
0.999371
@@ -2183,16 +2183,18 @@ %7D object + - The obj @@ -2268,16 +2268,18 @@ callback + - The fun @@ -2323,16 +2323,95 @@ object.%0A + * If the function returns false the loop will break at that iteration.%0A */%0A @@ -2594,16 +2594,20 @@ +if ( callback @@ -2632,17 +2632,66 @@ keys%5Bi%5D) -; ...
aee7033a72f7f2c588450534af890ef38ff6b8d2
Replace reserved word
src/modelSync.js
src/modelSync.js
'use strict'; angular.module('robbyronk.model-sync', []) .service('Model', function Model($cacheFactory, $rootScope, $http, $q) { var cache = $cacheFactory('cache'); var thisModel = this; this.create = function (path, object) { return $http.post(path, object).then(function (response) { va...
JavaScript
0.002105
@@ -4326,32 +4326,36 @@ t: function (int +eger ) %7B%0A li @@ -4366,32 +4366,36 @@ o = parseInt(int +eger , 10);%0A @@ -4448,16 +4448,20 @@ ion (int +eger ) %7B%0A @@ -4489,16 +4489,20 @@ eInt(int +eger , 10);%0A
17eb3661767b5140dd00f112e1cf22bb15d96f57
fix task.gradeAnswer
pemFioi/beaver-task.js
pemFioi/beaver-task.js
'use strict'; /* * This file is to be included by beaver contest tasks, it defines a basic * implementation of the main functions of the task object, as well as a grader. * * Task can overwrite these definitions. * */ var task = {}; task.showViews = function(views, callback) { if (views.forum || views.hint...
JavaScript
0.999999
@@ -2843,32 +2843,38 @@ nswerToken, -callback +success, error ) %7B%0A gr @@ -3322,24 +3322,23 @@ -callback +success (score, @@ -3397,24 +3397,115 @@ r = -grader.gradeTask +function(answer, answerToken, success, error) %7B%0A grader.gradeTask(answer, answerToken, success, error);%0A%7D ;%0A%0Av...
e358c4a4371bc85b6ba92d991204d884ee71fe0e
Fix typo in backend
backend/workers/psa/psa.jobs.js
backend/workers/psa/psa.jobs.js
'use strict'; var request = require('request'); var workersUtils = require('../utils'); var SERVER = 'https://api.mpsa.com/bgd/jdmc/1.0'; var CLIENT_ID = '3636b9ef-0217-4962-b186-f0333117ddcd'; var CLIENT_SECRET = 'C1xV6pC3yX7cB3jV8oM6tW4vK2mU7fV0nT6eB2fG2fO4mT7gS0'; var psaJobs = { A_PSA_SYNC: psaSyncJob, A_PSA_...
JavaScript
0.998349
@@ -3952,33 +3952,32 @@ address -, %0A
49d613bbd6817febf2cbdcdcf626992c28b44b0d
Send git commit info to sentry (#376)
bat-utils/lib/runtime-sentry.js
bat-utils/lib/runtime-sentry.js
const { URL } = require('url') const Raven = require('raven') const SDebug = require('sdebug') const underscore = require('underscore') const debug = new SDebug('sentry') const Sentry = function (config, runtime) { if (!(this instanceof Sentry)) return new Sentry(config, runtime) if (!config.sentry.dsn) { p...
JavaScript
0
@@ -163,24 +163,82 @@ ('sentry')%0A%0A +const release = process.env.HEROKU_SLUG_COMMIT %7C%7C 'test'%0A%0A const Sentry @@ -628,16 +628,29 @@ .dsn, %7B%0A + release,%0A capt
417cc44825a86b62479243ce5a197a708ea3d627
Fix hyphen typo error. (#12496)
www/src/pages/docs/index.js
www/src/pages/docs/index.js
import React from "react" import { Link } from "gatsby" import { Helmet } from "react-helmet" import Layout from "../../components/layout" import { itemListDocs } from "../../utils/sidebar/item-list" import Container from "../../components/container" import EmailCaptureForm from "../../components/email-capture-form" i...
JavaScript
0.00041
@@ -2733,17 +2733,17 @@ ead high - +- level ov
a685c50264631e297be9f6a5ec6d32a63697585b
fix linter warning
xod-espruino/src/runtime.js
xod-espruino/src/runtime.js
function nullFunc() {} var PULSE = {type: 'pulse'}; var identity = function(x) { return x; }; function identityNode() { return { evaluate: function(e) { return {PIN: e.inputs.PIN}; } }; } /** * @typedef {{ * lazy: boolean, * nodeId: number, * key: string * }} OutLink */ /** * @param {f...
JavaScript
0.000001
@@ -91,16 +91,52 @@ x; %7D;%0A%0A +/* eslint-disable no-unused-vars */%0A function @@ -229,16 +229,51 @@ %7D%0A %7D;%0A%7D +%0A/* eslint-enable no-unused-vars */ %0A%0A/**%0A
2c99dd86598742f9ad6eb4a0a0856ee47bbbdca3
Update plug-in : GettyImages
plugins/gettyimages.js
plugins/gettyimages.js
var hoverZoomPlugins = hoverZoomPlugins || []; hoverZoomPlugins.push({ name:'gettyimages.com', version:'0.1', prepareImgLinks:function (callback) { var res = []; hoverZoom.urlReplace(res, 'img[src*="gettyimages"]', /\?.*/, '' ); cal...
JavaScript
0
@@ -111,9 +111,9 @@ :'0. -1 +2 ',%0A @@ -186,127 +186,1210 @@ -%0A hoverZoom.urlReplace(res,%0A 'img%5Bsrc*=%22gettyimages%22%5D',%0A /%5C?.*/,%0A ''%0A ); + var regex = /(.*)%5C?(.*)/;%0A var patch = '$1?s=2048x2048';%0A %0A hoverZoom.urlRepla...
13222126822d2df554b93e07de0d9e0b5ac82705
update marker
webmaps/js/rm10k.js
webmaps/js/rm10k.js
function main() { var map = new L.Map('map', { zoomControl: false, center: [44.908, -75.83], zoom: 15 }); L.tileLayer( 'http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}', { ...
JavaScript
0.000001
@@ -655,14 +655,16 @@ %7D);%0A -%09%09 %0A%09%09 + // @@ -677,40 +677,22 @@ s a -red marker - with the coffee icon%0A +%0A va @@ -729,16 +729,25 @@ .icon(%7B%0A + icon @@ -753,17 +753,37 @@ n: ' -coffee',%0A +fa-flag-checkered',%0A @@ -807,15 +807,18 @@ '%0A -...
4a38af9ca804e21a40687857513237b5e9478e91
Fix test
lib/node_modules/@stdlib/math/constants/float64-sqrt-pi/test/test.js
lib/node_modules/@stdlib/math/constants/float64-sqrt-pi/test/test.js
'use strict'; // MODULES // var tape = require( 'tape' ); var SQRT_PI = require( './../lib' ); // TESTS // tape( 'main export is a number', function test( t ) { t.ok( true, __filename ); t.equal( typeof SQRT_PI, 'number', 'main export is a number' ); t.end(); }); tape( 'export is a double-precision floating-po...
JavaScript
0.000004
@@ -350,18 +350,18 @@ 85090551 -59 +60 %60', func @@ -412,18 +412,18 @@ 85090551 -59 +60 , 'equal @@ -444,10 +444,10 @@ 0551 -59 +60 ' );
e364ed1c9d577ea607042638c71a4dccd786f732
Update scripts
packages/soya-next-cli/src/index.js
packages/soya-next-cli/src/index.js
import fs from 'fs-extra'; import path from 'path'; import spawn from 'cross-spawn'; import yargs from 'yargs'; const argv = yargs .version() .usage('Usage: $0 <project-directory>') .option('verbose', { type: 'boolean', describe: 'Show more details', default: false, }) .alias('help', 'h') .alia...
JavaScript
0.000001
@@ -1350,31 +1350,8 @@ 0',%0A - main: 'server.js',%0A @@ -1379,41 +1379,149 @@ d: ' -next build',%0A start: 'node . +soya-next-scripts build',%0A eject: 'soya-next-scripts eject',%0A start: 'soya-next-scripts start',%0A test: 'soya-next-scripts test ',%0A
b70182ae9538aecb9d7587b86dd460e39a8762b6
remove address fields, singularize model name, IN PROG: model association - waiting on order-product table
db/models/order.js
db/models/order.js
'use strict' const {STRING, ARRAY, INTEGER, NOW, ENUM} = require('sequelize') module.exports = db => db.define('orders', { email: { type: STRING, validate: { isEmail: true, notEmpty: true } }, shippingHouseNum: { type: STRING, allowNull: false }, shippingZipCode: { type: I...
JavaScript
0
@@ -111,17 +111,16 @@ e('order -s ', %7B%0A e @@ -221,990 +221,132 @@ %0A s -hippingHouseNum: %7B%0A type: STRING,%0A allowNull: false%0A %7D,%0A shippingZipCode: %7B%0A type: INTEGER,%0A allowNull: false,%0A %7D,%0A shippingCity: %7B%0A type: STRING,%0A allowNull: false%0A %7D,%0A shipping...
af713c11ed1744aa53e7a68c1f61591b66e625a2
Change the vote up/down buttons into thumbs up/down.
packages/telescope-lib/lib/icons.js
packages/telescope-lib/lib/icons.js
// ------------------------------ Dynamic Icons ------------------------------ // /** * Take an icon name (such as "open") and return the HTML code to display the icon * @param {string} iconName - the name of the icon * @param {string} [iconClass] - an optional class to assign to the icon */ Telescope.utils.getIco...
JavaScript
0.000001
@@ -758,23 +758,24 @@ pvote: %22 -chevron +thumbs-o -up%22,%0A @@ -807,15 +807,16 @@ e: %22 -chevron +thumbs-o -dow
80b2361f1baa7fbbe3a2787b78427b5eb41db887
Update identification.js
mainRPi/sockets/serverSocket/identification.js
mainRPi/sockets/serverSocket/identification.js
var fs=require('fs'); var async=require('../../../async'); var constants= require('../../../constants.js'); var envVariables=require('../../../envVariables.js'); var Reading=require('../../../server/models/reading.js'); module.exports=function(socket){ socket.emit('identification', {mainRPiID: constants.MAIN_ID}, fu...
JavaScript
0.000001
@@ -903,16 +903,25 @@ itors',%7B +monitors: envVaria
640b4704bdcab69e2b2c9ea88792b2d604883a14
fix issue with empty response codes.
react-frontend/server/ForwarderService.js
react-frontend/server/ForwarderService.js
var request = require('superagent'); module.exports = function(endpoint) { return function(req, res, next) { request(req.method, endpoint + req.params.path) .set(req.headers) .send(req.body) .end( function(err, resBackend) { if(err) { console.log("Error forwarding request", endpoint, err.status);...
JavaScript
0
@@ -105,16 +105,25 @@ next) %7B%0A +%09%09try %7B%0A%09 %09%09reques @@ -167,16 +167,17 @@ ath)%0A%09%09%09 +%09 .set(req @@ -189,16 +189,17 @@ ers)%0A%09%09%09 +%09 .send(re @@ -206,16 +206,17 @@ q.body)%0A +%09 %09%09%09.end( @@ -248,16 +248,17 @@ ) %7B%0A%09%09%09%09 +%09 if(err) @@ -255,24 +255,25 @@ %0...
e4fae3bdc596fc2370a4b7beb08a839e33051e4d
Fix update schedule
view/components/users-table.js
view/components/users-table.js
'use strict'; var toNatural = require('es5-ext/number/to-pos-integer') , object = require('es5-ext/object/valid-object') , value = require('es5-ext/object/valid-value') , memoize = require('memoizee/plain') , ObservableValue = require('observable-value'...
JavaScript
0
@@ -256,24 +256,78 @@ zee/plain')%0A + , once = require('timers-ext/once')%0A , Observab @@ -2464,16 +2464,21 @@ pdate = +once( function @@ -5039,16 +5039,17 @@ true;%0A%09%7D +) ;%0A%0A%09// S
bacab5ce35107287ecfc2856a8c6b3404eb69036
rename package
www/CanvasCamera.js
www/CanvasCamera.js
// // CanvasCamera.js // PhoneGap iOS Cordova Plugin to capture Camera streaming into a HTML5 Canvas or an IMG tag. // // Created by Diego Araos <d@wehack.it> on 12/29/12. // // MIT License cordova.define("cordova/plugin/CanvasCamera", function(require, exports, module) { var exec = require('cordova/exec'); ...
JavaScript
0.000002
@@ -2071,9 +2071,12 @@ ;%0A%0A%0A -%09 + Canv @@ -2094,23 +2094,21 @@ ototype. -capture +start = funct @@ -2111,20 +2111,23 @@ unction( -data +options ) %7B%0A @@ -2134,33 +2134,77 @@ -this._camImage.src = data +cordova.exec(false, false, %22CanvasCamera%22, %22startCapture%22, %5Boptions%5D) ;%0A...
b013013ad0f2c5f971f08a94c36ce77632ce91e0
return object
www/PhotoLibrary.js
www/PhotoLibrary.js
console.log("[PhotoLibrary] installing..."); var exec = require("cordova/exec"); module.exports = { getRandomPhotos: function (howMany, callback) { console.log("[PhotoLibrary] getRandomPhotos"); if (navigator.userAgent.indexOf("Android") !== -1) { // Android done in JS (TODO) callback(null, []); } else ...
JavaScript
0.999999
@@ -416,111 +416,49 @@ %09%09%09%09 -var obj = %7B%7D;%0A +return %7B %0A%09%09%09%09%09 -obj. +%09 path - = +: path -;%0A%09%09%09%09%09if (path.indexOf('/var/mobile') !== -1) %7B +, %0A%09%09%09%09%09%09 -obj. cdvfile - = +: 'cd @@ -527,33 +527,15 @@ '') -; %0A%09%09%09%09%09%7D -%0A%0A%09%09%09%09%09retu...
1590375452e316361c717a0c089642d1958aa074
use Date in key
level-revisions.js
level-revisions.js
var after = require('after') , forkdb = require('forkdb') , streamToJSON = require('stream-to-json') , merge = require('./lib/merge') , add = function (db, key, data, callback) { var date = typeof(data.date) === 'string' ? data.date : data.date.toJSON() , meta = { key: [ key, date ] } , ...
JavaScript
0.000001
@@ -203,53 +203,17 @@ e = -typeof(data.date) === 'string' ? data.date : +new Date( data @@ -221,16 +221,8 @@ date -.toJSON( )%0A @@ -1414,11 +1414,12 @@ ey, -'0' +null %5D, @@ -1433,11 +1433,17 @@ ey, -'3' +undefined %5D %7D
7f045264ef2389eadc38b41d74636b0e269840df
Move routing reducer last in redux store
ui/src/store/configureStore.js
ui/src/store/configureStore.js
import {createStore, applyMiddleware, compose} from 'redux' import {combineReducers} from 'redux' import {routerReducer, routerMiddleware} from 'react-router-redux' import thunkMiddleware from 'redux-thunk' import makeQueryExecuter from 'src/shared/middleware/queryExecuter' import resizeLayout from 'src/shared/middlewa...
JavaScript
0
@@ -703,34 +703,8 @@ s(%7B%0A - routing: routerReducer,%0A .. @@ -808,16 +808,42 @@ oardUI,%0A + routing: routerReducer,%0A %7D)%0A%0Acons
d5b342955145fa5950507c23d800cdc4938722dc
fix tourney user mouseover badge
ui/tournament/src/view/util.js
ui/tournament/src/view/util.js
var m = require('mithril'); var partial = require('chessground').util.partial; var boardContent = m('div.cg-board-wrap', m('div.cg-board')); function miniGame(game) { return m('div', [ m('a', { key: game.id, href: '/' + game.id + (game.color === 'white' ? '' : '/black'), class: 'mini_board liv...
JavaScript
0
@@ -2178,50 +2178,22 @@ -return %7B%0A tag: tag,%0A +var attrs -: + = %7B%0A - @@ -2263,26 +2263,29 @@ '),%0A +%7D;%0A -href: +attrs%5B tag === @@ -2295,36 +2295,94 @@ ? ' -/@/' + p.name : null%0A %7D +href' : 'data-href'%5D = '/@/' + p.name;%0A return %7B%0A tag...
6eb24ce096230ac6eac561822fd8d73beb8a7acf
add asset wrappers to templateUrls
client/app/scripts/superdesk/directives/sdSlider.js
client/app/scripts/superdesk/directives/sdSlider.js
define(['angular'], function (angular) { 'use strict'; return angular.module('superdesk.slider.directives', []). /** * Slider directive * * Usage: * <div sd-slider data-value="urgency" data-list="newsvalue" data-unique="value" data-invert="true" data-update="update(...
JavaScript
0.000001
@@ -791,16 +791,26 @@ Slider', + %5B'asset', functio @@ -804,32 +804,37 @@ set', function ( +asset ) %7B%0A @@ -909,17 +909,27 @@ rl: -'scripts/ +asset.templateUrl(' supe @@ -954,16 +954,17 @@ er.html' +) ,%0A @@ -3902,15 +3902,16 @@ %7D +%5D );%0A%7D);%0A
db404aef324eee93bb85e352eab59514c576ea0b
Remove unneccesary alert
www/js/loginPage.js
www/js/loginPage.js
//window.addEventListener('load', loadHandler); function submitLogin() { jQuery(document).ready(function() { var uri = 'http://pjcdbrebuild.gear.host/api/Login'; var day = new Date(); var now = day.getTime(); var login = { 'UserName': $('#username').val(), 'Password': $('...
JavaScript
0.000014
@@ -908,43 +908,8 @@ ) %7B%0A - alert(%22failure%22);%0A @@ -982,16 +982,72 @@ rect%22);%0A + jQuery(%22#error%22).css(%22color%22, %22red%22);%0A
8123f7df8091f9091537445a8d779ccf0e0b7aca
remove log
client/assets/components/facetFields/facetFields.js
client/assets/components/facetFields/facetFields.js
(function () { 'use strict'; angular .module('fusionSeedApp.components.facetFields', ['fusionSeedApp.services.config', 'foundation.core' ]) .directive('facetFields', facetFields); /* @ngInject */ function facetFields() { return { restrict: 'EA', templateUrl: 'assets/component...
JavaScript
0.000001
@@ -570,16 +570,8 @@ Api' -, '$log' %5D;%0A%0A @@ -650,14 +650,8 @@ nApi -, $log ) %7B%0A @@ -1514,217 +1514,8 @@ %7D%0A - // $log.debug('filter observer', data.facet_counts.facet_fields%5Bvm.facetName%5D);%0A // $log.debug('filter observer', facetFields%5Bvm.facetName%5D);%0A $log.debug('fa...
09ce017cd54723957b7de2c51ac9c263ec82b925
fix android detection
modules/CustomButton/resources/customButton.js
modules/CustomButton/resources/customButton.js
( function( mw, $ ) {"use strict"; mw.PluginManager.add( 'customButton', mw.KBaseComponent.extend({ //indicates we were explicitly asked to show the button (will be used when re-enabling the button) shouldShow : false, isDisabled: false, defaultConfig: { 'parent': 'videoHolder', 'order': 20 }, ...
JavaScript
0.000005
@@ -1914,20 +1914,15 @@ w.is -MobileDevice +Android ())%7B
fc1950eaca596b8b4db7ac1863fdff02708250bf
add some initial models to dev mode
packages/models/tests/dummy/cardstack/seeds/development/ephemeral.js
packages/models/tests/dummy/cardstack/seeds/development/ephemeral.js
/* eslint-env node */ module.exports = [ { type: 'plugin-configs', id: '@cardstack/ephemeral', attributes: { module: '@cardstack/ephemeral' } }, { type: 'data-sources', id: 'default', attributes: { 'source-type': '@cardstack/ephemeral' } }, { type: 'plugin-conf...
JavaScript
0
@@ -14,16 +14,578 @@ node */ +%0Aconst JSONAPIFactory = require('@cardstack/test-support/jsonapi-factory');%0A%0Afunction initialModels() %7B%0A let initial = new JSONAPIFactory();%0A%0A initial.addResource('content-types', 'posts')%0A .withRelated('fields', %5B%0A initial.addResource('fields', 'title').wit...
9f4ae415e2bd61e0d168f236c5be911f96f8696b
Enable ES7 spread transform when using --harmony
vendor/fbtransform/visitors.js
vendor/fbtransform/visitors.js
/*global exports:true*/ var es6ArrowFunctions = require('jstransform/visitors/es6-arrow-function-visitors'); var es6Classes = require('jstransform/visitors/es6-class-visitors'); var es6Destructuring = require('jstransform/visitors/es6-destructuring-visitors'); var es6ObjectConciseMethod = require('jstransform/visitors/...
JavaScript
0.000001
@@ -599,24 +599,110 @@ visitors');%0A +var es7SpreadProperty = require('jstransform/visitors/es7-spread-property-visitors');%0A var react = @@ -1265,16 +1265,72 @@ orList,%0A + 'es7-spread-property': es7SpreadProperty.visitorList,%0A 'react @@ -1651,16 +1651,41 @@ uring',%0A + 'es7-spread-property',%0A 're...
0d361adcfd121acc740c01ac681d5fbeb76d110b
Allow hiding main window with Cmd+1
app/main.js
app/main.js
'use strict' // Handle the Squirrel.Windows install madnesss if (require('electron-squirrel-startup')) return const electron = require('electron') const contextMenu = require('./context-menu') const autoUpdater = require('./auto-updater') const dockMenu = require('./dock-menu') const errorHandlers = require('./error-...
JavaScript
0.000003
@@ -3489,32 +3489,99 @@ indow', () =%3E %7B%0A + if (mainWindow.isVisible())%0A mainWindow.hide()%0A else%0A mainWindow.s
2b609725fae135447147d7087fe87322af4db0c3
Remove unused prop
packages/node_modules/@ciscospark/react-redux-spark/src/component.js
packages/node_modules/@ciscospark/react-redux-spark/src/component.js
import {Component} from 'react'; import PropTypes from 'prop-types'; import {bindActionCreators} from 'redux'; import {connect} from 'react-redux'; import { updateSparkStatus, registerDevice, storeSparkInstance } from './actions'; import createSpark from './spark'; const metricName = { SPARK_AUTHENTICATED: { ...
JavaScript
0.000005
@@ -537,48 +537,8 @@ = %7B%0A - mercury: PropTypes.object.isRequired,%0A me @@ -2547,36 +2547,8 @@ (%7B%0A - mercury: state.mercury,%0A
9c9ad0e4061bb9aa75d863f6a6633233c7fbd626
support before save and close
src/toolbar/InsertModalFooter.js
src/toolbar/InsertModalFooter.js
import React, { PropTypes } from 'react'; import Const from '../Const'; const InsertModalFooter = ({ saveBtnText, closeBtnText, closeBtnContextual, saveBtnContextual, closeBtnClass, saveBtnClass, onModalClose, onSave }) => <div> <button type='button' className={ `btn ${closeBtnContextu...
JavaScript
0
@@ -8,16 +8,27 @@ React, %7B + Component, PropTyp @@ -80,37 +80,357 @@ t';%0A -const InsertModalFooter = (%7B%0A +%0Aclass InsertModalFooter extends Component %7B%0A%0A handleCloseBtnClick = e =%3E %7B%0A const %7B beforeClose, onModalClose %7D = this.props;%0A beforeClose && beforeClose(e);%0A onModalClo...
1bd976c7b4a5662bea03b8135688e81a6d6a21a9
fix bug: transition cannot found el
src/view/element-own-attached.js
src/view/element-own-attached.js
/** * @file 完成元素 attached 后的行为 * @author errorrik(errorrik@gmail.com) */ var bind = require('../util/bind'); var empty = require('../util/empty'); var isBrowser = require('../browser/is-browser'); var trigger = require('../browser/trigger'); var NodeType = require('./node-type'); var elementGetTransition = require...
JavaScript
0
@@ -1570,34 +1570,8 @@ ) %7B%0A - var el = this.el;%0A @@ -2177,16 +2177,21 @@ put' in +this. el) ? 'i @@ -2670,16 +2670,21 @@ switch ( +this. el.type) @@ -4064,16 +4064,21 @@ n.enter( +this. el, empt
b28a111dd27072708b99f22949eef5766f03ac27
Fix updating collections in root select widget
clients/web/src/views/widgets/RootSelectorWidget.js
clients/web/src/views/widgets/RootSelectorWidget.js
import _ from 'underscore'; import CollectionCollection from 'girder/collections/CollectionCollection'; import UserCollection from 'girder/collections/UserCollection'; import View from 'girder/views/View'; import events from 'girder/events'; import { getCurrentUser } from 'girder/auth'; import RootSelectorWidgetTempl...
JavaScript
0
@@ -2799,32 +2799,16 @@ ups, - _.bind(function (group) %7B%0A @@ -2803,16 +2803,19 @@ (group) + =%3E %7B%0A @@ -2859,44 +2859,83 @@ d', -this._updateGroup);%0A %7D, this) +() =%3E %7B%0A this._updateGroup(group);%0A %7D);%0A %7D );%0A%0A
99dd3480e96c362f09ddbbe00d59338844cb8a43
Fix progress bar width...
clients/web/src/views/widgets/TaskProgressWidget.js
clients/web/src/views/widgets/TaskProgressWidget.js
/** * This widget renders the state of a progress notification. */ girder.views.TaskProgressWidget = Backbone.View.extend({ initialize: function (settings) { this.progress = settings.progress; }, render: function () { var width = '0', barClass = [], progressClass = []; if (this....
JavaScript
0
@@ -607,16 +607,21 @@ h.round( +100 * %0A
7c3a417bece8f305549582e3051ba6d4c7f73b97
Add comment
packages/veritone-react-common/src/components/FormBuilder/helpers.js
packages/veritone-react-common/src/components/FormBuilder/helpers.js
import _ from 'lodash'; export function errorChain({ data, settings }) { return function getError(funcs) { if (_.isFunction(funcs)) { return funcs({ data, settings }); } if (_.isArray(funcs)) { for (let i = 0; i < funcs.length; i++) { const error = funcs[i]({ data, settings }); ...
JavaScript
0
@@ -18,16 +18,297 @@ dash';%0A%0A +// errorChain function which get all data and configuration from form%0A// it return a function which can get a function or an array of functions which%0A// recieve data and settings and return error text.%0A// error validation can be chained mean we can compose many validate functio...
8ba89235d5794e81a720e989724a905bf8087885
Fail the level if we run out of instructions
game/static/game/js/level.js
game/static/game/js/level.js
'use strict'; var ocargo = ocargo || {}; ocargo.Level = function(map, van, ui) { this.map = map; this.van = van; this.ui = ui; this.correct = 0; } ocargo.Level.prototype.play = function(program){ // $.post('/game/submit', JSON.stringify(program.stack)); program.startBlock.select(); var st...
JavaScript
0.998117
@@ -661,32 +661,110 @@ ated) %7B%0A + this.win();%0A %7D%0A %7D%0A%7D;%0A%0Aocargo.Level.prototype.win = function() %7B%0A console.debu @@ -778,28 +778,44 @@ win!');%0A - +ocargo.sound.win();%0A window.a @@ -832,31 +832,150 @@ win!');%0A - %7D%0A %7D +%7D;%0A%0Aocargo...
9b1ff1cc48e86dde05ac4ced8f08502a4e484c1e
fix another typo from moses
mvp_apps/mvp_deaths/views/under5_deaths/map.js
mvp_apps/mvp_deaths/views/under5_deaths/map.js
function (doc) { // !code util/mvp.js if (isChildCloseForm(doc) || isPregnancyCloseForm(doc)) { var indicators = get_indicators(doc), closed_date = new Date(doc.form.meta.timeEnd), indicator_keys = new Array(), close_reason = "", termination_reason...
JavaScript
0.999933
@@ -331,16 +331,17 @@ if + (indicat @@ -384,32 +384,34 @@ _of_death.value) + %7B %0A rep
bd16b0456bdc9e7ff61e7cebc3da197bbc5c0b04
patch for issue #291
content/overlays/calendar-event-dialog-attendees.js
content/overlays/calendar-event-dialog-attendees.js
/* * This file is part of TbSync. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; var { TbSync } = ChromeUtils.import("chrome://tbsync/cont...
JavaScript
0
@@ -474,38 +474,38 @@ ntById(%22attendee -Col3#1 +sInput %22)) %7B%0A let @@ -557,38 +557,38 @@ ntById(%22attendee -Col3#1 +sInput %22).getAttribute( @@ -724,38 +724,38 @@ ntById(%22attendee -Col3#1 +sInput %22).setAttribute( @@ -969,22 +969,22 @@ attendee -Col3#1 +sInput %22)) %7B%0A @@ -1052,22 +1052,...
50f7ed2188be840501c270d69fde38b0d47736ae
Set context menu & reattach right-click listener when recreating Tray
app/main.js
app/main.js
'use strict' const pjson = require('../package.json') const store = require('./store') const autolaunch = require('./autolaunch') const electron = require('electron') const applescript = require('applescript') const { app, globalShortcut, Tray, Menu, BrowserWindow, shell, ipcMain } = electron app.on('ready', () => ...
JavaScript
0
@@ -3255,16 +3255,101 @@ e.png%60)%0A + tray.setContextMenu(createTrayMenu())%0A tray.on('right-click', onActivate)%0A %7D%0A
6176cb55ebd73773d2572158a1ba73c2d1fd51dc
Fix config fetching for multi-activity packages
cli/activity-worker.js
cli/activity-worker.js
/** * Default worker process for swf-activity * This process is spawned for each new activity task received. * It will look in the working directory for a Node.JS module that has the same name as the activity-type */ var path = require('path'), swf = require('../index'); // The task is given to this process as...
JavaScript
0.000001
@@ -2166,22 +2166,23 @@ _config( -worker +package Name, fe
27bf1aca66791c6a060f80e0620f56a9a1d649d1
Update tcp.js
lib/adapter/tcp.js
lib/adapter/tcp.js
/** * Licensed under the MIT License * * @author Kanstantsin A Kamkou (2ka.by) * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @link https://github.com/kkamkou/node-gelf-pro */ 'use strict'; // required stuff var path = require('path'), abstract = require(path.join(__dir...
JavaScript
0.000002
@@ -461,13 +461,15 @@ s a -chunk +message to
49484945a44b92a9eb003cacf9b4554aa1356bcd
implement filter by query parameter to include or exclude
main.js
main.js
var margin = {top: 10, right: 200, bottom: 10, left: 40}, width = 1400 - margin.left - margin.right, height = 800 - margin.top - margin.bottom; offset_right = 300; var svg = d3.select("body") .append("svg") .attr("width", width + margin.left + margin.right) .attr("heigh...
JavaScript
0
@@ -590,24 +590,487 @@ 1 : 0.8 %7D)%0A + .children(function(a)%7B%0A return a.children.filter(function(e)%7B%0A var ex_pattern = getParam(%22exclude%22);%0A var in_pattern = getParam(%22include%22);%0A%0A function match(pattern)%7B%0A ...
85a39ab14d4ecbe966da2a3c1327229efb505acc
Make lint happy
cli/wildcat-codemod.js
cli/wildcat-codemod.js
#! /usr/bin/env babel-node import {echo, exit} from "shelljs"; import nomnom from "nomnom"; import fs from "fs"; import path from "path"; import {exec} from "child_process"; const transformBasePath = path.join(__dirname, "..", "transforms"); const runFirst = [ "resolve-relative-imports.js" ]; const runLast = [ ...
JavaScript
0.000047
@@ -361,17 +361,16 @@ dium.js%22 -, %0A%5D;%0A%0Acon @@ -807,19 +807,20 @@ lePath, -src +file ) =%3E %7B%0A @@ -859,19 +859,20 @@ Path%7D $%7B -src +file %7D --exte @@ -1918,12 +1918,8 @@ %7D);%0A%7D%0A -%0A%0A%0A%0A
95cbf8bb1251f54a92018a803354d5277c9ff923
Fix in data-hash. Go to #data-hash ONLY if it exists. If not, go to <a href='...'>.
main.js
main.js
"use strict"; define(["/jquery.js"], function () { var self; function init(config) { self = this; if(config.sample) { buildSampleConfiguration(config); } if (typeof this.onload === 'function') { this.onload(); } ...
JavaScript
0.0006
@@ -527,24 +527,137 @@ ons.hash) %7B%0A + if (!$(this).attr(%22data-hash%22)) %7B%0A return;%0A %7D%0A %0A
3a1ce583f4e45a3ca5760c1c8175124e9f7bb089
Fix indent
lib/assets/Json.js
lib/assets/Json.js
const errors = require('../errors'); const Text = require('./Text'); class Json extends Text { get parseTree() { if (!this._parseTree) { try { this._parseTree = JSON.parse(this.text); } catch (e) { const err = new errors.ParseError({ message: 'Json parse error in...
JavaScript
0.000854
@@ -1267,36 +1267,32 @@ slint-disable*/%0A - const parseT @@ -1340,36 +1340,32 @@ oves this._text%0A - /*eslint-ena @@ -1477,20 +1477,16 @@ sable*/%0A - cons @@ -1550,20 +1550,16 @@ s._text%0A - /*es
8409acdd8f235f6f621f296d733f6dc2b23e2bbe
Break misleading `config` object into 3 parts
main.js
main.js
(function(){ /* global VersalPlayerAPI */ // Declare a gadget class. var Gadget = function(options) { // versal interface this.vi = new VersalPlayerAPI(); // the main DOM element for attaching this.el = options.el; // the selected word this.wordEl = this.el.querySelector('span.adjective'...
JavaScript
0.000948
@@ -341,158 +341,102 @@ t's -internal state, including the default values of all attributes and learner state.%0A this.config = %7B%0A isEditable: false,%0A authorState: %7B%0A +configuration, consistent for anyone viewing each instance of this gadget%0A this.config = %7B%0A @@ -461,26 +461,24...
5725e1ea19d3e69580dd229aeacfe251a3cc624f
fix home IP address
client/www/js/index.js
client/www/js/index.js
var isBrowser = document.URL.indexOf( 'http://' ) !== -1 || document.URL.indexOf( 'https://' ) !== -1; if ( !isBrowser ) { document.addEventListener('deviceready', init, false); } else { init(); } function init() { var callerId; // PeerJS server location var SERVER_IP = '192.168.0.102'; /...
JavaScript
0
@@ -230,27 +230,8 @@ %7B%0A%0A - var callerId;%0A%0A @@ -289,17 +289,17 @@ 168.0.10 -2 +1 '; //hom
f47c3f9884dad12959f1d1f70eef88ba9d1c4e88
Update main.js
main.js
main.js
var rm = function() { $('tr.plistitem td:contains("Keeper")').parent().remove(); $('span#posList a').click(rm); }; window.onload = rm;
JavaScript
0.000069
@@ -1,10 +1,17 @@ -var rm +window.onload = f @@ -127,25 +127,4 @@ %0A%7D;%0A -%0Awindow.onload = rm;%0A
bfb515d7b8b42601ba103d86982672ef0aab3738
Add basic IPv6 support.
lib/builder/win.js
lib/builder/win.js
'use strict'; /** * A builder builds command line arguments for ping in window environment * @module lib/builder/win */ var util = require('util'); var builder = {}; /** * Cross platform config representation * @typedef {Object} PingConfig * @property {boolean} numeric - Map IP address to hostname or not * @p...
JavaScript
0.998719
@@ -1342,24 +1342,65 @@ %7D%0A %7D);%0A%0A + ret.push(_config.v6 ? '-6' : '-4');%0A%0A if (!_co
bb05936ed0550faf4b4b9448fb6c94b0ea4b6a03
Tweak buster object exposure
lib/buster-core.js
lib/buster-core.js
var buster = (function (setTimeout) { var isNode = typeof require == "function" && typeof module == "object"; var div = typeof document != "undefined" && document.createElement("div"); var F = function () {}; var buster = { bind: function bind(obj, methOrProp) { var method = typeof ...
JavaScript
0
@@ -27,16 +27,19 @@ tTimeout +, B ) %7B%0A @@ -5108,16 +5108,40 @@ n buster +.extend(B %7C%7C %7B%7D, buster) ;%0A%7D(setT @@ -5146,12 +5146,20 @@ tTimeout +, buster ));%0A
5bbace32086f827eef498d4dad3572191f6894f8
Change ipc.on to ipc.once
main.js
main.js
var app = require('app'); // Module to control application life. var request = require('request'); var BrowserWindow = require('browser-window'); // Module to create native browser window. var Menu = require('menu'); var Dialog = require('dialog'); var Fs = require('fs'); var XLSX = require('xlsx'); var ipc = require...
JavaScript
0
@@ -6759,32 +6759,34 @@ );%0A%0A ipc.on +ce ('worksheetSelec @@ -6960,16 +6960,18 @@ ipc.on +ce ('worksh
2e7632ca63a003b2e228eafdc71181a1d273c09d
Update default User-Agent header to include package version.
lib/client/http.js
lib/client/http.js
'use strict'; const http = require('http'); const url = require('url'); const utils = require('../utils'); const Client = require('../client'); /** * Constructor for a Jayson HTTP Client * @class ClientHttp * @constructor * @extends Client * @param {Object|String} [options] String interpreted as a URL * @...
JavaScript
0
@@ -137,16 +137,67 @@ lient'); +%0Aconst %7B version %7D = require('../../package.json'); %0A%0A/**%0A * @@ -1487,16 +1487,27 @@ t': -' +%60 jayson -' +-$%7Bversion%7D%60 ,%0A
c4452923bc3f675d67e9e01e48356fde78a683db
switch to my local ubuntu mqtt server for testing instead
cms/webroot/js/base.js
cms/webroot/js/base.js
window.log = function() { log.history = log.history || []; log.history.push(arguments); if(this.console){ console.log( Array.prototype.slice.call(arguments) ); } }; function BaseChannelPath() { var base_channel = "/helios/phoenix" return base_channel; } function SubChannelPath(path) { return BaseChannelPath(...
JavaScript
0
@@ -1333,26 +1333,20 @@ s:// -test.mosquitto.org +192.168.56.1 :808
012d6a1e5b173a24e7f6d99adddf4c8f1bf8d46b
remove token
main.js
main.js
var SlackClient = require("slack-client") var shuffle = require("shuffle-array") var token = "xoxb-14558007971-sBnunZdIb59EopEAKyIcLt57" // slackbot's integration token. var autoReconnect = true // Automatically reconnect after an error response from Slack. var autoMark = true // Automatically mark each message as rea...
JavaScript
0.000638
@@ -1,12 +1,37 @@ +require(%22dotenv%22).load()%0A var SlackCli @@ -116,51 +116,31 @@ n = -%22xoxb-14558007971-sBnunZdIb59EopEAKyIcLt57%22 +process.env.SLACK_TOKEN // @@ -776,20 +776,8 @@ %5B%5D%0A -%09%09users: %5B%5D%0A %09%7D%0A%09 @@ -1838,42 +1838,8 @@ %0A%7D%0A%0A -function adduser(channelID) %7B%0A%0A%...
b49b4076f4b4e471bd2cb6ac01ddc8dd48548db8
Add title method
lib/controllers.js
lib/controllers.js
/* ================================================================ * macaca-ios by xdf(xudafeng[at]126.com) * * first created at : Tue Mar 17 2015 00:16:10 GMT+0800 (CST) * * ================================================================ * Copyright xdf * * Licensed under the MIT License * You may not use t...
JavaScript
0.001495
@@ -3133,62 +3133,178 @@ %7B%0A -return yield sendCommand.call(this, 'title', %5B%5D, true) +const pages = yield this.remote.getPages();%0A if (pages.length === 0) %7B%0A throw errors.NoSuchWindow();%0A %7D%0A const latestPage = _.last(pages);%0A return latestPage.title ;%0A%7D;
a235209ce151e7f22a339135934778a29dd03048
print error message
main.js
main.js
import { perform } from "./tasks"; import fs from 'fs'; import config from "./config" function setupGoCDAuth(config) { if (config.gocd && config.gocd.auth) { const auth = config.gocd.auth; if (auth.username === "ENV_GOCD_USERNAME") { auth.username = process.env.GOCD_USERNAME; } if (auth.passwo...
JavaScript
0.000012
@@ -1042,59 +1042,105 @@ ;%0A -%7D catch(e) %7B%0A console.log(%22%5BERROR%5D%22 + new Date() + console.log(new Date(), %22%5BOK%5D%22)%0A %7D catch(e) %7B%0A console.log(new Date(), %22%5BERROR%5D%22, e.message )%0A
dc87771b99d31927c9e288e9c8f5a78f1a386adb
Fix font size, line height and selection background
main.js
main.js
define(function (require, exports, module) { "use strict"; var ExtensionUtils = brackets.getModule("utils/ExtensionUtils"); ExtensionUtils.addEmbeddedStyleSheet("* { font-size: 22px !important; line-height: 25px !important; }"); });
JavaScript
0
@@ -173,9 +173,253 @@ et(%22 -* +#sidebar *, #main-toolbar *, #titlebar *, #problems-panel *,%22+%0A%09%22#find-in-files-results *, #e4b-main-panel *, #status-bar *,%22+%0A%09%22#main-toolbar *, #context-menu-bar *, #codehint-menu-bar *,%22+%0A%09%22#quick-view-container *, #function-hint-container * %7B f @@ -444,...
400325c87b9f17abfcbebf0cf8099a33df570e40
Add some comments to the main functions
main.js
main.js
function main() { gmail3AddMsgConsumers(); gmail3.main(); } function enableDebugMode() { PropertiesService.getUserProperties().setProperty("debugEnabled", "true"); Logger.log("Debugging enabled"); } function disableDebugMode() { PropertiesService.getUserProperties().setProperty("debugEnabled", "false"); L...
JavaScript
0
@@ -1,68 +1,399 @@ -function main() %7B%0A gmail3AddMsgConsumers();%0A gmail3.main();%0A%7D%0A +/**%0A * Used to start the script. Adds a daily trigger and then begins to process%0A * messages. Once it is through processing a batch of messages it will schedule%0A * the next trigger. %0A */%0Afunction main() %7B%0A g...
7b5c13c5cbfd0d39c89d1af0913036a0999d4504
Remove unused fs
lib/customUtils.js
lib/customUtils.js
var crypto = require('crypto') , fs = require('fs') ; /** * Return a random alphanumerical string of length len * There is a very small probability (less than 1/1,000,000) for the length to be less than len * (il the base64 conversion yields too many pluses and slashes) but * that's not an issue here * The pr...
JavaScript
0.000001
@@ -28,31 +28,8 @@ o')%0A - , fs = require('fs')%0A ;%0A
f03eb3d59d77748a8e44173460eadfbc1b91a0d6
Fix file error call parameters
lib/data/Binary.js
lib/data/Binary.js
// Dependencies --------------------------------------------------------------- // ---------------------------------------------------------------------------- var fs = require('fs'), path = require('path'); // Binary Includes ------------------------------------------------------------ // -----------------------...
JavaScript
0.000001
@@ -439,16 +439,147 @@ = file;%0A +%0A if (src.substring(0, 1) === '/') %7B%0A this.src = path.join(this.file.compiler.base, src.substring(1));%0A%0A %7D else %7B%0A this @@ -627,24 +627,31 @@ ath), src);%0A + %7D%0A%0A this.sec @@ -764,24 +764,24 @@ atch(err) %7B%0A - this @@ ...
de8c845d3eaf3a7722278b0843cc83d470f17715
Update club endpoint for intake form
web/src/redux/modules/clubs.js
web/src/redux/modules/clubs.js
const LOAD = 'hackclub/clubs/LOAD' const LOAD_SUCCESS = 'hackclub/clubs/LOAD_SUCCESS' const LOAD_FAIL = 'hackclub/clubs/LOAD_FAIL' const initialState = { loaded: false } export default function reducer(state=initialState, action={}) { switch (action.type) { case LOAD: return { ...state, loading:...
JavaScript
0
@@ -870,23 +870,14 @@ ubs/ -to_be_onboarded +intake ')%0A
0417a5f3b476d2818d0d78230cedce78d61a7560
Make sure appspec.yml is bundled
webapp/tasks/config/package.js
webapp/tasks/config/package.js
import path from 'path' export default { src: [ '{bin,rhizome,datapoints,templates,env_var}/**/*.*', 'webapp*/public*/**/*.*', 'docs*/_build/**/*.*', 'manage.py', 'requirements.txt', 'settings.py', 'initial_data.xlsx' ].map(file => { return path.join(process.cwd(), '..') + '/' + fil...
JavaScript
0.000001
@@ -171,24 +171,43 @@ manage.py',%0A + 'appspec.yml',%0A 'require
19b9642886a00ec8a3171ab3b7791c2385b8b546
check mainWindow's existence before sending message
main.js
main.js
const electron = require('electron') // Module to control application life. const app = electron.app // Module to create native browser window. const BrowserWindow = electron.BrowserWindow // ipcMain module const ipcMain = electron.ipcMain; // file system module const fs = require('fs'); const path = require('path'); ...
JavaScript
0
@@ -1297,24 +1297,71 @@ how()%0A %7D)%0A%0A + // mainWindow.on('close', () =%3E %7B%0A%0A // %7D);%0A%0A // Emitted @@ -1757,60 +1757,8 @@ rr;%0A - // console.log('The file has been emptied!');%0A @@ -2819,24 +2819,52 @@ torClose');%0A + if (mainWindow) %7B%0A main @@ -2890,32 +289...
5a4ecc1dcfd8a00861f31ad926965788a0d067ef
Return support of old algorithm (changing document.location)
main.js
main.js
links = document.links; for(var i = 0; i < links.length; ++i) { href = links[i].href; if(href) { if(href.match(/http:\/\/vkontakte\.ru\/away\.php\?to=/)) { links[i].href = unescape(href.substr(32)); } if(href.match(/http:\/\/vk\.com\/away\.php\?to=/)) { links[i].href = unescape(href.substr(2...
JavaScript
0
@@ -1,112 +1,76 @@ -links = document.links;%0Afor(var i = 0; i %3C links.length; ++i) %7B%0A href = links%5Bi%5D.href;%0A if(href) %7B%0A +function replace_away_link_at(obj) %7B%0A if(!obj.href) return;%0A%0A if( + obj. href @@ -69,32 +69,33 @@ obj.href.match(/ +%5E http:%5C/%5C/vkontak @@ -107,39 +107,35 @@...
7dda8fe55cb3c05340d05cd2837e84023e7f509f
Add WebVTT subtitles drop on each browsers
main.js
main.js
function lg(s) { console.log(s); } var elBody = document.body, elVideo = document.querySelector( "video" ) ; elBody.ondragover = function() { lg("body:ondragover"); return false; }; elBody.ondrop = function( e ) { lg("body:ondrop"); elVideo.src = URL.createObjectURL( e.dataTransfer.files[ 0 ] ); elVideo.play(...
JavaScript
0
@@ -135,32 +135,33 @@ unction() %7B%0A%09lg( + %22body:ondragover @@ -161,16 +161,17 @@ ragover%22 + );%0A%09retu @@ -220,16 +220,17 @@ ) %7B%0A%09lg( + %22body:on @@ -238,92 +238,1031 @@ rop%22 + );%0A -%09elVideo.src = URL.createObjectURL( e.dataTransfer.files%5B 0 %5D );%0A%09elVideo.play(); +%0A%09var%0...
2590df1969601d12743fcc2fbc3dbd57c4ae453a
update version
main.js
main.js
// ==UserScript== // @name Warcraft Logs Enhancement // @namespace https://github.com/icyblade/warcraftlogs_enhancement // @version 0.2 // @description Some Enhancement Scripts of Warcraft Logs // @author swqsldz, kingofpowers, icyblade // @match https://*.warcraftlogs.com/* // @run-at ...
JavaScript
0
@@ -143,17 +143,17 @@ 0. -2 +3 %0A// @des
f8dfb59f53a9b4299c1899dff6303c8a10addd7b
add file->quit to non-mac
main.js
main.js
'use strict'; const electron = require('electron'); const app = electron.app; // Module to control application life. const Menu = electron.Menu; const shell = electron.shell; const core = require('./src/core/main-process'); const name = electron.app.getName(); const BrowserWindow = electron.BrowserWindow; // Module t...
JavaScript
0
@@ -4303,16 +4303,252 @@ %7D);%0A %7D + else %7B%0A template.unshift(%7B%0A label: %22File%22,%0A submenu: %5B%0A %7B%0A label: 'Quit',%0A accelerator: 'Command+Q',%0A click: function() %7B%0A app.quit();%0A %7D%0A %7D,%0A %5D%0A %7D);...
001c85f7f6d05e7b5d84ed4db8ce122bf513f5c5
Rename randomTip
main.js
main.js
fetch('tips.json') .then(response => response.json()) .then(tips => { let randomTip = tips[Math.floor(Math.random() * tips.length)]; let tipCategoryElem = document.getElementById('tip-category'); let tipTextElem = document.getElementById('tip-text'); // Update category text and class tipCatego...
JavaScript
0.001964
@@ -75,25 +75,27 @@ let -randomTip +tipOfTheDay = tips%5B @@ -336,25 +336,27 @@ ntent = -randomTip +tipOfTheDay .tool;%0A @@ -388,25 +388,27 @@ ist.add( -randomTip +tipOfTheDay .toolSlu @@ -487,25 +487,27 @@ pText = -randomTip +tipOfTheDay .text.re @@ -602,25 +602,27 @@ if ( -randomTip +tipOfTheDa...
db1474a05baf6ee21d729c25c13134259867c768
update err path for mongoose 4.x
lib/entity-base.js
lib/entity-base.js
/** * @fileOverview The entities base class. */ var __ = require('lodash'); var EntityCrudMongoose = require('node-entity').Mongoose; var appError = require('nodeon-error'); var log = require('logg').getLogger('nodeON-base.EntityBase'); /** * The base Entity Class all entities extend from. * * @constructor * @e...
JavaScript
0
@@ -1880,16 +1880,19 @@ err.err +msg .match(/ @@ -2134,16 +2134,19 @@ rror.err +msg ;%0A de
eece235c288329d48d5496e9bb9c9c6719bdd155
Use portable $(window).innerHeight() for IE8.
src/pat/modal.js
src/pat/modal.js
define([ "jquery", "../core/parser", "../registry", "./inject" ], function($, Parser, registry, inject) { var parser = new Parser("modal"); parser.add_argument("class"); var modal = { name: "modal", jquery_plugin: true, // div's are turned into modals // lin...
JavaScript
0
@@ -2427,22 +2427,25 @@ eight = +$( window +) .innerHe @@ -2440,32 +2440,34 @@ dow).innerHeight +() - $el.outerHeig @@ -3007,23 +3007,26 @@ r top = +($ (window +) .innerHe @@ -3025,24 +3025,26 @@ .innerHeight +() - $el.outer
0fd1571b82414faa2f0cae1c5619d480d72f4ab4
Fix whitespace in grep finder.
lib/finder/grep.js
lib/finder/grep.js
// 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 required by applicable...
JavaScript
0.000017
@@ -785,16 +785,17 @@ n32');%0A%0A +%0A /**%0A * A @@ -2319,18 +2319,19 @@ isWin ? - %0A + spaw @@ -2404,10 +2404,11 @@ %5D) : - %0A +
cbed2b72e7a510d35069a6cc3b46c3f8d28d2932
Update select.js
lib/form/select.js
lib/form/select.js
'use strict' var Element = require('vigour-element') var Icon = require('../icon') /** * Select element * @memberOf UIKit */ module.exports = new Element({ css: 'ui-select ui-atom ui-form-element', node: 'label', options: { node: 'select', ChildConstructor: new Element({ node: 'option' }).C...
JavaScript
0.000001
@@ -122,17 +122,16 @@ Kit%0A */%0A -%0A module.e
f330232ed5cd1384f1508bc62ac389795c7904d2
Configure bluebird.
src/polyfills.js
src/polyfills.js
import 'dom4'; import Promise from 'bluebird'; import { polyfill as smoothscroll } from 'smoothscroll-polyfill'; smoothscroll(); window.Promise = Promise;
JavaScript
0
@@ -111,46 +111,247 @@ ';%0A%0A -smoothscroll();%0Awindow.Promise = Promise +// Smooth scroll polyfill%0Asmoothscroll();%0A%0A// Make bluebird global%0Awindow.Promise = Promise;%0A%0A// Improve debugging by enabling long stack traces.. it has minimal impact in production%0APromise.config(%7B longStackTraces: true, war...
eb161bbc94c9c53ef91fb1106dd1fc60175cff36
rename vars
lib/get-loaders.js
lib/get-loaders.js
'use strict'; const resultCache = {}; const cacheMap = new Map(); const stripOutputLoader = require.resolve('./strip-output-loader'); const formatLoaders = (source) => { if (!source) return []; if (source instanceof Array) return source; return source.split('!'); }; module.exports = function getLoaders(contex...
JavaScript
0.000209
@@ -38,21 +38,23 @@ ;%0Aconst -cache +loaders Map = ne @@ -457,21 +457,23 @@ %0A if (! -cache +loaders Map.size @@ -1226,21 +1226,23 @@ -cache +loaders Map.set( @@ -1305,13 +1305,15 @@ %0A%0A -cache +loaders Map.
1f9b269a9afbc7d7c856b90f23bbe01dff4d5072
Increase maximum git stdout buffer size
lib/git-process.js
lib/git-process.js
/** @babel */ import {EventEmitter} from 'events' import path from 'path' import cp from 'child_process' function resolveGit () { // return '/usr/bin/git' // TODO [mkt/ku] why do we need this for https endpoints? if (process.platform === 'darwin') { return path.join(__dirname, '../git-distributions/git-macos/g...
JavaScript
0.000005
@@ -1134,16 +1134,53 @@ ons.env%7D +,%0A maxBuffer: 10 * 1024 * 1024 %0A %7D
508e8435705dbdbe33e7cd1a62c24c4beb690778
Use child_process.fork rather than exec when loading grunt.
lib/grunt/index.js
lib/grunt/index.js
module.exports = function (sails) { return function load (taskName, cb) { var environment = sails.config.environment; var baseurl = 'http://' + sails.config.host + ':' + sails.config.port; var signalpath = '/___signal'; var pathToSails = __dirname.replace(' ', '\\ ') + '/../..'; if (!taskName) { taskNa...
JavaScript
0
@@ -378,18 +378,8 @@ md = - 'node ' + pat @@ -427,26 +427,35 @@ runt - ' + +',%0A%09%09%09args = %5B %0A%09%09%09%09 -%09 taskName +%0A%09 @@ -450,26 +450,23 @@ taskName - +%0A%09 +,%0A %09%09%09%09' - --gdsrc= @@ -498,26 +498,23 @@ modules' - + +, %0A%09%09%09%09 -%09' +' --enviro @@ -534,26 +534,23 @@...
52254b43e3111b6dc9bc82597debd8168943b17f
add escape '
lib/html-escape.js
lib/html-escape.js
var check = [/</g,/>/g,/&/g,/"/g,/&lt;/g,/&gt;/g,/&amp;/g,/&quot;/g]; exports.escape = function (str) { str = str.replace(check[0], "&lt;"); str = str.replace(check[1], "&gt;"); str = str.replace(check[2], "&amp;"); str = str.replace(check[3], "&quot;"); return str; }; exports.unEscape = function (str) { str = st...
JavaScript
0.000038
@@ -27,16 +27,21 @@ g,/%22/g,/ +'/g,/ &lt;/g,/ @@ -65,16 +65,26 @@ &quot;/g +,/&apos;/g %5D;%0Aexpor @@ -104,32 +104,52 @@ unction (str) %7B%0A +%09str = String(str);%0A %09str = str.repla @@ -287,16 +287,56 @@ uot;%22);%0A +%09str = str.replace(check%5B4%5D, %22&apos;%22);%0A %09return @@ -375,24 +375,44 @@ ...
beb09faf82fe0e48e8bbbecd7ec420a1fe8efbc9
Fix to prevent interpolation from stomping on regex
lib/interpolate.js
lib/interpolate.js
var _ = require("underscore"); var moment = require("moment"); var named = require("named-regexp").named; function interpolate_string(string, data) { return string.replace(/<%(%?[#=+\-:\?@&\$]*)\s*(.+?)(\|(.*?))?\s*%>/g, function(match, options, key, ignore, parameters, offset, string) { var url_encode_level = 0; ...
JavaScript
0.000001
@@ -5106,16 +5106,39 @@ ject) && + !_.isRegExp(object) && !_.isFu
8b57e409403da757936e73b64c52c7e53507cb46
Use async/await
lib/linter-reek.js
lib/linter-reek.js
'use babel'; // eslint-disable-next-line import/no-extraneous-dependencies, import/extensions import { CompositeDisposable } from 'atom'; let helpers; let path; // Local variables const parseRegex = /\[(\d+)(?:, \d+)*\]:(.*) \[.+\/(.+).md\]/g; const loadDeps = () => { if (!helpers) { helpers = require('atom-l...
JavaScript
0.000001
@@ -1772,16 +1772,22 @@ lint: + async (TextEd @@ -2029,24 +2029,25 @@ loadDeps();%0A +%0A cons @@ -2060,16 +2060,26 @@ Opts = %7B +%0A cwd: pa @@ -2099,16 +2099,26 @@ lePath), +%0A ignoreE @@ -2134,20 +2134,30 @@ true +,%0A %7D;%0A +%0A retu @@ -2152,22 +2152...
380b8b558c1f57e2ffa82682c7758ea01c81bedb
Fix broken link to Docs for Intelligent Code Autocompletion
lib/maintenance.js
lib/maintenance.js
'use babel'; /** * Copyright (C) 2016 Ivan Kravets. All rights reserved. * * This source file is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. * * This program is distributed in the hope that ...
JavaScript
0
@@ -4503,14 +4503,26 @@ the -c +Intelligent C ode -a +A utoc @@ -4675,17 +4675,16 @@ om.html# -# code-com
290310848277f4352354b44106dc68841ada20c5
Fix Bug 910906 - Add contenturl to the publicFields exposed for Make schema
lib/models/make.js
lib/models/make.js
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ module.exports = function( environment, mongoInstance ) { var mongoosastic = require( "mongoosastic" ), m...
JavaScript
0
@@ -3809,16 +3809,30 @@ ntType%22, + %22contenturl%22, %22locale
81b82b05e318503935743272a3806db0627fcc07
Fix user.getByCredential()
lib/models/user.js
lib/models/user.js
const utils = require('../utils'); const bcrypt = require('bcrypt'); const mongoose = require('mongoose'); const Schema = mongoose.Schema; const userSchema = new Schema({ publicId: { type: String, required: true, unique: true }, email: { type: String, required: true }, password: { ty...
JavaScript
0.000006
@@ -2974,32 +2974,87 @@ %0A cb(err);%0A + %7D else if (fUser == null) %7B%0A cb(null, false);%0A %7D else %7B%0A
15bade582026cb69c117110aef820bec112ade9b
add more annotations, trying to prevent improper changes about the logic of type detection
lib/neuron/seed.js
lib/neuron/seed.js
/** * @preserve Neuron JavaScript Framework & Library * author i@kael.me */ /** * including sequence: see ../build.json */ /** * module seed */ /** * @param {undefined=} undef * * REMEMBER: NEVER use undefined, because writing 'undefined = true;' will bring mass catastrophe */ ;(function(K, undef){ ...
JavaScript
0
@@ -210,16 +210,17 @@ VER use +%60 undefine @@ -220,16 +220,17 @@ ndefined +%60 , becaus @@ -239,17 +239,17 @@ writing -' +%60 undefine @@ -257,17 +257,17 @@ = true; -' +%60 will br @@ -2229,32 +2229,208 @@ rn function(o)%7B%0A + %0A // never use %60toString.call(obj) ...
a61487a6f5931dc3a080b8c4b13313147f0ab789
Edit packageJson 기본갑 추가
lib/packageJson.js
lib/packageJson.js
'use strict'; var readline = require('readline'); var chalk = require('chalk'); var packageJson = { 'name': '', 'version': '0.0.0', 'description': 'Woowahan Cli App', 'main': './src/main.js', 'scripts': { 'dev': 'webpack-dev-server --config webpack.config.js --progress --inline', 'build': 'webpack --progress'...
JavaScript
0
@@ -1444,32 +1444,190 @@ ue: ''%0A%09%09%7D,%0A%09%09%7B%0A +%09%09%09question : 'Verson? (1.0.0) ',%0A%09%09%09type: 'version',%0A%09%09%09value: '1.0.0'%0A%09%09%7D,%0A%09%09%7B%0A%09%09%09question : 'Description? ',%0A%09%09%09type: 'description',%0A%09%09%09value: ''%0A%09%09%7D,%0A%09%09%7B%0A %09%09%09question ...
bcf5f2e46f5033b274e7e8b37ca1548edd17d73c
remove Authentication + hook into new infrastructure
lib/pages/index.js
lib/pages/index.js
define(['angular', 'angular-route'], function(angular) { 'use strict'; var $ = angular.element; var pagesModule = angular.module('camunda.common.pages', [ 'ngRoute' ]); function setHeadTitle(url) { var pageTitle = 'camunda Login'; if (url.indexOf('/cockpit/') !== -1) { pageTitle = 'camun...
JavaScript
0
@@ -652,26 +652,8 @@ ns', - 'Authentication', %0A @@ -698,32 +698,16 @@ ications -, Authentication ) %7B%0A%0A @@ -1722,40 +1722,8 @@ 401: -%0A Authentication.clear(); %0A%0A @@ -1771,16 +1771,17 @@ tup/#') +! == -1) %7B @@ -1777,24 +1777,77 @@ ) !== -1) %7B%0A + $location.path('/setup...