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
0b3524994502a7a53b5fbfe955aa745e6ad3299e
Add documentation to js utilities
corehq/apps/export/static/export/js/utils.js
corehq/apps/export/static/export/js/utils.js
hqDefine('export/js/utils.js', function () { var getTagCSSClass = function(tag) { var constants = hqImport('export/js/const.js'); var cls = 'label'; if (tag === constants.TAG_DELETED) { return cls + ' label-warning'; } else { return cls + ' label-default'; ...
JavaScript
0
@@ -625,166 +625,821 @@ -var readablePath = function(pathNodes) %7B%0A return _.map(pathNodes, function(pathNode) %7B%0A return pathNode.name();%0A %7D).join('.')%0A %7D;%0A +/**%0A * readablePath%0A *%0A * Takes an array of PathNodes and converts them to a string dot path....
b90d886e4128252b01779dc753251c7db79de320
simplify scale factor logic
src/components/containers/zoom-helpers.js
src/components/containers/zoom-helpers.js
import { Selection, Collection } from "victory-core"; import { throttle, isFunction } from "lodash"; const Helpers = { /** * Generates a new domain scaled by factor and constrained by the original domain. * @param {[Number, Number]} currentDomain The domain to be scaled. * @param {[Number, Number]} orig...
JavaScript
0.005012
@@ -5191,24 +5191,8 @@ rams -, max-statements %0A @@ -5532,21 +5532,20 @@ const -delta +sign = evt.d @@ -5554,42 +5554,21 @@ taY -/ 300; // TODO: Check scale factor +%3E 0 ? 1 : -1; %0A @@ -5578,43 +5578,58 @@ nst -maxD +d elta = -delta %3E 0 ? 0.75 : - +Math.min(Math.abs(evt.deltaY / 300), 0.75 ...
6d562c9dbbb2e68860c8b0922819af64981d4908
Fix linting issues for 5d6f9e049884e55d84554b5c2523e24af3bab7e0
commands/serverinfo.js
commands/serverinfo.js
"use strict"; const { Command } = require("sosamba"); class ServerCommand extends Command { constructor(...args) { super(...args, { name: "serverinfo", description: "Shows the information about the server." }); } async run(ctx) { const embed = { ...
JavaScript
0.000021
@@ -4925,36 +4925,32 @@ ) %7B%0A - case 0:%0A @@ -4929,36 +4929,32 @@ case 0:%0A - retu @@ -5001,36 +5001,32 @@ );%0A%0A - case 1:%0A @@ -5005,36 +5005,32 @@ case 1:%0A - retu @@ -5076,36 +5076,32 @@ );%0A%0A ...
ba8968e7fae1089d5b59328f53d8c80d916f99d4
Add xmlHttpRequest to sen user info to RailsAPI
options.js
options.js
document.addEventListener('DOMContentLoaded', function() { restore_options(); userRailsOauth(); document.getElementById('myonoffswitch').addEventListener('click', save_options); }); function save_options() { var twitterSwitch = document.getElementById("twitterOn").checked; var faceBookSwitch = document.getEl...
JavaScript
0
@@ -1457,16 +1457,317 @@ Info) %7B%0A + var message = JSON.stringify(userInfo);%0A%0A var xml = new XMLHttpRequest();%0A xml.open(%22POST%22, %22http://localhost:3000/api/users%22, true);%0A xml.setRequestHeader(%22Content-Type%22, %22application/x-www-form-urlencoded%22);%0A xml.setRequestHeader(%22Acc...
229a2361882dabf7ef67c171a2259fa3ef9d0610
Remove user creation from passport functionality.
config/passport.js
config/passport.js
var passport = require('passport'); var BasicStrategy = require("passport-http").BasicStrategy; var utils = require("../lib/utils"); var nconf = require('./nconf.js'); var Adapter = require(nconf.get('RIPPLE_DATAMODEL_ADAPTER')); var adapter = new Adapter(); passport.use(new BasicStrategy( function(username, passwo...
JavaScript
0
@@ -833,237 +833,41 @@ -adapter.createUser(%7B name: username, password: password %7D, function(err, user) %7B%0A // if there are no errors, allow addtional logic to be executed%0A return err ? done(err, user) : done(null, user);%0A %7D +return done('invalid credentials' );%0A
4e1ea79fe47f7502854ec855cc7aaa98f720d8ea
remove async/await from non test files
lib/bulk.js
lib/bulk.js
const mongodb = require('mongodb'); const maxBulkSize = 1000; const oid = mongodb.ObjectID.createPk; class Bulk { constructor(colName, ordered, connect, opts) { this.colName = colName; this.ordered = ordered; this.connect = connect; opts = opts || { writeConcern: { w: 1 } }; this.writeConce...
JavaScript
0
@@ -1547,14 +1547,8 @@ %0A%0A -async exec @@ -1554,18 +1554,16 @@ cute() %7B - %0A thi @@ -1616,33 +1616,32 @@ writeErrors: %5B - %5D,%0A writeCo @@ -1654,17 +1654,16 @@ rrors: %5B - %5D,%0A @@ -1776,17 +1776,16 @@ d: %5B - %5D%0A %7D%0A %0A @@ -1776,26 +1776,24 @@ d: %5B%5D%0A ...
93d2b691bdeaa54fe744e85655a1bae91c511cb8
Convert fetchMessage to messages.fetch
src/util/pageControls.js
src/util/pageControls.js
const log = require('./logger.js') class PageContainer { constructor () { this.messageList = {} } async nextPage (message) { if (this.messageList[message.id].currentPage + 1 > this.messageList[message.id].pages.length - 1) return this.messageList[message.id].currentPage++ const pageMsg = this.me...
JavaScript
0.999999
@@ -97,24 +97,87 @@ t = %7B%7D%0A %7D%0A%0A + /**%0A * @param %7Bimport('discord.js').Message%7D message%0A */%0A async next @@ -185,32 +185,32 @@ age (message) %7B%0A - if (this.mes @@ -443,36 +443,38 @@ age.channel. -fetchMessage +messages.fetch (message.id) @@ -644,16 +644,79 @@ %7D%0A %7D%0A%0A...
dbc04f487d03e8742da37725a032341f422b665e
break out the text function and add some more text
demo/demo.js
demo/demo.js
window.onload = function() { // Create a new Animator that is attached to the page's canvas element var animator = CandidCanvas.createAnimator(document.getElementById('canvas')); animator.addScenes(Scene1.get(), Scene2.get()); animator.loop(); addEventHandlers(animator); }; function ad...
JavaScript
0.000001
@@ -998,24 +998,135 @@ 080808%22));%0A%0A + // Add an element that draws some text in the middle of the screen%0A scene.addElement(Scene1.drawText);%0A%0A // Add a @@ -1156,32 +1156,32 @@ rotating circle%0A - scene.addEle @@ -2671,24 +2671,112 @@ eInRads) %7D;%0A + %7D,%0A%0A drawText: function(ani...
54b545bf36d00606996a62ae0dfa0bda2995f0db
add logging
fbm/routes/fbm.js
fbm/routes/fbm.js
var express = require('express'); var conf = require('configure'); var parser = require('body-parser'); var router = express.Router(); router.use(parser.json()); router.route('/') .get(function (req, res) { if (req.query['hub.mode'] === 'subscribe' && req.query['hub.verify_token'] === conf.fb...
JavaScript
0.000001
@@ -721,19 +721,39 @@ g('Req:' - + +);%0A console.log( req.body @@ -1004,19 +1004,47 @@ 'Entry:' - + +);%0A console.log( entry);%0A
96a152c1d496e6b25720d9dfe805d8b823800025
Remove scene causes no error anymore
src/components/fixture-list-item/index.js
src/components/fixture-list-item/index.js
import { LitElement, html } from 'lit-element' import { links } from '../../styles/links.js' /* * A fixture list item */ class FixtureListItem extends LitElement { static get properties() { return { fixture: { type: Object } } } render() { const { fixture } = this return html` ${links} ...
JavaScript
0.000001
@@ -277,16 +277,76 @@ = this%0A%0A + if (fixture === undefined) %7B%0A return html%60%60%0A %7D%0A%0A retu
0f8217e25ae0bb4aba6733600f742181a63615a5
Fix linting issues for 08775e56d21ae043e0a8e8ea9a4993a15fb173d0
commands/serverinfo.js
commands/serverinfo.js
"use strict"; const { Command } = require("sosamba"); class ServerCommand extends Command { constructor(...args) { super(...args, { name: "serverinfo", description: "Shows the information about the server." }); } async run(ctx) { const embed = { ...
JavaScript
0.000004
@@ -2053,16 +2053,17 @@ plash%5Cn%22 +; %0A @@ -3647,16 +3647,17 @@ (%22NONE%22) +; %0A
51eae1b75843e7c9e0ecdbc68357abdf433d7293
Change to jquery function callback
demo/demo.js
demo/demo.js
(function() { 'use strict'; var $window = $(window); function resizeLists() { var $categories = $('#categories'), $styles = $('#styles'); $categories.css('max-height', $window.height() / 4); $categories.perfectScrollbar('update'); $styles.height($window.height() - $styles.position()...
JavaScript
0
@@ -2446,24 +2446,8 @@ $( -document).ready( func
fa336b7a99d1ae7564985dd05d47e21e92f32f9a
Bring hide stickers icon to front when menu open.
src/components/views/rooms/Stickerpack.js
src/components/views/rooms/Stickerpack.js
/* Copyright 2015, 2016 OpenMarket Ltd Copyright 2017 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
JavaScript
0
@@ -7361,32 +7361,64 @@ omposer_stickers + mx_MessageComposer_hideStickers %22%0A
a3aa09b09a1da3180ac37012ba39b39453c4c153
Revert "Fallback to other things when keyCode is not available"
src/Native/Keyboard.js
src/Native/Keyboard.js
Elm.Native.Keyboard = {}; Elm.Native.Keyboard.make = function(localRuntime) { localRuntime.Native = localRuntime.Native || {}; localRuntime.Native.Keyboard = localRuntime.Native.Keyboard || {}; if (localRuntime.Native.Keyboard.values) { return localRuntime.Native.Keyboard.values; } var NS = Elm.Native.Signal....
JavaScript
0
@@ -450,46 +450,8 @@ Code - %7C%7C event.which %7C%7C event.charCode %7C%7C 0 %0A%09%09%7D
f5024cc03c050f14896950d1fa13b4e95b051f9c
update fileexporler 重构
myfileexporler/index.js
myfileexporler/index.js
//index.js /** * Module dependencies. */ var fs = require('fs'); fs.readdir(__dirname,function(err,files){ console.log(files); }); fs.readdir(process.cwd(), function(err,files){ console.log(''); if (!files.length) { return console.log('\033[31m No files to show!\033[39m\n'); }; console.log('Select which ...
JavaScript
0.000001
@@ -59,16 +59,64 @@ re('fs') +%0A,stdin = process.stdin%0A,stdout = process.stdout ;%0Afs.rea @@ -672,18 +672,12 @@ %09%09%09i -++;%0A%09%09%09i f( +++ i == @@ -692,16 +692,18 @@ ength)%7B%0A +/* %09%09%09%09cons @@ -857,16 +857,42 @@ 'utf8'); +*/%0A read(); %0A%0A%09%09%09%7Del @@ -922,16 +922,...
4ae9e7178c567362cf9b5fce898e93048e4b72b4
Remove console.log
lib/modules/storage/utils/transform_to_class.js
lib/modules/storage/utils/transform_to_class.js
import _ from 'lodash'; import AstroClass from '../../../core/class.js'; import resolveValues from '../../fields/utils/resolve_values.js'; function transformToClass(className, options = {}) { // Set default options. _.defaults(options, { defaults: true }); options.clone = false; return function(rawDoc) ...
JavaScript
0.000004
@@ -449,55 +449,8 @@ ) %7B%0A -%09%09%09%09console.log(typeField, rawDoc%5BtypeField%5D);%0A
f96d2c71661ec8eedbb19eef0166953a6c2f92fd
Load SwellRT even if callback was called
src/js/services/pear.js
src/js/services/pear.js
'use strict'; /** * @ngdoc function * @name Pear2Pear.service:Pear * @description * # Pear service * Provides controllers with a data model for pear to pear app * It serves as an abstraction between Pear data and backend (SwellRT) */ angular.module('Pear2Pear') .factory('pear', ['$rootScope', 'swellRT', '$q'...
JavaScript
0
@@ -2960,24 +2960,156 @@ );%0A %7D +,%0A function(error) %7B%0A console.log(error);%0A %7D);%0A %7D;%0A%0A if (window.SwellRT) %7B%0A window.onSwellRTReady( );%0A %7D%0A%0A
80a7df5b00042c1af09526f6c2591f8a1e973b05
Remove default value for data in the batch reduce
src/js/structs/Batch.js
src/js/structs/Batch.js
/** * An immutable batch is an ever growing batch with a reduce capability. * * This can be used to keep action transactions that can be applied through * a set of reducers to a data set in order to transform it. * * Why 'Batch'? Because it's not really a `Stack`, since you cannot `pop` * items from it. Also not...
JavaScript
0.000001
@@ -2230,13 +2230,8 @@ data - = %7B%7D ) %7B%0A
5aa4df86ef92e738113973a898938f24b6c5c612
Update to BEM modifier-class
src/cookies-eu-banner.js
src/cookies-eu-banner.js
; // jshint ignore:line (function (root, factory, undefined) { 'use strict'; if (typeof define === 'function' && define.amd) { define([], factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { // root is window root.CookiesEuBanner = factory(); } }(window, fun...
JavaScript
0
@@ -5399,16 +5399,35 @@ st.add(' +cookies-eu-banner-- before-r
91d5cec520061c33ca2f967d2039cb4ccd2868bb
clean up
lib/commands/Command.js
lib/commands/Command.js
var Base = require('../core/Base'); var _super = Base.prototype; var fs = require('fs'); var child_process = require('child_process'); var npath = require('path'); module.exports = Base.extend({ 'lineDelimiter': '\n\n', 'lines': [], 'padding': ' ', 'logLines': function () { var self = this; sel...
JavaScript
0.000001
@@ -1188,24 +1188,25 @@ odulePath);%0A +%0A if (!mod
24eecae9026c49bb0dbd86a6b5f209b38b80ce9d
Add blank lines before and after when appending env vars
generators/utils.js
generators/utils.js
import { template, last, isEmpty, dropRight } from 'lodash'; const path = require('path'); const archiver = require('archiver'); const shortid = require('shortid'); const fs = require('fs-extra'); const Promise = require('bluebird'); const cpy = require('cpy'); const copy = Promise.promisify(fs.copy); const readFile =...
JavaScript
0.000003
@@ -6559,16 +6559,23 @@ ile(env, + '%5Cn' + vars.jo @@ -6582,13 +6582,20 @@ in('%5Cn') + + '%5Cn' );%0A%7D%0A
945cf2ea01137cb38619adbf3f278160013666ae
Change option 'maxresults' to 'limit'
lib/code.js
lib/code.js
var exec = require('child_process').exec; var _ = require("lodash"); var path = require("path"); var exclureDirs = require("./data/excludedirs"); var extensions = require("./data/extensions"); var escapeRegExp = function(str) { return str.replace(/([.*+?\^${}()|\[\]\/\\])/g, '\\$1'); }; var escapeShell = functio...
JavaScript
0.999883
@@ -2162,26 +2162,21 @@ -maxresults +limit : null%0A @@ -3647,26 +3647,21 @@ options. -maxresults +limit ) flags. @@ -3694,18 +3694,13 @@ ons. -maxresults +limit , 10
8aa7a2b1b2f350d43769e5f9955a02bf8e122ea9
load all the fonts
demo/demo.js
demo/demo.js
DefineModule('main', function (require) { var CanvasRenderer = require('pxlr/gl/canvas'); //var font = require('pxlr/fonts/arcade-small'); var font = require('pxlr/fonts/elian'); function changeFont(font) { return function () { console.log(font); }; } document.getEl...
JavaScript
0.000004
@@ -91,22 +91,21 @@ ');%0A +%0A -// var font = r @@ -92,34 +92,109 @@ );%0A%0A var font +s = + %7B%0A 'arcade': require('pxlr/fonts/arcade'),%0A 'arcade-small': require('pxlr/f @@ -216,52 +216,141 @@ ll') -; +, %0A -var font = require('pxlr/fonts/elian') + 'phoenix': require('px...
9810b19e139279066337077d4d23f23c61144adb
add assertion, https://github.com/phetsims/phet-io-test-sim/issues/13
js/PhetioCapsule.js
js/PhetioCapsule.js
// Copyright 2019-2020, University of Colorado Boulder /** * A PhET-iO class that encapsulates a PhetioObject that is not created during sim startup to provide PhET-iO API * validation, API communication (like to view in studio before creation), and to support PhET-iO state if applicable. * * Constructing a Phetio...
JavaScript
0
@@ -2175,24 +2175,106 @@ Setting ) %7B%0A + assert && assert( this.element, 'cannot dispose if element is not defined' );%0A super.di
92a968d7ca2e59e875d4d4dacc01c86e0d9fc300
Add missing js update.
lib/codo.js
lib/codo.js
(function() { var Generator, Parser, findit, fs, util; fs = require('fs'); util = require('util'); findit = require('findit'); Parser = require('./parser'); Generator = require('./generator'); exports.run = function() { var arg, args, argv, bool, codoopts, config, configs, extra, filename, input...
JavaScript
0
@@ -1132,20 +1132,19 @@ ile used -. ',%0A + %22d @@ -1274,17 +1274,16 @@ warnings -. ',%0A @@ -1425,17 +1425,16 @@ irectory -. ',%0A @@ -1575,17 +1575,16 @@ g errors -. ',%0A @@ -1699,16 +1699,16 @@ 'help',%0A + de @@ -1729,17 +1729,16 @@ the help -. '%0A %7D)
b5c3fa629f9ce258010d7fadc4582dc3d5a7122c
add propertyIds to state
src/containers/entitysetsearch/UserRow.js
src/containers/entitysetsearch/UserRow.js
import React, { PropTypes } from 'react'; import { Button } from 'react-bootstrap'; import { Table, Column, Cell } from 'fixed-data-table'; import PropertyTextCell from './PropertyTextCell'; import userProfileImg from '../../images/user-profile-icon.png'; import styles from './styles.module.css'; const TABLE_WIDTH = 1...
JavaScript
0.000001
@@ -631,16 +631,39 @@ mRows: 1 +,%0A propertyIds: %5B%5D %0A %7D%0A @@ -700,22 +700,26 @@ const -numRow +propertyId s = this @@ -735,16 +735,84 @@ rtyIds() +;%0A this.setState(%7BpropertyIds%7D);%0A%0A const numRows = propertyIds .length; @@ -2292,36 +2292,39 @@ pertyIds = this. -getP +state.p ...
f8a565f6861c5af79037f9b23c0c6cbf04089850
Fix non nullable plugin properties. Ref issue #288.
assets/js/app/plugins/plugin-helper-service.js
assets/js/app/plugins/plugin-helper-service.js
/** * This file contains all necessary Angular controller definitions for 'frontend.admin.login-history' module. * * Note that this file should only contain controllers and nothing else. */ (function() { 'use strict'; angular.module('frontend.plugins') .service('PluginHelperService', [ ...
JavaScript
0
@@ -3393,16 +3393,80 @@ !== %22%22%0A + && fields%5Bkey%5D.value !== null%0A
599ff84902edc48c18a43ffe2ac3462695fee704
remove console.log in watcher
app/src/core/watcher.js
app/src/core/watcher.js
// watch the graph for changes const nodes = (graphNodes, cy) => { console.log(graphNodes.same(cy.nodes())) // add the files location to the title bar const titleBar = document.getElementById('title-bar-id') if (graphNodes.same(cy.nodes()) === false) { // add the files location to the title bar titleB...
JavaScript
0.000001
@@ -64,96 +64,8 @@ =%3E %7B -%0A console.log(graphNodes.same(cy.nodes()))%0A // add the files location to the title bar %0A%0A @@ -121,16 +121,17 @@ ar-id')%0A +%0A if (gr
96d647b4749adfd4576760e3e899c20f054ed1f1
fix for durations over an hour
src/utils/format-time.js
src/utils/format-time.js
export default function formatTime(current) { let h = Math.floor(current / 3600) let m = Math.floor(current / 60) let s = Math.floor(current % 60) if (s < 10) { s = '0' + s } if (h > 0) { return h + ':' + m + ':' + s } else { return m + ':' + s } }
JavaScript
0.001975
@@ -97,23 +97,38 @@ h.floor( +( current + - (h * 3600)) / 60)%0A
a98236c5e7f09068bd7dff8744ca11bc6b7ef2e2
Fix bug introduced from messed up merge.
lib/control/v1/index.js
lib/control/v1/index.js
'use strict'; const Handlers = require('../util').Handlers; const Err = require('../util').Err; const VerifyHeaders = require('../util').VerifyHeaders; exports.attach = function(app, storage) { app.get('/v1/health', require('./health')(storage)); app.get('/v1/token/default', require('./token')(storage)); // Ba...
JavaScript
0
@@ -189,16 +189,121 @@ rage) %7B%0A + app.use(VerifyHeaders(%5B'POST', 'PUT'%5D, %7B%0A 'Content-Type': 'application/json; charset=utf-8'%0A %7D));%0A%0A app.ge
4b9f97736fa4457c47b62adc39a08e4c0dc8c4d6
add expiration
models/user_model.js
models/user_model.js
var mongoose = require('mongoose'); var bcrypt = require('bcrypt-nodejs'); var jwt = require('jsonwebtoken'); var UserSchema = mongoose.Schema({ username: { type: String }, password: { type: String } }); UserSchema.pre('save', function(callback) { var user = this; // Break out if the password has...
JavaScript
0.999644
@@ -793,13 +793,43 @@ ._id -, %0A - +%7D, secret, %7B algorithm: 'RS256', exp @@ -847,21 +847,10 @@ es: -1%0A %7D, secret +5%7D );%0A
525e8b5c492f32d7eefc110504452cd7240f06be
add console log when server starts
app/src/server/index.js
app/src/server/index.js
'use strict' require('./debug.js')() const path = require('path') const fs = require('fs') const express = require('express') const helmet = require('helmet') // TODO: article about all header this provides const morgan = require('morgan') const responseTime = require('response-time') const compression = require('co...
JavaScript
0.000002
@@ -1711,10 +1711,70 @@ fig.port +, () =%3E console.log('server started at port ' + config.port) )%0A
deae9746f296561e682f6d9a0dcf5c50a58c3dfc
Clean debug logs
components/CEButton.js
components/CEButton.js
import React from 'react'; import InteropHelper from 'components/InteropHelper'; import { Button } from 'react-bootstrap'; import svg from 'components/resources/ico/Compiler-Explorer.svg'; class CEButton extends React.Component { compilerCeId(opt) { if (opt.compiler.startsWith('clang')) return...
JavaScript
0.000002
@@ -1143,92 +1143,8 @@ ) %7B%0A - console.log(%22texts: %22 + texts);%0A console.log(%22options: %22 + options);%0A
51aa5a7bd6b8774528fb79d54a3cbc60a6963da5
Correct getWorkDir() typo
lib/controllers/git-tab-header-controller.js
lib/controllers/git-tab-header-controller.js
import React from 'react'; import PropTypes from 'prop-types'; import {CompositeDisposable} from 'atom'; import {nullAuthor} from '../models/author'; import GitTabHeaderView from '../views/git-tab-header-view'; export default class GitTabHeaderController extends React.Component { static propTypes = { getCommitte...
JavaScript
0.998428
@@ -2638,58 +2638,18 @@ his. -state.changingWorkDir %7C%7C this.props.curren +ge tWorkDir , ne @@ -2644,16 +2644,18 @@ tWorkDir +() , nextLo @@ -3454,25 +3454,27 @@ .state.chang -e +ing WorkDir !==
19d9e38441c064ec780bbf7a86895ec6332783d4
update travis commands and reference
src/utils/get-scripts.js
src/utils/get-scripts.js
import fs from 'fs'; import path from 'path'; import yaml from 'js-yaml'; import lodash from 'lodash'; const scriptCache = {}; export function clearCache() { Object.keys(scriptCache).forEach((key) => { scriptCache[key] = undefined; }); } function getCacheOrFile(key, fn) { if (scriptCache[key]) { return...
JavaScript
0
@@ -452,16 +452,17 @@ ce: http +s ://docs. @@ -484,42 +484,13 @@ ser/ -customizing-the-build/#The-Build-L +job-l ifec @@ -558,16 +558,34 @@ cript',%0A + 'before_cache',%0A 'after @@ -596,12 +596,14 @@ cess - or +',%0A ' afte @@ -625,32 +625,44 @@ before_deploy',%0A + 'deploy',%0A 'after_deploy'
2b7c972c01cdcb06328b5ddeb7042f4ad35f2dea
add config options for mongo just to give some flexiblity
config_template.js
config_template.js
'use strict'; module.exports = { discord: { token: "DISCORD_TOKEN", adminRole: "Modteam" }, modules: { db : { url: "mongodb://localhost:27017/des" }, destiny: { apikey: "BUNGIE_TOKEN", url: "https://www.bungie.net/Platform/Destiny...
JavaScript
0
@@ -157,44 +157,339 @@ -url: %22mongodb://localhost:27017/des%22 +// Update url with actual mongo connection string. %0A url: %22mongodb://localhost:27017/des%22,%0A // all options are optional%0A options: %7B %0A uri_decode_auth: %22%22%0A db: %22%22...
c2da5d736447ba1ac554a253d7c20429817c08d3
Make LAN the default URL type (#2841)
src/ProjectSettings.js
src/ProjectSettings.js
/** * @flow */ import _ from 'lodash'; import JsonFile from '@expo/json-file'; import fs from 'fs'; import mkdirp from 'mkdirp'; import path from 'path'; let projectSettingsFile = 'settings.json'; let projectSettingsDefaults = { hostType: 'tunnel', lanType: 'ip', dev: true, minify: false, urlRandomness: n...
JavaScript
0.000088
@@ -239,22 +239,19 @@ tType: ' -tunnel +lan ',%0A lan
fc8633b94d540989671845d1e5d611f689559278
Update assets/js/modules/adsense/datastore/service.js
assets/js/modules/adsense/datastore/service.js
assets/js/modules/adsense/datastore/service.js
/** * modules/adsense data store: service. * * Site Kit by Google, Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/L...
JavaScript
0
@@ -1836,16 +1836,20 @@ ense/new +/u/0 ';%0A%09%09con
e1984cd51accec2fb3d5bf9340bba8245ce98a81
modify slider code to use statechange event
app/static/js/script.js
app/static/js/script.js
var VPR = VPR || {}; VPR.activeIndex = VPR.submissions.indexOf(VPR.activeSlide); var slider = $('.bxslider').bxSlider({ infiniteLoop: false, controls: false, startSlide: VPR.activeIndex - 1 }); $('#slider_next').click(function(event) { event.preventDefault(); slider.goToNextSlide(); ++VPR.activeInd...
JavaScript
0
@@ -32,16 +32,57 @@ eIndex = + typeof VPR.submissions !== 'undefined' ? VPR.sub @@ -114,16 +114,23 @@ veSlide) + : null ;%0A%0Avar s @@ -163,16 +163,18 @@ lider(%7B%0A + infini @@ -190,16 +190,18 @@ alse,%0A + + controls @@ -209,16 +209,18 @@ false,%0A + startS @@ -240,20 +240,16 @@ iveIndex - ...
790d326ea0095168eb3b96113bafb93c25649a51
fix var reference issue
src/core/subscription.js
src/core/subscription.js
import * as os from 'os'; import * as moment from 'moment'; import Tyr from '../tyr'; import Collection from './collection'; import Query from './query'; const Subscription = new Collection({ id: '_t3', name: 'tyrSubscription', client: false, fields: { _id: { is: 'mongoid' }, u: { link: 'user', la...
JavaScript
0
@@ -1546,24 +1546,33 @@ listener && +listener. changeHandle @@ -1581,16 +1581,25 @@ ereg && +listener. changeHa
ae5cd5e49fda871713661c4b2ae21c06b005c44f
add code tag spec
spec/doc-renderer/custom-filters/code.spec.js
spec/doc-renderer/custom-filters/code.spec.js
var rewire = require('rewire'); var filter = rewire('../../../lib/doc-renderer/custom-filters/code'); describe("code custom filter", function() { var markedMock; beforeEach(function() { markedMock = jasmine.createSpy('marked').andReturn('<code>bar</code>'); filter.__set__('marked', markedMock); }); it...
JavaScript
0.000001
@@ -163,158 +163,8 @@ k;%0A%0A - beforeEach(function() %7B%0A markedMock = jasmine.createSpy('marked').andReturn('%3Ccode%3Ebar%3C/code%3E');%0A filter.__set__('marked', markedMock);%0A %7D);%0A it @@ -328,31 +328,30 @@ tion -, wrapped in back-ticks + into highlighted code %22, f @@ -394,93 +394,298 @@ s...
182662eb2607a115586406d0edda88cb5072d27f
comment out mongo connection
devServer.js
devServer.js
var path = require('path'); var express = require('express'); var webpack = require('webpack'); var config = require('./webpack.config.dev'); var app = express(); var compiler = webpack(config); app.use(require('webpack-dev-middleware')(compiler, { noInfo: true, publicPath: config.output.publicPath })); app.use(...
JavaScript
0
@@ -527,16 +527,19 @@ oose');%0A +// mongoose
b93b59119f6f1a189d54c946f258ac12ebd2e5e4
Fix #124 - include error details in mocha unit test results - use the 'tap' eror reporter instead of xunit because 'xunit' does not print the trace.
Nodejs/Product/Nodejs/TestFrameworks/mocha/mocha.js
Nodejs/Product/Nodejs/TestFrameworks/mocha/mocha.js
var fs = require('fs'); var find_tests = function (testFileList, discoverResultFile, projectFolder) { var Mocha = detectMocha(projectFolder); if (!Mocha) { return; } function getTestList(suite, testFile) { if (suite) { if (suite.tests && suite.tests.length !== 0) { ...
JavaScript
0
@@ -1938,16 +1938,17 @@ // + Choose ' xuni @@ -1943,21 +1943,19 @@ Choose ' -xunit +tap ' rather @@ -2009,16 +2009,17 @@ ,%0A // + mocha pr @@ -2090,16 +2090,81 @@ s fine %0A + // And 'xunit' does not print the stack trace from the test.%0A moch @@ -2175,21 +2175,19 @@ porter(' -xunit +tap ');%...
ab41e46437ee5938ddab78ba8ea862258b9e79ef
Default name '[unnamed]' if existing name is empty
lib/EntrySelector/EntrySelector.js
lib/EntrySelector/EntrySelector.js
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; import Switch from 'react-router-dom/Switch'; import Route from 'react-router-dom/Route'; import Link from 'react-router-dom/Link'; import Icon from '../Icon'; import Paneset from '../Paneset'; import Pane from '../Pane'; import Pan...
JavaScript
0.999286
@@ -2448,24 +2448,45 @@ (e.id)%7D%3E +xx %7Be.name -%7D + %7C%7C '%5Bunnamed%5D'%7D yy %3C/Link%3E%0A
5f2373314f039c5f48820b01bd01d64306f16c02
correct code for spinner
demo/views/misc/spinner-demo/spinner-demo.js
demo/views/misc/spinner-demo/spinner-demo.js
import React from 'react'; import { connect } from 'utils/flux'; import AppStore from './../../../stores/app'; import AppActions from './../../../actions/app'; import Example from './../../../components/example'; import Spinner from 'components/spinner'; import Row from 'components/row'; import RadioButton from 'compo...
JavaScript
0.000181
@@ -972,18 +972,17 @@ += %60 as= -%7B +' $%7Bthis.v @@ -992,18 +992,17 @@ e('as')%7D - %7D +' %60%0A ht @@ -1014,18 +1014,17 @@ %60 size= -%7B +' $%7Bthis.v @@ -1036,18 +1036,17 @@ 'size')%7D - %7D +' %60%0A ht
1541bc0ee773c20594aab9a7b330d4f7559d31c7
Add the ga -> GA acronym into the base tag manager store.
assets/js/modules/tagmanager/datastore/base.js
assets/js/modules/tagmanager/datastore/base.js
/** * `modules/tagmanager` base data store * * Site Kit by Google, Copyright 2021 Google LLC * * 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 * * https://www.apache.org/licenses/L...
JavaScript
0.000001
@@ -1342,32 +1342,49 @@ tAmpContainerID, + setGaPropertyID, ...restActions @@ -1396,16 +1396,16 @@ ctions;%0A - %09// esli @@ -1473,16 +1473,33 @@ ainerID, + getGaPropertyID, ...rest @@ -1667,24 +1667,113 @@ ontainerID,%0A +%09%09%09// eslint-disable-next-line sitekit/acronym-case%0A%09%09%09setGAPropertyID: ...
de965dbb184beba300503c8a9d42f41d8173879e
Fix picked color sometimes undefined
notSquare.js
notSquare.js
var squares = document.querySelectorAll(".square"); var colors = []; for (var i = squares.length - 1; i >= 0; i--) { colors.push(getRandomRGB()); } var pickedColor = colors[getRandomInt(0, colors.length + 1)]; var h1 = document.querySelector('h1'); var t = document.createTextNode(' ' + pickedColor); h1.appendChild...
JavaScript
0.000001
@@ -204,12 +204,8 @@ ngth - + 1 )%5D;%0A @@ -990,30 +990,8 @@ e %7B%0A - alert(%22WRONG!%22)%0A
72e8b0e9d1989b6506cfee32c9df00f34bbc26b9
sort city names
js/chart.js
js/chart.js
define(["d3", "lodash", "baseChart", "heatMap"], function(d3, _, BaseChart, HeatMap) { // base svg chart, which auto resizes to fit containing element var module = function($chartNode, customOptions, extendedEvents) { var sensorMap = null; var cities = null; var localEvents = []; var localOptions = {}; var...
JavaScript
0.999861
@@ -894,17 +894,16 @@ %C3%A8ve%22: 3, - %0A%09 %22%E0%B2%AC%E0%B3%86%E0%B2%82 @@ -912,17 +912,16 @@ %E0%B3%82%E0%B2%B0%E0%B3%81%22: 4, - %0A%09 %22Rep @@ -1941,17 +1941,87 @@ cityMap) -; +.sort(function(a,b)%7B%0A return cityOrder%5Ba%5D - cityOrder%5Bb%5D;%0A %7D);%0A %0A cit @@ -2483,76 +2483,8 @...
6192fcbb32065a56cb0e5b4b4afac8805d5c4629
add missing braces - fixed
lib/xlsx/xform/drawing/two-cell-anchor-xform.js
lib/xlsx/xform/drawing/two-cell-anchor-xform.js
/** * Copyright (c) 2016-2017 Guyon Roche * LICENCE: MIT - please refer to LICENCE file included with this module * or https://github.com/guyonroche/exceljs/blob/master/LICENSE */ 'use strict'; var utils = require('../../../utils/utils'); var colCache = require('../../../utils/col-cache'); var BaseXform = require...
JavaScript
0
@@ -1478,16 +1478,17 @@ %7B%0A if + (model.r @@ -1499,16 +1499,18 @@ .editAs) + %7B %0A x @@ -1571,21 +1571,25 @@ s%7D);%0A + %7D else + %7B %0A x @@ -1617,16 +1617,22 @@ s.tag);%0A + %7D%0A mode @@ -1665,32 +1665,33 @@ .range.editAs == += 'oneCell';%0A @@ -1736,16 +1736,17 @@ ...
120042fc5b4fdd83adf77aaf07f73ced60a5868b
Fix 'specified' typo in parseOptionsTest
test/parseOptionsTest.js
test/parseOptionsTest.js
import {expect} from 'chai'; import commander from 'commander'; import parseOptions from './../src/parseOptions'; function parse(argv) { return parseOptions(['node', 'script.js'].concat(argv)); } describe('Command Line Interface', () => { // Command line parser uses commander which has global state. // To be ab...
JavaScript
0.022184
@@ -639,16 +639,17 @@ s specif +i ed :(');
d3b66daf1e8e87fdc6d990a314cd02eca94b2f68
Fix bug for non sentral users, causing JS to break.
public/scripts/models/user.js
public/scripts/models/user.js
/* * Copyright (c) $year, Den Norske Turistforening (DNT) * * https://github.com/Turistforeningen/turadmin */ define(function (require, exports, module) { "use strict"; // Dependencies var $ = require('jquery'), _ = require('underscore'), Backbone = require('backbone'), state =...
JavaScript
0
@@ -4896,34 +4896,34 @@ -this.set('gruppe', +var defaultGroup = sentral @@ -4923,34 +4923,24 @@ sentralGroup -.object_id %7C%7C forening @@ -4940,34 +4940,24 @@ oreningGroup -.object_id %7C%7C turlagGr @@ -4959,26 +4959,16 @@ lagGroup -.object_id %7C%7C turg @@ -4981,20 +4981,319 @@ roup -.object_...
3f4f08a4274e111e9cdfd7c697311a65a3292a52
Fix prototype resolution
polyfill.js
polyfill.js
'use strict'; var clear = require('es5-ext/array/#/clear') , eIndexOf = require('es5-ext/array/#/e-index-of') , setPrototypeOf = require('es5-ext/object/set-prototype-of') , callable = require('es5-ext/object/valid-callable') , validValue = require('es5-ext/object/valid-value') , d ...
JavaScript
0.000002
@@ -1001,18 +1001,43 @@ totypeOf -) +&& (Map !== MapPoly)) %7B%0A%09%09 self = s @@ -1089,13 +1089,19 @@ );%0A%09 +%7D else +%7B%0A%09%09 self @@ -1109,16 +1109,19 @@ = this;%0A +%09%7D%0A %09if (ite
0adadb55dd355843459257f11a8e730832465a72
Fix for gdata extension
extensions/gdata/module/scripts/project/exporters.js
extensions/gdata/module/scripts/project/exporters.js
/* Copyright 2011, Google Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following discla...
JavaScript
0
@@ -1491,16 +1491,264 @@ .%0A%0A */%0A%0A +var dictionary = %22%22;%0A$.ajax(%7B%0A%09url : %22/command/gdata/load-language?%22,%0A%09type : %22POST%22,%0A%09async : false,%0A%09data : %7B%0A%09%09lng : lang%0A%09%7D,%0A%09success : function(data) %7B%0A%09%09dictionary = data;%0A%09%7D%0A%7D);%0A$.i18n.setDictionary(...
05ecddf8052d332f210437d5df663ca43a8093a4
better unique filter
lib/workers/repository/extract/file-match.js
lib/workers/repository/extract/file-match.js
const minimatch = require('minimatch'); module.exports = { getIncludedFiles, filterIgnoredFiles, getMatchingFiles, }; function getIncludedFiles(fileList, includePaths) { if (!(includePaths && includePaths.length)) { return fileList; } return fileList.filter(file => includePaths.some( include...
JavaScript
0.999625
@@ -1004,112 +1004,27 @@ s%0A -matchedFiles = matchedFiles.filter(%0A (item, pos) =%3E matchedFiles.indexOf(item) === pos%0A );%0A return +return %5B...new Set( matc @@ -1031,12 +1031,14 @@ hedFiles +)%5D ;%0A%7D%0A
65d59f2e4088b821024d7a4979d7907d62eefc17
Check for errors when creating a new post
src/js/views/omnibox.js
src/js/views/omnibox.js
console.log('views/omnibox.js') /** * Handle interactions with the Chrome omnibox */ window.OmniboxView = Backbone.View.extend({ initialize: function() { _.bindAll(this); }, // events: { }, /** * Gets called when the user hits enter in the omnibox */ onInputEntered: function(text) { if (...
JavaScript
0
@@ -728,16 +728,27 @@ rors%0A + var save = post.sa @@ -928,16 +928,94 @@ %7D);%0A + if (save == false) %7B%0A post.error('Post length was too long.');%0A %7D%0A %7D,%0A%0A%0A
f8b6620e5a1dbd227379088182f27781b0550cae
fix frame url calculation #31
js/contentscript.js
js/contentscript.js
var frameURL = window.location.href; var isTopFrame = (window.parent == window); // Receives messages from the inspected page frame and redirects them to the background, // building up the first step towards the communication between the backbone agent and the panel. window.addEventListener("message", function(event) ...
JavaScript
0.000001
@@ -1,40 +1,177 @@ -var frameURL = window.location.href; +// as per chrome, frameURL is the original frame url without eventual hash string%0Avar frameURL = window.location.origin + window.location.pathname + window.location.search;%0A %0Avar
6dc8c35f69a016365b50e0c4854acfcdc9c1aba5
remove login information (sis id, etc) from user profile page
public/sfu/js/collab_space.js
public/sfu/js/collab_space.js
(function($) { var utils = { onPage: function(regex, fn) { if (location.pathname.match(regex)) fn(); }, hasAnyRole: function(/*roles, cb*/) { var roles = [].slice.call(arguments, 0); var cb = roles.pop(); for (var i = 0; i < arguments.length; i++) {...
JavaScript
0
@@ -2122,16 +2122,168 @@ %7D);%0A%0A + // remove SIS ID from user profile%0A utils.onPage(/%5E%5C/courses%5C/%5Cd+%5C/users%5C/%5Cd+$/, function() %7B%0A $('#login_information').remove();%0A %7D);%0A%0A %7D)(jQuer
516955ef133f52bcd5e93f831efe995abe4c6afc
add flux dependency to loader decorator
src/decorators/loader.js
src/decorators/loader.js
import React from 'react'; export default function(target) { target.prototype.__defineGetter__('loader', function() { return this.context.flux.loader; }); };
JavaScript
0
@@ -4,25 +4,25 @@ ort -React +flux from ' -react +./flux ';%0A%0A @@ -54,16 +54,31 @@ arget) %7B +%0A%09flux(target); %0A%0A%09targe
d48069597812ade4d0f9e8361fe2bf75395a99ac
Add measurements controller
src/MCM.KidsIdApp/www/scripts/app.js
src/MCM.KidsIdApp/www/scripts/app.js
// Ionic Starter App // angular.module is a global place for creating, registering and retrieving Angular modules // 'starter' is the name of this angular module example (also set in a <body> attribute in index.html) // the 2nd parameter is an array of 'requires' var app = angular.module('mcmapp', ['ionic', 'ionic-dat...
JavaScript
0.000001
@@ -588,32 +588,51 @@ indow.tinyHippos + %7C%7C !window.cordova ) %7B%0A cons @@ -4024,24 +4024,200 @@ ller'%0A %7D) +%0A %0A .state('measurements', %7B%0A url: 'measurements/:childId',%0A templateUrl: 'templates/measurements.html',%0A controller: 'measurementsController'%0A %...
01b4ff499ffc9f26565149bddd135ceea5a59837
allow plugins to drag onto page
RcmAdmin/public/js/admin/ajax-plugin-edit-helper.js
RcmAdmin/public/js/admin/ajax-plugin-edit-helper.js
/** * <AjaxPluginEditHelper|ajax-plugin-edit-helper> * Provides shared ajax editing functionality * * @constructor */ var AjaxPluginEditHelper = function (instanceId, container, pluginHandler) { /** * Always refers to this object unlike the 'this' JS variable; */ var me = this; var pluginBa...
JavaScript
0
@@ -360,18 +360,16 @@ -// + plugin @@ -394,18 +394,16 @@ -// + '/'%0A
a39bf0fe36e46594bca2f98ea8418c840b4b5233
Update RegistrationSuccessView template for BMUN 63.
huxley/www/static/js/huxley/components/RegistrationSuccessView.js
huxley/www/static/js/huxley/components/RegistrationSuccessView.js
/** * Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved. * Use of this source code is governed by a BSD License (see LICENSE). * * @jsx React.DOM */ 'use strict'; var React = require('react'); var NavLink = require('./NavLink'); var OuterView = require('./OuterView'); var RegistrationS...
JavaScript
0
@@ -520,17 +520,17 @@ r BMUN 6 -2 +3 ! Countr @@ -748,372 +748,111 @@ li%3E$ -40 (if registered by November 1, 2013)%3C/li%3E%0A %3Cli%3E$50 (if registered after November 1, 2013)%3C/li%3E%0A %3C/ul%3E%0A %3Ch3%3EDelegate Registration Fee%3C/h3%3E%0A %3Cul%3E%0A %3Cli...
42eb19bb91713c330d1e68e00d12b5d26f15df6f
reset list for each manager
lib/workers/repository/process/deprecated.js
lib/workers/repository/process/deprecated.js
module.exports = { raiseDeprecationWarnings, }; async function raiseDeprecationWarnings(config, packageFiles) { if (!config.repoIsOnboarded) { return; } if ( config.suppressNotifications && config.suppressNotifications.includes('deprecationWarningIssues') ) { return; } const deprecatedPac...
JavaScript
0.000005
@@ -296,41 +296,8 @@ %7D%0A - const deprecatedPackages = %7B%7D;%0A fo @@ -353,24 +353,59 @@ geFiles)) %7B%0A + const deprecatedPackages = %7B%7D;%0A for (con
88df6bf5b53867f3b3cf0094cfa7b70147455c51
Update canvas.js
javascript/canvas.js
javascript/canvas.js
// Get Canvas var canvas = document.getElementById("canvas"), ctx = canvas.getContext("2d"), width = 512, height = 480; canvas.tabIndex = 1; canvas.width = width; canvas.height = height; // Background Image var bgReady = false; var bgImage = new Image(); bgImage.onload = function () { bgReady = true; }; bgIm...
JavaScript
0.000001
@@ -3416,16 +3416,37 @@ es = 9;%0A + kittiesCaught = 0;%0A //hero
66499ea7c646f71c9043860ca868ec363a062ebf
Exit if no features found
AGStoSHP.js
AGStoSHP.js
// @Author: Joshua Tanner // @Date: 12/8/2014 (created) // @Description: Easy way to create shapefiles (and geojson, geoservices json) // from ArcGIS Server services // @services.txt format :: serviceLayerURL|layerName // @githubURL : https://github.com/tannerjt/AGStoShapefile // Node Modules var ogr2ogr...
JavaScript
0.000001
@@ -2516,16 +2516,54 @@ else %7B%0A +%09%09%09%09if(!allFeatures.features) return;%0A %09%09%09%09allF
21cf1a7e7e556fcd6d6064a2244003858c600d2c
Improve error message for indexing null/undefined.
src/values/EmptyValue.js
src/values/EmptyValue.js
'use strict'; const Value = require('../Value'); const BridgeValue = require('./BridgeValue'); const CompletionRecord = require('../CompletionRecord'); class EmptyValue extends Value { constructor() { super(null); } get truthy() { return false; } *not() { return Value.fromNative(true); } *doubleEquals(other...
JavaScript
0
@@ -592,16 +592,302 @@ se;%0A%09%7D%0A%0A +%09/**%0A%09 * @param %7BString%7D name%0A%09 * @param %7BRealm%7D realm%0A%09 * @returns %7BCompletionRecord%7D Indexing empty values is a type error.%0A%09 */%0A%09*get(name, realm) %7B%0A%09%09let err = 'Cannot read property %5C'' + name + '%5C' of ' + this.specTypeName;%0...
f95ec3421b949bd54bdd84f51fc65ed03662f286
Clean up tab select/close
notable/static/js/views/noteTab.js
notable/static/js/views/noteTab.js
/** * @fileoverview Describes a bootstrap tab */ define([ 'text!templates/noteDetail.html', 'text!templates/tab.html', 'backbone', 'underscore', 'lib/jquery.hotkeys', 'codemirror', 'lib/codemirror/mode/rst/rst' ], function(noteDetailTemplate, tabTemplate) { return Backbone.View.extend({ initializ...
JavaScript
0
@@ -3339,36 +3339,26 @@ the -previous tab -and +to the -n remove + left of thi @@ -3364,24 +3364,42 @@ is one%0A + var tabToDelete = this.option @@ -3430,51 +3430,43 @@ r()) +; %0A - .parent()%0A .prev()%0A +tabToDelete.parent().prev() .fin @@ -3471,25 +3471,16 @@ ind('a') -%0...
8972b766977723d7e31211ba182977cf19a7fa53
allow for chaining
ohmahgerd.js
ohmahgerd.js
var colors = require("colors"); var fs = require("fs"); var cheerio = require('cheerio'); var readline = require('readline'); var rl = readline.createInterface(process.stdin, process.stdout); var tags = []; var commands = []; var file = null; var html = null; //** //MAIN LOGIC //** if(process.argv.length > 2){ //f...
JavaScript
0.000001
@@ -255,16 +255,209 @@ null;%0A%0A +//**%0A//COMMANDS%0A//**%0A%0Avar func = %7B%7D;%0A%0Afunc.add = function(dest, to_add)%7B //like: ohmahgerd use index.html add %22.p%22 %22%3Ci%3Ehi%3C/i%3E%22%0A console.log(dest + %22%7C%22 + to_add);%0A $(dest).append(to_add);%0A%7D;%0A%0A //**%0A//M @@ -922,27 +922,16 @@ t...
4058875a6310836fde7d494942eda9f9aa300d30
Split find into find and findAll
discovery.js
discovery.js
var request = require("request"); /* * DiscoveryClient constructor. * Creates a new uninitialized DiscoveryClient. */ function DiscoveryClient(host, options) { this.host = host; this.state = {announcements: {}}; this.errorHandlers = [this._backoff.bind(this)]; this.watchers = [this._update.bind(this), this....
JavaScript
0.001656
@@ -3996,16 +3996,19 @@ ype.find +All = funct @@ -4469,16 +4469,141 @@ %7D%0A %7D); +%0A%0A return candidates;%0A%7D%0A%0ADiscoveryClient.prototype.find = function (predicate) %7B%0A var candidates = this.findAll(predicate); %0A if (c
17c5547c97d7c70ed5e4978359169893a8a11685
Add splash-elements to tests.
test/polymer-app-test.js
test/polymer-app-test.js
const path = require('path'); const helpers = require('yeoman-test'); const assert = require('yeoman-assert'); describe('yo kk578:polymer-app MyPolymerAppProject', () => { before(() => { const dummies = [ path.join(__dirname, '../generators/node-server'), path.join(__dirname, '../generators/node'), [helpe...
JavaScript
0
@@ -4543,32 +4543,67 @@ elements.html',%0A +%09%09%09%09'public/splash-elements.html',%0A %09%09%09%09'public/inde
7b24ae1fd9131598b61e2df1a7c9732489742aa2
Rename methods: getXXX => idToXXX
lib/database/storage.js
lib/database/storage.js
// -*- indent-tabs-mode: nil; js2-basic-offset: 2 -*- var fs = require('fs'); var path = require('path'); var mkdirp = require('mkdirp'); var rmRSync = require('../rm').rmRSync; var crypto = require('crypto'); function FileStorage(args) { this.initialize(args); } FileStorage.prototype = { initialize: function(arg...
JavaScript
0.000723
@@ -664,19 +664,20 @@ l id.%0A -get +idTo FileName @@ -801,19 +801,20 @@ %7D,%0A%0A -get +idTo FilePath @@ -850,27 +850,28 @@ name = this. -get +idTo FileName(id) @@ -1060,35 +1060,36 @@ filePath = this. -get +idTo FilePath(documen @@ -1420,35 +1420,36 @@ filePath = this. -get +idTo FilePath(documen @@ ...
9547877d501f2b6bb34c7fcdb1af2c172da6f512
fix function source padding
src/Component/VarDumper/src/Cloner/VarCloner.js
src/Component/VarDumper/src/Cloner/VarCloner.js
const Caster = Jymfony.Component.VarDumper.Caster.Caster; const AbstractCloner = Jymfony.Component.VarDumper.Cloner.AbstractCloner; const Stub = Jymfony.Component.VarDumper.Cloner.Stub; // Global object ids. const objectIds = new WeakMap(); let currentObjectId = 1; /** * @memberOf Jymfony.Component.VarDumper.Cloner ...
JavaScript
0
@@ -3083,16 +3083,584 @@ tion';%0A%0A + const functionBody = v.toString().split('%5Cn');%0A const firstLine = functionBody.shift();%0A let pad = Infinity;%0A for (let i = 0; i %3C functionBody.length; ++i) %7B%0A ...
abe2fd9a2c675d7965191f9368c7e44ada90133f
Set the caption even if there are no buttons
dist/gala.js
dist/gala.js
var gala = (function() { var LEFT_BTN = '<span class="fa fa-fw fa-backward gala-nav"></span>'; var RIGHT_BTN = '<span class="fa fa-fw fa-forward gala-nav"></span>'; var FIGURE = '<figure class="gala-figure"></figure>'; var CAPTION = '<figcaption></figcaption>'; var addButtons = function($gala, $images) { ...
JavaScript
0.000014
@@ -674,50 +674,8 @@ h);%0A - updateCaptionText($gala, $images, 0);%0A %7D; @@ -761,16 +761,58 @@ PTION);%0A + updateCaptionText($gala, $images, 0);%0A %7D;%0A%0A
10af8659596fdb70f197489ec23a2dc34427e238
Update colorizer.js to check for ANSICON and have colors on Windows
modules/colorizer.js
modules/colorizer.js
/*! * Casper is a navigation utility for PhantomJS. * * Documentation: http://casperjs.org/ * Repository: http://github.com/n1k0/casperjs * * Copyright (c) 2011-2012 Nicolas Perriault * * Part of source code is Copyright Joyent, Inc. and other Node contributors. * * Permission is hereby granted, free of ch...
JavaScript
0
@@ -3215,32 +3215,33 @@ d) %7B%0A if +( (fs.isWindows() @@ -3232,34 +3232,34 @@ (fs.isWindows() -%7C%7C +&& !env%5B'ANSICON'%5D @@ -3254,24 +3254,25 @@ v%5B'ANSICON'%5D +) %7C%7C !(styleN @@ -3613,16 +3613,17 @@ if +( (fs.isWi @@ -3630,18 +3630,18 @@ ndows() -%7C%7C +&& !env%5B'A @@ -3648,...
bf005e6fd93293cb26a994a5e51c5c6135f62a97
Remove content layout padding adjustments.
src/ContentBlocks/ContentLayoutEngine/styles.js
src/ContentBlocks/ContentLayoutEngine/styles.js
import React from 'react'; import styled, { css } from 'styled-components'; import GrommetBox from 'grommet/components/Box'; import GrommetSection from 'grommet/components/Section'; const responsiveBoxStyles = (props) => { if (props.hideForResponsive) { return css` @media screen and (max-width: 1056px) { ...
JavaScript
0
@@ -694,82 +694,8 @@ %3E)%60%0A - padding: 0;%0A margin: 0;%0A padding-right: 24px;%0A padding-bottom: 48px;%0A $%7B @@ -838,635 +838,8 @@ %0A %7D -%0A%0A &:first-child %3E div:first-child %7B%0A margin-top: 0;%0A padding-top: 0;%0A %7D%0A%0A ul %7B%0A margin-bottom: 24px;%0A padding-bottom: 0;...
b633caaf97e555526fc53192fd7ddb4935196456
change var to let/const
src/edit/getEXIFdata.js
src/edit/getEXIFdata.js
/* eslint-disable no-unused-vars */ L.EXIF = function getEXIFdata(img) { if (Object.keys(EXIF.getAllTags(img)).length !== 0) { console.log(EXIF.getAllTags(img)); var GPS = EXIF.getAllTags(img); var altitude; /* If the lat/lng is available. */ if ( typeof GPS.GPSLatitude !== 'undefined' && ...
JavaScript
0.000001
@@ -165,19 +165,21 @@ ));%0A -var +const GPS = E @@ -203,19 +203,19 @@ g);%0A -var +let altitud @@ -483,19 +483,19 @@ r%0A -var +let lat =%0A @@ -597,19 +597,19 @@ ;%0A -var +let lng =%0A @@ -988,19 +988,19 @@ w:%0A%0A -var +let angle =
3544c5cbd6abf4ed6bbc7f429f1af7773e26ae32
bump version to 1.1.2
dist/gitu.js
dist/gitu.js
#!/usr/bin/env node "use strict"; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true...
JavaScript
0
@@ -2300,37 +2300,4 @@ %0A%7D); -%0A//# sourceMappingURL=gitu.js.map
d65537a676ca69ce94ca0b9861e6401269762dc7
Use message type redirection on both stderr & stdout
lib/delve-server-mgr.js
lib/delve-server-mgr.js
'use babel'; /** Delve Server Manager @description Manages the Delve server process **/ const ChildProc = require('child_process'); const EventEmitter = require('events'); const Path = require('path'); import Config from './config.js'; const delveCommands = { debug: 'debug', test: 'test' }; /** ...
JavaScript
0.000001
@@ -1562,53 +1562,8 @@ ig;%0A - console.debug('Config obj is ', Config);%0A @@ -2547,40 +2547,38 @@ -this.delveProc.stdout.on('data', +let detectMsgTypeAndRedirect = d = @@ -2747,32 +2747,160 @@ sage', d);%0A %7D +;%0A%0A this.delveProc.stdout.on('data', detectMsgTypeAndRedirect);%0A this.de...
7556df72659e549554bf5695e883e855d944019c
Make sure to return the current version of entity from tree.intersects
modules/core/tree.js
modules/core/tree.js
import rbush from 'rbush'; import { coreDifference } from './difference'; export function coreTree(head) { var rtree = rbush(); var bboxes = {}; var tree = {}; function entityBBox(entity) { var bbox = entity.extent(head).bbox(); bbox.id = entity.id; bboxes[entity.id] = bbox;...
JavaScript
0
@@ -2983,20 +2983,21 @@ return -head +graph .entity(
0a1272a0904efe2a9df48da57e1f8ce9f46d97e2
Update irpf90 to new styles
src/languages/irpf90.js
src/languages/irpf90.js
/* Language: IRPF90 Author: Anthony Scemama <scemama@irsamc.ups-tlse.fr> Description: IRPF90 is an open-source Fortran code generator : http://irpf90.ups-tlse.fr Category: scientific */ function(hljs) { var PARAMS = { className: 'params', begin: '\\(', end: '\\)' }; var F_KEYWORDS = { constant: '.Fa...
JavaScript
0
@@ -303,16 +303,15 @@ -constant +literal : '.
74bca2ab7da4ba8f24092b3414b4603caa5de251
Remove qualifier
lib/node_modules/@stdlib/math/base/special/gamma1pm1/test/test.js
lib/node_modules/@stdlib/math/base/special/gamma1pm1/test/test.js
'use strict'; // MODULES // var tape = require( 'tape' ); var isnan = require( '@stdlib/math/base/assert/is-nan' ); var gamma = require( '@stdlib/math/base/special/gamma' ); var abs = require( '@stdlib/math/base/special/abs' ); var incrspace = require( '@stdlib/math/utils/incrspace' ); var EPS = require( '@stdlib/mat...
JavaScript
0.000006
@@ -733,39 +733,32 @@ ( 'the function -simply computes %60gamma( @@ -1187,15 +1187,8 @@ ion -simply comp
9ad22fdcb1378eb275c57130479563eed9af6e67
fix optional mesh indices
gl/GLVertexArray.js
gl/GLVertexArray.js
export default class GLVertexArray { constructor({ gl = undefined, mesh = undefined, program = undefined } = {}) { this.gl = gl; const extension = gl.getExtension("OES_vertex_array_object"); if(extension) { this.gl.createVertexArray = extension.createVertexArrayOES.bind(extension); ...
JavaScript
0
@@ -677,16 +677,41 @@ butes);%0A + if(mesh.indices) %7B%0A mesh @@ -730,24 +730,30 @@ fer.bind();%0A + %7D%0A this.unb
bc684cf7bedd6e9c50a377fa3bd61e901a446efb
Modify UI
components/event-detail.js
components/event-detail.js
var React = require('react-native'); var Collapsible = require('react-native-collapsible'); var Accordion = require('react-native-collapsible/Accordion') var styles = require('../stylesheets/layout'); var Header = require('./header'); var Swiper = require('react-native-swiper'); var { View, ListView, Text, Ima...
JavaScript
0.000001
@@ -2220,36 +2220,25 @@ 0%7D%7D%3E -How much do you want to bet? +Bet 5000 Satoshi! %3C/Te @@ -2945,18 +2945,18 @@ ntSize: -20 +18 %7D%7D%3EWager @@ -2960,22 +2960,16 @@ ger Diff -erence : %7Bwd%7D%3C/
de153f49d1aff4652d1c23da8da84f98c4ad6e40
rebuild of pure.js
dist/pure.js
dist/pure.js
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototy...
JavaScript
0.000002
@@ -2882,16 +2882,23 @@ i %3C keys +.length ; i += 1
f936f4fbcba941885a9a03546d1bb3c9d793c922
Change this.name and priority
backend/servers/mcservd/initializers/apikey.js
backend/servers/mcservd/initializers/apikey.js
const {Initializer, api} = require('actionhero'); module.exports = class APIKeyInitializer extends Initializer { constructor() { super(); this.name = 'zapikey'; this.startPriority = 50; } initialize() { // ********************************************************************...
JavaScript
0.00358
@@ -165,17 +165,16 @@ name = ' -z apikey'; @@ -207,9 +207,11 @@ y = -5 +100 0;%0A
3216a860a3c90489d2d06bc2cb0c1c1b54d208e7
Fix indentation in zephir.js
src/languages/zephir.js
src/languages/zephir.js
/* Language: Zephir Author: Oleg Efimov <efimovov@gmail.com> */ function(hljs) { var STRING = { className: 'string', contains: [hljs.BACKSLASH_ESCAPE], variants: [ { begin: 'b"', end: '"' }, { begin: 'b\'', end: '\'' }, hljs.inherit(hljs.APOS_STRING_MODE, ...
JavaScript
0.000778
@@ -555,16 +555,18 @@ ds:%0A + 'and inc @@ -647,16 +647,18 @@ ' +%0A + 'array n @@ -737,16 +737,18 @@ ' +%0A + + 'protect @@ -827,16 +827,18 @@ ' +%0A + 'return @@ -907,16 +907,18 @@ ' +%0A + + 'catch _ @@ -975,24 +975,26 @@ CTION__ ' +%0A + 'enddecl @@ -1061,24 +1061,26...
464adc7047997a03d990d11f4d59249184dd81cf
Remove unnecessary timeout from tests
test/shared/functions.js
test/shared/functions.js
import webdriver from 'selenium-webdriver'; export function check(done, func) { try { func(); } catch (ex) { done(ex); } } export function doBefore(done, action, load = './build/extension', port = 9515, browser = 'chrome') { this.driver = new webdriver.Builder() .usingServer(`http://localhost:${po...
JavaScript
0.000002
@@ -529,53 +529,11 @@ done -, timeout = 20000) %7B%0A this.timeout(timeout); +) %7B %0A t
a3f93390ea4435c4735ca46d459a79d81b69b16b
set "autoBlur: true" by default
src/dropdown/Dropdown.js
src/dropdown/Dropdown.js
import React from 'react'; import { props, t, skinnable } from '../utils'; import Select from 'react-select'; import find from 'lodash/find'; import omit from 'lodash/omit'; import cx from 'classnames'; import { warn } from '../utils/log'; const isEmptyArray = x => t.Array.is(x) && x.length === 0; export const Props ...
JavaScript
0.000546
@@ -841,16 +841,48 @@ olean),%0A + autoBlur: t.maybe(t.Boolean),%0A id: t. @@ -1683,16 +1683,104 @@ t style%0A + * @param autoBlur - whether it should blur automatically when the user selects a value%0A */%0A@ski @@ -2043,16 +2043,36 @@ t: false +,%0A autoBlur: true %0A %7D%0A%0A
c8212cef2a64b51bd8fcb4371e494948708a8fa8
add more form candy
magnific_popup/blocks/magnific_popup/auto.js
magnific_popup/blocks/magnific_popup/auto.js
hideAllTheDivs = function() { $('#single-options, #singleImage, #galleryImages, #select1').hide(); }; handleSelection = function() { hideAllTheDivs(); switch ($(this).val()) { case 'single': $('#singleImage').show("slow"); $('#single-options').show("slow"); break; case 'popup': $('#galleryImages')...
JavaScript
0
@@ -75,23 +75,41 @@ mages, # -select1 +youtubeThumb, #vimeoThumb ').hide( @@ -468,13 +468,160 @@ );%0A%09 -%7D%0A%7D;%0A +%09%09break;%0A%09%09case 'youtubeThumb':%0A%09%09%09$('#youtubeThumb').show(%22slow%22);%0A%09%09case 'vimeoThumb':%0A%09%09%09$('#vimeoThumb').show(%22slow%22);%0A%09%7D%0A%7D;%0A%0A%0A%0A// in...
7f88436332bd78bac2dfc57eb509d846cde922d6
Remove unused code
lib/extract/extractTransform.js
lib/extract/extractTransform.js
import Matrix2D from '../Matrix2D'; import _ from 'lodash'; let pooledMatrix = new Matrix2D(); function transformToMatrix(props, transform) { pooledMatrix.reset(); appendTransform(props); if (transform) { appendTransform(transform); } return pooledMatrix.toArray(); } class TransformParse...
JavaScript
0.000006
@@ -298,485 +298,64 @@ %7D%0A%0Ac -lass TransformParser %7B%0A constructor() %7B%0A const floating = '(%5C%5C-?%5B%5C%5Cd%5C%5C.e%5D+)';%0A const commaSpace = '%5C%5C,?%5C%5Cs*';%0A%0A this.regex = %7B%0A split: /%5B%5Cs*()%7C,%5D/,%0A matrix: new RegExp(%0A '%5Emat...
4a08536a2bd93a9b15a5d956423dbeaafc7e3a9b
Update overlay.js
overlay.js
overlay.js
"use strict"; var state = require("reflex/state") var reductions = require("reducers/reductions") var patch = require("diffpatcher/patch") var diff = require("diffpatcher/diff") var keys = Object.keys function overlay(mapping) { /** Function takes overlay `mapping` that is `id` mapped to a function value re...
JavaScript
0.000001
@@ -92,16 +92,94 @@ ctions%22) +%0Avar channel = require(%22reducers/channel%22)%0Avar pipe = require(%22reducers/pipe%22) %0A%0Avar pa @@ -1876,22 +1876,61 @@ e()%0A -return +var stream = channel()%0A%0A var transformed = reducti @@ -3628,19 +3628,87 @@ %0A %7D)%0A - %7D +%0A pipe(transformed, stre...
e9dcb9393cfddb5c051214bfaffeb61e1c4e70a3
use regular expression mutation effect to determine draw variants from low to high impact
js/drawMutations.js
js/drawMutations.js
var _ = require('./underscore_ext'); var {contrastColor, lightgreyHEX} = require('./color_helper'); var {impact} = require('./models/mutationVector'); var labelFont = 12; var labelMargin = 1; // left & right margin var radius = 4; var minVariantHeight = pixPerRow => Math.max(pixPerRow, 2); // minimum draw height of 2...
JavaScript
0
@@ -105,16 +105,30 @@ %7Bimpact +, getSNVEffect %7D = requ @@ -2094,16 +2094,37 @@ impact%5B +getSNVEffect(impact, list%5B0%5D. @@ -2134,16 +2134,17 @@ a.effect +) %5D); // d
5b01dfee79a4863165827e1353e136e50ca1f993
Update EventDispatcher documentation
lib/event/EventDispatcher.js
lib/event/EventDispatcher.js
'use strict'; const events = Symbol('events'); const Listeners = require('./Listeners'); /** * Stores event listeners and provides the capability to notify them of events. */ class EventDispatcher { /** * Creates an instance of EventDispatcher. */ constructor() { this[events] = new Map(); } /** ...
JavaScript
0
@@ -211,30 +211,26 @@ * -Creates an instance of +Instantiates a new Eve @@ -324,16 +324,23 @@ isters a +n event listene @@ -340,39 +340,16 @@ listener - for the provided event .%0A *%0A @@ -393,27 +393,18 @@ to -add the listen -er to + for %0A @@ -495,20 +495,40 @@ er%7D -the instance +self, al...
88529c254e132352aecde93bc28578a7c40eba1c
Change hard coded concept to semi-dynamic concept
js/form-controls.js
js/form-controls.js
var FormController = (function () { var _addEventHandlers = function () { $("#process-data").click(processData); }; var parseData = function() { var parseResultMessage = $("#data-parse-result-message"); var rulesContainer = $("#rules-div"); rulesContainer.hide(); parseResultMessage.empty();...
JavaScript
0.997338
@@ -2084,24 +2084,43 @@ = csv.data; +%0A%0A // Initialize %0A LEM2.da @@ -2141,42 +2141,65 @@ -var concept = new Set(%5B1,2,4,5%5D +LEM2.newAttributeValueBlocks();%0A LEM2.newConcepts( );%0A +%0A @@ -2238,15 +2238,24 @@ ure( +LEM2. concept +s%5B0%5D );%0A
6912bdc9804291ad75113c331d1701ad50ed5228
Add credentials method.
lib/fhir.js
lib/fhir.js
"use strict"; var https, http, url, request, FHIR; https = require("https"); http = require("http"); url = require("url"); request = function (options, body, callback) { var responseHandler, req; if (callback === undefined && typeof(body) === "function") { callback = body; body = undefined; ...
JavaScript
0
@@ -1937,16 +1937,171 @@ ;%0A %7D%0A + // Prepare credentials.%0A this.auth = null;%0A%7D;%0A%0AFHIR.prototype.credentials = function (username, password) %7B%0A this.auth = username + %22:%22 + password;%0A %7D;%0A%0AFHIR @@ -2246,32 +2246,86 @@ method = %22GET%22;%0A + if (this.auth !== null) options.a...
5f9cb63bab0eebafb6dfee110b2f9d1e92d4dc86
add preflight to SignalflowClient (#49)
lib/client/signalflow/signalflow_client.js
lib/client/signalflow/signalflow_client.js
'use strict'; // Copyright (C) 2016 SignalFx, Inc. All rights reserved. var RequestManager = require('./request_manager'); function SignalflowClient(apiToken, options) { var rm = new RequestManager(options); rm.authenticate(apiToken); function disconnect() { rm.disconnect(); } function signalflowReq...
JavaScript
0
@@ -1908,24 +1908,115 @@ 'explain');%0A + %7D,%0A preflight: function (opts) %7B%0A return signalflowRequest(opts, 'preflight');%0A %7D%0A %7D;%0A%7D
d7dd7b793fb7cea1d20ed14c95ea46b13f6524ed
Move jest manual mocking to top of file
src/__tests__/index.js
src/__tests__/index.js
const TwitterMedia = require('../'); const path = require('path'); const fs = require('fs'); jest.mock('../api-client'); const image = fs.readFileSync(path.join(__dirname, '..', '..', 'assets', 'image.jpg')); const video = fs.readFileSync(path.join(__dirname, '..', '..', 'assets', 'video.mp4')); describe('Promise AP...
JavaScript
0
@@ -1,12 +1,41 @@ +jest.mock('../api-client');%0A%0A const Twitte @@ -120,37 +120,8 @@ );%0A%0A -jest.mock('../api-client');%0A%0A cons
50218ffe523db8f0d461f0d0845767649e272d45
add underscore version to dep req
package.js
package.js
Package.describe({ name: 'mike:mocha', summary: "Run mocha tests in the browser", version: "0.4.8", debugOnly: true, git: "https://github.com/mad-eye/meteor-mocha-web" }); Npm.depends({ mocha: "1.17.1", chai: "1.9.0", mkdirp: "0.5.0" }); //TODO break this out into a separate package and depend weakly ...
JavaScript
0
@@ -460,16 +460,22 @@ derscore +@1.0.1 %22, %5B%22ser
7942483cac9a5bd6d6f6bfe0e948ba294ff7de96
attach babel-plugin-syntax-dynamic-import (#461)
src/lib/babel-config.js
src/lib/babel-config.js
export default (env, options={}) => { const isProd = env && env.production; return { babelrc: false, presets: [ [require.resolve('babel-preset-env'), { loose: true, uglify: true, modules: options.modules || false, targets: { browsers: options.browsers }, exclude: [ 'transform...
JavaScript
0
@@ -396,16 +396,74 @@ gins: %5B%0A +%09%09%09require.resolve('babel-plugin-syntax-dynamic-import'),%0A %09%09%09requi
5857c5dc1b9c71e45096543b274cbb859c8ed9c3
Update version number
dist/van11y-accessible-hide-show-aria.min.js
dist/van11y-accessible-hide-show-aria.min.js
/** * van11y-accessible-hide-show-aria - ES2015 accessible hide-show system (collapsible regions), using ARIA (compatible IE9+ when transpiled) * @version v1.0.4 * @link https://van11y.net/accessible-hide-show/ * @license MIT : https://github.com/nico3333fr/van11y-accessible-hide-show-aria/blob/master/LICENSE */ "...
JavaScript
0.000002
@@ -159,9 +159,9 @@ 1.0. -4 +5 %0A * @@ -2565,8 +2565,9 @@ cument); +%0A
5fe699d60703a309e5792bc07900d26352f56e99
Update default value
lib/assets/javascripts/builder/components/modals/add-widgets/layer-selector-view.js
lib/assets/javascripts/builder/components/modals/add-widgets/layer-selector-view.js
var _ = require('underscore'); var Backbone = require('backbone'); var CoreView = require('backbone/core-view'); var analyses = require('builder/data/analyses'); require('builder/components/form-components/index'); var CustomListItemView = require('builder/components/form-components/editors/select/select-layer-list-ite...
JavaScript
0.000001
@@ -1812,16 +1812,42 @@ dex') %7C%7C + (options%5B0%5D %7C%7C %7B%7D).val %7C%7C 0);%0A