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 |
|---|---|---|---|---|---|---|---|
3bcd8129a40887f3976a3336cba44d5e4d9d84c6 | move connectionClosed handler to a separate function | lib/ws-server.js | lib/ws-server.js | var WebSocketServer = require('ws').Server,
EventEmitter = require('events').EventEmitter,
util = require('./util'),
crypt = require('./crypt'),
config = util.getConfig(),
isAuthorized = false,
_ws = null,
events = null,
wss = null,
port = null;
function WSServer(params) {
port ... | JavaScript | 0.000001 | @@ -812,42 +812,8 @@
e',
-function() %7B%0A events.emit('
conn
@@ -822,24 +822,14 @@
tion
--c
+C
losed
-');%0A %7D
);%0A%7D
@@ -1652,16 +1652,87 @@
t();%0A%7D%0A%0A
+function connectionClosed() %7B%0A events.emit('connection-closed');%0A%7D%0A%0A
module.e
|
1cde6271d8b7a3c38dfb6e75f0229b670921238a | Add retry mechanism for iOS screenshots | src/targets/native/ios-simulator.js | src/targets/native/ios-simulator.js | const createWebsocketTarget = require('./create-websocket-target');
const osnap = require('osnap/src/ios');
const saveScreenshotToFile = filename => osnap.saveToFile({ filename });
const createIOSSimulatorTarget = socketUri =>
createWebsocketTarget(socketUri, 'ios', saveScreenshotToFile);
module.exports = createIO... | JavaScript | 0 | @@ -3,59 +3,154 @@
nst
-createWebsocketTarget = require('./
+fs = require('fs-extra');%0Aconst osnap = require('osnap/src/ios');%0Aconst %7B withRetries %7D = require('../../failure-handling');%0Aconst
create
--w
+W
ebsocket
-tar
@@ -149,55 +149,51 @@
cket
--t
+T
arget
-');%0Aconst osnap = require('osnap/src/io... |
f6c17d0546e77d5b2e6a5eeb00ba78a8d3091016 | Make sure denns works on wednesdays | crawlers/denns.js | crawlers/denns.js | const pdf2text = require('../lib/pdf-parser.js');
const download = require('download-file');
const DateFns = require('date-fns');
function downloadFile(url, options) {
return new Promise((resolve, reject) => {
download(url, options, function (err) {
if (err) reject(err);
resolve();
})
})
}
... | JavaScript | 0 | @@ -801,22 +801,22 @@
);%0A%0A
-return
+text =
camelCa
@@ -825,16 +825,34 @@
ToWords(
+text);%0A text =
text.sub
@@ -863,17 +863,21 @@
ng(text.
-i
+lastI
ndexOf(t
@@ -922,17 +922,34 @@
String))
-)
+;%0A%0A return text
.concat(
@@ -1225,16 +1225,17 @@
turn %22Mo
+
%22;%0A if
@@ -1270,16 +1270,17... |
0496bf6677a117179cce73c2a81107710bb84289 | Fix widget selector | core/core.js | core/core.js | define(['core/widget/widget'], function(widget) {
var widgets = document.querySelectorAll('.widget');
widgets.forEach(function(w) {
widget.add({element: w, type: 'button'});
});
require(['widget/button/button']);
});
| JavaScript | 0.000001 | @@ -58,16 +58,27 @@
dgets =
+Array.from(
document
@@ -105,16 +105,17 @@
widget')
+)
;%0A%0A%09widg
@@ -189,17 +189,16 @@
);%0A%09%7D);%0A
-%09
%0A%09requir
|
a7e6d0e8cfbf4d8d2697d81f9d2376128d853a0b | Fix aspect ratio | core/game.js | core/game.js | /*global performance:true*/
define(function(require) {
require('util/math');
var Factory = require('core/factory');
var Field = require('core/field');
var Player = require('core/player');
var requestAnimationFrame = require('lib/requestAnimationFrame');
var InputManager = require('core/inputMan... | JavaScript | 0.000004 | @@ -654,18 +654,18 @@
h, 'heig
-t
h
+t
': this.
|
ca4fadac1723ca0f288ba2c2161b16c6fc2bdaf4 | Document the function | module/index.js | module/index.js | JavaScript | 0.999999 | @@ -0,0 +1,887 @@
+ /**%0A * The %60element%60 will be updated in place with bindings from the %60ast%60 using%0A * the %60variables%60 you give us. The %60ast%60 will generally come from the module%0A * %5Bparametric-svg-parse%5D%5B%5D. You can also generate it yourself using%0A * %5Bparametric-svg-ast%5D%5B%5D.%0... | |
d7ec9e56fc0f1761215045ae15abae7017c3a05a | Update to airbnb style | module/index.js | module/index.js | import {
ifElse,
isFunction,
filter,
compose } from '1-liners';
const castBool = val => val === true;
const throwError = msg => () => { throw new Error(msg); };
const filterCurried = filterFn =>
ifElse(
Array.isArray,
arr => filter( compose(castBool, filterFn), arr),
throwError('Filter expected ... | JavaScript | 0 | @@ -45,17 +45,17 @@
compose
-
+%0A
%7D from '
@@ -83,19 +83,21 @@
tBool =
+(
val
+)
=%3E val
@@ -125,19 +125,21 @@
Error =
+(
msg
+)
=%3E () =
@@ -190,24 +190,25 @@
rried =
+(
filterFn
=%3E%0A if
@@ -203,13 +203,12 @@
erFn
+)
=%3E
-%0A
ifE
@@ -212,18 +212,16 @@
ifElse(%0A
-
Array.
@@ -2... |
f5b51df54cc3ab21c8d9cf7930ab180f9a80e5b0 | Fix regex so .+(r+)rand doesn't match | modules/rand.js | modules/rand.js | module.exports.command = /(r+)and/;
module.exports.run = function(r, parts, reply, command) {
var res = command.match(module.exports.command);
var levels = res[1].length - 1;
if(levels > 3 || parts.length > 10 + levels) {
reply("dicks a million times");
return;
}
if(levels == 0) {
reply(parts[Math.floor(M... | JavaScript | 0.999859 | @@ -19,16 +19,17 @@
mand = /
+%5E
(r+)and/
|
48f70e23c3e45b73f89b07c15885930127dcfa60 | Fix bad loop on element | contribs/gmf/src/controllers/AbstractMobileController.js | contribs/gmf/src/controllers/AbstractMobileController.js | goog.provide('gmf.controllers.AbstractMobileController');
goog.require('gmf.controllers.AbstractAppController');
goog.require('gmf.mobile.measure.module');
goog.require('gmf.mobile.navigation.module');
goog.require('gmf.query.windowComponent');
goog.require('ngeo.geolocation.mobile');
goog.require('ol');
goog.require(... | JavaScript | 0.000006 | @@ -5484,32 +5484,46 @@
or (
-const key in navElements
+let i = 0; i %3C navElements.length; i++
) %7B%0A
@@ -5558,11 +5558,9 @@
nts%5B
-key
+i
%5D;%0A
|
b2d87b790a02baaa82f7b8e7317ce854a97a72bd | Update validation.js | app/utils/validation.js | app/utils/validation.js | 'use strict';
const filerObject = require('filter-object');
module.exports = {
/**
*
*/
hasValidationErrors: error => {
if (!error.errors) {
return false;
}
return !!filerObject(error.errors, err => {
return err.name === 'ValidatorError';
})... | JavaScript | 0.000001 | @@ -13,24 +13,25 @@
;%0A%0Aconst fil
+t
erObject = r
@@ -222,16 +222,17 @@
rn !!fil
+t
erObject
@@ -985,8 +985,9 @@
%7D%0A%7D;
+%0A
|
b0417ac87a8373a5c682850468eed87872ea40d9 | Add changelog for v1.0.3 | lostorage.min.js | lostorage.min.js | // Copyright (c) 2012 Florian H., https://github.com/js-coder https://github.com/js-coder/lostorage.js
!function(a,b){var c={isArray:Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},isPlainObj:function(a){return a===Object(a)},toArray:function(a){return Array.prototype.slice.call(a... | JavaScript | 0.000001 | @@ -1976,84 +1976,63 @@
(a)%7B
+for(
var b=
-JSON.parse(JSON.stringify(a));for(var d in b)b.hasOwnPropert
+%7B%7D,d=0,e=a.length;e%3Ed;d++)%7Bvar f=a.ke
y(d)
-&&(b%5Bd
+;b%5Bf
%5D=c.
@@ -2047,15 +2047,22 @@
ize(
-b%5Bd%5D));
+a.getItem(f))%7D
retu
|
7bc3956862cad3f25e0d72f19e8266754927d257 | improve uuid.js performance | javascript/uuid.js | javascript/uuid.js |
// keywords: js, javascript, uuid generator
/**
* An Universal Unique ID generator
*
* @return {String} The new UUID.
*/
function uuid() {
var s = (Math.random().toString(16) + "00000000").slice(2, 10);
s += "-";
s += (Math.random().toString(16) + "0000").slice(2, 6);
s += "-";
s += (Math.random().toStr... | JavaScript | 0.000003 | @@ -144,314 +144,419 @@
%7B%0A
-var s = (Math.random().toString(16) + %2200000000%22).slice(2, 10);%0A s
+return (%2200000000%22 + Math.floor(%0A Math.random() * 0x100000000%0A ).toString(16)).slice(-8)
+
-=
%22-%22
-;%0A s += (Math.random().toString(16) + %220000%22).slice(2, 6);%0A s
+ + (%220000%22 + M... |
5de51bb34afa77d54af3f31386e53faa7c06c4cd | add test for query util | src/utils/__tests__/query.test.js | src/utils/__tests__/query.test.js | JavaScript | 0.000002 | @@ -0,0 +1,1985 @@
+'use strict';%0A%0Aimport %7BReact, TestUtils%7D from 'react';%0Aimport %7Bexpect%7D from 'chai';%0A%0Aimport * as Query from '../query.util.js';%0A%0Adescribe('Test Query Util Class', () =%3E %7B%0A it('should convert a query string object to an internal query object', () =%3E %7B%0A let result... | |
d4da80abaedac22d5749dd53d9c5f139cc8a77d8 | set read only | widget.js | widget.js | // set editor basepath
CKEDITOR_BASEPATH = '/widgets-custom/CKEditor/libs/ckeditor/';
WAF.define('CKEditor', ['waf-core/widget'], function(widget) {
var CKEditor = widget.create('CKEditor', {
init: function() {
try {
var _this = this;
// create editor with CKEditor ... | JavaScript | 0 | @@ -2687,24 +2687,138 @@
%09%7D, 50);%0A
+ %09%7D,%0A %09setReadOnly: function(value) %7B%0A %09 // set read only%0A this.editor.setReadOnly(value);%0A
%09%7D%0A %7D
|
e6257fec0397ac4386a7485bc10cf7ef9fc03b9f | Allow Zendesk to load a tab image since it insists | src/scripts/config.js | src/scripts/config.js | (function () {
'use strict';
require.config({
// # Paths
paths: {
// ## Requirejs plugins
text: '../../bower_components/requirejs-text/text',
hbs: '../../bower_components/require-handlebars-plugin/hbs',
// ## Core Libraries
jquery: '../../bower_components/jquery/dist/jquery',... | JavaScript | 0 | @@ -4876,18 +4876,16 @@
-//
tabImage
|
72b9345f47df766daa896391589849bcd44b65f6 | Update config for require-cs 0.5 | src/scripts/config.js | src/scripts/config.js | (function () {
'use strict';
require.config({
// # Paths
paths: {
// ## Requirejs plugins
text: '../../bower_components/requirejs-text/text',
hbs: '../../bower_components/require-handlebars-plugin/hbs',
cs: '../../bower_components/require-cs/cs',
// ## Core Libraries
jq... | JavaScript | 0 | @@ -230,58 +230,8 @@
bs',
-%0A cs: '../../bower_components/require-cs/cs',
%0A%0A
@@ -2115,50 +2115,160 @@
ct2'
+%0A %7D
,%0A%0A
-
-
// #
-# CoffeeScript Compiler
+ Packages%0A packages: %5B%7B%0A name: 'cs',%0A location: '../../bower_components/require-cs',%0A main: 'cs'%0A %7... |
da386dcb1feea443dc425ab45ffc047cbd0fbcc2 | Allow injection of mock github client. | lib/github.js | lib/github.js | var Github = require('github'),
_ = require('underscore');
module.exports = (function() {
var Client, authenticate;
Client = function(token) {
this.token = token;
this.ghClient = new Github({
version: '3.0.0',
protocol: 'https'
});
};
Client.prototype.getPullRequests = function(repo, state, callback... | JavaScript | 0 | @@ -571,16 +571,97 @@
%09%09%7D);%0A%09%7D
+;%0A%0A%09Client.prototype.setClient = function(client) %7B%0A%09%09this.ghClient = client;%0A%09%7D;
%0A%0A%09authe
|
685a0518eb514d71a9eae96312b843a0dd7228a9 | fix null body handling | lib/google.js | lib/google.js | var request = require('request')
, cheerio = require('cheerio')
, fs = require('fs')
, querystring = require('querystring')
, util = require('util');
var linkSel = 'h3.r a'
, descSel = 'div.s'
, itemSel = 'li.g'
, nextSel = 'td.b a span'
, noneFoundSel = ".med:contains(No results)";
var URL = 'http:/... | JavaScript | 0.000003 | @@ -1153,16 +1153,25 @@
if (
+!body %7C%7C
body.ind
|
c29eb1e9d74438621585ac56c239a92ba2eb503b | Fix for Nav items duplicating | vendor/assets/javascripts/koi/form-for.js | vendor/assets/javascripts/koi/form-for.js | (function($) {
$(function(){
// https://stackoverflow.com/questions/20658402/internet-explorer-issue-with-html5-form-attribute-for-button-element
// detect if browser supports this
var sampleElement = $('[form]').get(0);
var isIE11 = !(window.ActiveXObject) && "ActiveXObject" in window;
if (sampl... | JavaScript | 0 | @@ -24,17 +24,16 @@
tion()%7B%0A
-%0A
// h
@@ -192,56 +192,99 @@
-var sampleElement = $('%5Bform%5D').get(0
+$(%22body%22).on(%22click%22, %22button%5Bform%5D%22, function(e)%7B%0A var $element = $(this
);%0A
+
var
isIE
@@ -283,71 +283,32 @@
var
-isIE11 = !(window.ActiveXObject) && %22Activ... |
66201befa7a218a6a29fd838d163c78ede04f2f5 | Fix bug | src/web/resources/scripts/home.js | src/web/resources/scripts/home.js | $(function() {
try {
Notification.requestPermission();
} catch (e) {
}
// オートセーブがあるなら復元
if ($.cookie('post-autosave')) {
$('#post-form textarea').val($.cookie('post-autosave'));
}
socket = io.connect('https://api.misskey.xyz:1207/streaming/web/home', { port: 1207 });
socket.on('connected', function() {
... | JavaScript | 0.000001 | @@ -409,20 +409,22 @@
ket.on('
-po
st
+atus
', funct
@@ -450,20 +450,22 @@
le.log('
-po
st
+atus
', post)
|
62abd8d1822cd4dc0da7050d40b56d61be90bb49 | load files relative to module installation directory | core/queries.js | core/queries.js | var u = require('util');
var fs = require('fs');
var YAML = require('yamljs');
var hashOf = require('../utils/hashOf');
var template = require('../utils/template');
var hashSourceTarget = function(input)
{
if(!input.id && (!input.source || !input.target || !input.type))
throw new Error(u.format("Type '%s' requires... | JavaScript | 0 | @@ -799,16 +799,63 @@
tion %7D%22%0A
+var fn = path.join(__dirname, 'queries.yaml');%0A
var qs =
@@ -886,29 +886,10 @@
ync(
-'./core/queries.yaml'
+fn
, %7Be
|
d1a48657feb203591ff08e52578af81559d14c9c | Update ispc-mode.js (#2108) | static/modes/ispc-mode.js | static/modes/ispc-mode.js | // Copyright (c) 2017, Matt Godbolt
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of con... | JavaScript | 0 | @@ -2117,24 +2117,42 @@
reference',%0A
+ 'size_t',%0A
'soa
@@ -2398,32 +2398,103 @@
'threadIndex',%0A
+ 'uint16',%0A 'uint32',%0A 'uint64',%0A 'uint8',%0A
'uniform
|
ce3710a27ee009afeb00d9f4b4314caddb946f3d | Remove duplicate line and use _.defaults in Interlock constructor | lib/index.es6 | lib/index.es6 | import * as path from "path";
import * as fs from "fs";
import { watch } from "chokidar";
import {sync as mkdirp} from "mkdirp";
import most from "most";
import compile from "./compile";
import { entries } from "./util";
import loadAst from "./compile/modules/load-ast";
import compileModules from "./compile/modules/c... | JavaScript | 0.000001 | @@ -147,16 +147,40 @@
%22most%22;
+%0Aimport _ from %22lodash%22;
%0A%0Aimport
@@ -425,35 +425,8 @@
d();
-%0A options = options %7C%7C %7B%7D;
%0A%0A
@@ -599,52 +599,71 @@
s%0A
+this.
options
-.context = options.
+ = _.defaults(options %7C%7C %7B%7D, %7B%0A
context
- %7C%7C
+:
cwd;%0A
opti
@@ -662... |
d8914285c2a396f0e58331a33e1dfb5a387b5e6e | Update container.js | static/views/container.js | static/views/container.js | define([
'jquery', 'underscore', 'views/base', 'globals/eventbus', 'bootbox', 'modules/cloudstore', 'ace', 'codemirror'
'add2home', 'css!libs/add2home/add2home.css', 'sha256', 'aes'],
function($, _, BaseView, EventBus, bootbox, CloudStore, ace, codemirror) {
"use strict";
console.log("ContainerView.");
... | JavaScript | 0.000001 | @@ -114,16 +114,18 @@
emirror'
+,
%0A 'add2
|
a6bdbd8884b31d74404e46ac687059fe10ed5f41 | fix typo | static/flow/util/message-executor.js | static/flow/util/message-executor.js | //
// Send a websocket message to a controller
// and handle a response.
//
// @param config - A json object containing configuration info.
//
// The config can contain the folowing keys:
//
// message_type - the message type to send.
// message_params - the params to... | JavaScript | 0.999991 | @@ -2979,32 +2979,34 @@
+//
console.log(%22%5BDE
@@ -3049,32 +3049,34 @@
+//
mes
|
99fe696986d58636d5826a5d3b88f4d6caf6151f | update to closure compiler 20180506 | make/Settings.js | make/Settings.js | "use strict";
/* Configuration settings.
*
* These settings can be overridden from the command line, and will
* affect various aspects of the build process.
*/
var fs = require("fs");
var Q = require("q");
var prevSettingsFile = "build/prev-settings.json";
module.exports = function Settings() {
var configS... | JavaScript | 0 | @@ -529,13 +529,13 @@
%22201
-60822
+80506
%22,%0A
|
96cdb0862839bfa3c4d3942a37eab7e35537551a | exclude *.Tests.* from standard cover-dotnet | cover-dotnet.js | cover-dotnet.js | var gulp = requireModule('gulp-with-help'),
dotNetCover = requireModule('gulp-dotnetcover');
gulp.task('cover-dotnet', 'Runs tests from projects matching *.Tests with DotCover coverage', function() {
return gulp.src('**/*.Tests.dll')
.pipe(dotNetCover({
debug: false,
... | JavaScript | 0 | @@ -653,16 +653,57 @@
stUtils'
+,%0A '*.Tests.*'
%5D%0A
@@ -718,9 +718,8 @@
));%0A%7D);%0A
-%0A
|
9f44c0fd49dc993b59a3dc3274f2d658eeecd865 | add system tests | test/backend/client_instantiator.js | test/backend/client_instantiator.js | 'use strict';
/**
* This sets up the testClient and lodash.
*
* The testClient's endpoint is configured to point to cloudify.localhost.com.
* The manager is expected to have at least one blueprint called 'HelloWorld' installed.
*
* Usage:
* require('../client_instantiator');
*/
if (typeof(window) !== 'und... | JavaScript | 0 | @@ -8,16 +8,306 @@
rict';%0A%0A
+var conf = require('../../conf/dev/meConf.json');%0A%0A/**%0A * conf/dev/meConf.json holds the connection configuration:%0A *%0A * %7B%0A %22endpoint%22: %22http://cloudify.localhost.com%22,%0A %22cloudifyAuth%22: %7B%0A %22user%22: %22__user__%22,%0A ... |
eb366a8668330a3603134e45ff023c184280e084 | Update abilities.js | mods/usermons/abilities.js | mods/usermons/abilities.js | exports.BattleAbilities = {
"drunkenfist": {
desc: "If a contact move knocks out this Pokemon, the opponent receives damage equal to one-fourth of its max HP.",
shortDesc: "If this Pokemon is KOed with a contact move, that move's user loses 1/4 its max HP.",
id: "drunkenfist",
name: "Drunken Fist",
onStar... | JavaScript | 0.000001 | @@ -314,12 +314,15 @@
%09onS
-tart
+witchIn
: fu
|
5a501ae68cdbb7aaf882e51873439fa2dc7c6251 | add test to PageContent | test/components/test_pagecontent.js | test/components/test_pagecontent.js | import React from 'react';
import { shallow, mount } from 'enzyme';
import sinon from 'sinon';
import assert from 'power-assert';
import PageContent from '../../components/pagecontent.cjsx';
describe('<PageContent>', () => {
it('should render one <div>', () => {
const wrapper = shallow(<PageContent />);
ass... | JavaScript | 0 | @@ -662,16 +662,37 @@
non.spy(
+text =%3E %7Breturn text%7D
);%0A c
@@ -937,22 +937,89 @@
ent text%22);%0A
+ assert.equal(onContentChange.returnValues%5B0%5D, %22content text%22);%0A
%7D);%0A%7D);%0A
|
b23d7d1c349f988379000f5d180e9ece02b821a9 | remove logs | src/routes/Post/reducers/Comments.js | src/routes/Post/reducers/Comments.js | import { combineReducers } from 'redux';
import * as actionTypes from '../constants/index';
// const BY_ID_HANDLER = {
// [actionTypes.RECEIVED_COMMENTS]: (state, action) => {
// return Object.assign({},
// state,
// action.payload.comments.reduce((obj, comment) => {
// obj[comment.id] = comm... | JavaScript | 0.000001 | @@ -885,67 +885,8 @@
e%5D;%0A
-console.log('handles', handler)%0Aconsole.log('state', state)
%0A r
|
9846c5f46fc0ca7ffba0d1c10d978a23bd2264ba | Make sure plugin-list is loaded | web/war/src/main/webapp/js/admin/admin.js | web/war/src/main/webapp/js/admin/admin.js | define([
'flight/lib/component',
'configuration/admin/plugin',
'hbs!./template',
'tpl!util/alert',
'd3'
], function(
defineComponent,
lumifyAdminPlugins,
template,
alertTemplate,
d3) {
'use strict';
return defineComponent(AdminList);
function AdminList() {
... | JavaScript | 0.000001 | @@ -116,16 +116,37 @@
'd3'
+,%0A './plugin-list'
%0A%5D, func
|
8f27ad2b4ca7a6e90f59f19ab369517424f6f879 | Fix typo margin padding | src/scripts/directives/fa-surface.js | src/scripts/directives/fa-surface.js | /**
* @ngdoc directive
* @name faSurface
* @module famous.angular
* @restrict EA
* @description
* This directive is used to create general Famo.us surfaces, which are the
* leaf nodes of the scene graph. The content inside
* surfaces is what gets rendered to the screen.
* This is where you can create form ele... | JavaScript | 0.000298 | @@ -4517,15 +4517,14 @@
s.fa
-Padd
+Marg
in
-g
),%0A
@@ -4567,22 +4567,23 @@
attrs.fa
-Marg
+Padd
in
+g
)%0A
|
8fa4ec3b7d2ba0145b16e6e2a1c8f9e7366e96de | Fix date issue on edit | webapp/client/app/transforms/timestamp.js | webapp/client/app/transforms/timestamp.js | import DS from 'ember-data';
import Firebase from 'firebase';
export default DS.DateTransform.extend({
serialize: function(date) {
if (date === Firebase.ServerValue.TIMESTAMP){
return date;
}
return this._super(date);
}
});
| JavaScript | 0.000001 | @@ -231,31 +231,62 @@
-return this._super(date
+// to timestamp%0A return new Date(date).getTime(
);%0A
|
b37014f5dc73c0e1a2c10447aa37eceb56f60e69 | Remove the third param when new Loader | lib/loader.js | lib/loader.js | const getConfigFn = require('think-config').getConfigFn;
const Logger = require('think-logger3');
const Loader = require('think-loader');
const path = require('path');
const helper = require('think-helper');
const Crontab = require('think-crontab');
require('./think.js');
// ThinkJS root path
const thinkPath = path.jo... | JavaScript | 0.000014 | @@ -2234,27 +2234,16 @@
hinkPath
-, think.app
);%0A t
@@ -2675,8 +2675,9 @@
kLoader;
+%0A
|
8fdca71a37574935971c96e00b16817423c579b6 | Add 'timestamp' configuration to logger. | lib/logger.js | lib/logger.js | module.exports = function(sails) {
/**
* Module dependencies.
*/
var _ = require('lodash'),
util = require('./util');
/**
* Expose Logger
*/
return Logger;
/**
* Logger encapsulates winston, a logging library,
* to manage logging to different ad... | JavaScript | 0 | @@ -637,16 +637,46 @@
: 'info'
+,%0A timestamp: false
%0A
@@ -894,32 +894,77 @@
config.colorize
+,%0A timestamp: config.timestamp
%0A %7D)%0A
@@ -1410,16 +1410,61 @@
colorize
+,%0A timestamp: config.timestamp
%0A
|
c56f1f8a5288cacecc4f7c8ce05738eca1681307 | Add some helper methods for realtime testing | test/functional/realtime-session.js | test/functional/realtime-session.js | import SocketIO from 'socket.io-client';
const eventTimeout = 2000;
const silenceTimeout = 500;
/**
* Session is a helper class
* for the realtime testing
*/
export default class Session {
socket = null;
name = '';
static create(port, name = '') {
const options = {
transports: ['websocket']... | JavaScript | 0.000001 | @@ -1595,11 +1595,260 @@
%7D);%0A %7D
+%0A%0A async receiveWhile(event, ...promises) %7B%0A const %5Bresult%5D = await Promise.all(%5Bthis.receive(event), ...promises%5D);%0A return result;%0A %7D%0A%0A async notReceiveWhile(event, ...promises) %7B%0A await Promise.all(%5Bthis.notReceive(event), ...promises%5D... |
6ae7c7d15f0aef738b57da693d63e8da483a975a | Add function to handle AJAX error | assets/js/src/market.js | assets/js/src/market.js | /* global $ pluginsTable */
'use strict'
let pluginsTable
$(document).ready(() => {
$('.box-body').css(
'min-height',
$('.content-wrapper').height() - $('.content-header').outerHeight() - 120
)
pluginsTable = $('#plugin-table').DataTable({
language: trans('vendor.datatables'),
scrollX: true,
... | JavaScript | 0.000001 | @@ -3902,17 +3902,41 @@
$.
-post(%0A
+ajax(%7B%0A type: 'POST',%0A url:
'/a
@@ -3969,16 +3969,22 @@
ad',%0A
+ data:
%7B%0A
@@ -4031,15 +4031,22 @@
+success (
data
- =%3E
+)
%7B%0A
@@ -6062,19 +6062,154 @@
))%0A %7D
+,
%0A
+ error () %7B%0A toastr.error(trans('market.error... |
a881a11c00ba7e30901dd4fe020535a800fd763e | fix openActive #2 | jquery.treemenu.js | jquery.treemenu.js | /*
treeMenu - jQuery plugin
version: 0.4
Copyright 2014 Stepan Krapivin
*/
(function($){
$.fn.openActive = function(activeSel) {
activeSel = activeSel || ".active";
var c = this.attr("class");
this.find(activeSel).each(function(){
var el = $(this).parent();
wh... | JavaScript | 0.000004 | @@ -340,24 +340,64 @@
%22) !== c) %7B%0A
+ el.find('%3E ul').show();%0A
@@ -614,32 +614,63 @@
%22tree-opened%22);%0A
+ el.show();%0A
|
5237fa5d45837be981fe1acab969516ed668cd98 | remove deprecated cloneWithProps in favor of React.cloneElement | modules/components/Menu.js | modules/components/Menu.js | var React = require('react/addons');
var Immutable = require('immutable');
var cx = require("classnames");
var cloneWithProps = React.addons.cloneWithProps;
var { object, func, instanceOf } = React.PropTypes;
var Menu = React.createClass({
propTypes: {
content: instanceOf(Immutable.Map),
selection: object.i... | JavaScript | 0.000001 | @@ -105,58 +105,8 @@
);%0A%0A
-var cloneWithProps = React.addons.cloneWithProps;%0A
var
@@ -2716,16 +2716,17 @@
type%7D%60;%0A
+%0A
va
@@ -2740,22 +2740,26 @@
d =
-cloneWithProps
+React.cloneElement
(chi
|
0e2f869976dc01798fb9e9a031e477f92684af20 | handle empty remote addresses | lib/master.js | lib/master.js | 'use strict';
var log = require('./log');
module.exports = function (workers, options) {
var DEBUG = options.debug;
var CONCURRENCY = options.concurrency;
var PORT = options.port;
var serverInstance;
function serverCreate () {
var hash = require('string-hash');
return require('net')
.createServ... | JavaScript | 0.000001 | @@ -415,16 +415,22 @@
eAddress
+ %7C%7C ''
) %25 CONC
|
ad736959264f0cdc2bae5fa0391569f432fb3c65 | Add and require custom-methods file | 029-distinct-powers/javascript-solution.js | 029-distinct-powers/javascript-solution.js | exponentiateStrings = function(string1, string2) {
// must have a powers function for strings because 100 ** 100 is too high for JS...
}
// var powers = [];
// for (var a = 2; a <= 100; a++) {
// for (var b = 2; b <= 100; b++) {
// powers.push(exponentiateStrings(a.toString(), b.toString()));
// }
// }
// ... | JavaScript | 0 | @@ -1,24 +1,58 @@
+require(%22../custom-methods%22)%0A%0A%0A//
exponentiateStrings = fu
@@ -78,16 +78,19 @@
ing2) %7B%0A
+//
// mus
@@ -167,16 +167,19 @@
r JS...%0A
+//
%7D%0A%0A// va
|
c2764adb0ebe14f78351995cfaca3849e19885d9 | add JSON load | js/dual-listbox.js | js/dual-listbox.js | (function($) {
'use strict';
$.fn.dualListBox = function(options) {
var defaults = function ($listBox) {
return {
delay: $listBox.data('delay') || 200,
sort: $listBox.data('sort') || true
}
};
var filter = function(list, search) {... | JavaScript | 0.000001 | @@ -1994,19 +1994,92 @@
-return this
+var loadItems = function ($listBox) %7B%0A $listBox.find('select%5Bdata-list%5D')
.eac
@@ -2101,24 +2101,28 @@
+
+
var $listBox
@@ -2118,19 +2118,16 @@
ar $list
-Box
= $(thi
@@ -2120,33 +2120,33 @@
$list = $(this)
-;
+,
%0A var
... |
3639b2c452cb671dab8df860d5d58773a1b61248 | Add updateImports to matter module | lib/matter.js | lib/matter.js | // matter.js
//
'use strict';
var utils = require('./utils');
var fs = require('fs');
var cp = require('child_process');
var url = require('url');
var rimraf = require('rimraf');
var Queue = require('queue');
var which = require('which');
module.exports = {
clean: function (lib, cb) {
var locale = getLo... | JavaScript | 0 | @@ -261,16 +261,349 @@
ts = %7B%0A%0A
+ updateImports: function (libs, cb) %7B%0A var imports = %5B%5D;%0A var data = '';%0A%0A libs.forEach(function (lib) %7B%0A var locale = getLocale(lib);%0A imports.push(%60@import %22../$%7Blocale%7D/matter/index%22;%60);%0A %7D);%0A%0A data = imports... |
e0dc20ff5839548cd33776d0a0a2f7730cb9af6f | Revert and inspector buttons should not focus the form. Fixes #1139 | js/id/ui/preset.js | js/id/ui/preset.js | iD.ui.preset = function(context, entity, preset) {
var original = context.graph().base().entities[entity.id],
event = d3.dispatch('change', 'close'),
fields = [],
tags = {},
formwrap,
formbuttonwrap;
function UIField(field, show) {
field = _.clone(field);
... | JavaScript | 0 | @@ -1838,32 +1838,103 @@
revert(field) %7B%0A
+ d3.event.stopPropagation();%0A d3.event.preventDefault();%0A
var t =
@@ -1937,16 +1937,16 @@
t = %7B%7D;%0A
-
@@ -2118,32 +2118,103 @@
erence(field) %7B%0A
+ d3.event.stopPropagation();%0A d3.event.preventDefault();%0A
... |
591dcfc08531d79473e7c4e6ae1fb6d964f7497d | Remove Pointers for Devlopement | src/tap/controller.js | src/tap/controller.js | import status from './status';
import abduction from './abduction';
import imgvalid from './IMGvalidation';
import xmlvalid from './XMLvalidation';
import ingest from './ingestion';
/**
* [someFunction description]
* @return {[type]} [description]
*/
let fileList = [];
abduction(fileList);
//imgvalid();
//xmlvali... | JavaScript | 0 | @@ -1,12 +1,15 @@
+//
import statu
@@ -27,16 +27,19 @@
tatus';%0A
+//
import a
@@ -63,24 +63,27 @@
abduction';%0A
+//
import imgva
@@ -106,24 +106,27 @@
alidation';%0A
+//
import xmlva
@@ -153,16 +153,19 @@
ation';%0A
+//
import i
@@ -283,16 +283,19 @@
t = %5B%5D;%0A
+//
abductio
@@ -307,16 +307,16 @@
... |
30e48646c7a2881376748568fae34f28fc0969e6 | fix params parsing | lib/module.js | lib/module.js | 'use strict';
angular.module('coq', [
'ngResource',
'ngSanitize'
]);
angular.module('coq').config(function($provide) {
// Add $$routeVariables to every $resource instance
// > Because resourceFactory keep route object, make it
// unreachable outside the $resource instance
//
// Route class is... | JavaScript | 0.000001 | @@ -572,16 +572,54 @@
s = %5B%5D,%0A
+ parts = url.split('/'),%0A
@@ -648,16 +648,27 @@
e.apply(
+$delegate,
argument
@@ -698,23 +698,13 @@
ach(
-url.split(/%5CW/)
+parts
, fu
@@ -739,66 +739,19 @@
aram
- && (new RegExp('(%5E%7C%5B%5E%5C%5C%5C%5C%5D):' + param + '%5C%5CW').test(url))
+%5B0... |
6a20700fec26e9d9382f94e7d5548223988355b3 | fix range bug | lib/number.js | lib/number.js | /*
* Generate random number
* options:
* 'min': minimun value of random number
* 'max': maximun value of random number
*/
"use strict";
var _ = require('underscore');
var defaultOptions = {
min: 0,
max: 100
},
userOptions = null,
result = null;
function _getOptionByKey(key) {
... | JavaScript | 0 | @@ -228,16 +228,17 @@
max: 100
+0
%0A%7D, %0A
|
a94348fcd51e78a610aba4a7909cb6184bab155a | remove extra code | lib/params.js | lib/params.js | var fs = require('fs')
var path = require('path')
if (!process) {
process = require('process') // > v0.4.0
}
var cosmiconfig = require('cosmiconfig');
var repeatString = require('repeat-string')
var editorconfig = require('editorconfig')
var isEmptyObject = require('./util').isEmptyObject
var defaultIndentWidth = ... | JavaScript | 0.000192 | @@ -46,69 +46,8 @@
th')
-%0Aif (!process) %7B%0A process = require('process') // %3E v0.4.0%0A%7D
%0A%0Ava
|
65038c6b9e6b695030badddef7aefcf8d3d01b08 | load map once | js/screens/main.js | js/screens/main.js | game.MainScreen = me.ScreenObject.extend({
init: function () {
this.font = new me.Font("Verdana", 12, "#fff", "center");
},
onDestroyEvent: function () {
me.game.world.removeChild(this.HUD);
me.game.world.removeChild(this.player);
var socket = global.network.socket;
... | JavaScript | 0.000002 | @@ -944,32 +944,35 @@
%7D%0A%0A
+//s
me.levelDirect
|
60e3e24ae0f4ce5da7034531663c416102db2c5e | Fix bugs | js/sensor-setup.js | js/sensor-setup.js | (function(exports){
$(document).ready(function(){
$('.modal-trigger').leanModal();
});
const GEOCODE_URL = 'https://maps.googleapis.com/maps/api/geocode/json?address=';
const API_KEY = '&key=AIzaSyAWlJoUn2DS8XUYilLXZE8dxYEXbo6dnaE';
const TOAST_DUR = 4000;
var userId = $.url().param('userId');
var s... | JavaScript | 0.000004 | @@ -1146,31 +1146,24 @@
href', 'user
--detail
.html?userId
@@ -2187,31 +2187,24 @@
tion = 'user
--detail
.html?userId
@@ -3073,15 +3073,8 @@
user
--detail
.htm
|
f575fa5b0bdd3dcaf09ac9416a8344cc74e86df0 | Update unauthorized.js | js/unauthorized.js | js/unauthorized.js | // This script will modify the "Unauthorized" message that users may see if they click through
// to the course home page, but the course hasn't been published yet. The message has been
// modified to be a little more user friendly.
require(['jquery'], function($) {
/**
* This function checks to see if the page is ... | JavaScript | 0.000001 | @@ -317,139 +317,37 @@
is
-the course home page.%0A%09 *%0A%09 * Only the course home page unauthorized message needs to be changed,%0A%09 * others should be left as-is.
+in the context of the course.
%0A%09 *
|
6a3e7ca19e8e691bf82ab8320c73df3dbdb402cf | update type=text and password | js/zsi.bswriter.js | js/zsi.bswriter.js | /**
* zsiBSWriter.js
* @author German M. Fuentes <gm.fuentes@gmail.com>
* @copyright 2015 ZettaSolutions, Inc. <zetta-solutions.net>
* @license under MIT <https://github.com/smager/zsiBSwriter/blob/master/LICENSE>
* @createddate Feb-22-2015
**/
/*
dictionary:
*/
var _ud = 'undefined';
... | JavaScript | 0.000004 | @@ -1747,16 +1747,186 @@
Data)%7B%0D%0A
+ if( fnName.toLowerCase().indexOf(%22input%22) %3E -1) %7B%0D%0A if(!jsonData.type) jsonData.type=%22text%22; %0D%0A %7D%0D%0A console.log(jsonData);%0D%0A
%09%09%09var h
|
0eab425a7cdb357d9a33588fc38ded2a95323a00 | Remove trailing whitespace | lib/person.js | lib/person.js | var Helpers = require('./helpers');
// Generates valid brazillian CPF numbers
// See http://en.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas
exports.brCPF = function () {
var baseNumber = Helpers.randomize('###.###.###'),
number = Helpers.replaceSymbolWithNumber(baseNumber),
firstDigit, secondDigit, parts;
... | JavaScript | 0.999999 | @@ -313,17 +313,16 @@
parts;%0A
-%09
%0A%09parts
|
2b828f0f4ba9e1dcad07af344a058d8cb3f2b49b | fix for game reporting wrong size of the local map | lib/pipmap.js | lib/pipmap.js | exports.decodeMap = function(buffer) {
var cursor = 0;
var width = buffer.readUInt32LE(cursor);
cursor += 4;
var height = buffer.readUInt32LE(cursor);
cursor += 4;
function decodeExtents() {
var x = buffer.readFloatLE(cursor);
cursor += 4;
var y = buffer.readFloatLE(cursor);
cursor += 4;
... | JavaScript | 0 | @@ -427,16 +427,432 @@
nts();%0A%0A
+ // fix for invalid map size from https://github.com/nkatsaros/pipboygo/blob/master/protocol/map.go#L55%0A // originally from https://github.com/CyberShadow/csfo4/blob/master/mapfix/mapfix.d%0A // thanks to nkatsaros and CyberShadow!%0A if (width * height %3C buffer.length - 32... |
e56eaaac65bd2a3877abd403f1358ed1ba7150b5 | rename variables so as to minimize collisions | lib/script.js | lib/script.js | module.exports=function(opt){
opt=opt||{};
var error=opt.error||console.error;
var pattern=/<\?js[\s\S]*?js\?>/g,
idPattern=/\{js\d+?\}/g;
return function(req,res,next){
if(res.body && pattern.test(res.body)){
// common variables
var JS={},
results... | JavaScript | 0.000001 | @@ -283,16 +283,17 @@
var
+_
JS=%7B%7D,%0A
@@ -307,23 +307,24 @@
-results
+_RESULTS
=%7B%7D,%0A
@@ -336,21 +336,22 @@
-total
+_TOTAL
=0,%0A
@@ -362,21 +362,22 @@
-count
+_COUNT
,%0A
@@ -386,20 +386,21 @@
-done
+_DONE
=functio
@@ -406,21 +406,22 @@
on()%7... |
be1319a7eef0e4c6b5f8fe18e55ac749dff52177 | normalize prefixes and manifests paths | lib/server.js | lib/server.js | const normalizePath = require('./common').normalizePath;
function unifyOptions(options) {
options.verbose = (options.verbose || []).reduce(function (opt, val) {
if (val === 'all') {
opt.local = opt.remote = opt.proxy = true;
} else {
opt[val] = true;
}
retur... | JavaScript | 0 | @@ -392,39 +392,36 @@
refixes)
-; //%22flatten%22 one layer
+.map(normalizePath);
%0A opt
@@ -479,31 +479,28 @@
sts)
-; //%22flatten%22 one layer
+.map(normalizePath);
%0A
|
24bc0e15ce4bb4b95626f9b5fd93b3da1cc2193c | Add logging system | lib/server.js | lib/server.js | const Hapi = require( 'hapi' );
const Poetry = require( './' );
const port = process.env.PORT || process.env.port || 8080;
const server = new Hapi.Server();
server.connection( {
port: port
} );
server.register( require( 'inert' ), ( err ) => {
if ( err ) throw err;
} );
server.start( ( err ) => {
if ( ... | JavaScript | 0.000001 | @@ -31,22 +31,19 @@
;%0Aconst
-Poetry
+Log
= requi
@@ -49,16 +49,27 @@
ire( './
+methods/log
' );%0A%0Aco
@@ -346,16 +346,9 @@
-Poetry.l
+L
og(
|
ce2122a86b246f544635e33e2d6ab6a6628b6923 | Add warning if execution without captured browser | lib/server.js | lib/server.js | var io = require('socket.io');
var net = require('net');
var cfg = require('./config');
var ws = require('./web-server');
var logger = require('./logger');
var browser = require('./browser');
var STATIC_FOLDER = __dirname + '/../static/';
exports.start = function(configFilePath) {
var config = cfg.parseConfig(confi... | JavaScript | 0.000001 | @@ -1278,16 +1278,137 @@
%0A if
+(!capturedBrowsers.length) %7B%0A log.warn('No captured browser, open http://localhost:' + config.port);%0A%0A %7D else if
(capture
|
187940c74d6879386d78547fa625d6397dd19c17 | Use server.url config in injected live reload script tag | lib/server.js | lib/server.js | var st = require('st')
, http = require('http')
, path = require('path')
, js = require('atomify-js')
, css = require('atomify-css')
, open = require('open')
, through = require('through')
, tinylr = require('tiny-lr-fork')
, gaze = require('gaze')
, colors = require('colors')
, server
module.expor... | JavaScript | 0.000001 | @@ -66,24 +66,49 @@
ire('path')%0A
+ , url = require('url')%0A
, js = req
@@ -122,24 +122,24 @@
tomify-js')%0A
-
, css = re
@@ -324,16 +324,28 @@
, server
+%0A , baseUrl
%0A%0Amodule
@@ -608,16 +608,132 @@
ver.lr%0A%0A
+ args.server.url = args.server.url %7C%7C 'http://localhost:' + port + path%0A baseUr... |
20d85d5772e0f2c0841a9399adfc3254e9f13e6f | Add Simple#makeThreads | lib/simple.js | lib/simple.js | /*
* CometJS / simple.js
* copyright (c) 2014 Susisu
*/
"use strict";
function end () {
module.exports = Object.freeze({
"Simple" : Simple,
"ThreadOption": ThreadOption
});
}
var comet = {
"input" : require("./input.js"),
"score" : require("./score.js"),
"thread": require(... | JavaScript | 0 | @@ -510,10 +510,884 @@
-//
+if (this.options.length %3C this.sources.length) %7B%0A throw new Error(%22%22);%0A %7D%0A var threads = %5B%5D;%0A for (var i = 0; i %3C this.sources.length; i++) %7B%0A var source = this.sources%5Bi%5D;%0A ... |
05491d3f51c3844b64aa3a2b03bfd8692581b412 | fix external link click catch | main/html/app.js | main/html/app.js | const { h } = require('mutant')
const nest = require('depnest')
const insertCss = require('insert-css')
const Tabs = require('hypertabs')
exports.gives = nest('main.html.app')
exports.needs = nest({
main: {
async: {
catchLinkClick: 'first'
},
html: {
error: 'first',
externalConfirm: 'f... | JavaScript | 0 | @@ -1597,16 +1597,23 @@
xternal)
+ return
api.mai
|
a6260c51ee288d059f5c4660a993df48a48d7276 | fix aframe-animation-component regression https://github.com/supermedium/superframe/issues/192 | tests/dummy/app/components/a-sky.js | tests/dummy/app/components/a-sky.js | import ASky from 'ember-aframe/components/a-sky';
import stringifyComponent from 'ember-aframe/macros/stringify-component';
import { raw } from 'ember-awesome-macros';
import { task, timeout } from 'ember-concurrency';
import InboundActions from 'ember-component-inbound-actions/inbound-actions';
export default ASky.ex... | JavaScript | 0.000014 | @@ -602,16 +602,128 @@
('#000')
+,%0A%0A // regressed 3.2.5 =%3E 4.0.0-beta1%0A // https://github.com/supermedium/superframe/issues/192%0A loop: 1
%0A %7D),%0A%0A
|
ec794ed7d194f8a98e920c6e083a6a0652baa0e6 | Remove check on grunt.config.data | tasks/update_json_task.js | tasks/update_json_task.js | /*
* grunt-update-json
* https://github.com/andreaspizsa/grunt-update-json
*
* Copyright (c) 2013
* Licensed under the MIT license.
*/
'use strict';
var _ = require('lodash'),
updateJSON = require('./lib/update_json'),
defaultOptions = require('./lib/default_options');
module.exports = function(grunt){
v... | JavaScript | 0.000001 | @@ -456,372 +456,8 @@
%7D;
-%0A%0A // handle the degenerate case%0A if(!grunt.config.data%5BupdateJSON.taskName%5D)%7B%0A register = grunt.registerTask;%0A task = function(target)%7B%0A // use default options%0A var targets = target ? _.pick(defaultOptions, target) : defaultOptions;%0A _.each(... |
f61deda4e8d8f37ed16605b4f109584a2a5c712e | Fix format detection error in validate logic. | src/verbs/validate.js | src/verbs/validate.js | /**
Implementation of the 'validate' verb for HackMyResume.
@module validate.js
@license MIT. See LICENSE.md for details.
*/
(function() {
var FS = require('fs');
var ResumeFactory = require('../core/resume-factory');
var SyntaxErrorEx = require('../utils/syntax-error-ex');
var chalk = require('chalk');
mo... | JavaScript | 0.000001 | @@ -1871,66 +1871,31 @@
son.
-meta && (json.meta.format==='FRESH@0.1.0') ? 'fresh':'jars
+basics ? 'jrs' : 'fresh
';%0A%0A
|
8fa296f83ce103c20054c94f81118d119a0cdbc0 | Fix tStep not being added to request properly | worker.js | worker.js | // Include libraries
var async = require('async');
var cluster = require('cluster');
var express = require('express');
var mongoose = require('mongoose');
var ds = require('./lib/data-store');
var Predictor = require('./lib/predictor');
var currentDownload = null;
setInterval(function() {
if(currentDownload === null... | JavaScript | 0 | @@ -2835,18 +2835,21 @@
%7BtStep:
-10
+tStep
%7D, funct
|
df52375d11240d356f60b54daf85350daae4e5f9 | Update redirect-handler-test.js | tests/unit/redirect-handler-test.js | tests/unit/redirect-handler-test.js | import RedirectHandler from 'torii/redirect-handler';
import { CURRENT_REQUEST_KEY } from 'torii/mixins/ui-service-mixin';
import QUnit from 'qunit';
let { module, test } = QUnit;
function buildMockWindow(windowName, url){
return {
name: windowName,
location: {
toString: function(){
return url... | JavaScript | 0.000001 | @@ -464,15 +464,21 @@
se:
-Ember.K
+function() %7B%7D
%0A %7D
|
687c6b133942db6ab04a37c7e664d257d8d03448 | set up kue config properly | worker.js | worker.js | var _ = require('lodash'),
colors = require('colors'),
Promise = require('bluebird'),
rc = require('rc'),
rollbar = require('rollbar'),
sails = require('sails'),
util = require('util');
// define new jobs here.
// each job should return a promise.
// use Promise.method if the job is synchronous.
//
// TODO... | JavaScript | 0 | @@ -1,12 +1,38 @@
+require('./config/kue');%0A%0A
var _ = requ
|
4cedf55a502d44d97a1748c3296a43c24804cd01 | Fix [CP-86] modifier className update | packages/components/containers/sidebar/StorageSpaceStatus.js | packages/components/containers/sidebar/StorageSpaceStatus.js | import React, { useState } from 'react';
import PropTypes from 'prop-types';
import { c } from 'ttag';
import {
CircularProgress,
Dropdown,
Icon,
Loader,
generateUID,
useUser,
usePopperAnchor,
useSubscription
} from 'react-components';
import humanSize from 'proton-shared/lib/helpers/hum... | JavaScript | 0 | @@ -1069,24 +1069,16 @@
color =
-%0A
usedPer
@@ -1086,28 +1086,16 @@
ent %3C 60
-%0A
? 'circ
@@ -1106,35 +1106,12 @@
ar--
-g
lo
-bal-success'%0A
+w'
: u
@@ -1125,28 +1125,16 @@
ent %3C 80
-%0A
? 'circ
@@ -1145,37 +1145,15 @@
ar--
-global-attention'%0A
+m... |
6f1526414e019ff54c70ba09febd1219e92ec5bd | add main process compilation notice to browser | template/.electron-vue/dev-client.js | template/.electron-vue/dev-client.js | const hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
hotClient.subscribe(event => {
if (event.action === 'reload') {
window.location.reload()
}
if (event.action === 'compiling') {
console.log('restarting soon')
}
})
| JavaScript | 0 | @@ -114,147 +114,867 @@
%7B%0A
-if (event.action === 'reload') %7B%0A window.location.reload()%0A %7D%0A%0A if (event.action === 'compiling') %7B%0A console.log('restarting soon')
+/**%0A * Reload browser when HTMLWebpackPlugin emits a new index.html%0A */%0A if (event.action === 'reload') %7B%0A win... |
77a6fda36054076eaff11ab5792e914a0f7f1718 | add log for model in template | template/src/config/adapter/model.js | template/src/config/adapter/model.js | module.exports = {
type: 'mysql',
common: {
},
mysql: {
database: '',
prefix: 'think_',
encoding: 'utf8',
host: '127.0.0.1',
port: '',
user: 'root',
password: 'root'
}
}; | JavaScript | 0 | @@ -1,8 +1,52 @@
+const isDev = think.env === 'development';%0A%0A
module.e
@@ -85,16 +85,99 @@
mmon: %7B%0A
+ logConnect: isDev,%0A logSql: isDev,%0A logger: msg =%3E think.logger.info(msg)
%0A %7D,%0A
|
aef64f550a86e10a0b72115736814ccbcdcc548d | add display_url to sauce name fix browserVersion field | worker.js | worker.js | //
// Strider Worker extension for Sauce Labs tests
//
var check = require('httpcheck')
var fs = require('fs')
var path = require('path')
var request = require('request')
var wd = require('wd')
// Port on which the application-under-test webserver should bind to on localhost.
// Sauce Connector will tunnel from this ... | JavaScript | 0 | @@ -3755,32 +3755,25 @@
%22 + browser.
-browserV
+v
ersion + %22-%22
@@ -4213,16 +4213,9 @@
ser.
-browserV
+v
ersi
@@ -4258,16 +4258,73 @@
platform
+,%0A name: ctx.jobData.repo_config.display_url
%0A
|
a1f135bd66ee625ff0299371a63b8b15f88ef1fc | Allow oauth strategy callback method to be customised Closes #1998 | packages/node_modules/@node-red/editor-api/lib/auth/index.js | packages/node_modules/@node-red/editor-api/lib/auth/index.js | /**
* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 r... | JavaScript | 0 | @@ -6494,32 +6494,182 @@
%0A );%0A
+%0A
-adminApp.get
+var callbackMethodFunc = adminApp.get;%0A if (/%5Epost$/i.test(options.callbackMethod)) %7B%0A callbackMethodFunc = adminApp.post;%0A %7D%0A callbackMethodFunc
('/auth/
|
3a232c0e1ccae3d908a0569ddad581593da62ed7 | Remove unrequired watch on Checklist Controller | static/src/checklist/checklist.js | static/src/checklist/checklist.js | (function () {
'use strict';
// checklist detail page
// =============================================================================
angular.module('checklist.detail', [
'ui.router',
'checklist.common.services'
])
// configure routes
// ==============================================================... | JavaScript | 0 | @@ -1764,63 +1764,8 @@
====
-%0A%09%09%09$scope.$watch('run', this.onRunDataModified, true);
%0A%0A%09%09
@@ -1829,218 +1829,8 @@
===%0A
-%09%09%09this.onRunDataModified = function (newValue, oldValue) %7B%0A%09%09%09%09console.warn('checklistCtrl:onRunDataModified', newValue, oldValue);%0A%09%09%09%09if (newValue) ... |
945e1047d3810fe96270f633f39b669c178bb892 | Update link with next single type feature | packages/strapi-admin/admin/src/containers/HomePage/index.js | packages/strapi-admin/admin/src/containers/HomePage/index.js | /*
*
* HomePage
*
*/
/* eslint-disable */
import React, { memo } from 'react';
import { FormattedMessage } from 'react-intl';
import { get, upperFirst } from 'lodash';
import { auth } from 'strapi-helper-plugin';
import PageTitle from '../../components/PageTitle';
import useFetch from './hooks';
import {
ALink,
... | JavaScript | 0 | @@ -1596,16 +1596,17 @@
%0A '
+/
plugins/
@@ -1694,16 +1694,36 @@
entType&
+kind=collectionType&
actionTy
@@ -1853,54 +1853,54 @@
con_
-name_1=contentType&header_icon_isCustom_1=fals
+isCustom_1=false&header_icon_name_1=contentTyp
e&he
|
30f6b4c683a2e9652d373e87c5143f2b88ae5d0f | Check for activation mail instead of login | src/adhocracy_frontend/adhocracy_frontend/tests/acceptance/UserLoginSpec.js | src/adhocracy_frontend/adhocracy_frontend/tests/acceptance/UserLoginSpec.js | "use strict";
var UserPages = require("./UserPages.js");
var fs = require("fs");
var _ = require("lodash");
var shared = require("./shared");
describe("user registration", function() {
it("can register", function() {
browser.get("/");
UserPages.ensureLogout();
UserPages.register("u1", "u1@... | JavaScript | 0.000001 | @@ -208,32 +208,124 @@
%22, function() %7B%0A
+ var mailsBeforeMessaging = fs.readdirSync(browser.params.mail.queue_path + %22/new%22);%0A
browser.
@@ -445,68 +445,167 @@
-UserPages.logout();%0A UserPages.login(%22u1%22, %22password1
+var flow = browser.controlFlow();%0A flow.execut... |
1de9f91e186a33a32dc943250967d716f5cc46f9 | rename variable | src/javascript/app/pages/user/account/settings/two_factor_authentication.js | src/javascript/app/pages/user/account/settings/two_factor_authentication.js | const QRCode = require('davidshimjs-qrcodejs');
const BinarySocket = require('../../../../base/socket');
const Client = require('../../../../base/client');
const FormManager = require('../../../../common/form_manager');
const getPropertyValue = require('../../../../../_common/utility').getP... | JavaScript | 0.000018 | @@ -2579,23 +2579,20 @@
const
-otpAuth
+text
= %60otpa
@@ -2744,19 +2744,8 @@
text
- : otpAuth
,%0A
|
93d2c3b19f4811d99a3de041997183ec48c8e39b | Fix small JS bug | ava/assets/js/signup.js | ava/assets/js/signup.js | function getJsonFromUrl(hashBased) {
var query;
if (hashBased) {
var pos = location.href.indexOf("?");
if (pos==-1) return [];
query = location.href.substr(pos+1);
} else {
query = location.search.substr(1);
}
var result = {};
query.split("&").forEach(function(part) {
if (!part) return;
var item = par... | JavaScript | 0.000011 | @@ -1079,35 +1079,24 @@
href%22, link.
-attributes.
href+window.
@@ -1255,19 +1255,8 @@
ink.
-attributes.
href
|
94f2b125b591c08c71791d44ba9680ba124bdf2a | Comment out body parsing in use until there is time to update dependencies for switch. | backend/server/mcapi.js | backend/server/mcapi.js | var cliArgs = require('command-line-args');
var mount = require('koa-mount');
var bodyParser = require('koa-bodyparser');
var koa = require('koa');
var app = module.exports = koa();
require('koa-qs')(app);
require('./init')();
var model = require('./model-loader')(module.parent);
var apikey = require('./apikey')(model... | JavaScript | 0 | @@ -67,24 +67,26 @@
oa-mount');%0A
+//
var bodyPars
@@ -389,16 +389,18 @@
pikey);%0A
+//
app.use(
|
1dac498d8f0cee11241ab49bddd2cb98442b7a8e | Update from travis build of arcgis-dijit-drilldown | Drilldown/Drilldown/Drilldown.js | Drilldown/Drilldown/Drilldown.js | Function.prototype.bind||(Function.prototype.bind=function(a){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var b=Array.prototype.slice.call(arguments,1),c=this,d=function(){},e=function(){return c.apply(this instanceof d?this:a,b.concat(Array.pro... | JavaScript | 0 | @@ -3638,16 +3638,40 @@
klist(),
+n(this.resultsElement)%7C%7C
f.destro
|
64d952934054ed6fd0b3f946b488294d712779f0 | Add request method for save exercise-group. | server/static/lecturer/js/store/components/group.js | server/static/lecturer/js/store/components/group.js | /**
* Created by Elors on 2017/1/3.
* Exercise-Group component
*/
define(['Exercise'], function () {
Vue.component('exercise-group', {
template: '\
<div class="row store-row content-pane">\
<el-form ref="form" :model="form" label-width="0px" class="page-pane">\
<el-form-item label-wid... | JavaScript | 0 | @@ -1614,28 +1614,323 @@
log(
-this.form.exercises)
+JSON.stringify(this.form));%0A%0A $.ajax(%7B%0A type: %22POST%22,%0A async: false,%0A dataType: %22json%22,%0A url: '/lecturer/api/exercise/store',%0A data: %7B'group': JSON.stringify(this.form)%7D,%0A suc... |
5b39034ab7bfcb48b42230302c04ad515fdd7932 | Refresh images first | static/js/panoptes.js | static/js/panoptes.js | function add_chat_item(name, msg, time){
item = '<li><img class="avatar" alt="" src="/static/img/pan.png">';
item = item + '<span class="message">';
item = item + '<span class="label label-primary">' + time + '</span> ';
item = item + '<span class="text">' + msg + '</span>';
item = item + '</... | JavaScript | 0 | @@ -1414,24 +1414,58 @@
'STATUS')%7B%0A
+ refresh_images();%0A
@@ -1497,24 +1497,24 @@
rvatory'%5D);%0A
-
@@ -1561,42 +1561,8 @@
%5D);%0A
- refresh_images();%0A
@@ -1601,24 +1601,58 @@
= 'STATE')%7B%0A
+ refresh_images();%0A
... |
5b6a3078b31dc346e5ce7b86837d6abbe7a18bbd | update broken build in commit 7c293e721bd1e95be6f82475d295b9b10e3b584e | test/e2e/integration/profile_spec.js | test/e2e/integration/profile_spec.js | /// <reference types="Cypress" />
describe('/profile behaviour', () => {
before(() => {
cy.dbReset()
})
after(() => {
cy.dbReset()
})
afterEach(() => {
cy.visitPage('/logout')
})
it('Should redirect if the user has not logged in', () => {
cy.visitPage('/profile')
cy.url().should('i... | JavaScript | 0.000002 | @@ -662,17 +662,17 @@
ength',
-8
+9
)%0A %7D)%0A%0A
|
4dee45e4eeed0cf057581560c7a7d07ea461fe11 | Fix linter | test/hyperbahn-client/unadvertise.js | test/hyperbahn-client/unadvertise.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.000002 | @@ -3647,32 +3647,53 @@
t.advertise();%0A%0A
+ var fwdreq;%0A%0A
function
@@ -4258,36 +4258,16 @@
%7D%0A%0A
- var fwdreq;%0A
|
074d22a0ca697381b3c8bf799d6af2be43d4d259 | add title for moveToDebug | src/main/resources/public/js/src/launches/launchLevel/LaunchItemMenuView.js | src/main/resources/public/js/src/launches/launchLevel/LaunchItemMenuView.js | /*
* Copyright 2016 EPAM Systems
*
*
* This file is part of EPAM Report Portal.
* https://github.com/epam/ReportPortal
*
* Report Portal is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version ... | JavaScript | 0 | @@ -2399,24 +2399,48 @@
Text, attr:%7B
+title: titleChangeMode,
disabled:not
@@ -3289,32 +3289,232 @@
%0A %7D,%0A
+ titleChangeMode: %7B%0A deps: %5B'launch_owner'%5D,%0A get: function () %7B%0A return this.model.validate.changeMode();%0A ... |
571a9101eb68ab1a57c6b2f6601f7237a6273650 | Remove content rules | Nope.safariextension/global.js | Nope.safariextension/global.js | safari.extension.settings.addEventListener("change", settingsChangeHandler, false);
safari.application.addEventListener("command", commandHandler, false);
safari.application.addEventListener("validate", validateHandler, false);
var allRules = advertisingRules.concat(analyticsRules, contentRules, socialRules)
var yepDo... | JavaScript | 0.000001 | @@ -280,22 +280,8 @@
les,
- contentRules,
soc
|
f155048e8b5942ab46a68ea8e567547b861544ac | add drawPiece function | tetroggleable/app/assets/javascripts/game.js | tetroggleable/app/assets/javascripts/game.js | var ROWS = 20;
var COLS = 10;
var SIZE = 32;
var canvas;
var context;
var lineScore;
var currentBlock;
$(document).ready(function(){
canvas = document.getElementById('gameCanvas');
context = canvas.getContext('2d');
lineScore = $('#lines');
// startGame();
// drawBoard();
})
function startGame() {
var r, ... | JavaScript | 0.000001 | @@ -274,16 +274,49 @@
Board();
+%0A%09// drawBlock(getRandomBlock());
%0A%0A%7D)%0A%0A%0Af
@@ -1475,8 +1475,653 @@
%7D%0A%09%7D%0A%7D%0A%0A
+function drawBlock(block) %7B%0A%09var drawX = block.gridX;%0A%09var drawY = block.gridY;%0A%09var rotation = block.currentRotation;%0A%09%0A%09for(var row = 0, len = block.rot... |
804435b0a603f0555beb4a3836fcbbb02241244c | Remove payload from logout | client/app/common/authentication/authentication.service.js | client/app/common/authentication/authentication.service.js | class AuthenticationService {
constructor($http) {
"ngInject";
this.$http = $http;
}
login(email,password) {
return this.$http.post("/api/auth/", { email,password })
.then((data) => data.data);
}
update() {
return this.$http.get("/api/auth/status/")
.then((data) => data.data);
... | JavaScript | 0.000003 | @@ -334,42 +334,8 @@
) %7B%0A
- let email = %22%22,password = %22%22;%0A
@@ -379,32 +379,16 @@
out/%22, %7B
- email,password
%7D);%0A %7D%0A
|
650373d1fc96052315b8edfe41be4559715ce71e | correct intendation | 1.3/directive.extended.template.js | 1.3/directive.extended.template.js | /**
* Created by ${USER} on ${DATE}.
*/
(function() {
'use strict';
var MODULE_NAME = '${Module_name}';
var DIRECTIVE_HTML_NAME = '${Directive_HTML_name}';
var DIRECTIVE_NAME = _getDirectiveName();
describe(('${Test_category}' || MODULE_NAME), function() {
var ${DS}q = null;
var ${DS}rootScope = n... | JavaScript | 0.000126 | @@ -843,9 +843,12 @@
e);%0A
-%09
+
mo
|
ad5cb926cdccb84f4a9457575db6c5fce52be24c | change text on banner ; | actor-apps/app-web/src/app/components/common/Banner.react.js | actor-apps/app-web/src/app/components/common/Banner.react.js | import React from 'react';
import BannerActionCreators from 'actions/BannerActionCreators';
class Banner extends React.Component {
constructor(props) {
super(props);
if (window.localStorage.getItem('banner_jump') === null) {
BannerActionCreators.show();
}
}
onClose = () => {
BannerActionC... | JavaScript | 0 | @@ -537,71 +537,21 @@
b%3E!
-Don't forget to install mobile apps!%0A %0A
+Chech out our
%3Ca
@@ -642,42 +642,12 @@
%3C/a%3E
-%0A %7C %0A
+ and
%3Ca
@@ -739,24 +739,30 @@
%3EAndroid%3C/a%3E
+ apps!
%0A %3C/p
|
7a56b76539cb836e7fce5ad03a85e5a28b27cf53 | create new course traceback issue | addons/website_slides/static/src/js/website_slides.editor.js | addons/website_slides/static/src/js/website_slides.editor.js | odoo.define('website_slides.editor', function (require) {
"use strict";
var core = require('web.core');
var Dialog = require('web.Dialog');
var QWeb = core.qweb;
var WebsiteNewMenu = require('website.newMenu');
var wUtils = require('website.utils');
var _t = core._t;
var ChannelCreateDialog = Dialog.extend({
te... | JavaScript | 0 | @@ -353,16 +353,155 @@
reate',%0A
+ xmlDependencies: Dialog.prototype.xmlDependencies.concat(%0A %5B'/website_slides/static/src/xml/website_slides_channel.xml'%5D%0A ),%0A
/**%0A
@@ -3265,155 +3265,8 @@
%7D),
-%0A xmlDependencies: WebsiteNewMenu.prototype.xmlDependencies.concat(%0A %5B'/w... |
07883f5a18838f4e9bc0b815866f172cb2e47ac5 | Simplify code | imagebox.js | imagebox.js | ;(function() {
function applyEach (collection, callbackEach) {
for (var i = 0; i < collection.length; i++) {
callbackEach(collection[i]);
}
}
function isNullOrUndefined(o) {
return typeof o === 'undefined' || o === null;
}
function hasClass(el, className) {
return el.className.match(ne... | JavaScript | 0.041259 | @@ -12,154 +12,8 @@
) %7B%0A
- function applyEach (collection, callbackEach) %7B%0A for (var i = 0; i %3C collection.length; i++) %7B%0A callbackEach(collection%5Bi%5D);%0A %7D%0A %7D%0A%0A
fu
@@ -234,24 +234,18 @@
mageBox(
-s
el
-ector
, option
@@ -274,58 +274,8 @@
is;%0A
- selector = selector ... |
edf2e9130cbb5d2c62abdcac10ecfb1199c2f212 | Fix whitescreen in wallet selection (#1915) | app/components/views/GetStartedPage/WalletSelection/index.js | app/components/views/GetStartedPage/WalletSelection/index.js | import { WalletSelectionFormBody } from "./Form";
import { createWallet } from "connectors";
@autobind
class WalletSelectionBody extends React.Component {
constructor(props) {
super(props);
this.state = this.getInitialState();
}
getInitialState() {
return {
editWallets: false,
createNewWa... | JavaScript | 0 | @@ -714,39 +714,132 @@
ops.
-availableWallets.length %3E 0 &&
+selectedWallet && this.props.availableWallets.length === 0) %7B%0A this.setState(%7B selectedWallet: null %7D);%0A %7D else if (
prev
@@ -1229,24 +1229,41 @@
lets%5B0%5D %7D);%0A
+ break;%0A
%7D%0A
|
c884310dabf7199a70c0dfacfd2fede8b856fe16 | Add countModels test helper | test/integration/helpers/index.js | test/integration/helpers/index.js | var _ = require('lodash');
exports.formatNumber = function(dialect) {
return {
mysql: _.identity,
sqlite3: _.identity,
postgresql: function(count) { return count.toString() }
}[dialect];
}
| JavaScript | 0.000001 | @@ -199,8 +199,139 @@
ect%5D;%0A%7D%0A
+%0Aexports.countModels = function countModels(Model, options) %7B%0A return function() %7B%0A return Model.forge().count(options);%0A %7D%0A%7D%0A
|
6827bd3d15e9393d7de2b940ee35b77c07453de8 | Update for cheerio api change | test/integration/schemaOrgInfo.js | test/integration/schemaOrgInfo.js | const chai = require('chai');
const chaiHttp = require('chai-http');
const cheerio = require('cheerio');
const app = require('../../server');
const constants = require('../../app/lib/constants');
const expect = chai.expect;
chai.use(chaiHttp);
describe('app', () => {
describe('Schema.org information', () => {
... | JavaScript | 0 | @@ -656,20 +656,20 @@
son%22%5D').
-text
+html
();%0A%0A
|
02685d114793424e24504364e4342ffca1b5c1a3 | Update tools-collapsing-spec.js | test/lib/tools-collapsing-spec.js | test/lib/tools-collapsing-spec.js | import tools from '../../src/tools';
import chai from 'chai';
import sinon from 'sinon';
var { expect } = chai;
var { zeroRemove, zeroFill, addNeighbors, collapseRow, collapseRight, collapseLeft } = tools;
describe('Tools : collapsing', () => {
describe('addNeighbors(row)', () => {
it('adds like numbers',... | JavaScript | 0 | @@ -114,20 +114,8 @@
ar %7B
- zeroRemove,
zer
@@ -344,18 +344,8 @@
, 4%5D
-, zeroDiff
)).t
|
66710ddce0a08d6c4feb809a96fd2b0bd7b1f86c | Remove unneccessary steps. | assets/js/googlesitekit/datastore/site/notifications.test.js | assets/js/googlesitekit/datastore/site/notifications.test.js | /**
* `core/site` data store: notifications.
*
* 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... | JavaScript | 0.001648 | @@ -989,33 +989,8 @@
();%0A
-%09%09const response = true;%0A
%09%09fe
@@ -1084,34 +1084,14 @@
dy:
-JSON.stringify( response )
+'true'
, st
|
2f58bac8452ec8981b5e8cc0ed45434768bf63ef | Add relations between Campgrounds and User models. | models/campground.js | models/campground.js | var mongoose = require('mongoose');
// SCHEMA SETUP:
var campgroundSchema = new mongoose.Schema({
name: String,
image: String,
description: String,
comments: [
{
type: mongoose.Schema.Types.ObjectId,
ref: 'Comment'
}
]
});
module.exports = mongoose.model('Campground', campgro... | JavaScript | 0 | @@ -150,24 +150,148 @@
on: String,%0A
+ author: %7B%0A %09id: %7B%0A %09%09type: mongoose.Schema.Types.ObjectId,%0A %09%09ref: 'User'%0A %09%7D,%0A %09username: String%0A %7D,%0A
comments
|
d78916f85f541770cedd8f13906727704420d736 | Fix the error occuring during permission check (#1510) | test/red/api/editor/index_spec.js | test/red/api/editor/index_spec.js | /**
* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 r... | JavaScript | 0.000001 | @@ -932,16 +932,92 @@
ings%22);%0A
+var auth = require(%22../../../../red/api/auth%22);%0Avar when = require(%22when%22);%0A
%0A%0Adescri
@@ -1886,16 +1886,47 @@
s = %5B%5D;%0A
+ var session_data = %7B%7D;%0A
@@ -2453,16 +2453,16 @@
%7D);%0A%0A
-
@@ -2473,32 +2473,748 @@
re(function()... |
c09d4dd4656fee10787743ef541124665094559b | call generateButtonsInfo | avBooth/success-screen-directive/success-screen-directive.js | avBooth/success-screen-directive/success-screen-directive.js | /**
* This file is part of agora-gui-booth.
* Copyright (C) 2015-2016 Agora Voting SL <agora@agoravoting.com>
* agora-gui-booth is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of... | JavaScript | 0.000001 | @@ -1042,15 +1042,8 @@
n;%0A%0A
- %0A
@@ -2096,24 +2096,54 @@
%7D%0A %7D%0A%0A
+ generateButtonsInfo();%0A%0A
scope.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.