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 |
|---|---|---|---|---|---|---|---|
83d7f5df654287aa6443fe96a3bded4fd3efe04d | add realm in boot | app/boot.js | app/boot.js | (function(document) { 'use strict';
var gitVersion = document.documentElement.attributes['git-version'].value;
require.config({
waitSeconds: 120,
baseUrl : 'app/',
paths: {
'angular' : 'libs/angular-flex/angular-flex',
'angular-route' : 'libs/angular-route/ang... | JavaScript | 0.000016 | @@ -1340,16 +1340,73 @@
croll',%0A
+ 'realm' : 'utilities/realm',%0A
|
c140b8c985cfc05ce8ae1326e470d9f4e1231a54 | Remove arrow function to remain compatible with older Node versions | lib/metalsmith-metafiles.js | lib/metalsmith-metafiles.js | "use strict";
var MetafileMatcher = require('./metafile-matcher');
// Not needed in Node 4.0+
if (!Object.assign) Object.assign = require('object-assign');
class MetalsmithMetafiles {
constructor(options) {
options = options || {};
this._initMatcherOptions(options);
this._initMatchers();
}
_initM... | JavaScript | 0 | @@ -746,16 +746,24 @@
ons.map(
+function
(options
@@ -768,10 +768,22 @@
ns)
-=%3E
+%7B%0A return
new
@@ -807,16 +807,23 @@
options)
+;%0A %7D
);%0A %7D%0A%0A
|
f70047b47f9749c58bc2a0af13aebe70ee6b9c23 | add test example of styling | ui/raidboss/data/00-misc/test.js | ui/raidboss/data/00-misc/test.js | 'use strict';
[{
zoneRegex: /^Middle La Noscea$/,
timelineFile: 'test.txt',
// timeline here is additions to the timeline. They can
// be strings, or arrays of strings, or functions that
// take the same data object (including role and lang)
// that triggers do.
timeline: [
'alerttext "Final Sting" ... | JavaScript | 0 | @@ -1032,32 +1032,177 @@
%5D;%0A %7D,%0A %5D,%0A
+ timelineStyles: %5B%0A %7B%0A regex: /%5EDeath To/,%0A style: %7B%0A 'color': 'red',%0A 'font-family': 'Impact',%0A %7D,%0A %7D,%0A %5D,%0A
timelineTrigge
|
5a429d05748e49527b0f8fe57ce5118f3211d453 | make linter happy | lib/modules/ens/embarkjs.js | lib/modules/ens/embarkjs.js | import namehash from 'eth-ens-namehash';
/*global web3*/
let __embarkENS = {};
// registry interface for later
__embarkENS.registryInterface = [
{
"constant": true,
"inputs": [
{
"name": "node",
"type": "bytes32"
}
],
"name": "resolver",
"outputs": [
{
"... | JavaScript | 0.000001 | @@ -48,16 +48,26 @@
bal web3
+, EmbarkJS
*/%0Alet _
|
8b75a1ce5d544ce35c1c9f0b9cf3833ea0692844 | Load token schemas. | app/main.js | app/main.js | exports = module.exports = function(IoC, negotiator, interpreter, translator, unsealer, sealer, logger) {
var Tokens = require('tokens').Tokens;
var tokens = new Tokens();
return Promise.resolve(tokens)
.then(function(tokens) {
var components = IoC.components('http://i.bixbyjs.org/tokens/Token'... | JavaScript | 0 | @@ -745,36 +745,804 @@
ion(
-tokens) %7B%0A var api = %7B%7D
+itokens) %7B%0A var components = IoC.components('http://i.bixbyjs.org/tokens/Schema');%0A return Promise.all(components.map(function(comp) %7B return comp.create(); %7D ))%0A .then(function(schemas) %7B%0A schemas.forEach(func... |
7326b14369f16f3ee726b01c443d60fa27197a1d | Fix startup message | app/main.js | app/main.js | const express = require('express')
const channels = require('./channels').channels
const feed = require('./feed')
const fs = require('fs')
const path = require('path')
const moment = require('moment')
const channelEndpoint = require('./channelEndpoint')
const app = express()
// ---------------------------------------... | JavaScript | 0.000077 | @@ -1288,19 +1288,16 @@
og('
-Example app
+SDO Live
lis
|
8a5f3992a9c5f604454ccd1e22352a140b55a5a8 | Fix custom greeting bug. | bots/bot.js | bots/bot.js | // Copyright 2011 Vineet Kumar
var fs = require('fs');
var repl = require('repl');
var path = require('path');
var ttapi = require('ttapi');
Bot = function(configFile) {
this.ttapi = null;
this.configFile = configFile || process.argv[2] || Bot.usage();
this.config = {};
this.greetings = {};
this.logChats = false... | JavaScript | 0 | @@ -3141,29 +3141,39 @@
eetings);%0A%09%7D
- else
+%0A%09if (!message)
%7B%0A%09%09message
|
b2d6812832f9c5b4e53325515eb9b77389b8f0b6 | Improve no.js | app/assets/javascripts/admin/lib/no.js | app/assets/javascripts/admin/lib/no.js | var noJS = function() {
var htmlTag = document.getElementsByTagName("html")[0];
htmlTag.className = htmlTag.className.replace("no-js", "js");
};
noJS();
| JavaScript | 0.000077 | @@ -1,15 +1,5 @@
-var noJS =
+(
func
@@ -134,15 +134,9 @@
);%0A%7D
-;%0A%0AnoJS
+)
();%0A
|
1da511510f2d70f4a00589b59bad410936cbb7d0 | Remove line breaks | lib/node_modules/@stdlib/_tools/eslint/rules/no-require-absolute-path/lib/main.js | lib/node_modules/@stdlib/_tools/eslint/rules/no-require-absolute-path/lib/main.js | /**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | JavaScript | 0.000014 | @@ -1441,21 +1441,17 @@
%0A%09%09%09if (
-%0A%09%09%09%09
+
isAbsolu
@@ -1471,20 +1471,17 @@
rePath )
-%0A%09%09%09
+
) %7B%0A%09%09%09%09
|
1c0ae1ef63abba32a48c5ca01d8030ebd4e5bea2 | Fix to more simple way. | lib/plugins/console/help.js | lib/plugins/console/help.js | 'use strict';
var chalk = require('chalk');
module.exports = function(args){
var command = args._[0];
var list = this.extend.console.list();
if (list.hasOwnProperty(command) && command !== 'help'){
printHelpForCommand(command, list[command]);
} else {
printAllHelp(list);
}
};
function printHelpFor... | JavaScript | 0.000021 | @@ -1767,51 +1767,72 @@
%0A%0A
-if (
list.
-length %3E 0) %7B%0A length = list%5B0%5D
+forEach(function(item) %7B%0A length = Math.max(length, item
.nam
@@ -1839,21 +1839,24 @@
e.length
+)
;%0A %7D
+);
%0A%0A list
@@ -1933,197 +1933,8 @@
-var cmp = nameA.length - nameB.length;%0A%0A if (cmp %3E... |
a106380210084f92468a85a45d29128a647405ac | Update Gulp/gulpfile.js | Gulp/gulpfile.js | Gulp/gulpfile.js | // Initialize modules
const { src, dest, watch, series, parallel } = require("gulp");
// - importing npm packages
const sourcemaps = require("gulp-sourcemaps");
const sass = require("gulp-sass");
const concat = require("gulp-concat");
const uglify = require("gulp-uglify");
const postcss = require("gulp-postcss")... | JavaScript | 0 | @@ -1079,17 +1079,16 @@
ade%0D%0A//
-/
%22cacheBu
|
bc19ef7a6c660a139fd786fa8e1389df571232cd | refine cli option: -A | lib/plugins/module-paths.js | lib/plugins/module-paths.js | var path = require('path');
var config = require('../config');
var addon = (config.addon || []).map(formatPath);
config.systemPluginPath = formatPath(config.SYSTEM_PLUGIN_PATH);
function addDebugPaths(plugins) {
if (config.debugMode) {
plugins.unshift(process.cwd());
}
}
if (config.pluginPaths) {
config.p... | JavaScript | 0.999971 | @@ -69,17 +69,16 @@
addon =
-(
config.a
@@ -87,17 +87,44 @@
on %7C%7C %5B%5D
-)
+;%0Aaddon = addon.concat(addon
.map(for
@@ -131,16 +131,17 @@
matPath)
+)
;%0A%0Aconfi
|
2890288be14bbd0a1d3bed382d6dc94ecbdc7d67 | DELETE accepts body - unlike GET | jquery.methods.js | jquery.methods.js | (function($) {
function getMethodHandler(method) {
return function(url, query, body, cb) {
var meth = method;
if (!cb) {
if (typeof body == "function") {
cb = body;
body = null;
} else if (typeof query == "function") {
cb = query;
query = null;
} else {
cb = function() {};
}
}
i... | JavaScript | 0 | @@ -667,15 +667,8 @@
COPY
-%7CDELETE
)$/i
|
59bc3173268313bb4546aa1c6da2309da408250d | add warning that allowed_ips must not be empty | protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js | protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js | 'use strict';
'require uci';
'require form';
'require network';
function validateBase64(section_id, value) {
if (value.length == 0)
return true;
if (value.length != 44 || !value.match(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/))
return _('Invalid Base64 key string');
return true;
}
... | JavaScript | 0 | @@ -4054,39 +4054,253 @@
paddr';%0A%09%09o.
-rmempty = false
+validate = function(section, value) %7B%0A%09%09%09var opt = this.map.lookupOption('allowed_ips', section);%0A%09%09%09var ips = opt%5B0%5D.formvalue(section);%0A%09%09%09if (ips.length == 0) %7B%0A%09%09%09%09return _('Value must not be empty');%0A%09%09%0... |
a75a66081c26f4b21181e72b76788e4da00a957e | update GroupList | src/GroupList/GroupList.js | src/GroupList/GroupList.js | /**
* @file GroupList component
* @author liangxiaojun(liangxiaojun@derbysoft.com)
*/
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import List from '../List';
import Theme from '../Theme';
import Tip from '../Tip';
import Util from '../_vendors/Util';
import Event from '../_vendors/... | JavaScript | 0 | @@ -762,20 +762,21 @@
-this
+Event
.wheelHa
@@ -783,22 +783,27 @@
ndler =
-::
this
+::Event
.wheelHa
@@ -1318,209 +1318,8 @@
%7D%0A%0A
- wheelHandler(e) %7B%0A const %7BshouldPreventContainerScroll, onWheel%7D = this.props;%0A shouldPreventContainerScroll && Event.preventContainerScrol... |
3c4bba38a4776dd05de92ac19e616b9e459c6d0c | Update codinglove regex | scripts/codinglove.js | scripts/codinglove.js | // Commands
// bocbot [give me|spread some] joy|love - Get a random meme from thecodinglove.com
var cheerio = require('cheerio');
module.exports = function(robot){
robot.codinglove = {
url: 'http://thecodinglove.com/random',
textSelector: 'body .post h3',
imageSelector: 'body .post img',
loadRequestDat... | JavaScript | 0.000001 | @@ -161,18 +161,17 @@
robot)%7B%0A
-%09
%0A
+
%09robot.c
@@ -922,17 +922,16 @@
random',
-
%0A%09%09%09%09//
@@ -1469,13 +1469,9 @@
e);%0A
-%09%09%09%09
%0A
+
%09%09%09%09
@@ -1917,16 +1917,117 @@
%09%7D%0A%09%7D;%0A%0A
+%09// TODO: Implement the ability to get a number of these: (give me%7Cspread) (some )?(j... |
00f7b65c7f084a6a5e241bc9f4e27bcf6ed02ce5 | fix bug qd aucun fichier n'est sélectionné | app/main.js | app/main.js | const isDev = require('electron-is-dev');
const {autoUpdater} = require("electron-updater");
const log = require('electron-log');
autoUpdater.logger = log;
autoUpdater.logger.transports.file.level = 'info';
log.info('App starting...');
const electron = require('electron');
const app = electron.app;
const ipc = electr... | JavaScript | 0.000001 | @@ -788,29 +788,29 @@
ndow.create(
-800,6
+900,7
00);%0A %7D%0A%7D
@@ -1226,24 +1226,56 @@
ile.open();%0A
+ if (file != null)%0A %7B%0A
event.se
@@ -1342,16 +1342,22 @@
tent%7D);%0A
+ %7D%0A
%7D);%0A%0Afun
|
d03a7614f7ed66d400af2c46e8a3c2c877d7e573 | Add todo for TTY | app/repl.js | app/repl.js | /*
* Memcing
* Copyright (c) 2014 Fatih Cetinkaya (http://github.com/cmfatih/memcing)
* For the full copyright and license information, please view the LICENSE.txt file.
*/
// repl module implements Read-Eval-Print-Loop (REPL).
//
// TODO: Command result messages should be change.
// Init reqs
/* jslint node: tr... | JavaScript | 0 | @@ -1280,32 +1280,216 @@
TTY !== true) %7B%0A
+ // TODO: There are some issues with TTY Check this code block later.%0A // https://www.npmjs.org/package/ttys%0A // https://github.com/joyent/node/issues/7300%0A%0A
deferred.r
|
01dc3fe9ecf6f2653715b8897a214762806cf2ce | Create WS adapter | app/pouch-ws-adapter.js | app/pouch-ws-adapter.js | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.PouchWsAdapter = factory());
}(this, (function () {'use strict';
function PouchWsAdapter(localDb, r... | JavaScript | 0 | @@ -275,16 +275,17 @@
trict';%0A
+%0A
func
|
017d8aed847dc69e7abaae1bd3edb274c13cb89d | correct isArray | util/domless/domless.js | util/domless/domless.js | steal('can/util/can.js', 'can/util/attr', 'can/util/array/each.js', 'can/util/array/makeArray.js', function (can, attr) {
var core_trim = String.prototype.trim;
var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
function likeArray(obj) {
return typeof obj.length === 'number';
}
function flatten(array) {
retu... | JavaScript | 0.999999 | @@ -442,19 +442,21 @@
tanceof
-a
+A
rr
+ay
;%0A%09%7D;%0A%0A%09
|
95cd08ae1d205adff7d495f9e581d7c6f78015de | Add test for lenght() | docs/spec/toteSpec.js | docs/spec/toteSpec.js | describe('tote', function() {
function getItemFromLocalStorage( key ) {
return localStorage.getItem( key );
}
describe('when creating', function() {
var ls;
afterEach(function() {
ls.clear();
});
it('initializes with a namespace', function() {
... | JavaScript | 0.000001 | @@ -3985,32 +3985,417 @@
2 );%0A %7D);
+%0A%0A it('#length, returns the number of items stored', function() %7B%0A var key1 = 'item1',%0A key2 = 'item2',%0A value = 'Just counting';%0A ls.set(key1, value);%0A ls.set(key2, value);%0A %0A ... |
70bdf677e7d0b3f017f26110ebf7ac14442f74e4 | fix delete host | app/remotehost_event.js | app/remotehost_event.js | /*jslint devel:true, node:true, nomen:true */
/*global require, global, $, io, socket, FileDialog, RemoteFTP */
var fs = require('fs'),
regFile = '../conf/targetconf.json';
function updateHostList(socket) {
"use strict";
fs.readFile(regFile, (function (socket) {
return function (err, filebuf) {
var host,
... | JavaScript | 0.000001 | @@ -1770,25 +1770,28 @@
%09%09%09%09
-delete targets%5Bk%5D
+targets.splice(k, 1)
;%0A%09%09
|
b6bfc5084e53efb171072d7cde2df707ba57dac4 | test time | u2f-test.js | u2f-test.js |
var userDict = {} // UserId -> KeyHandle
var keyHandleDict = {}; // KeyHandle -> PublicKey
var appId = window.location.origin;
var version = "U2F_V2";
var p256 = new ECC('p256');
var sha256 = function(s) { return p256.hash().update(s).digest(); };
var BN = p256.n.constructor; // BN = BigNumber
functi... | JavaScript | 0.000006 | @@ -2767,16 +2767,60 @@
chTime =
+ %5B89, 8, 219, 7%5D; //5908DB07%0A //epochTime =
Math.ro
|
5195bc7bf63345c7f57492fcd7e0eed5b6cfa3a6 | Fix _.min issue | lib/rank/network-simplex.js | lib/rank/network-simplex.js | const __ = require('lodash3')
const _ = require('lodash')
const feasibleTree = require('./feasible-tree')
const slack = require('./util').slack
const initRank = require('./util').longestPath
const preorder = require('../graphlib').alg.preorder
const postorder = require('../graphlib').alg.postorder
const simplify = requ... | JavaScript | 0 | @@ -1,34 +1,4 @@
-const __ = require('lodash3')%0A
cons
@@ -5615,14 +5615,15 @@
urn
-_
_.min
+By
(can
|
722edfc7dda11c185c8bcf4210d8f5bf50753777 | Add override status to getMode | webapp/api/programme.js | webapp/api/programme.js | 'use strict';
const async = require('async');
const ProgrammeFileWriter = require('heatingprogramme').ProgrammeFileWriter;
const programmeModelBuilder = require('../models/programmeModelBuilder');
const ProgrammeProvider = require('../models/programmeProvider');
const CallingForHeatFile = require('../models/callingFor... | JavaScript | 0.000001 | @@ -2994,16 +2994,70 @@
e(now),%0A
+ inOverride: programme.isInOverridePeriod(now)%0A
%7D;
|
649056d246384ff84723876c7eb564e1b62340a8 | make the slide a little cleaner. | js/BlogScratch.js | js/BlogScratch.js | ////
//// NOTE: This is test/demo code--don't worry too much about it.
////
jQuery(document).ready(function(){
///
/// Do a demo D3 chart from docs.
///
var data = [4, 8, 15, 16, 23, 35, 42, 3, 3, 6, 9, 11, 18, 26];
var width = 420;
var barHeight = 20;
var x = d3.scale.linear()
.domain... | JavaScript | 0 | @@ -1062,17 +1062,20 @@
%0A %5D;%0A
-%09
+
%0A fun
@@ -1210,16 +1210,63 @@
remove.
+ Plus removal step (arbitrary--could be below).
%0A%09jQuery
@@ -1318,16 +1318,60 @@
tion()%7B%0A
+%09 // Get rid of the disappeared element.%0A
%09 jQu
@@ -1416,18 +1416,83 @@
);%0A%09
- %0A%09
+%7D); %0A... |
92200769cfbcf4bb08044acdc1d47822d33bade3 | Debug sidebar js | module/htdocs/js/sb-admin-2.js | module/htdocs/js/sb-admin-2.js | $(function() {
$('#side-menu').metisMenu();
});
//Loads the correct sidebar on window load,
//collapses the sidebar on window resize.
// Sets the min-height of #page-wrapper to window size
$(function() {
$(window).bind("load resize", function() {
topOffset = 50;
width = (this.window.innerWidt... | JavaScript | 0 | @@ -935,14 +935,21 @@
$('
-ul.nav
+#sidebar-menu
a')
@@ -961,32 +961,144 @@
er(function() %7B%0A
+ if (this.href.indexOf('#', this.href.length - '#'.length) !== -1) %7B%0A return false;%0A %7D%0A
return t
@@ -1142,16 +1142,22 @@
his.href
+ + '?'
) == 0;%0A
|
412a935cda8b0497da7a0829bffca9f8053e2854 | Fix lint warning | editor/validate.js | editor/validate.js | 'use strict';
/*global vl, d3, ZSchema */
var vgSchema = null;
var validateVl = function(vlspec) {
var validator = new ZSchema();
var valid = validator.validate(vlspec, vl.schema.schema);
if (!valid) {
console.error(validator.getLastErrors());
}
};
var validateVg = function(vgspec) {
var validator = ... | JavaScript | 0.000009 | @@ -32,16 +32,40 @@
ZSchema
+, validateVl, validateVg
*/%0A%0Avar
|
0290f5112942a65a21a6b5353944c2a0779ecd67 | Use tmpPath and tmpName is the deploy route | lib/server/routes/deploy.js | lib/server/routes/deploy.js | // > The deploy post route.
// > Removes previous deploy if it exists.
// > Accepts a tarball, unpacks it and puts it in the right place.
//
// > Copyright © 2013 Matt Styles
// > Licensed under the MIT license
'use strict';
// Includes
var icarus = require( '../../icarus' ),
fs = require( 'fs' ),
path = r... | JavaScript | 0.000001 | @@ -710,24 +710,144 @@
ploy' ) );%0A%0A
+ // Store the archive folder.%3Cbr%3E%0A // @todo should be in the config.%0A var archiveFolder = '.icarus/archive/';%0A%0A
// Get s
@@ -1000,49 +1000,37 @@
ame.
-replace( /%5C/tmp%5C//, '/archive/' )
+match( /%5B%5E%5C/%5D+$/ )%5B0%5D
%0A %7D;%0A
%0A
@@ ... |
ef96e9237500d17b115d066d3cd0409b760d4891 | Remove tiny red dot - fixes #33 | client/y.js | client/y.js | function userLoggedIn(user) {
var options = {
userCloseable: false,
timeout: 3000
};
if (user)
return true;
Notifications.warn('Sign in',
'Board changes not allowed, please sign in or feel free to watch :-)',
options);
return false;
}
Template.game.even... | JavaScript | 0 | @@ -1513,16 +1513,23 @@
-return %5B
+var lastMove =
Move
@@ -1561,16 +1561,81 @@
p: -1%7D%7D)
+;%0A if (typeof(lastMove) != 'undefined')%0A return %5BlastMove
%5D;%0A %7D%0A%7D
|
14b04b085f0688c37580b7622ef36b062e4d0bcf | Update to return the title Function | app/routes/ember-cli.js | app/routes/ember-cli.js | import Route from '@ember/routing/route';
export default Route.extend({
titleToken() {
return 'Ember CLI';
}
});
| JavaScript | 0.000172 | @@ -77,13 +77,8 @@
itle
-Token
() %7B
@@ -99,16 +99,42 @@
mber CLI
+ - Ember API Documentation
';%0A %7D%0A%7D
|
9807ec6539ecc67e7a6687f21ec8033bcddf95d4 | Fix phrasing when re-subscribing user to a stream. | frontend_tests/node_tests/stream_data.js | frontend_tests/node_tests/stream_data.js | global.stub_out_jquery();
add_dependencies({
stream_color: 'js/stream_color.js'
});
set_global('blueslip', {});
var stream_data = require('js/stream_data.js');
(function test_basics() {
var denmark = {
subscribed: false,
color: 'blue',
name: 'Denmark',
stream_id: 1,
i... | JavaScript | 0.000001 | @@ -3445,37 +3445,35 @@
ding an already-
-remov
+add
ed subscriber is
|
a2a40033a0d15a81d116c6dd52eefec64c9bf9c0 | rename _alertdiv | src/WidgetName/widget/WidgetName.js | src/WidgetName/widget/WidgetName.js | /*
WidgetName
========================
@file : WidgetName.js
@version : {{version}}
@author : {{author}}
@date : {{date}}
@copyright : {{copyright}}
@license : {{license}}
Documentation
========================
Describe your widget here.
*/
// Required mod... | JavaScript | 0.000301 | @@ -6581,33 +6581,33 @@
troy(this._alert
-d
+D
iv);%0A
@@ -6618,17 +6618,17 @@
s._alert
-d
+D
iv = nul
@@ -7073,17 +7073,17 @@
s._alert
-d
+D
iv);%0A
|
b097a60c965ef6c7cf6ac255ad90ba12f3188aff | support browser globals, who likes that these days? | attricon.js | attricon.js | /**
* An miniscule Backbone view that binds an icon className to a model attribute.
* @param {[options]}
* model The model to bind to.
* attribute The attribute of the model to map to an icon.
* iconMap An object that maps the attribute value to an icon.
* formRaw A function to ma... | JavaScript | 0 | @@ -360,71 +360,245 @@
*/%0A
-define(function(require)%7B%0A var Backbone = require('b
+(function (root, factory) %7B%0A if (typeof define === 'function' && define.amd) %7B%0A // AMD%0A define(%5B'backbone'%5D, factory);%0A %7D else %7B%0A // Browser globals%0A root.Attricon = factory(root.B
ackbone
-... |
2f56dbec388fa3cc7ae64dec9176ebf4946c6a24 | Remove CR | src/SidePanel/SidePanel.js | src/SidePanel/SidePanel.js | import React from 'react/addons';
import Portal from '../Portal/Portal.js';
import SidePanelContents from './SidePanelContents.js';
/**
* Wrapper for the SidePanel, to put it inside of a Portal.
* The SidePanel needs its own lifecycle and therefore this wrapper is necessary
*/
export default class SidePanel exten... | JavaScript | 0.000002 | @@ -334,17 +334,16 @@
onent %7B%0A
-%0A
render
|
956dae6e2266ef5f30a3e69fe8fa89fd4f60930e | configure playlists to only show valid songs | app/routes/playlists.js | app/routes/playlists.js | "use strict"
var express = require('express');
var router = express.Router();
var passport = require('passport')
var credential = require('credential')
var _ = require('lodash')
var db = require('../db')
router.get(
'/getUserPlaylists',
function(request, response) {
if (!request.user) {
response.status(... | JavaScript | 0.000002 | @@ -1665,16 +1665,67 @@
tResult%0A
+ var validStatuses = %5B'valid', 'converted'%5D%0A
@@ -1899,16 +1899,141 @@
_id = $1
+ AND%0A song.status IN ($%7B%0A validStatuses.map((s) =%3E %7B return %22'%22 + s + %22'%22 %7D).join(',')%0A %7D)
%60,%0A
|
e8f29df935c5bd607ff950d6ab2656ffe99ee9c0 | Fix id generation for anonymous columns. | src/column-layout.js | src/column-layout.js | import { emptyIfUndefinedFormat } from '@zambezi/d3-utils'
import { property, replaceArrayContents } from '@zambezi/fun'
import { wrap } from 'underscore'
import { updateTextIfChanged } from './update-text-if-changed'
const valueByKey = {}
, defaultFormat = wrap(String, emptyIfUndefinedFormat)
export function col... | JavaScript | 0 | @@ -294,16 +294,42 @@
ormat)%0A%0A
+let columnIdCount = 0xA %0A%0A
export f
@@ -1863,16 +1863,27 @@
umn.key
+%0A
%7C%7C (labe
@@ -1936,16 +1936,17 @@
g, '-')%0A
+%0A
@@ -2018,17 +2018,17 @@
rn '
-c
+gen
-' + (
-++
colu
@@ -2036,16 +2036,18 @@
nIdCount
+++
).toStri
|
713546f0d9fe31d6da2f2dba353ff8f3d92b096d | Allow reloading soundcloud.com | app/menu.js | app/menu.js | 'use strict'
const electron = require('electron')
const Events = require('events')
const Menu = electron.Menu
const app = electron.app
const shell = electron.shell
const events = new Events()
const menu = [
{
label: 'Edit',
submenu: [
{
label: 'Undo',
accelerator: 'CmdOrCtrl+Z',
... | JavaScript | 0.000001 | @@ -1294,32 +1294,231 @@
en())%0A %7D%0A
+ %7D,%0A %7B%0A label: 'Reload',%0A accelerator: 'CmdOrCtrl+R',%0A click: function(item, focusedWindow) %7B%0A if (focusedWindow)%0A focusedWindow.reload()%0A %7D%0A
%7D%0A %5D%0A
@@ -2993,191 +2993,8... |
1e3bfe80b1a2b3e9e2abb5d5d1607c868d4de3ba | Fix new list methods | src/SimpleResourceProxy.js | src/SimpleResourceProxy.js | /*
* BSD 3-Clause License
*
* Copyright (c) 2017, MapCreator
* 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, th... | JavaScript | 0.004964 | @@ -4605,51 +4605,54 @@
-Object.assign(params, this.defaultP
+const resolver = this._buildResolver(p
arams);%0A
@@ -4647,16 +4647,17 @@
arams);%0A
+%0A
retu
@@ -4663,35 +4663,16 @@
urn
-this._buildResolver(params)
+resolver
.get
@@ -4676,22 +4676,24 @@
getPage(
-params
+resolver
.page);%0A
@@ -5... |
9e5fe54d6d4925e4c46b6b40e442c9ba88b063c0 | Fix sorting | comments.js | comments.js | var append = require('append'),
sha1 = require('sha1'),
md5 = require('MD5'),
querystring = require('querystring'),
MongoDB = require('mongodb').Db,
MongoServer = require('mongodb').Server;
var INDEX = 'res'; // which field to index
// constructor
var Comments = module.exports = function Comments(... | JavaScript | 0.000024 | @@ -2372,12 +2372,11 @@
t: '
-crea
+edi
ted'
|
1623ae966b9823088e65870104d9e37d714b23c0 | Standardize on “//“ for all JS comments | src/reactize.js | src/reactize.js | var Turbolinks = require("exports?this.Turbolinks!turbolinks");
/* Disable the Turbolinks page cache to prevent Tlinks from storing versions of
* pages with `react-id` attributes in them. When popping off the history, the
* `react-id` attributes cause React to treat the old page like a pre-rendered
* page and break... | JavaScript | 0.000001 | @@ -59,17 +59,17 @@
ks%22);%0A%0A/
-*
+/
Disable
@@ -138,18 +138,18 @@
ions of%0A
- *
+//
pages w
@@ -217,18 +217,18 @@
ry, the%0A
- *
+//
%60react-
@@ -296,18 +296,18 @@
endered%0A
- *
+//
page an
@@ -328,12 +328,8 @@
ng.%0A
- */%0A
Turb
|
7c0805858c9ebc1d1d3f653e08d66460c07129a3 | fix date comparison in github util | lib/sites/project/github.js | lib/sites/project/github.js | const request = require('request')
const FeedParser = require('feedparser')
class Github {
constructor() {
this._projectUrlRegex =
/^(?:https:\/\/|http:\/\/)?github\.com\/[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+\/?$/
}
isMatchUrlPattern(url) {
if (url.length > 200) {
return... | JavaScript | 0.000131 | @@ -1442,21 +1442,61 @@
-if (item.date
+let t = new Date(item.date)%0A if (t
%3E c
|
125664de7633a3added289019ff9d38e5f5c4872 | Convert `loadUser()` and `fetchUser()` to async/await | app/services/session.js | app/services/session.js | import Service, { inject as service } from '@ember/service';
import window from 'ember-window-mock';
import ajax from '../utils/ajax';
export default class SessionService extends Service {
@service store;
@service router;
savedTransition = null;
abortedTransition = null;
isLoggedIn = false;
currentUser =... | JavaScript | 0.999993 | @@ -1134,16 +1134,22 @@
%0A %7D%0A%0A
+async
loadUser
@@ -1203,24 +1203,44 @@
er) %7B%0A
+try %7B%0A await
this.fetchUs
@@ -1247,29 +1247,41 @@
er()
+;
%0A
+%7D
- .
catch
-(() =%3E
+ (error) %7B%0A
thi
@@ -1298,37 +1298,28 @@
er()
-)
+;
%0A
+%7D
- .
finally
-(() =%... |
b5815ffcb753d6e7972b8a26fa8681f570625f23 | Update PhetioGroup documentation | js/PhetioGroup.js | js/PhetioGroup.js | // Copyright 2019-2020, University of Colorado Boulder
/**
* Provides a placeholder in the static API for where dynamic elements may be created. Checks that elements of the group
* match the approved schema.
*
* @author Michael Kauzmann (PhET Interactive Simulations)
* @author Sam Reid (PhET Interactive Simulati... | JavaScript | 0 | @@ -208,16 +208,459 @@
ema.%0A *%0A
+ * In general when creating an element, any extra wiring or listeners should not be added. These side effects are a code%0A * smell in the %60createElement%60 parameter. Instead attach a listener for when elements are created, and wire up listeners%0A * there. Further documentation... |
c8ebf763c012c6b4f5a94eb8693e6045c9c8d760 | Version 1.5 | app/util.js | app/util.js | module.exports = {
convertToLocal: function(time) {
var newTime = new Date(time);
var originalTime = new Date(time);
console.log(newTime.getTimezoneOffset());
newTime.setHours(newTime.getHours() + (newTime.getTimezoneOffset() / 60) + 4);
return newTime;
}
};
| JavaScript | 0.000001 | @@ -235,17 +235,17 @@
) / 60)
-+
+-
4);%0A%09%09r
|
9532b56ac98a3de57a8dcacfb0b847bb0ac8049d | Fix responder candidates missing | js/turn.responder.js | js/turn.responder.js | 'use strict';
// https://codelabs.developers.google.com/codelabs/webrtc-web/#6
var api = "";
$("#start").click(function(){
var napi = document.getElementById("api").value;
if (napi != "/") {
api = "http://" + napi;
}
new Promise(function(resolve, reject){
navigator.webkitGetUserMedia(... | JavaScript | 0.000002 | @@ -2514,53 +2514,146 @@
r =
-unescapeOffer(JSON.parse(JSON.parse(data)%5B0%5D)
+JSON.parse(data);%0A offer = offer%5B0%5D;%0A offer = JSON.parse(offer);%0A offer = unescapeOffer(offer
);%0A
|
70827132d03cf88d08401a7f85a950abfdd529fd | fix minor typo | src/SimpleResourceProxy.js | src/SimpleResourceProxy.js | /*
* BSD 3-Clause License
*
* Copyright (c) 2017, MapCreator
* 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, th... | JavaScript | 0.999596 | @@ -5514,32 +5514,39 @@
api.layers.list
+andWrap
(%7BperPage: 10, s
@@ -6201,24 +6201,162 @@
Page);%0A %7D%0A%0A
+ /**%0A * Get the defaults parameters.%0A * @returns %7B%7Bpage: number, perPage: number, shareCache: boolean, search: %7B%7D%7D%7D - Defaults%0A */%0A
get defaul
|
3633e04fcdc65ad8d15f47972c920c29d376362f | Refactor tests for `#opensInNewTab` | spec/javascripts/merge_request_tabs_spec.js | spec/javascripts/merge_request_tabs_spec.js | /* eslint-disable no-var, comma-dangle, object-shorthand */
require('~/merge_request_tabs');
require('~/breakpoints');
require('~/lib/utils/common_utils');
require('vendor/jquery.scrollTo');
(function () {
// TODO: remove this hack!
// PhantomJS causes spyOn to panic because replaceState isn't "writable"
var ph... | JavaScript | 0 | @@ -2030,82 +2030,19 @@
-it('opens page tab in a new browser tab with Ctrl+Click - Windows/Linux',
+beforeEach(
func
@@ -2357,32 +2357,135 @@
');%0A %7D);%0A
+ %7D);%0A it('opens page tab in a new browser tab with Ctrl+Click - Windows/Linux', function () %7B
%0A this.cl
@@ -2738,900 +2... |
e057ba9d78c763ce0a1396af7cb9db285c51daee | add billing details | models/user.js | models/user.js | var mongoose = require('mongoose');
var bcrypt = require('bcryptjs');
var crypto = require('crypto');
var Schema = mongoose.Schema;
var Role = require('./role.js');
var UserSchema = Schema({
username: { type: String, index: true },
password: { type: String },
fname: { type: String },
... | JavaScript | 0 | @@ -368,24 +368,218 @@
: String %7D,%0A
+ companyname: %7Btype: String%7D,%0A country: %7Btype:String%7D,%0A address: %7Btype:String%7D,%0A town: %7Btype:String%7D,%0A county: %7Btype:String%7D,%0A postalcode: %7Btype: Number%7D,%0A
role:
@@ -1261,21 +1261,20 @@
Id(id,ca... |
adc5362e53135ea031b7933a8bf505076db429ca | Remove layout-auto-guessing | lib/env.js | lib/env.js | 'use strict';
/**
* lib
**/
/*global nodeca*/
// 3rd-party
var Puncher = require('puncher');
////////////////////////////////////////////////////////////////////////////////
var tzOffset = (new Date).getTimezoneOffset();
////////////////////////////////////////////////////////////////////////////////
/... | JavaScript | 0.000001 | @@ -976,454 +976,8 @@
t();
-%0A var layout = options.layout;%0A%0A if (!layout) %7B%0A // get auto-guessed layout based on requested apiPath:%0A //%0A // forum.threads.show -%3E default.forum.threads%0A // blogs.index -%3E default.blogs%0A // admin.dashboard -%... |
fd20009fcf17de391b398cbb7ce746144fc610c6 | Add test for the search field. | js/Search.spec.js | js/Search.spec.js | import React from 'react'
import { shallow } from 'enzyme'
import { shallowToJson } from 'enzyme-to-json'
import Search from './Search'
import ShowCard from './ShowCard'
import preload from '../public/data.json'
test('Search snapshot test', () => {
const component = shallow(<Search />)
const tree = shallowToJson(c... | JavaScript | 0 | @@ -461,18 +461,16 @@
arch /%3E)
-
%0A expec
@@ -533,12 +533,478 @@
.length)%0A%7D)%0A
+%0Atest('Search should render correct amount of shows based on the search', () =%3E %7B%0A const searchWord = 'house'%0A const component = shallow(%3CSearch /%3E)%0A component.find('input').simulate('change', %7Btarget:%7Bv... |
1d86bf33d90fba6b54129554ecae3a2ea892eec1 | 修复v3版本app-plus下配置pullToRefresh无效的Bug | src/platforms/app-plus/service/framework/webview/parser/pull-to-refresh-parser.js | src/platforms/app-plus/service/framework/webview/parser/pull-to-refresh-parser.js | export function parsePullToRefresh (routeOptions) {
const windowOptions = routeOptions.window
if (windowOptions.enablePullDownRefresh) {
const pullToRefreshStyles = Object.create(null)
// 初始化默认值
if (plus.os.name === 'Android') {
Object.assign(pullToRefreshStyles, {
support: true,
... | JavaScript | 0 | @@ -134,16 +134,88 @@
nRefresh
+ %7C%7C (windowOptions.pullToRefresh && windowOptions.pullToRefresh.support)
) %7B%0D%0A
|
fdcfa64c627f9522db5f176cc103171df839cad1 | Fix broken test by including babel polyfill on dummy app | ember-cli-build.js | ember-cli-build.js | /* eslint-env node */
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
module.exports = function(defaults) {
var app = new EmberAddon(defaults, {
// Add options here
});
/*
This build file specifies the options for the dummy test app of this
addon, located in `/tests/dummy`
This... | JavaScript | 0.000001 | @@ -107,16 +107,17 @@
function
+
(default
@@ -168,27 +168,62 @@
-// Add options here
+'ember-cli-babel': %7B%0A includePolyfill: true%0A %7D
%0A %7D
@@ -231,17 +231,16 @@
;%0A%0A /*%0A
-
This
@@ -306,17 +306,16 @@
this%0A
-
addon, l
@@ -339,17 +339,16 @@
/dummy%60%0A
-
This
@@ -4... |
79c3dfacc8da6cf47babd0a1179865c2f3ffc2d3 | add error log | routes/api.js | routes/api.js | var AV = require('leanengine');
var ObjTree = require('objtree');
var request = require('request');
var router = require('express').Router();
var baiduKey = process.env.baiduKey;
var expressAPI = process.env.expressAPI;
var busAPIOne = process.env.busAPIOne;
var busAPITwo = process.env.busAPITwo;
var busAPIThree = pro... | JavaScript | 0.000001 | @@ -1835,32 +1835,12 @@
ror(
-JSON.stringify(response)
+name
);%0A
@@ -2236,16 +2236,47 @@
%7D;%0A
+ console.error(result);%0A
|
2ab73875c54e504268158afe077edc2299e0561a | Update openshift-io-registration.page.js | src/tests/work-item/work-item-list/page-objects/openshift-io-registration.page.js | src/tests/work-item/work-item-list/page-objects/openshift-io-registration.page.js | /**
* AlMighty page object example module for openshift.io start page
* See: http://martinfowler.com/bliki/PageObject.html,
* https://www.thoughtworks.com/insights/blog/using-page-objects-overcome-protractors-shortcomings
* @author ldimaggi@redhat.com
*/
'use strict';
/*
* openshift.io "Additional Action Requir... | JavaScript | 0.000001 | @@ -572,58 +572,8 @@
= %7B%0A
- Agile: 0,%0A Scrum: 1,%0A IssueTracking: 2,%0A
@@ -600,9 +600,9 @@
ng:
-3
+0
%0A %7D
|
a017caf3ae88404e4ec390bac3fcfc25382e42f9 | Refactor deprecated res.send(status, body) | routes/api.js | routes/api.js | 'use strict';
var express = require('express')
, router = express.Router()
;
var Atm = require('../lib/atm');
// router.param('uid', function(req, res, next, uid) {
// Atm.getByUid(req.params.id, function(err, result) {
// if (err) return next(err);
// req.atm = result || { error: 'item ' + req.params.... | JavaScript | 0 | @@ -594,9 +594,9 @@
doc
-!
+=
== n
@@ -614,68 +614,27 @@
re
-q.atm = doc;%0A next();%0A %7D else %7B%0A res
+s.status(404)
.send(
-404,
%7B er
@@ -667,24 +667,72 @@
found' %7D);%0A
+ %7D else %7B%0A req.atm = doc;%0A next();%0A
%7D%0A %7D);%0A
@@ -924,17 +924,24 @@
es.s
-end(... |
8edb1339d61f4b39e1ba69caa3d797c483480f82 | Return JSON with authors. | src/article/models/ContribsModel.js | src/article/models/ContribsModel.js | import entityRenderers from '../../entities/entityRenderers'
import DefaultModel from './DefaultModel'
/*
A model for holding authors and editors information.
*/
export default class ContribsModel extends DefaultModel{
constructor(node, context) {
super(node, context)
}
getAuthors() {
let authorsContr... | JavaScript | 0 | @@ -557,16 +557,25 @@
ntribId)
+.toJSON()
)%0A %7D%0A%0A
@@ -739,9 +739,8 @@
)%0A %7D%0A%7D%0A
-%0A
|
7fcc71a6d7433f25cbee02016f3ebcfb6c29de76 | fix bug: getRecommendList | routes/api.js | routes/api.js | var express = require('express');
var request = require('request');
var fs = require('fs');
var mysql = require('mysql');
var router = express.Router();
var mysql_query = function (query, callback) {
var connection = mysql.createConnection({
host: 'localhost',
user: 'azure',
password: '6... | JavaScript | 0 | @@ -2946,20 +2946,20 @@
uery.id:
-NULL
+null
;%0A%09var f
|
d4722faff8630067ee142fc38b172645cec75548 | move disqus loading to application.js | js/application.js | js/application.js | /* Author:
*/
$(function() {
// $('.bigger').biggerlink();
// $('.tabs').tabs();
var init = function() {
if (typeof FB !== 'undefined') FB.XFBML.parse();
if (typeof twttr !== 'undefined') twttr.widgets.load();
$(".various").fancybox({
// maxWidth : 800,
// maxHeight : 600,
// fitToView : false,... | JavaScript | 0 | @@ -109,120 +109,11 @@
) %7B%0A
-%09%09if (typeof FB !== 'undefined') FB.XFBML.parse();%0A%09%09if (typeof twttr !== 'undefined') twttr.widgets.load();%0A
%09%09%0A
+
%09%09$(
@@ -354,21 +354,686 @@
'none'%0A
-
%09%09%7D);
+%0A%0A%09%09if (typeof FB !== 'undefined') FB.XFBML.parse();%0A%09%09if (typeof twttr !== ... |
c6a35ca35e3b241b3f276090559c8bd97ae1b837 | Change RegistryEntry to "private" | src/registry.js | src/registry.js | 'use babel';
let registry = new Map();
let refreshHandlers = [];
export class RegistryEntry {
constructor(options) {
this.element = options.element;
if (typeof options.liveTime !== 'undefined') {
this.liveTime = options.liveTime;
} else {
this.liveTime = 600;
... | JavaScript | 0 | @@ -60,23 +60,16 @@
= %5B%5D;%0A%0A
-export
class Re
|
0d7cfde7c85bf6c8275b7db45cc2f2faf911fb41 | Use charCode instead of keyCode | js/application.js | js/application.js | ;(function(){
var G = dijkstra.hexGrid(2);
var view = new dijkstra.GraphView(G, document.getElementById('graph'), {
placement: function(position){ return {
'x': 100 * position.x,
'y': 100 * position.y
}},
radius: 20,
between: 0.3,
vertex: {
... | JavaScript | 0.000015 | @@ -1009,19 +1009,20 @@
(event.
-key
+char
Code ==
|
dadcfc719fb492d0dd15d4f49bc7dcb37b188861 | drop self. access pattern | v2/frame.js | v2/frame.js | // Copyright (c) 2015 Uber Technologies, Inc.
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, ... | JavaScript | 0.000054 | @@ -1532,33 +1532,12 @@
-var self = this;%0A self
+this
.isL
@@ -1553,20 +1553,20 @@
se;%0A
-self
+this
.size =
@@ -1572,20 +1572,20 @@
0;%0A
-self
+this
.type =
@@ -1657,28 +1657,28 @@
) %7B%0A
-self
+this
.id = Frame.
@@ -1706,20 +1706,20 @@
-self
+this
.id = id
@@ -1730,... |
8e187489b8a4cfdcc7a88bef6173cd401d069765 | Fix NullableBooleanInput | src/mui/input/NullableBooleanInput.js | src/mui/input/NullableBooleanInput.js | import React, { PropTypes } from 'react';
import SelectInput from './SelectInput';
import translate from '../../i18n/translate';
export const NullableBooleanInput = ({ input, meta: { touched, error }, label, source, elStyle, resource, translate }) => (
<SelectInput
input={input}
label={label}
... | JavaScript | 0 | @@ -177,28 +177,8 @@
meta
-: %7B touched, error %7D
, la
@@ -546,35 +546,18 @@
-errorText=%7Btouched && error
+meta=%7Bmeta
%7D%0A
|
5d07f83f1d18d3779369987f67e49330920f0e3d | set flow config for core client module | lib/client/engine.js | lib/client/engine.js | var Flow = require('./flow');
var Instance = require('./instance');
// client flag
engine.client = true;
engine._name = '@';
// extend engine with flow emitter
engine = Flow(engine);
// extend engine with logging methods
engine.log = require('./logs') || function (err) {return err};
// listen to core engine events
... | JavaScript | 0 | @@ -324,22 +324,25 @@
ine.
-MIND(%5B
+_flow = %7B
%0A 'C'
,%0A
@@ -337,22 +337,20 @@
%0A 'C'
-,%0A
+: %5B%5B
%5B'flow',
@@ -369,26 +369,19 @@
C'%7D%5D
-%0A%5D).MIND(%5B
+%5D%5D,
%0A 'M'
,%0A
@@ -376,22 +376,20 @@
%0A 'M'
-,%0A
+: %5B%5B
%5B'flow',
@@ -408,11 +408,12 @@
M'%7D%5D
-%0A%5... |
82d4c874e599ba1a9c657f2b4274728681e7ae35 | initialize new game in document ready | js/application.js | js/application.js | $(document).ready(function() {
});
| JavaScript | 0.000001 | @@ -24,13 +24,33 @@
ion() %7B%0A
+ game = new Game();
%0A%7D);%0A
|
1a511264c2fedbac83975326a92f504aa5eff59f | remove uppercase on buttons | agir/front/components/genericComponents/Button.js | agir/front/components/genericComponents/Button.js | import style from "./style.scss";
import styled from "styled-components";
import PropTypes from "prop-types";
import { transparentize } from "polished";
import { icons } from "feather-icons";
const buttonColors = {
default: {
background: style.black50,
hoverBackground: style.black100,
labelColor: style.b... | JavaScript | 0.999624 | @@ -1287,37 +1287,8 @@
er;%0A
- text-transform: uppercase;%0A
fo
|
e6bb457f3bab8b5383b49f736410439e8f9ca5ef | Update client.js | src/config/client.js | src/config/client.js | // This is the entry point for our client-side logic
// The server-side has a similar configuration in `src/server/middleware/render.js`
import '../assets/css/index.scss'
import 'isomorphic-fetch'
import 'core/polyfills'
import 'core/globals'
import 'core/logger'
import onEnter from 'core/onEnter'
import Inferno from '... | JavaScript | 0.000001 | @@ -1089,49 +1089,8 @@
%7D)%0A%0A
-console.warn(history.location.pathname)%0A%0A
// R
|
003f0ee466533c5096aa7c85fc35982395af9b13 | Bind correct context | src/mw-utils/services/mw_scheduler.js | src/mw-utils/services/mw_scheduler.js | window.mwUI.Utils.Scheduler = {};
window.mwUI.Utils.Scheduler.Task = window.mwUI.Backbone.Model.extend({
defaults: function () {
return {
callback: function () {
},
executeInMs: 0,
_time: 0
}
},
getRemainingSleepTime: function () {
return this.get('executeInMs') - this.get('_t... | JavaScript | 0.99992 | @@ -3409,16 +3409,32 @@
ler.stop
+.bind(scheduler)
);%0A a
@@ -3483,16 +3483,32 @@
er.start
+.bind(scheduler)
);%0A%0A
|
0901ecf4dbd5da49a7208499981e927f195bd490 | add download url | routes/f2e.js | routes/f2e.js | var express = require('express');
var router = express.Router();
var path = require('path');
var shell = require('shelljs');
var config = require('../config');
var build = require('../service/build');
var origin_sync = require('../service/origin_sync');
var qiniu_sync = require('../service/qiniu-sync');
var version = r... | JavaScript | 0 | @@ -3685,16 +3685,157 @@
tory.url
+,%0A download: 'http://d.ifdiu.com/f2e/alpha/' + build_rs.repository.name + '?secret=yunhua@926&owner=' + build_rs.repository.owner.username
%0A %7D, fu
|
40c4050d42a9ab44f917e664c45f3d98672c5344 | change size | js/application.js | js/application.js | // Wait till the browser is ready to render the game (avoids glitches)
window.requestAnimationFrame(function () {
new GameManager(4, KeyboardInputManager, HTMLActuator, LocalScoreManager);
});
| JavaScript | 0.000001 | @@ -129,9 +129,9 @@
ger(
-4
+3
, Ke
|
b60908537af13b1a41a69bdf9f35b1c00810ded6 | drop HtmlWebpackPlugin | webpack.config.babel.js | webpack.config.babel.js | import webpack from 'webpack';
import fs from 'fs';
import path from 'path';
const HtmlWebpackPlugin = require('html-webpack-plugin');
export default {
cache: true,
entry: [
'./src/index.js'
],
devtool: 'inline-source-map',
devServer: {
contentBase: './game/',
hot: true
},
... | JavaScript | 0 | @@ -70,16 +70,18 @@
'path';%0A
+//
const Ht
@@ -284,17 +284,36 @@
se:
-'./
+path.join(__dirname, %22
game
-/'
+%22)
,%0A
@@ -747,24 +747,35 @@
plugins: %5B%0A
+ /*%0A
new
@@ -852,16 +852,29 @@
%7D),%0A
+ */%0A
|
085cddcad728e0ce88ecbb93b06ac3ab709b50d1 | fix enabled again | src/bot/commands/default/channel.js | src/bot/commands/default/channel.js | const channels = require("../../modules/channels.js");
module.exports = {
process: async message => {
let enabled = await channels.enabled(message.channel.guild.id);
if(!enabled || !enabled.value) return __("commands.default.channel.notEnabled", message);
let botPerms = message.channel.guild.members.get(bot.use... | JavaScript | 0 | @@ -179,26 +179,8 @@
bled
- %7C%7C !enabled.value
) re
|
c9fa47e3c9fd49f601691671bb44ef7806c071c0 | Update Webpack configs | webpack.config.bower.js | webpack.config.bower.js | 'use strict';
var webpack = require('webpack');
var path = require('path');
var babelLoader = 'babel?' +
JSON.stringify({
presets: ['es2015', 'react'],
plugins: ['transform-es2015-modules-commonjs', 'transform-object-rest-spread']
});
module.exports = {
devtool: 'source-map',
entry: './src/index.js'... | JavaScript | 0 | @@ -75,179 +75,8 @@
');%0A
-var babelLoader = 'babel?' +%0A JSON.stringify(%7B%0A presets: %5B'es2015', 'react'%5D,%0A plugins: %5B'transform-es2015-modules-commonjs', 'transform-object-rest-spread'%5D%0A %7D);%0A
%0A%0Amo
@@ -480,19 +480,15 @@
er:
+'
babel
-Loader
+'
, in
|
7deb43a8b67667ea4aece052d14fc5e802e1ab64 | Attach ReactPerf to window for easier debugging (#3318) | app/javascript/mastodon/performance.js | app/javascript/mastodon/performance.js | //
// Tools for performance debugging, only enabled in development mode.
// Open up Chrome Dev Tools, then Timeline, then User Timing to see output.
// Also see config/webpack/loaders/mark.js for the webpack loader marks.
//
let marky;
if (process.env.NODE_ENV === 'development') {
if (typeof performance !== 'undefi... | JavaScript | 0 | @@ -598,16 +598,108 @@
rky');%0A
+ // allows us to easily do e.g. ReactPerf.printWasted() while debugging%0A window.ReactPerf =
require
@@ -719,16 +719,36 @@
s-perf')
+;%0A window.ReactPerf
.start()
|
963f4c6da5a81b9178d5323441339e0c24e93881 | clear linklibrary | js/authManager.js | js/authManager.js | /**
* Created by matthias on 30/03/2015.
*/
window.AuthManager = Ember.Object.extend({
cookieName : "authToken",
redirectUrl : "dashboard", // TODO: change to actual route
authToken : null,
_private_user : null,
user : function() {
if (!this.get("_private_user"))
this.fetchUs... | JavaScript | 0 | @@ -520,16 +520,106 @@
tion()%7B%0A
+ this.adapter.set(%22linkLibrary%22,%7B%7D);%0A this.set(%22_private_user%22, undefined);%0A
|
4ac2ed4e10e55d611050ad0243d51025fce38778 | Use ssl reports endpoint | src/reporter.js | src/reporter.js | import request from "browser-request";
const url = "http://beta.accesslint.com/api/v1/reports";
export default function (message) {
const violations = message.violations;
if (violations.length > 0) {
let descriptions = [];
violations.map((violation) => {
descriptions.push(violation.help);
});
... | JavaScript | 0 | @@ -50,16 +50,17 @@
= %22http
+s
://beta.
|
b784d8e32b5502b840e0d5d72d2dcfb784410841 | remove location query | app/javascript/services/forest-data.js | app/javascript/services/forest-data.js | import axios from 'axios';
const DATASET = process.env.COUNTRIES_PAGE_DATASET;
const REQUEST_URL = `${process.env.GFW_API_HOST_PROD}/query/${DATASET}?sql=`;
const CARTO_REQUEST_URL = `${process.env.CARTO_API_URL}/sql?q=`;
const SQL_QUERIES = {
extent:
"SELECT SUM({extentYear}) as value, SUM(area_gadm28) as tota... | JavaScript | 0.001226 | @@ -1967,184 +1967,8 @@
%60;%0A%0A
-const getRankingLocationQuery = (country, region, subRegion) =%3E%0A %60$%7B%0A region%0A ? %60iso = '$%7Bcountry%7D' $%7BsubRegion ? %60AND adm1 = $%7Bregion%7D%60 : ''%7D%60%0A : '1 = 1'%0A %7D%60;%0A%0A
expo
@@ -4332,16 +4332,128 @@
';%0A %7D%0A%0A
+ const loca... |
0fbb1cc5167ea049896f62e058bc06768276c326 | ANDROID_CHROME_VERSION was undefined | src/abstract-fullscreen.js | src/abstract-fullscreen.js | var ua = navigator.userAgent;
var fsEnabled = native('fullscreenEnabled');
var parsedChromeUA = ua.match(/Android.*Chrome\/(\d+)\./);
var IS_ANDROID_CHROME = !!parsedChromeUA;
var CHROME_VERSION;
if (IS_ANDROID_CHROME) {
ANDROID_CHROME_VERSION = parseInt(parsedChromeUA[1]);
}
var IS_NATIVELY_SUPPORTED =
(!IS_ANDR... | JavaScript | 0.999998 | @@ -190,16 +190,45 @@
ERSION;%0A
+var ANDROID_CHROME_VERSION;%0A%0A
if (IS_A
|
f016756118fa3647a3492b77529a060f69f4e059 | Add state and plugins to globalSettings | app/js/arethusa.core/globalSettings.js | app/js/arethusa.core/globalSettings.js | "use strict";
angular.module('arethusa.core').service('globalSettings', [
'configurator',
function(configurator) {
var self = this;
var confKeys = [
"alwaysDeselect",
"colorizer"
];
self.defaultConf = {
alwaysDeselect: false,
colorizer: 'morph'
};
function configu... | JavaScript | 0 | @@ -86,16 +86,44 @@
rator',%0A
+ '$injector',%0A 'plugins',%0A
functi
@@ -137,16 +137,36 @@
igurator
+, $injector, plugins
) %7B%0A
@@ -183,16 +183,207 @@
this;%0A%0A
+ // Need to do this lazy to avoid circular dependencies!%0A var lazyState;%0A function state() %7B%0A if (!lazyState) lazySt... |
1e4e6eadd966f6f2e98cf43cac084781155a5cf1 | Make search result code a bit more compact (#7995) | src/actions/file-search.js | src/actions/file-search.js | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
// @flow
import {
clearSearch,
find,
findNext,
findPrev,
removeOverlay,
searchSourceForHighlight
} ... | JavaScript | 0.000004 | @@ -4231,41 +4231,20 @@
nst
-results = rev%0A ? findPrev(
+findArgs = %5B
ctx,
@@ -4277,63 +4277,83 @@
JS()
-)
+%5D;
%0A
- : findNext(ctx, query, true, modifiers.toJS()
+const results = rev ? findPrev(...findArgs) : findNext(...findArgs
);%0A%0A
|
277f8035f7e01931b3a7d5df2ac9d07bf850a300 | Update changelog | src/parser/priest/shadow/CHANGELOG.js | src/parser/priest/shadow/CHANGELOG.js | import React from 'react';
import { Zerotorescue, Khadaj} from 'CONTRIBUTORS';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import { change, date } from 'common/changelog';
export default [
change(date(2018, 11, 19), <>Added <SpellLink id={SPELLS.DEATH_THROES.id} /> module.</>, [Kha... | JavaScript | 0.000001 | @@ -50,16 +50,25 @@
, Khadaj
+, Adoraci
%7D from '
@@ -227,16 +227,128 @@
fault %5B%0A
+ change(date(2019, 8, 17), %3C%3EAdded %3CSpellLink id=%7BSPELLS.WHISPERS_OF_THE_DAMNED.id%7D /%3E module.%3C/%3E, %5BAdoraci%5D),%0A
change
|
61e7bba1f52abae6f4f112932139b73e61ce22a8 | Remove child function already existing in parent | src/Controls/Dropzone/DropzoneViewBridge.js | src/Controls/Dropzone/DropzoneViewBridge.js | scms.create('DropzoneViewBridge', function(){
return {
attachEvents:function() {
var self = this;
var timeout;
var path = $('.dropzone-post-url').val();
var dz = new window.Dropzone("div#" + this.leafPath + ' div', {
url:path,
para... | JavaScript | 0.000028 | @@ -2863,1168 +2863,8 @@
%7D
-,%0A%09%09findEventHost:function()%7B%0A var selfNode = document.getElementById(this.leafPath);%0A%0A while (selfNode) %7B%0A var testNode = selfNode;%0A%0A selfNode = selfNode.parentNode;%0A%0A var className = ( testNo... |
50ab97c079120221011c481a08201a367d2f8688 | Move elements at end of tests | js/canvas-test.js | js/canvas-test.js | module("Canvas");
test("Canvas Creation", function() {
notEqual(canvas, undefined, "Test if canvas is undefined");
notEqual(canvas, null, "Test if canvas is null");
});
test("Add Process", function() {
var p = canvas.addProcess(100, 100);
equal(p.x(), 100, "Test process x location");
equal(p.y(), 100, "Test proc... | JavaScript | 0 | @@ -428,32 +428,46 @@
s is a circle%22);
+%0A%0A%09p.remove();
%0A%7D);%0A%0Atest(%22Add
@@ -742,16 +742,30 @@
ircle%22);
+%0A%0A%09p.remove();
%0A%7D);%0A%0Ate
@@ -836,17 +836,17 @@
0;%0A%09var
-b
+p
= canva
@@ -871,12 +871,23 @@
(50,
-
50)
+;%0A%09var b = p
.get
@@ -1777,11 +1777,25 @@
point%22);
+%0A%0... |
4d7b535cb6deabff4b2c94bf484533fb242ddbdd | Update changelog | src/parser/priest/shadow/CHANGELOG.js | src/parser/priest/shadow/CHANGELOG.js | import React from 'react';
import { Zerotorescue, Khadaj, Adoraci} from 'CONTRIBUTORS';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import { change, date } from 'common/changelog';
export default [
change(date(2019, 8, 17), <>Added <SpellLink id={SPELLS.WHISPERS_OF_THE_DAMNED.id} /... | JavaScript | 0.000001 | @@ -227,16 +227,126 @@
fault %5B%0A
+ change(date(2019, 8, 18), %3C%3EAdded %3CSpellLink id=%7BSPELLS.SPITEFUL_APPARITIONS.id%7D /%3E module.%3C/%3E, %5BAdoraci%5D),%0A
change
|
c6421b56b5889cc71d554ca57ecbb6e6576813b2 | bump version to 1.4.1 (#8904) | website/data/version.js | website/data/version.js | export const VERSION = '1.4.0'
export const CHANGELOG_URL =
'https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#140-april-7th-2020'
| JavaScript | 0 | @@ -21,17 +21,17 @@
= '1.4.
-0
+1
'%0Aexport
@@ -122,17 +122,18 @@
d#14
-0
+1
-april-
-7
+30
th-2
|
8e591108ed0abc66218b46df094566936402fc2a | add verb-readme-generator to verbfile | verbfile.js | verbfile.js | 'use strict';
var apidocs = require('./');
module.exports = function(verb) {
verb.data({nickname: 'apidocs'});
verb.helper('apidocs', apidocs({
delims: ['{%', '%}']
}));
verb.helper('wrap', function(name) {
return '{%= ' + name + '(\'index.js\') %}';
});
verb.task('default', function(cb) {
v... | JavaScript | 0.000259 | @@ -83,37 +83,46 @@
erb.
-data(%7Bnickname: 'apidocs'%7D
+extendWith('verb-readme-generator'
);%0A
+%0A
ve
@@ -306,271 +306,18 @@
t',
-function(cb) %7B%0A verb.toStream('docs', function(key, view) %7B%0A return key === '.verb';%0A %7D)%0A .pipe(verb.renderFile())%0A .on('error', cb)%0A ... |
ca0453b0ceee2cbc3000ec227b653facf3e78b93 | Set min-width for tabs to fit spinner | src/app/righthand-panel.js | src/app/righthand-panel.js | var yo = require('yo-yo')
var $ = require('jquery')
var tabbedMenu = require('./tabbed-menu')
var contractTab = require('./contract-tab')
var settingsTab = require('./settings-tab')
var analysisTab = require('./analysis-tab')
var debuggerTab = require('./debugger-tab')
var filesTab = require('./files-tab')
var csjs =... | JavaScript | 0 | @@ -410,24 +410,47 @@
.7em 0.3em;%0A
+ min-width: 65px;%0A
font-s
|
5833e3b9ad7280af120106de904489e690300fec | Add blank line at beginning of a function | examples/google.js | examples/google.js | // Load modules
var Hapi = require('hapi');
var Bell = require('../');
var server = new Hapi.Server();
server.connection({ host: 'localhost', port: 4567});
server.register(Bell, function (err) {
server.auth.strategy('google', 'bell', {
provider: 'google',
password: 'password',
isSecure:... | JavaScript | 0.00814 | @@ -1292,24 +1292,25 @@
t, reply) %7B%0A
+%0A
|
30b8dac07dab1f6fbc3b3a13037be8db73a186d9 | add back conditional check to see if playback should start automatically | src/app/stories/stories.js | src/app/stories/stories.js | angular.module('prx.stories', ['ui.router', 'angular-hal', 'ngPlayerHater'])
.config(function ($stateProvider, ngHalProvider, $urlRouterProvider) {
$stateProvider.state('story', {
url: '/stories/:storyId?autoPlay',
controller: 'StoryCtrl',
templateUrl: 'stories/story.html',
resolve: {
story: ['n... | JavaScript | 0 | @@ -3253,16 +3253,69 @@
toryId;%0A
+ if ($stateParams.autoPlay) %7B%0A story.play();%0A %7D%0A
%7D)%0A.cont
|
1b5a5ebb300e7a342d038b17ece79a307dc43cc9 | Add checkPlace(cheackAvailability before) | app/scripts/services/service.places.js | app/scripts/services/service.places.js | import {autobind} from 'core-decorators';
const firebaseArray = new WeakMap();
const firebaseObject = new WeakMap();
const REF = new WeakMap();
const AUTH = new WeakMap();
class Places {
constructor($firebaseArray, $firebaseObject, Auth, FURL) {
let baseref = new Firebase(FURL);
firebaseArray.set(this, $fir... | JavaScript | 0 | @@ -1,24 +1,27 @@
import %7B
+%0A
autobind
%7D from '
@@ -12,18 +12,19 @@
autobind
-%7D
+%0A%7D%0A
from 'co
@@ -169,16 +169,46 @@
akMap();
+%0Aconst SEARCH = new WeakMap();
%0A%0Aclass
@@ -263,19 +263,38 @@
Object,
-Aut
+Utilities, Auth, Searc
h, FURL)
@@ -496,16 +496,78 @@
Auth);%0A
+ SEARCH.set(thi... |
f2f4754dd93901dbc68e716a0dca286ac2bd3783 | remove external toolbar option, does not work with multiple editors | app/assets/javascripts/kuhsaft/cms/application.js | app/assets/javascripts/kuhsaft/cms/application.js | // This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directl... | JavaScript | 0 | @@ -571,43 +571,8 @@
or(%7B
-%0A toolbarExternal: %22#toolbar%22%0A
%7D)%0A%7D
|
2cc73096360a064b446bb16e35986e80ccfa0854 | Rename room to auction | app/viewmodels/shell.js | app/viewmodels/shell.js | define(['plugins/router', 'durandal/app', 'userContext', 'knockout'], function (router, app, userContext, ko) {
router.searchText = ko.observable('');
var routes = {
title: ko.observable(''),
appTitle: app.title,
router: router,
searchBar: false,
logout: function () {
... | JavaScript | 0.998668 | @@ -2660,12 +2660,15 @@
e: '
-Room
+Auction
', m
@@ -3504,32 +3504,8 @@
-2;%0A
- console.log(i);%0A
|
e1078b2064782c1f5fe43916c489741e71d5172e | change local storage | misc/demo/js/controllers/demo.js | misc/demo/js/controllers/demo.js | 'use strict';
var backAndControllers = angular.module('backAnd.controllers');
backAndControllers.controller('demoController', ['$scope', '$http', '$location',
function ($scope, $http, $location) {
var toQueryString = function(obj) {
var parts = [];
for (var i in obj) {
... | JavaScript | 0 | @@ -1255,16 +1255,20 @@
rization
+Demo
');%0A
@@ -2026,16 +2026,20 @@
rization
+Demo
'%5D;%0A
@@ -2940,16 +2940,20 @@
rization
+Demo
', data.
|
c7185daaa8dc6ef3a0cf8880464f404a2adeb776 | Make filetype detection more agressive to work around false mime types | rtfHandler.js | rtfHandler.js | 'use strict';
function getViewerURL(fileUrl) {
return chrome.extension.getURL('viewer/viewer.html') + '?file=' + encodeURIComponent(fileUrl);
}
function contentTypeContains(contentType, string){
if(contentType.value.indexOf(string) > -1){
return true;
}
return false;
}
function isRtfFile(deta... | JavaScript | 0.000026 | @@ -688,70 +688,33 @@
-(contentTypeContains(contentType, 'text/plain') && details.url
+details.url.toLowerCase()
.end
@@ -727,17 +727,16 @@
'.rtf'))
-)
;%0A %7D%0A
|
3c76706afdd2bffc04d6d4a19f6bdb789638c7cb | remove APPLICATION_INIT_TYPE | src/common/reducers/layout/index.js | src/common/reducers/layout/index.js | // @flow
import {
UI_OPEN_SIDEBAR,
UI_CLOSE_SIDEBAR,
UI_WINDOW_RESIZE
} from 'actions/layout'
import {LOCATION_CHANGE} from 'actions/common'
//
import type {LOCATION_CHANGE_TYPE, APPLICATION_INIT_TYPE} from 'actions/common'
import type {
UI_OPEN_SIDEBAR_TYPE,
UI_CLOSE_SIDEBAR_TYPE,
UI_WINDOW_RESIZE_TYPE
} from 'a... | JavaScript | 0.000022 | @@ -177,31 +177,8 @@
TYPE
-, APPLICATION_INIT_TYPE
%7D fr
@@ -534,33 +534,8 @@
TYPE
-%0A%09%7C APPLICATION_INIT_TYPE
%0A%0Aex
|
3cd9713e0d32033e4fde7b1c351708f53672d2c4 | Improve async request handling. | src/dataflow/load.js | src/dataflow/load.js | import {read} from 'vega-loader';
export function ingest(target, data, format) {
return this.pulse(target, this.changeset().insert(read(data, format)));
}
function loadPending(df) {
var pending = new Promise(function(accept) { resolve = accept; }),
resolve;
pending.requests = 0;
pending.done = functio... | JavaScript | 0 | @@ -185,16 +185,38 @@
%7B%0A var
+accept, reject,%0A
pending
@@ -243,52 +243,63 @@
on(a
-ccept) %7B resolve = accept; %7D),%0A resolve
+, r) %7B%0A accept = a;%0A reject = r;%0A %7D)
;%0A%0A
@@ -447,16 +447,32 @@
= null;%0A
+ try %7B%0A
@@ -493,20 +493,78 @@
... |
5f414965ba5067e261779ceadd7a144bab918eb1 | fix little input field bug | app/assets/javascripts/uploads/uploadImageCtrl.js | app/assets/javascripts/uploads/uploadImageCtrl.js | var app = angular.module('annaPhotography');
app.controller('UploadImageCtrl', [
'$scope',
'galleries',
'gallery',
'Upload',
'$stateParams',
function($scope, galleries, gallery, Upload, $stateParams){
$scope.gallery = gallery;
$scope.images = galleries.images;
$scope.coverBool = false;
$sco... | JavaScript | 0.000001 | @@ -737,33 +737,8 @@
%7D);%0A
- $scope.title = '';%0A
|
e27600b036531be98593688f50a4d8da22b79356 | add newrelic to social worker | workers/social/index.js | workers/social/index.js | require('coffee-script');
module.exports = require('./lib/social/main.coffee'); | JavaScript | 0.000185 | @@ -19,16 +19,37 @@
ript');%0A
+require('newrelic');%0A
module.e
@@ -93,8 +93,9 @@
offee');
+%0A
|
eadb8f6603c3760fc468afc37497b0edd06bdc70 | Remove TODO - callback payload format should stay. | src/components/EditableDiv.react.js | src/components/EditableDiv.react.js | import R from 'ramda';
import React, {Component, PropTypes} from 'react';
import ReactDOM from 'react-dom';
// each suite might have its own set of Styles
import Styles from '../Styles';
const baseStyles = {
color: Styles.colors.base,
':hover': {
color: Styles.colors.baseHover
}
};
/**
* A div f... | JavaScript | 0 | @@ -676,78 +676,8 @@
%7D%0A%0A
- // TODO: Standardize on %60%7Bvalue%7D%60 as payload to %60handleChange()%60.%0A
|
9f2b2116615ab97fde1bef8284779ba024679698 | add type to next.config file | next.config.js | next.config.js | // eslint-disable-next-line @typescript-eslint/no-var-requires
const withPWA = require('next-pwa');
const isProd = process.env.NODE_ENV === 'production';
module.exports = withPWA({
pwa: {
dest: 'public',
disable: !isProd,
},
});
| JavaScript | 0.000001 | @@ -93,16 +93,17 @@
-pwa');%0A
+%0A
const is
@@ -149,16 +149,61 @@
tion';%0A%0A
+/**%0A * @type %7Bimport('next').NextConfig%7D%0A */%0A
module.e
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.