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
0f7e304fb5e9878c1f1bf2d1be74bd25178e48d0
add function for getting obs values corresponding z score
js/solGS/normalDistribution.js
js/solGS/normalDistribution.js
/** * given an array of arrays dataset ([[A, 1], [B, 2], [C, 4], [D, 1]]), it standardizes dependent variable values (calculates z-scores), calculates probabilties and returns an array of js objects of the form [{x: xvalue, y: yvalue, z: z-score , p: probability}, ....] * uses methods from statistics/simple_stati...
JavaScript
0.000002
@@ -2469,16 +2469,382 @@ yp;%0A%7D%0A%0A%0A +solGS.normalDistribution.prototype.getObsValueZScore = function (obsValuesZScores, zScore) %7B%0A%0A%09var obsValue;%0A%09for (var i=0; i %3C obsValuesZScores.length; i++) %7B%0A%09 %0A%09 var j = obsValuesZScores%5Bi%5D;%0A%09 if (d3.format('.1f')(obsValuesZScores%5...
cbeb63f5e7b1cfea5f09a8eba5932a682df9b535
remove versionName from content button
app/components/Product/ContentActionButtons/ContentActionButtons.js
app/components/Product/ContentActionButtons/ContentActionButtons.js
import React, { PropTypes } from 'react'; import StripeCheckout from 'react-stripe-checkout'; import './ContentActionButtons.css'; import StateStore from '../../../stores/StateStore'; import ProductStore from '../../../stores/ProductStore'; import ProductActions from '../../../actions/ProductActions'; import StoreServ...
JavaScript
0.000001
@@ -2354,16 +2354,18 @@ %0A %7D%0A%0A + if( Pr @@ -2459,24 +2459,26 @@ ing') %7B%0A + buttonStyle. @@ -2524,16 +2524,18 @@ %22px%22;%0A + + %7D else %7B @@ -2535,16 +2535,18 @@ else %7B%0A + butt @@ -2594,16 +2594,18 @@ + %22px%22;%0A + %7D%0A%0A @@ -3373,96 +3373,8 @@ /%3E%0A...
0d802fbd88fe5dd443599afe6f57e6e410010b75
add lastServiceVersions
app/src/controller/modules/other/modules/modules.js
app/src/controller/modules/other/modules/modules.js
import twitter from './twitter/twitter'; export default { twitter, };
JavaScript
0
@@ -33,16 +33,93 @@ witter'; +%0Aimport lastServiceVersions from './lastServiceVersions/lastServiceVersions'; %0A%0Aexport @@ -140,11 +140,34 @@ witter,%0A + lastServiceVersions,%0A %7D;%0A
35aaae71990d8ff1c4dd7440631013bbeb109879
clean up XML parser unit test
parsers/parserXML/popcorn.parserXML.unit.js
parsers/parserXML/popcorn.parserXML.unit.js
test("Popcorn 0.1 XML Parser Plugin", function () { var expects = 7, count = 0, timeOut = 0, interval, poppercorn = Popcorn( "#video" ); function plus() { if ( ++count === expects ) { start(); // clean up added events after tests clearInterval( interval ); ...
JavaScript
0
@@ -1487,86 +1487,9 @@ XML%22 -);%0A%0A // interval used to wait for data to be parsed%0A interval = setInterval( +, fun @@ -1531,47 +1531,19 @@ e(5) -.play().currentTime(6);%0A %7D, 2000 +;%0A %7D ); -%0A %0A%7D);%0A +%0A
355e2cf831502571fec1a58dbe672784d17e6fd5
Use new taxon slug generator in admin panel
Resources/private/js/sylius-taxon-slug.js
Resources/private/js/sylius-taxon-slug.js
/* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ (function ($) { 'use strict'; $.fn.extend({ taxonSlugGenerator: function () { va...
JavaScript
0
@@ -1378,32 +1378,89 @@ : element.val(), + locale: element.closest('%5Bdata-locale%5D').data('locale'), parentId: slugI @@ -1688,16 +1688,73 @@ t.val(), + locale: element.closest('%5Bdata-locale%5D').data('locale'), parentI @@ -1860,24 +1860,81 @@ lement.val() +, locale: element.closest('%5Bdata-locale%5D').data...
1a067a9635585cbb96c80040b2941e92868b07df
Use cache dir based on file location
browscap.js
browscap.js
"use strict"; module.exports = function Browscap (cacheDir) { if (typeof cacheDir === 'undefined') { cacheDir = './sources/'; } this.cacheDir = cacheDir; /** * parses the given user agent to get the information about the browser * * if no user agent is given, it uses {@see \BrowscapPHP\Helper\Su...
JavaScript
0.000001
@@ -112,18 +112,29 @@ heDir = +__dirname + ' -. /sources
004e3ca14bca9dd46eb80fec3073378334297d47
Fix indentation
SQLite3JS/js/SQLite3.js
SQLite3JS/js/SQLite3.js
(function () { "use strict"; var Statement, Database; // Alternative typeof implementation yielding more meaningful results, // see http://javascriptweblog.wordpress.com/2011/08/08/fixing-the-javascript-typeof-operator/ function type(obj) { var typeString; typeString = Object.prototype.toString.ca...
JavaScript
0.017244
@@ -3712,21 +3712,25 @@ ;%0A %7D%0A + %7D);%0A%0A + WinJS.Na @@ -3759,16 +3759,18 @@ 3JS', %7B%0A + Databa @@ -3782,16 +3782,18 @@ atabase%0A + %7D);%0A%0A%7D()
8f9e3b62c695a0dc7db34853e94b74f951bcb3da
modify JShint errors
src/Game.js
src/Game.js
function Game() { 'use strict'; this.scores = []; //store [[ro11-1, roll-2, bonus]] this.frameScores = []; //store [ro11-1, roll-2] this.STRIKE_PINS = 10; this.roll = 1; this.frame = 1; this.finish = false; this.thirdRoll = false; } Game.prototype.passScore = function(user_input){ var pins = Numb...
JavaScript
0
@@ -1059,39 +1059,32 @@ .length === 2 )%7B - return this.frameScore
0b7f4704869d800392f9bf618fb12a82f6e3b526
add tweaking to slow scenarios
test/managers/purchasing/delivery-order/index.js
test/managers/purchasing/delivery-order/index.js
describe("BASIC CRUD SCENARIOS", function() { require("./basic"); }); // describe("CREATE SCENARIOS", function() { // require("./create"); // });
JavaScript
0
@@ -39,16 +39,38 @@ ion() %7B%0A + this.slow(10000);%0A requ
a7da36d8376de9f2eccac11f9e3db35618ecf44a
Switch from arrays to Sets
source/index.js
source/index.js
import normalizeEvents from './tools/normalizeEvents'; import normalizeListener from './tools/normalizeListener'; export default function stereo () { let listeners = {}; let emitter = { on(events, listener) { // Normalize arguments. events = normalizeEvents(events); listener = normalizeListe...
JavaScript
0.000001
@@ -478,16 +478,24 @@ vent%5D = +new Set( %5Blistene @@ -496,16 +496,17 @@ istener%5D +) ;%0A @@ -530,15 +530,10 @@ ter. -include +ha s(li @@ -540,28 +540,16 @@ stener)) - %7B%0A registe @@ -554,12 +554,11 @@ ter. -push +add (lis @@ -565,26 +565,16 @@ tener);%0A - %7D%0A %7D%0A...
73c252f8677f7fb44aa0397128658cc11711ebc3
Add error objects to index exports
source/index.js
source/index.js
/** * lazy-linked-lists * Lazy and infinite linked lists for JavaScript. * * source/index.js * * Top level index. */ export { LT, GT, EQ } from './ord'; export { emptyList, list, listRange, listRangeBy, listAppend, cons, head, last, tail, init, length, isList, isEmpty, fromArr...
JavaScript
0.000001
@@ -571,8 +571,72 @@ ./lib';%0A +%0Aexport %7B%0A EmptyListError,%0A OutOfRangeError%0A%7D from './error';%0A
b96918609d701187bcfa68bb1a983da8a3c025f1
return error message when not proceeding
source/index.js
source/index.js
import 'babel-polyfill'; import shell from 'shelljs'; import readline from 'readline-sync'; function precommit(config = {}) { let branches = config.branches || []; let command = shell.exec('git rev-parse --abbrev-ref HEAD', { silent: true }); if (!command.code) { let currentBranch = comman...
JavaScript
0.000002
@@ -423,22 +423,29 @@ -return +let proceed = readlin @@ -458,29 +458,19 @@ nYN( -'You are not supposed +%60Attempting to @@ -483,14 +483,16 @@ in -this ' +branch %60 %0A @@ -510,15 +510,27 @@ + -'b +%60%22$%7BcurrentB ranch +%7D%22 . Pr @@ -539,12 +539,125 @@ eed? -' +%60 );%0A + ...
35511124f4a825a21a1385269198839ca3fc2e2e
Correct up-conversion but it fails when the JS scripts come before the network event (on startup on open page)
resources/JavaScriptEventHandler.js
resources/JavaScriptEventHandler.js
// See Purple/license.txt for Google BSD license // Copyright 2011 Google, Inc. johnjbarton@johnjbarton.com define(['../browser/remoteByWebInspector', '../resources/Resources', '../resources/JavaScriptResource'], function (remoteByWebInspector, Resources, JavaScriptResource) { var thePurple = window.purple; v...
JavaScript
0
@@ -982,17 +982,16 @@ if ( ! -( resource @@ -1025,10 +1025,8 @@ rce) - ) %7B%0D%0A @@ -1121,81 +1121,112 @@ -Object.keys(JavaScriptResource.prototype).forEach(function(key) %7B +var tmp = Object.create(resource);%0D%0A JavaScriptResource.apply(tmp, %5Burl, isContentScript%5D); %0D%0A re @@ -...
92bbb59b2f06c45cd2a5cc12c04e19cb58012e0d
Fix key-handling bug with completions.
resources/public/js/codemirrorVM.js
resources/public/js/codemirrorVM.js
/* * This file is part of gorilla-repl. Copyright (C) 2014, Jony Hudson. * * gorilla-repl is licenced to you under the MIT licence. See the file LICENCE.txt for full details. */ // This is a viewmodel and KO binding for the codemirror code editor. You should apply the codemirror binding // to a textarea, and bind ...
JavaScript
0
@@ -4969,28 +4969,207 @@ -if (curs.line === 0) +// TODO: I'm not sure whether the completionActive state is part of the public API%0A if ((curs.line === 0) && !editor.state.completionActive)%0A val @@ -5993,32 +5993,33 @@ if +( (curs.line...
20026c1937cfb6ffd230abe0cdd28b13b59341fd
remove unused cls reference
replacement/replacement.js
replacement/replacement.js
"use strict"; log('running replacement.js'); var Ping = { ping: function () { log('ping: ' + this.name); }, } var Pong = { pong: function () { log('pong'); } } function PingPong () { var cls, method; for (var ii = 0; ii < arguments.length; ii++) { cls = arguments[ii]; ...
JavaScript
0
@@ -317,56 +317,8 @@ i%5D;%0A - this%5Bcls%5D = Object.create(window%5Bcls%5D);%0A
270ea8031d1315ae1f73329137600ddd8afb3d9b
add response object parsing
source/popup.js
source/popup.js
document.addEventListener('DOMContentLoaded', function () { urlFetcher.getUrl() }) var urlFetcher = { getUrl: function(){ chrome.tabs.query({currentWindow: true, active: true}, function(tabs){ var url = tabs[0].url var apiUrl = urlFetcher.prepareUrl(url) commentGenerator.getComments(apiUrl) ...
JavaScript
0.000002
@@ -504,16 +504,31 @@ alt=json +&max-results=50 '%0A re @@ -735,34 +735,8 @@ ) %7B%0A - $('body').append(url)%0A @@ -838,59 +838,702 @@ onse -)%7B%0A// call parser code here %0A %7D +Object) %7B%0A commentParser.init(responseObject) %0A %7D%0A %7D)%0A %7D%0A%7D%0A%0Avar com...
5600fdb454498263c9cba055eeea2ca3b7d3bf73
Improve the O.UA.canU2F check
source/ua/UA.js
source/ua/UA.js
/*global navigator, document, window */ /** Module: UA The UA module contains information about the platform on which the application is running. */ const ua = navigator.userAgent.toLowerCase(); const other = [ 'other', '0' ]; const platform = /windows phone/.test( ua ) ? 'winphone' : /ip(?:ad|hone|o...
JavaScript
0.000002
@@ -4483,32 +4483,41 @@ oes the browser +probably support U2F?%0A @@ -4531,122 +4531,218 @@ // -TODO: Find a way of detecting this rather than hardcoding%0A // For now, referencing http://caniuse.com/#feat=u2f +See http://caniuse.com/#feat=u2f%0A // Chrome 41+ supports it but exposes no obvious global; ...
ad72cce06ec3d480cd62cdd79567e64266cfb268
Add class StopFlashFrame + Add StopFlashTab::newTab() + Add frameId var
background.js
background.js
/** * StopFlash * * https://github.com/JWhile/StopFlash * * background.js */ function StopFlashBackground() { this.tabs = []; // :Array<StopFlashTab> } function StopFlashTab() { this.frames = []; } /* function BackgroundFlashData(id) { this.id = id; // :int this.data = null; // :Object th...
JavaScript
0.000001
@@ -77,16 +77,34 @@ js%0A */%0A%0A +var frameId = 0;%0A%0A function @@ -222,16 +222,281 @@ es = %5B%5D; + // :Array%3CStopFlashFrame%3E%0A%7D%0A// function newTab():StopFlashFrame%0AStopFlashTab.prototype.newTab = function()%0A%7B%0A var frame = new StopFlashFrame(++frameId);%0A%0A this.frames.push(frame);%0A%...
f48b1e1889a9110b1e650c7f8b33e4807163c9f5
Fix typo with calendar desc for specific teams
calendar.js
calendar.js
const https = require('follow-redirects').https const fs = require('fs'); const util = require('util'); const readline = require('readline'); const stream = require('stream'); const url = "https://www.google.com/calendar/ical/hockeyligan.sverige@gmail.com/public/basic.ics"; let icalData = false; let lastFetch = false;...
JavaScript
0.000002
@@ -2831,18 +2831,16 @@ = %60Spels -he chema f%C3%B6
ea7301385497917ddfaa5278c03ec0904ee8b2d0
Create class StopFlashTab
background.js
background.js
/** * StopFlash * * https://github.com/JWhile/StopFlash * * background.js */ function StopFlashBackground() { this.tabs = []; } /* function BackgroundFlashData(id) { this.id = id; // :int this.data = null; // :Object this.popupPort = null; // :chrome.runtime.Port this.contentPorts = []; //...
JavaScript
0.000001
@@ -129,16 +129,91 @@ bs = %5B%5D; + // :Array%3CStopFlashTab%3E%0A%7D%0A%0Afunction StopFlashTab()%0A%7B%0A this.frames = %5B%5D; %0A%7D%0A%0A/*%0Af
d37f331fbcb2f5e3b300b9b4f4e1050a865072cf
replace deprecated getSelected with query, add null check for exiting chrome
background.js
background.js
var hkgcacheUrl = "https://plasticnofd.xyz/#/"; var isValidUrl = false; var type, message, page; // listener // Note that the tab's URL may not be set at the time onActivated event fired chrome.tabs.onActivated.addListener(UpdateShowStatus); chrome.tabs.onUpdated.addListener(UpdateShowStatus); // process th...
JavaScript
0
@@ -2080,32 +2080,65 @@ me.tabs. -getSelected(null +query(%7B%22active%22: true, %22lastFocusedWindow%22: true%7D ,functio @@ -2134,37 +2134,141 @@ ue%7D,function(tab +s ) %7B%0D%0A + if (typeof tabs != %22undefined%22 && null != tabs) %7B%0D%0A if (tabs.length %3E 0) %7B%0D%0A ch...
dd8142eba176f7c262e07949045a4650cdc82ee0
Make sure default state is properly set.
background.js
background.js
function reflowListener(windowId, start, stop, stack) { OhNoReflow.reflow({ windowId, start, stop, stack }); } const OhNoReflow = { reflowLog: [], _enabled: false, set enabled(val) { if (val) { browser.reflows.onUninterruptableReflow.addListener(reflowListener); } else { browser.refl...
JavaScript
0
@@ -113,16 +113,119 @@ %7D);%0A%7D%0A%0A +const DEFAULT_STATE = %7B%0A enabled: true,%0A threshold: %221.0%22,%0A sound: false,%0A ignoreNative: true,%0A%7D;%0A%0A const Oh @@ -4369,24 +4369,41 @@ result.state + %7C%7C DEFAULT_STATE , sigs);%0A
a0b049a5f396eb9498bd1a8ea8bdb79f64321b97
Save the players array correctly when saving game stats
server/repositories/gameRepository.js
server/repositories/gameRepository.js
const mongoskin = require('mongoskin'); const logger = require('../log.js'); class GameRepository { save(game, callback) { var db = mongoskin.db('mongodb://127.0.0.1:27017/throneteki'); if(!game.id) { db.collection('games').insert(game, function(err, result) { if(err) {...
JavaScript
0.000001
@@ -742,21 +742,8 @@ yers -AndSpectators ,%0A
40743d988e0ab90d9e54f304a65a5f436db13dbd
Add test for untested empty string branch.
server/test/unit/logger/loggerSpec.js
server/test/unit/logger/loggerSpec.js
'use strict'; var chai = require('chai'), expect = chai.expect, sinon = require('sinon'), sinonChai = require('sinon-chai'), logger = require('../../../logger'); chai.use(sinonChai); describe('logger', function () { describe('infoStream', function () { var infoStream = logger.infoStream...
JavaScript
0
@@ -1139,32 +1139,279 @@ );%0A %7D);%0A%0A + it('should return without errors if the message is empty', function () %7B%0A infoStream.write('');%0A%0A expect(logger.info).to.have.been.calledOnce;%0A expect(logger.info).to.have.been.calledWith('');%0A %7D);%0A%0A ...
c1b4756ccaf67ba51d253ef02989017b990e30be
Define the view contexts for the unified dashboard.
assets/js/googlesitekit/widgets/default-contexts.js
assets/js/googlesitekit/widgets/default-contexts.js
/** * Widgets API default contexts * * 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/LICENSE-2...
JavaScript
0.000002
@@ -645,16 +645,101 @@ e.%0A */%0A%0A +/**%0A * Internal dependencies%0A */%0Aimport %7B isFeatureEnabled %7D from '../../features';%0A%0A export c @@ -1160,11 +1160,642 @@ DSENSE,%0A +%09...( isFeatureEnabled( 'unifiedDashboard' )%0A%09%09? %7B%0A%09%09%09%09// Main dashboard%0A%09%09%09%09CONTEXT_MAIN_DASHBOARD_TR...
cb04d931a6666910cc549e71f1b5f5afd6a5aebd
Properly encode UTF-8
src/Util.js
src/Util.js
var Util = { // '19:00' formatTime: function(date) { return date.toTimeString().substring(0, 5); }, // 'Wed Jul 28' formatDate: function(date) { return date.toDateString().substring(0, 10); }, trimLine: function(str) { return str.substring(0, 30); }, // 'Wed Jul 28 19:00' getMessageDa...
JavaScript
0.999999
@@ -2684,21 +2684,88 @@ -return +/* Make the string proper UTF-8 */%0A return decodeURIComponent(escape( output +)) ;%0A
1e64df6dbb57254e3f6e5ae8266496d3372ba5a8
remove async from lambda function definition
lambdas/rematching/index.js
lambdas/rematching/index.js
const { rematchAllQuestionsOfAType, rematchIndividualQuestion } = require('./rematch') exports.handler = async (event, context, callback) => { const { uid, type } = event function finishRematching() { const response = { statusCode: 200, body: JSON.stringify(`uid: ${uid}, type: ${type}`), ...
JavaScript
0.000016
@@ -103,14 +103,8 @@ er = - async (ev
479c4b36136efce2a807122b29b88174b9b3fee8
Use push from props instead of router
src/components/Navigation/components/Navigation.js
src/components/Navigation/components/Navigation.js
import React from 'react'; import { withRouter } from 'react-router'; import InfinityMenu from 'react-infinity-menu'; import './Navigation.scss'; export class Navigation extends React.Component { constructor (props) { super(props); this.onNodeMouseClick = this.onNodeMouseClick.bind(this); this.onLeafMou...
JavaScript
0
@@ -24,51 +24,8 @@ t';%0A -import %7B withRouter %7D from 'react-router';%0A impo @@ -1071,15 +1071,8 @@ ops. -router. push @@ -2391,14 +2391,12 @@ ,%0A -router +push : Re @@ -2413,14 +2413,12 @@ pes. -object +func .isR @@ -2508,19 +2508,8 @@ ult -withRouter( Navi @@ -2514,11 +2514,10 @@ vigation -) ;%0A...
d63a7b245f2abd43ef0af5d39604f89189f48300
Remove button setting
site/js/whileaway.js
site/js/whileaway.js
/*****************************************************************************/ /* Main JS for whileaway */ /*****************************************************************************/ // Form UI fixes $('#keyword').change(function() { option_val = $('#keyword >...
JavaScript
0.000103
@@ -1565,40 +1565,8 @@ s)%7B%0A -%09$('#form button').html('Go');%0A%0A %09str
f84972b7c25d6fc95f4e21ce08fbe66fdb39ef33
Fix module export
templates/Gjs/module.js
templates/Gjs/module.js
imports.gi.versions.<%= name %> = '<%= version %>' export default imports.gi.<%= name %>
JavaScript
0
@@ -48,22 +48,24 @@ %25%3E'%0A -export default +module.exports = imp
99ceffeaad638905df64a5c3a135fd8a8ce4644d
test fix
test/dft-complex.js
test/dft-complex.js
'use strict'; var lib = require('../lib'), expect = require('chai').expect; describe('DFT 1024', function () { var i, inpReal, inpImag, res, len = 1024, add = function (a, b) { return a + b; }; before(function () { inpReal = []; inpImag = []; ...
JavaScript
0.000001
@@ -467,39 +467,32 @@ res = lib.dft -Complex (inpReal, inpIma @@ -786,39 +786,32 @@ res = lib.dft -Complex (inpReal, inpIma @@ -1211,15 +1211,8 @@ .dft -Complex (inp
31dcfaacafaf8276475a7abd036773ddb7a473bc
Order tag names
cmd/tags.js
cmd/tags.js
exports.run = async function (Elga, msg, args) { if (!args[0]) { Elga.db.all('SELECT * FROM tags') .then(res => { msg.edit({ embed: { title: `Tags (${res.length})`, color: Elga.config.embedColor, description: res.map(tag...
JavaScript
0.000001
@@ -101,16 +101,37 @@ ROM tags + ORDER BY TagName ASC ')%0A @@ -478,24 +478,40 @@ %7D);%0A + return;%0A %7D%0A%0A c
f3d02945223e2bd166bc0465f58ac82ba62dddbe
support startPropagation
base-event.js
base-event.js
var Delegator = require('dom-delegator') module.exports = BaseEvent function BaseEvent(lambda) { return EventHandler; function EventHandler(fn, data, opts) { var handler = { fn: fn, data: data || {}, opts: opts || {}, handleEvent: handleEvent } ...
JavaScript
0
@@ -560,109 +560,331 @@ -return lambda.call(this, ev, broadcast)%0A %7D%0A%0A function handleEvent(ev) %7B%0A var self = this +if (this.opts.startPropagation && ev.startPropagation) %7B%0A ev.startPropagation();%0A %7D%0A%0A return lambda.call(this, ev, broadcast)%0A %7D%0...
33236ef9ee7f42ac24996ab08b24b20ae11383a0
Add Base documentation
src/base.js
src/base.js
udefine(['eventmap', 'mixedice', 'gameboard/input', './group', './world'], function(EventMap, mixedice, Input, Group, World) { 'use strict'; var objectIndex = 0; var prependMax = 10000; var numToIdString = function(num) { var stringNum = num + ''; if (num >= prependMax) { return stringNum; ...
JavaScript
0
@@ -588,16 +588,65 @@ this;%0A%0A + // Mix in an %60EventMap%60 instance into %60Base%60%0A mixe @@ -785,24 +785,71 @@ ate.now();%0A%0A + // Count up %60objectIndex%60 and stringify it%0A var curr @@ -887,24 +887,116 @@ ectIndex);%0A%0A + // The %60id%60 property is read-only and returns the type...
161dd218e7ddc0115700aa14d3e6be8ce62642c9
Simplify disabling logic for georef modal
lib/assets/javascripts/cartodb/common/dialogs/georeference/georeference_model.js
lib/assets/javascripts/cartodb/common/dialogs/georeference/georeference_model.js
var Backbone = require('backbone'); var _ = require('underscore'); var cdb = require('cartodb.js'); var LonLatColumnsModel = require('./lon_lat_columns/lon_lat_columns_model'); var CityNamesModel = require('./city_names/city_names_model'); var AdminRegionsModel = require('./admin_regions/admin_regions_model'); var Post...
JavaScript
0.000002
@@ -5851,17 +5851,16 @@ if ( -! userGeoc @@ -5891,148 +5891,8 @@ -this._disableTab('Your geocoding quota is not defined, please contact us at support@cartodb.com', this._streetAddrTabModel());%0A %7D else if ( @@ -5925,32 +5925,34 @@ nthlyQuota()) %7B%0A + this._di @@ -6068,24 +6068,184 @...
728d0fcd3b2644ea0272fe1bdda1f9a8693c881c
Fix #7
src/card.js
src/card.js
(function (window, document, Card, angular, undefined) { 'use strict'; angular .module('gavruk.card', []) .controller('CardCtrl', function ($scope) {}) .directive('card', function ($compile) { return { restrict: 'A', scope: { cardContainer: '@', // required width: '@', ...
JavaScript
0.000001
@@ -1119,20 +1119,16 @@ form: ' -form %5Bname='
7ae6b81b173b1cab9194371232d155b3e6ffb15a
fix specs
lib/assets/test/spec/cartodb/common/dialogs/change_lock/change_lock_view.spec.js
lib/assets/test/spec/cartodb/common/dialogs/change_lock/change_lock_view.spec.js
var cdb = require('cartodb.js-v3'); var $ = require('jquery-cdb-v3'); var ViewModel = require('../../../../../../javascripts/cartodb/common/dialogs/change_lock/change_lock_view_model'); var ChangeLockDialog = require('../../../../../../javascripts/cartodb/common/dialogs/change_lock/change_lock_view'); var sharedTestsF...
JavaScript
0.000001
@@ -2766,32 +2766,29 @@ oContain('-- -negative +alert ');%0A ex @@ -3197,24 +3197,21 @@ tain('-- -negative +alert ');%0A
a21a53609871db61875a69ea49c5712dc7aa8d85
Use compile-client API from command line
bin/jade.js
bin/jade.js
#!/usr/bin/env node /** * Module dependencies. */ var fs = require('fs') , program = require('commander') , path = require('path') , basename = path.basename , dirname = path.dirname , resolve = path.resolve , exists = fs.existsSync || path.existsSync , join = path.join , monocle = require('monocle'...
JavaScript
0.000001
@@ -2731,34 +2731,78 @@ tion()%7B%0A var -fn +output;%0A if (options.client) %7B%0A output = jade.compile( @@ -2800,16 +2800,22 @@ .compile +Client (buf, op @@ -2830,69 +2830,78 @@ -var output = options.client%0A ? fn.toString()%0A : +%7D else %7B%0A var fn = jade.compile(buf, ...
ef17a7472b83f6c52034dcd69f0ffa537031e3f5
create if directive
src/core.js
src/core.js
"use strict"; (function(window) { function Moon(opts) { var _el = opts.el; var _data = opts.data; var _methods = opts.methods; var directives = {}; this.$el = document.getElementById(_el); this.dom = {type: this.$el.nodeName, children: [], node: this.$el}; //...
JavaScript
0.002029
@@ -4546,16 +4546,86 @@ rectives +%0A directives%5B%22m-if%22%5D = function(el, val) %7B%0A %0A %7D %0A%0A
e02f96afb5d14e95bb96d152a7fe30d0f44a6099
Test whether that the AI places the piece in the most optimal location to prevent or win
spec/TTTSpec.js
spec/TTTSpec.js
describe("Create board", function() { it("has 3 rows and 3 columns", function() { var board = new Board(); var new_board = board.newBoard(); var matchBoard = [[1,2,3], [4,5,6], [7,8,9]] expect(new_board[0]).toMatch(matchBoard[0]); expect(new_board[1]).t...
JavaScript
0.000115
@@ -2749,32 +2749,785 @@ again?');%0A %7D);%0A +describe(%22AI places piece%22, function() %7B%0A it('prevents Player to win', function() %7B%0A var play_game = new PlayGame();%0A%0A play_game.playerPieces = %5B1,3%5D;%0A play_game.computerPieces = %5B5%5D;%0A%0A board.state%5B1%5D%5B1%5D = 'x';%0A bo...
65a423d26c25ee6915d0299ce5b08a242cd65559
Move comment
themes/custom/mgapcdev/scripts/build/main.min.js
themes/custom/mgapcdev/scripts/build/main.min.js
jQuery(document).ready(function ($) { // Taken from Medium article @(https://medium.com/@mariusc23/hide-header-on-scroll-down-show-on-scroll-up-67bbaae9a78c#.yd0v5h41r) // Hide Header on on scroll down var didScroll; var lastScrollTop = 0; var delta = 5; $nav = $('nav#block-mgapcdev-mainnavigation'); var...
JavaScript
0
@@ -1916,16 +1916,103 @@ %7D);%0A %0A + %0A // Initalize github widget @(https://github.com/caseyscarborough/github-activity)%0A var cl @@ -2134,92 +2134,8 @@ %0A %0A - // Initalize github widget @(https://github.com/caseyscarborough/github-activity)%0A Gi
06aa8fb3a874998180c8090c0c0a5e51aa53bb8a
Remove debugger statement from plugin.
plugins/sample_and_hold_modulator.plugin.js
plugins/sample_and_hold_modulator.plugin.js
E2.plugins["sample_and_hold_modulator"] = function(core, node) { var self = this; this.desc = 'Emits the input value when \'sample\' is true and emits the last sampled value otherwise. Emits zero by default.'; this.input_slots = [ { name: 'sample', dt: core.datatypes.BOOL, desc: 'Sending true to this slot upd...
JavaScript
0
@@ -1288,21 +1288,8 @@ %09%09%7B%0A -%09%09%09debugger;%0A %09%09%09s
9598f6484e9b05a3010c1648b20c94c745e4efa0
add another test case
test/Validation.test.js
test/Validation.test.js
var should = require("should"); var webpack = require("../lib/webpack"); var WebpackOptionsValidationError = require("../lib/WebpackOptionsValidationError"); describe("Validation", function() { var testCases = [{ name: "undefined configuration", config: undefined, message: [ " - configuration should be an ob...
JavaScript
0.000089
@@ -4160,16 +4160,352 @@ %5D%22%0A%09%09%5D%0A +%09%7D, %7B%0A%09%09name: %22enum%22,%0A%09%09config: %7B%0A%09%09%09entry: %22a%22,%0A%09%09%09devtool: true%0A%09%09%7D,%0A%09%09message: %5B%0A%09%09%09%22 - configuration.devtool should be one of these:%22,%0A%09%09%09%22 string %7C false%22,%0A%09%09%09%22 A de...
1648244fe6d0b1e9c357db98ac9c25d2018b5db3
Use consistent style
src/data.js
src/data.js
import { isFunction, isArray, toStr, toFloat, toDate, toArr, sortByTime, sortByNumberSeries, isDate, isNumber } from "./helpers"; let formatSeriesData = function (data, keyType) { let r = [], j, keyFunc; if (keyType === "number") { keyFunc = toFloat; } else if (keyType === "datetime") { keyFunc = toDate...
JavaScript
0.000005
@@ -124,19 +124,24 @@ pers%22;%0A%0A -let +function formatS @@ -153,20 +153,8 @@ Data - = function (dat
63dbe4705d5b7c962b74f0e64156b0124b89739c
make the check for URL stricter (#30695)
site/docs/4.4/assets/js/src/search.js
site/docs/4.4/assets/js/src/search.js
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ (function () { 'use strict' if (!window.docsearch) { return } var inputElement = document.getElementById('search-input') var siteDocsVersion = inputElement.getAttribute('data-...
JavaScript
0
@@ -971,16 +971,17 @@ trap.com +/ '%0A%0A @@ -987,17 +987,73 @@ -// When i +hit.url = currentUrl.lastIndexOf(liveUrl, 0) === 0%0A // O n pr @@ -1085,17 +1085,16 @@ lt as is -, %0A @@ -1098,174 +1098,168 @@ -// otherwise remove our url from it.%0A // eslint-disable-next-line ...
8a6d3b4c89d8b1a5257c6fa447af11500b898d5e
fix test adapter
lib/Adapters/TestAdapter.js
lib/Adapters/TestAdapter.js
var Q = require('q'); var _ = require('underscore'); var config = require('../../common/Configuration'); var BaseTestAdapter=require('./BaseAdapter.js').BaseTestAdapter; var StreamInfo=require('./BaseAdapter.js').StreamInfo; var util=require('util'); var m3u8Parser = require('./../manifest/promise-m3u8'); var networkC...
JavaScript
0
@@ -3144,24 +3144,95 @@ esult = %5B%5D;%0A + for (let i = 0; i %3C simulateStreams.count; i++) %7B%0A%0A @@ -3361,24 +3361,28 @@ + let path = s @@ -3407,92 +3407,76 @@ h ? -simulateStreams.path : simulateStreams.entryId;%0A for (let i = 0; i %3C +ut...
5e503a4c78d261de4326f89b14dca16467c19781
Remove stray newline
gulpfile.babel.js
gulpfile.babel.js
import babel from 'gulp-babel'; import concat from 'gulp-concat'; import cssnano from 'gulp-cssnano'; import del from 'del'; import eslint from 'gulp-eslint'; import fs from 'fs'; import gulp from 'gulp'; import gulpif from 'gulp-if'; import handlebars from 'gulp-compile-handlebars'; import nested from 'postcss-nested'...
JavaScript
0.000008
@@ -2173,17 +2173,16 @@ %7D))%0A -%0A
cba5ba15380f389640540d3f79526a15c42b1e90
Remove static constants from Complex
lib/Complex.js
lib/Complex.js
import validateArgs from './utils/validateArgs.js'; import typecheck from './utils/typecheck.js'; export default class Complex { constructor(real, imaginary) { validateArgs(arguments, 1, 2, 'Must supply a real, and optionally an imaginary, argument to Complex()'); imaginary = imaginary || 0; this.real = ...
JavaScript
0.000006
@@ -3080,307 +3080,7 @@ %7D%0A%0A - /* jshint ignore:start */%0A /* WARNING: Static constants are not supported by Safari yet (version 14.0.3) */%0A static ONE = new Complex(1, 0);%0A static ZERO = new Complex(0, 0);%0A static SQRT2 = new Complex(Math.SQRT2, 0);%0A static SQRT1_2 = new Complex(Math.SQRT1_2, 0);...
dff2e9a991ef939ba11d8a6f153d9201ae868da2
Update main.js
crud/WebContent/main.js
crud/WebContent/main.js
function showBatchWork(keyword){ window.clearInterval(inter); $("#main").load("remote/batch.jsp",{"tb":"room","keyword":keyword}); } function doBatchWork(frm){ window.clearInterval(inter); var data=$(frm).serialize(); $("#main").load("remote/batch.jsp#"+Math.random(),data); return false...
JavaScript
0.000001
@@ -4943,16 +4943,34 @@ );%0D%0A%09%7D%0D%0A +%09var inter=null;%0D%0A %09var sti @@ -5041,8 +5041,10 @@ epage=0; +%0D%0A
a2fe1477aef24e5bac7cffdd49e94b6fc6947567
remove console.log on common.js
skeleton/public/javascripts/common.js
skeleton/public/javascripts/common.js
/* config cleidtor */ $.cleditor.defaultOptions.width = '858'; $(function () { var $main = $('#main'); // Show login form $('#loginButton').click(function() { $('#loginLink').hide(); $('#loginForm').fadeIn('fast', function() { setTimeout(function() { $('#username').focus(); }, 300)...
JavaScript
0.000002
@@ -2519,36 +2519,8 @@ ) %7B%0A - console.log('fix!'); %0A
69bc5ecd65d3962b1a1c34b106bbe157483c4b64
Fix typo
lib/Context.js
lib/Context.js
'use strict'; const _ = require('lodash'); const uuid = require('node-uuid'); const arrify = require('arrify'); const defaults = require('defa'); const makeEmitter = require('./events/makeEmitter'); const makeReceiver = require('./events/makeReceiver'); const eventFactories = require('./events/eventFa...
JavaScript
0.999999
@@ -2862,16 +2862,17 @@ ntFactor +i es%5D.conc
fed3445f5cf11911473afc4113797a3861a276b1
make test depend on build (#18)
gulpfile.babel.js
gulpfile.babel.js
var _ = require('lodash'); var gulp = require('gulp'); var sourceFiles = ['index.js', 'metadatafetcher.js']; gulp.task('build', () => { var babel = require('gulp-babel'); gulp.src(sourceFiles) .pipe(babel()) .pipe(gulp.dest('dist')); }); gulp.task('test', () => { var commander = require('...
JavaScript
0
@@ -275,16 +275,27 @@ ('test', + %5B'build'%5D, () =%3E %7B
fe7edfee6ca9ee84fc3d4fcbad1411be8a3c30a9
fix cutoff issue in cards without list
card.js
card.js
'use strict'; /** * card tag * * Syntax: * {% card [header] [title=title] [subtitle=] [img=src] [imgalt=alt] [col=12,sm-1,lg-3]%} * Alert string * {% endcard %} */ var marked = require('marked'); var renderer = new marked.Renderer(); /** * level 1-3: title * 4-*: subtitle (muted) */ renderer.heading =...
JavaScript
0
@@ -2266,16 +2266,23 @@ body%22%3E') + !== -1 )%0A%09%09cont
a76f18612a5ae767cf0bb81d846fd297db77927e
Debug noble from env variable DEBUG_NOBLE=true node server.
hardware/index.js
hardware/index.js
var EventEmitter = require('events').EventEmitter; var nobleEmitter = require('./noble-emitter'); // nobleEmitter.debug(); var peripheralUuid = process.env.UUID_PERIPHERAL || "dc76745c6637"; var serviceUuid = process.env.UUID_SERVICE || "2220"; var characteristicUuid = process.env.UUID_CHARACTER...
JavaScript
0
@@ -96,10 +96,36 @@ ');%0A -// +if (process.env.DEBUG_NOBLE) nob
2138a51cbe13f79a5bd08286faf7fb710f18762b
Add "navigationAction" to NavigationView snippet
snippets/navigationview-properties.js
snippets/navigationview-properties.js
const {Action, CheckBox, NavigationView, Page, Picker, ScrollView, TextView, ui} = require('tabris'); // demonstrates various NavigationView properties const MARGIN = 16; const MARGIN_SMALL = 8; const LABEL_WIDTH = 144; const COLORS = [null, 'red', 'green', 'blue', 'rgba(0, 0, 0, 0.25)']; ui.drawer.enabled = true; ...
JavaScript
0.000002
@@ -1400,24 +1400,501 @@ ecked;%0A%7D);%0A%0A +createCheckBox('Custom navigation action', function(%7Bvalue: checked%7D) %7B%0A if (checked) %7B%0A navigationView.navigationAction = new Action(%7B%0A title: 'Settings',%0A image: %7B%0A src: device.platform === 'iOS' ? 'resources/settings-black-24d...
d0a22020890ee8fe4327bc37a371a3f97b4fcd39
reset WECO alerts when first is encountered
snorkel/app/client/views/weco_view.js
snorkel/app/client/views/weco_view.js
"use strict"; var helpers = require("app/client/views/helpers"); var TimeView = require("app/client/views/time_view"); // runs WECO rules on our time series array and // flags potentials function check_weco(serie, time_bucket) { var start = serie[0].x; var expected = start; var missing_val = 0; var violatio...
JavaScript
0
@@ -669,24 +669,53 @@ %22 + zone%7D);%0A + zones%5Bzone%5D.count = 0;%0A %7D%0A%0A z @@ -906,16 +906,73 @@ %0A %7D%0A%0A + zones%5Bzone%5D.count = Math.max(zones%5Bzone%5D.count, 0);%0A%0A %7D%0A%0A f
1d8adf224fc6329d09f128918d6c851c08a1465d
Remove describe.only
lib/Card/tests/Card-test.js
lib/Card/tests/Card-test.js
import React from 'react'; import { describe, beforeEach, it } from '@bigtest/mocha'; import { expect } from 'chai'; import { mountWithContext, mount } from '../../../tests/helpers'; import CardInteractor from './interactor'; import Card from '../Card'; const card = new CardInteractor(); const props = { headerSta...
JavaScript
0.000001
@@ -384,13 +384,8 @@ ribe -.only ('Ca
f7ea031dac8dedddd9525c42a5c27b34c01f616a
Add ReactTransitionGroup to the build
grunt/config/jsx/jsx.js
grunt/config/jsx/jsx.js
'use strict'; var rootIDs = [ "React" ]; var debug = { rootIDs: rootIDs, configFile: "grunt/config/jsx/debug.json", sourceDir: "src", outputDir: "build/modules" }; var jasmine = { rootIDs: [ "all" ], configFile: debug.configFile, sourceDir: "vendor/jasmine", outputDir: "build/jasmine" }; var...
JavaScript
0
@@ -33,16 +33,42 @@ %22React%22 +,%0A %22ReactTransitionGroup%22 %0A%5D;%0A%0Avar
e9b16bcb75da4428cdec7990569aa45659b98c18
add support for empty activities
packages/node_modules/@ciscospark/react-container-read-receipts/src/selectors.js
packages/node_modules/@ciscospark/react-container-read-receipts/src/selectors.js
import {createSelector} from 'reselect'; import {orderBy} from 'lodash'; const getActivities = (state) => state.conversation.get('activities'); const getParticipants = (state) => state.conversation.get('participants'); const getUsers = (state) => state.users; const getTypingIndicators = (state) => state.indicators.get...
JavaScript
0.000001
@@ -853,32 +853,59 @@ pant) =%3E%0A + activity && currentUser && participant.get
839c5467645f7f498ad8d1f79df709d605563d8f
e2e testing
tests/e2e/data/data1.js
tests/e2e/data/data1.js
describe('Abe', function() { describe('data', function() { before(function(client, done) { done(); }); after(function(client, done) { client.end(function() { done(); }); }); afterEach(function(client, done) { done(); }); beforeEach(function(client, done...
JavaScript
0.99933
@@ -564,23 +564,23 @@ rElement -Visible +Present (%22//div%5B @@ -834,39 +834,39 @@ .waitForElement -Visible +Present ('//*%5B@id=%22abeFo @@ -1243,39 +1243,39 @@ .waitForElement -Visible +Present ('//*%5B@id=%22color
a1df669a085a6a843edf72186f7ca280aa80d653
revert doc compiler changes due to crlf issue
comp/csl.js
comp/csl.js
#!/usr/bin/env node let fs = require('fs') let sl = fs.readFileSync('./src/stdlib.js') + '' let exp = /\/\/ (.+)\r*\n+SL\["(.+)"\]/g fs.writeFileSync('./docs/commands.md', `# Commands\n**NOTE:** Anything with "index [number]" refers to the item at that specific index on the stack. "index 0" refers to the top of the...
JavaScript
0
@@ -111,11 +111,8 @@ .+)%5C -r*%5C n+SL
8266f9f8ff83e8d7d944630572fe5462aa50735a
Use isostring for dates
angular/src/scripts/controllers/search.js
angular/src/scripts/controllers/search.js
'use strict'; /** * @ngdoc function * @name angularApp.controller:SearchCtrl * @description * # SearchCtrl * Controller of the angularApp */ angular.module('angularApp') .controller('SearchCtrl', function ($scope, $rootScope) { var vm = $scope; window.searchCtrl = vm; vm.search = { fields: [], inp...
JavaScript
0.000001
@@ -1639,32 +1639,35 @@ val.startDate.to +ISO String() + '%7C' + @@ -1673,32 +1673,35 @@ + val.endDate.to +ISO String();%0A @@ -2077,24 +2077,27 @@ startDate.to +ISO String();%0A @@ -2148,16 +2148,19 @@ dDate.to +ISO String()
b76027fbff59c969c8ed633284224e2d39a06d00
Add a restart game option.
tic_tac_toe/static/tic_tac_toe/js/tic_tac_toe.js
tic_tac_toe/static/tic_tac_toe/js/tic_tac_toe.js
var Game = function(selector) { var game = { wrapper: $(selector), } game.board = game.wrapper.find('table tbody'); game.scoreboard = game.wrapper.find('.scoreboard'); game.squares = [0,0,0, 0,0,0, 0,0,0]; game.human_mark = 1 /* 1 is human (X), 2 is computer (O), 0 is free */ game....
JavaScript
0
@@ -1152,32 +1152,117 @@ in!%22;%0A %7D%0A + message += %22 %3Ca href='#' onclick='game.restart();'%3ETry Again?%3C/a%3E%22;%0A %0A $result @@ -1381,32 +1381,259 @@ .show();%0A %7D%0A%0A + game.restart = function() %7B%0A game.squares = %5B0,0,0, 0,0,0, 0,0,0%5D;%0A ...
1aacb6c10e56c27a76a5924767019af4481408b8
Fix istanbul configuration.
rollup.config.substance.js
rollup.config.substance.js
const nodeResolve = require('rollup-plugin-node-resolve') const commonjs = require('rollup-plugin-commonjs') const DIST = 'dist/' module.exports = function (commandLineArgs) { let target = commandLineArgs.target || 'all' let output = [] if (target === 'browser' || target === 'all') { output.push({ file...
JavaScript
0
@@ -102,16 +102,104 @@ monjs')%0A +const istanbul = require('substance-bundler/extensions/rollup/rollup-plugin-istanbul')%0A%0A const DI @@ -1620,24 +1620,44 @@ config. +plugins.push(%0A istanbul = %7B%0A @@ -1652,19 +1652,17 @@ nbul - = +( %7B%0A incl @@ -1653,24 +1653,26 @@ bul(%7B%0A ...
6d4fc8e5541abdc7625ab9a332e4045c58b1f427
Add more detail to payload title when running inside a beforeEach hook
lib/adapter.js
lib/adapter.js
import path from 'path' import Mocha from 'mocha' import { runInFiberContext, wrapCommands, executeHooksWithArgs } from 'wdio-sync' const INTERFACES = { bdd: ['before', 'beforeEach', 'it', 'after', 'afterEach'], tdd: ['suiteSetup', 'setup', 'test', 'suiteTeardown', 'teardown'], qunit: ['before', 'beforeEa...
JavaScript
0
@@ -3764,24 +3764,411 @@ .payload) %7B%0A + // Add the current test title to the main title if it adds more value, e.g.%0A // when running inside a beforeEach hook%0A if (params.payload.ctx.currentTest && (params.payload.ctx.currentTest.title !== params.payload.title)) %7B%0A ...
55c9edf6507bbd356391aee3a7b025cf83f6d5f2
remove spaces in hike_match_test.js
test/hike_match_test.js
test/hike_match_test.js
const chai = require('chai'); const expect = chai.expect; const chaiHttp = require('chai-http'); chai.use(chaiHttp); // const request = chai.request; // const Trail = require(__dirname + '/../models/trail'); const main = require(__dirname + '/test_server'); const origin = 'localhost:4000/api'; const ForecastIo = requ...
JavaScript
0.999985
@@ -114,188 +114,8 @@ p);%0A -// const request = chai.request;%0A// const Trail = require(__dirname + '/../models/trail');%0A%0Aconst main = require(__dirname + '/test_server');%0Aconst origin = 'localhost:4000/api';%0A%0A cons
6b1e125eba1bca5d35a58d74d014aad16432c6ea
Fix Typo in comment (#178)
lib/PeerConnectionServer.js
lib/PeerConnectionServer.js
const EventEmitter = require('events').EventEmitter; const LFSR = require('lfsr'); const uuidV4 = require('uuid/v4'); const SemanticSDP = require("semantic-sdp"); const SDPInfo = SemanticSDP.SDPInfo; const Setup = SemanticSDP.Setup; const MediaInfo = SemanticSDP.MediaInfo; const CandidateInfo = SemanticSDP.Candi...
JavaScript
0
@@ -563,16 +563,17 @@ of remo +t e peer c
fb1ae5afa447f106c23336709e413d81c64ccfb6
remove dead code
lib/adduser.js
lib/adduser.js
module.exports = adduser var crypto = require('crypto') function sha (s) { return crypto.createHash("sha1").update(s).digest("hex") } function adduser (username, password, email, cb) { password = ("" + (password || "")).trim() if (!password) return cb(new Error("No password supplied.")) email = ("" + (emai...
JavaScript
0.999454
@@ -23,121 +23,8 @@ er%0A%0A -var crypto = require('crypto')%0A%0Afunction sha (s) %7B%0A return crypto.createHash(%22sha1%22).update(s).digest(%22hex%22)%0A%7D%0A%0A func @@ -404,60 +404,8 @@ var - salt = crypto.randomBytes(30).toString('hex')%0A , use
1612d26b17584769d26dfd094b8846c451810f69
Add JS test that shows an embarrassing new insight: every function automatically has a fresh prototype object
test/js/FunctionTest.js
test/js/FunctionTest.js
/* Copyright 2015 - 2017 by Jan Dockx Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
JavaScript
0.00005
@@ -2002,24 +2002,1688 @@ ;%0A %7D);%0A + describe(%22#prototype%22, function() %7B%0A %5B%0A function simpleF() %7Breturn %22This is a very simple function.%22;%7D,%0A class SimpleClass %7B%7D%0A %5D.forEach(function(f) %7B%0A it(%22exists on function %22 + f, functi...
61925383887c57328d4c1c1247f4d983784c6301
Fix require
test/js/scripts/game.js
test/js/scripts/game.js
require("./helper.js") const TextMessage = require('hubot/src/message').TextMessage describe('game.js', () => { "use strict" let robot = {} let user = [ {"id": 1, "name": "hoge"}, {"id": 2, "name": "fuga"} ] let adapter = {} shared_context.robot_is_running((ret) => { ...
JavaScript
0.000001
@@ -3,16 +3,17 @@ quire(%22. +. /helper.
f94ecc64d30ab51ffca9542d357ab9ec98a6a8d6
Fix jslint errors in lib/command.js
lib/command.js
lib/command.js
module.exports = function command(request) { return { exec: function exec(command, dir, cb) { if (typeof dir === "function") { cb = dir; dir = ""; } request.post({ uri: "/api/command", json: { ...
JavaScript
0.000076
@@ -1,8 +1,23 @@ +%22use strict%22;%0A%0A module.e @@ -422,16 +422,29 @@ function + execCallback (err, re @@ -488,23 +488,64 @@ rr) -return cb(err); +%7B%0A return cb(err);%0A %7D%0A %0A @@ -609,17 +609,18 @@ %7D%0A - %7D +; %0A%7D;%0A
b2a66b292b98b9521d0c4a75b4913f4895d73c46
Add PayIns CardWeb tests
test/services/PayIns.js
test/services/PayIns.js
var _ = require('underscore'); var path = require('path'); var expect = require('chai').expect; var helpers = require('../helpers'); describe('PayIns', function() { var john = helpers.data.UserNatural; john.PersonType = 'NATURAL'; var wallet, payIn; before(function(done){ api.Users.create(joh...
JavaScript
0
@@ -245,16 +245,8 @@ var - wallet, pay @@ -312,32 +312,141 @@ hn, function()%7B%0A + done();%0A %7D);%0A %7D);%0A%0A describe('Card Web', function()%7B%0A before(function(done)%7B%0A help @@ -583,33 +583,81 @@ %7D);%0A +%0A -%7D);%0A%0A + describe('Crea...
b053631ae9ac913e981f2ccc76f2e9669b47c9e2
make sure url and parameters are Uri and QueryString objects
src/http.js
src/http.js
/** * Wrapper for XMLHttpRequest * * @param {String} url * @param {String} method * @param {Object} parameters */ HttpRequest = function (url, method, parameters) { var xhr, httprequest = this, user_agent = 'jsOAuth-HttpRequest/0.1 (+http://www.lemonstudio.co...
JavaScript
0.000002
@@ -447,45 +447,78 @@ -url = ( +if (!(url instanceof Uri)) %7B%0A url -! = -UNDEFINED) ? url : ''; +new Uri(url);%0A %7D %0A @@ -606,28 +606,72 @@ -httprequest. +if (!(parameters instanceof QueryString)) %7B%0A paramete @@ -683,18 +683,19 @@ new -Collection +Qu...
f722511086d11a8fd4f6b3c16fa341d6d5aadd6e
Fix CommonJS export
src/hunt.js
src/hunt.js
(function(root, factory) { 'use strict'; if (typeof define === 'function' && define.amd) { define(function() { return factory(); }); } else if (typeof exports === 'object') { module.exports = factory; } else { root.hunt = factory(); } })(this, function() {...
JavaScript
0.000007
@@ -240,16 +240,18 @@ factory +() ;%0A %7D
993d90343ca74982688a9f8ae36130e7f72e3bee
fix indentation
src/i18n.js
src/i18n.js
/* Internationalization module for Game Closure Devkit * * Authors: Jishnu Mohan <jishnu7@gmail.com>, * Vinod CG <vnodecg@gmail.com> * * Copyright: 2014, Hashcube (http://hashcube.com) * */ /* global CACHE, GC */ exports = function (key, params, language) { 'use strict'; var path = 'resources/lang...
JavaScript
0.000358
@@ -320,16 +320,49 @@ guages/' +,%0A localize, pluralize, parser ;%0A%0A lan @@ -409,20 +409,16 @@ en';%0A%0A -var localize @@ -881,17 +881,18 @@ key;%0A %7D -, +;%0A %0A plura @@ -1556,17 +1556,17 @@ %7D);%0A %7D -, +; %0A%0A pars
d5e2a73d99df1ac74d319294edea335b684ae967
Add alt condition back in, rename to specify igorance of shift
src/Keyboard.js
src/Keyboard.js
/* Copyright 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 law or a...
JavaScript
0
@@ -1613,16 +1613,20 @@ ction is +Only CtrlOrCm @@ -1618,32 +1618,43 @@ isOnlyCtrlOrCmd +IgnoreShift KeyEvent(ev) %7B%0A @@ -1765,24 +1765,38 @@ v.metaKey && + !ev.altKey && !ev.ctrlKey @@ -1834,24 +1834,38 @@ v.ctrlKey && + !ev.altKey && !ev.metaKey
eb2d16f8a28f5a092a5ddd34d27f5218e4fe5783
Allow options in context clone
lib/context.js
lib/context.js
var _ = require('underscore'), async = require('async'), fs = require('fs'), fu = require('./fileUtil'); function Context(options, config, plugins, mixins, event) { this._package = options.package; this._platform = options.platform; this._plugins = plugins; this.mode = options.mode; this.module =...
JavaScript
0.000016
@@ -562,32 +562,39 @@ clone: function( +options ) %7B%0A var ret @@ -846,24 +846,192 @@ %7D%0A %7D%0A + if (options) %7B%0A _.extend(ret, options);%0A ret._package = options.package %7C%7C this._package;%0A ret._platform = options.platform %7C%7C this._platform;%0A %7D%0A return ...
00159671d2d7eee51237587154bde93817cc09b8
Fix documentation of Info.features() (#148)
src/info.js
src/info.js
import { DateTime } from './datetime'; import { Settings } from './settings'; import { Locale } from './impl/locale'; import { Util } from './impl/util'; /** * The Info class contains static methods for retrieving general time and date related data. For example, it has methods for finding out if a time zone has a DST...
JavaScript
0.000003
@@ -5933,20 +5933,16 @@ * * %60 -time zones%60: @@ -6198,16 +6198,17 @@ .feature +s () //=%3E @@ -6240,20 +6240,16 @@ false, -time zones: t
b3a1fc65e53d4433fee814162b1bef97da68866f
Disable deprecation warning of `crashReported.setExtraParameter()`
lib/common/api/crash-reporter.js
lib/common/api/crash-reporter.js
'use strict' const {spawn} = require('child_process') const os = require('os') const path = require('path') const electron = require('electron') const {app, deprecate} = process.type === 'browser' ? electron : electron.remote const binding = process.atomBinding('crash_reporter') class CrashReporter { start (options...
JavaScript
0
@@ -3091,24 +3091,218 @@ value) %7B%0A + // TODO(alexeykuzmin): Warning disabled since it caused%0A // a couple of Crash Reported tests to time out on Mac. Add it back.%0A // https://github.com/electron/electron/issues/11012%0A%0A // if (!proces @@ -3324,16 +3324,19 @@ s) %7B%0A + // depre @@ -33...
c627be39c7b26161ba2b26640b5d820a488dba20
document clientScheduler option
lib/components/client-factory.js
lib/components/client-factory.js
"use strict"; var requestModule = require("request"); /** * @constructor * @param {Object} opts Options for this factory * @param {*=} opts.sdk The Matrix JS SDK require() to use. * @param {string=} opts.url The Client-Server base HTTP URL. This must be set * prior to calling getClientAs(). See configure() to set...
JavaScript
0
@@ -689,16 +689,193 @@ iation.%0A + * @param %7BMatrixScheduler%7D opts.clientScheduler Optional. The client scheduler to%0A * use in place of the default event scheduler that schedules events to be sent to%0A * the HS.%0A */%0Afunc
2469c2d856f8beb6c4fd91c06af477bb151ce243
use beforeEach instead of beforeAll, and add afterEach
test/specs/test.spec.js
test/specs/test.spec.js
/* * General specifications GridGallery * 1- creates a grid using elements that will be in different heights and widths * 2- will enable gallery view on click to an element of the grid (dialog) * 3- the dialog will trigger custom events to control data in dialog * 4- nav of items in grid (disable/enable) depending...
JavaScript
0.000001
@@ -495,11 +495,12 @@ fore -All +Each (fun @@ -1184,16 +1184,163 @@ %0A %7D);%0A%0A + afterEach(function()%7B%0A var oldContainer = document.querySelector('.container');%0A oldContainer.parentNode.removeChild(oldContainer);%0A %7D);%0A%0A descri
2041b4e1eb1406488e377aae242fe014850a473b
Revert "Correct HDT escaping."
lib/datasources/HdtDatasource.js
lib/datasources/HdtDatasource.js
/*! @license ©2014 Ruben Verborgh - Multimedia Lab / iMinds / Ghent University */ /** An HdtDatasource loads and queries an HDT document in-process. */ var Datasource = require('./Datasource'), fs = require('fs'), hdt = require('hdt'); var escapeSequence = /\\u|\\U/; var escapeSequences = /\\u([a-zA-Z0-9]{4}...
JavaScript
0
@@ -244,238 +244,8 @@ );%0A%0A -var escapeSequence = /%5C%5Cu%7C%5C%5CU/;%0Avar escapeSequences = /%5C%5Cu(%5Ba-zA-Z0-9%5D%7B4%7D)%7C%5C%5CU(%5Ba-zA-Z0-9%5D%7B8%7D)/g;%0Avar needEscape = /%5B%5Cu0000-%5Cu0019%5Cu00ff-%5Cuffff%5D/;%0Avar needEscapes = /%5B%5Cud800-%5Cudbff%5D%5B%5Cudc00-%5Cudfff%5D%7C%5B%5Cu0000-%5Cu00...
afbb650f94f036fce79458ddbc6ba3100bcd8cc8
fix default inclusion of CSS files (closes #2629) (#2701)
nuxt/index.js
nuxt/index.js
const { resolve } = require('path') function pickFirst(...args) { for (const arg of args) { if (arg !== undefined) { return arg } } } module.exports = function nuxtBootstrapVue(moduleOptions = {}) { // Merge moduleOptions with default const options = { ...this.options.bootstrapVue, ...mo...
JavaScript
0
@@ -358,32 +358,37 @@ CSS = pickFirst( +%0A options.bootstra @@ -391,24 +391,28 @@ strapVueCSS, +%0A options.boo @@ -420,24 +420,28 @@ strapVueCss, +%0A options.bvC @@ -442,16 +442,84 @@ ns.bvCSS +,%0A // Defaults to %60true%60 if no other options provided%0A true%0A )%0A if ( @@ -672,16 +6...
cb3269524509d1b046aa4e61bdef2d300b347aca
Update error checking
test/test-user-agent.js
test/test-user-agent.js
var test = require('tape'); var path = require('path'); var curli = require(path.join(__dirname, '..')); var server = require(path.join(__dirname, './server.js')).createServer(); var conf = require(path.join(__dirname, '../package.json')); var ua = conf.name + ' / ' + conf.version; server.listen(0, function() { var...
JavaScript
0.000002
@@ -687,12 +687,14 @@ t. -ok(! +error( err,
627ea6e7175d3ec1fb89e0c896e123ed8bd3ee2b
Make function to eat bookmarks
bookWorm.js
bookWorm.js
$(document).ready(function() { onCreatedChrome() }); function onCreatedChrome() { chrome.tabs.onCreated.addListener(function(tab) { alert("hello"); }); }
JavaScript
0.000028
@@ -43,17 +43,18 @@ Chrome() +; %0A - %7D);%0A%0Afun @@ -139,21 +139,115 @@ -alert(%22hello%22 +chrome.bookmarks.getChildren(%221%22, (bar) =%3E %7B%0A chrome.bookmarks.remove(bar%5Bbar.length - 1%5D.id);%0A %7D );%0A
be3e24072a38dfb8e65ea258e877c134e96cbe89
Fix typo in `Container.destroy`
lib/cloudfiles/container.js
lib/cloudfiles/container.js
/* * container.js: Instance of a single Rackspace Cloudfiles container * * (C) 2010 Nodejitsu Inc. * MIT LICENSE * */ var cloudfiles = require('../cloudfiles'); var Container = exports.Container = function (client, details) { if (!details) { throw new Error("Container must be constructed with at least ba...
JavaScript
0
@@ -627,18 +627,18 @@ ent.dest -o r +o yContain
d286adf17beb7f5ba655e1be8d7d8f816dea4612
Update run-multiple.js (#1205)
lib/command/run-multiple.js
lib/command/run-multiple.js
const { getConfig, getTestRoot, fail, deepMerge, } = require('./utils'); const Codecept = require('../codecept'); const Config = require('../config'); const fork = require('child_process').fork; const output = require('../output'); const path = require('path'); const runHook = require('../hooks'); const event = requi...
JavaScript
0
@@ -555,16 +555,28 @@ ions = %5B +'override', 'steps',
87511e6783972e30ab3c39a88c45dec1a927dd17
add tests for synchronous generator actions
app/client/src/tests/actions/generator.js
app/client/src/tests/actions/generator.js
import test from 'ava' test('generator actions', async t => { t.pass() })
JavaScript
0
@@ -20,57 +20,608 @@ va'%0A -%0Atest('generator actions', async t =%3E %7B%0A t.pass( +import %7B GeneratorActions %7D from '../../actions'%0Aimport %7B%0A SELECT_TEMPLATE,%0A SET_PAGE_COUNT,%0A SET_PAGE,%0A PREV_PAGE,%0A NEXT_PAGE%0A%7D from '../../constants'%0A%0Aconst %7B%0A selectTemplate,%0A setPageCount,...
35728b96409f54f9e697f10a96cfb1f51e8383fd
Fix injectServer/injectDebugger file path for log
src/main.js
src/main.js
import fs from 'fs'; import path from 'path'; import chalk from 'chalk'; import * as injectDebugger from './injectDebugger'; import * as injectServer from './injectServer'; import runServer from './runServer'; const name = 'react-native'; const bundleCode = fs.readFileSync(path.join(__dirname, '../bundle.js'), 'utf-8'...
JavaScript
0
@@ -1319,33 +1319,37 @@ '$%7BinjectServer. -p +fullP ath%7D' not found. @@ -1550,33 +1550,37 @@ %7BinjectDebugger. -p +fullP ath%7D' not found. @@ -2086,17 +2086,21 @@ tServer. -p +fullP ath%7D' no @@ -2404,17 +2404,21 @@ ebugger. -p +fullP ath%7D' no
85b49e2d116037936f702b2765377f72fe338981
Add language name as property to Translation
src/main.js
src/main.js
(function (global) { "use strict"; var languageDialect = (function(lang) { window.location.search.slice(1).split("&").some(function (searchTerm) { if (searchTerm.indexOf("lang=") === 0) { lang = searchTerm.split("=").slice(1).join("="); return true; } });...
JavaScript
0.000026
@@ -568,12 +568,58 @@ ons( -o) %7B +language, o) %7B%0A this.language = language; %0A @@ -945,24 +945,29 @@ le) === +this. language Dialect) @@ -950,39 +950,32 @@ == this.language -Dialect ) %7B%0A @@ -1083,16 +1083,21 @@ ng='%22 + +this. language @@ -1405,24 +1405,29 @@ le) !== +th...
ce0bfd11074c5b8cba19954a5bffbb3ab74f4458
make way for yousefamar
src/main.js
src/main.js
var https = require('https'); var express = require("express"); var bodyParser = require("body-parser"); // A request wrapper that inserts the container mangers root cert and // arbiter api key into GET and POST requests var request = require('./lib/databox-request/databox-request.js')(); var macaroons = require('ma...
JavaScript
0.000002
@@ -1505,555 +1505,9 @@ TODO - move this into a module?%0Aapp.use(function (req, res, next) %7B%0A var mac = null%0A if('macaroon' in req.body) %7B%0A mac = req.body.macaroon;%0A delete req.body.macaroon%0A %7D else if ('macaroon' in req.query) %7B%0A mac = req.query.macaroon;%0A delete re...
c6a5620c760dd60a2a8792497d6f5d345b0f6566
Fix loading translations when switching lang
src/main.js
src/main.js
(function (global) { "use strict"; var languageDialect = (function(lang) { window.location.search.slice(1).split("&").some(function (searchTerm) { if (searchTerm.indexOf("lang=") === 0) { lang = searchTerm.split("=").slice(1).join("="); return true; } });...
JavaScript
0.000001
@@ -1499,32 +1499,38 @@ %7D%0A %7D +, this );%0A %7D%0A%0A @@ -4276,21 +4276,20 @@ translat -edAll +ions ) %7B%0A @@ -4311,17 +4311,37 @@ slat -eAll(lang +ions = this.loadTranslations( );%0A @@ -4344,29 +4344,32 @@ );%0A %7D - else +%0A if(this.tra @@ -4365,36 +4365,37 @...
e152a06c1425a476d91d6db68e315edebb66e448
Add complex prop types
__tests__/props.spec.js
__tests__/props.spec.js
/* global jest, describe, it, expect */ import React from 'react' import * as Schemative from '../src/schemative' console.error = jest.fn() describe('React prop types suite', () => { it(`should fail when props don't match`, () => { const Simple = (props) => (<div className={props.name} />) const errorMessag...
JavaScript
0.000007
@@ -133,16 +133,271 @@ est.fn() +%0Aconst createErrorMessage = (%7B attr, type, expected, component %7D) =%3E %5B%0A 'Warning: Failed prop type: Invalid prop',%0A %60%5C%60$%7Battr%7D%5C%60 of type %5C%60$%7Btype%7D%5C%60%60,%0A %60supplied to %5C%60$%7Bcomponent%7D%5C%60,%60,%0A %60expected %5C%60$%7Bexpected%7D%...
dd1f2a1cb5af2fd2dcc178f3f30d149fde659c7b
Add creep.energy and creep.energyCapacity to Creep prototype
src/main.js
src/main.js
var spawnController = require("SpawnController"); var CreepController = require("CreepController"); var MilitaryController = require("MilitaryController"); var StructureMaintainer = require("StructureMaintainer"); var linkController = require("LinkController"); var RoomMaintainer = require("RoomMaintainer"); Memory.so...
JavaScript
0
@@ -879,16 +879,401 @@ %7D%0A%7D);%0A%0A +Object.defineProperty(Creep.prototype, %22energy%22, %7B%0A enumerable : true,%0A configurable : true,%0A writable : false,%0A get: function () %7B%0A return this.carry.energy;%0A %7D%0A%7D);%0AObject.defineProperty(Creep.prototype, %22energyCapacity%22,...
260745d8c8163bac97f09dfda641dfeb71712897
update sample
src/main.js
src/main.js
GLBoost.TARGET_WEBGL_VERSION = 1; var SCREEN_WIDTH = 640; var SCREEN_HEIGHT = 640; phina.define('MainScene', { superClass: 'phina.display.CanvasScene', init: function(options) { this.superInit(); var layer = this.layer = phina.display.GLBoostLayer({ width: SCREEN_WIDTH, height: SCREEN_HEIGHT ...
JavaScript
0
@@ -2368,16 +2368,40 @@ true;%0A%0A + if (i%253 == 0) %7B%0A ob @@ -2421,32 +2421,34 @@ clear()%0A + .to(%7BscaleY: 3%7D, @@ -2441,17 +2441,17 @@ o(%7Bscale -Y +X : 3%7D, 50 @@ -2468,32 +2468,34 @@ tSine%22)%0A + .to(%7BscaleY: 1%7D, @@ -2488,17 +2488,17 @@ o(%7Bscale -Y +X :...
18080398171b09881f08a67308d29db6db23ed22
Add missing unquote function
test/utils/transform.js
test/utils/transform.js
import _ from 'lodash'; import fs from 'fs'; import gutil from 'gulp-util'; import path from 'path'; import hash from 'sha1'; import table from 'text-table'; // Parses hash arguments for Handlebars block helper // @see [Hash Arguments]{@http://code.demunskin.com/other/Handlebars/block_helpers.html#hash-arguments} // @...
JavaScript
0.998138
@@ -152,16 +152,228 @@ able';%0A%0A +const unquote = (str, quoteChar) =%3E %7B%0A quoteChar = quoteChar %7C%7C '%22';%0A if (str%5B0%5D === quoteChar && str%5Bstr.length - 1%5D === quoteChar) %7B%0A return str.slice(1, str.length - 1);%0A %7D%0A return str;%0A%7D;%0A%0A // Parse @@ -1034,19 +1034,2...
e70f8bea9508b8d5105f51463f5e9bb3a3f46d49
add some more test cases
test/visibility.spec.js
test/visibility.spec.js
/* eslint-env jasmine, jquery */ /* global loadFixtures */ 'use strict'; describe('visibility', function() { var select = false; beforeEach(function() { jasmine.getFixtures().fixturesPath = 'base/test/fixtures'; loadFixtures('basic.html'); select = $('#basic'); select.selectric(); }); it('s...
JavaScript
0
@@ -760,32 +760,658 @@ e(true);%0A %7D);%0A%0A + it('should add .selectric-focus on focusin', function() %7B%0A $('.selectric-input').focusin();%0A expect($('.selectric-wrapper').hasClass('selectric-focus')).toBe(true);%0A %7D);%0A%0A it('should remove .selectric-focus on focusout', function() %7B%0A $('....
becb5648ab434398767884d9fbbe1d397e9698b0
Refactor getTopTracks to accept params as object.
src/api/user.js
src/api/user.js
"use strict"; var _ = require('lodash'); var getJSONP = require('./getJSONP'); var credentials = require("./credentials.json"); var baseUrl = "http://ws.audioscrobbler.com/2.0/?format=json&user=slwen&api_key=" + credentials.key; var routes = { getInfo: baseUrl + "&method=user.getinfo", getTopAlbu...
JavaScript
0
@@ -1108,21 +1108,14 @@ ion( -limit, period +params , ca @@ -1164,47 +1164,25 @@ s + -%22&limit=%22 + limit + %22&period=%22 + period +formatUrl(params) ;%0A
bd8ee87fdf58e83ece23a562390d1a2221356d3d
Update codebase
src/app/main.js
src/app/main.js
//const {app, globalShortcut} = require('electron') var menubar = require('menubar'); var mb = menubar(); mb.on('ready', function ready () { console.log('app is ready'); // // Register a 'CommandOrControl+X' shortcut listener. // const ret = globalShortcut.register('CommandOrControl+X', function () { // co...
JavaScript
0.000001
@@ -1,10 +1,9 @@ -//cons +impor t %7Ba @@ -24,20 +24,26 @@ tcut -%7D = require( +, clipboard%7D from 'ele @@ -52,13 +52,16 @@ ron' -)%0Avar +;%0Aimport men @@ -69,18 +69,13 @@ bar -= require( +from 'men @@ -83,488 +83,358 @@ bar' -) ;%0A%0A -var mb = menubar();%0A%0Amb.on('ready', function ready () %7B%0A ...
ade6a78c921ec47b1e1ba0e2d52eeea1c759a9c3
Fix test
web/src/js/utils/__tests__/feature-flags.test.js
web/src/js/utils/__tests__/feature-flags.test.js
/* eslint-env jest */ const anonUserSignInEnv = process.env.FEATURE_FLAG_ANON_USER_SIGN_IN afterEach(() => { // Reset env vars after tests process.env.FEATURE_FLAG_ANON_USER_SIGN_IN = anonUserSignInEnv }) describe('feature flags', () => { test('isAnonymousUserSignInEnabled is false if the env var is "false"', ...
JavaScript
0.000004
@@ -1220,19 +1220,20 @@ bled is -tru +fals e', () = @@ -1372,30 +1372,31 @@ Enabled()).toBe( -tru +fals e)%0A %7D)%0A%7D)%0A