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 |
|---|---|---|---|---|---|---|---|
6262d269eaaa42aaaa39566f1c07c749e81cdc6a | Handle multiple pushes | bin/pre-push.js | bin/pre-push.js | /*
* bin/pre-push.js
* Invoked via [Husky](https://github.com/typicode/husky)
* Only run if pushing master or forced via environment variable
*
* e.g.
*
* ```bash
* HUSKY_FORCE_PREPUSH=1 git push
* ```
*/
import child_process from 'child_process'
import path from 'path'
import { get, pick } from 'lodash'
impo... | JavaScript | 0.000037 | @@ -292,16 +292,22 @@
et, pick
+, find
%7D from
@@ -558,16 +558,119 @@
N',%0A%5D)%0A%0A
+const HUSKY_GIT_STDIN = get(env, 'HUSKY_GIT_STDIN', '')%0A%0Alog('HUSKY_GIT_STDIN:%5Cn%25s', HUSKY_GIT_STDIN)%0A%0A
const %5B%0A
@@ -680,16 +680,17 @@
localRef
+s
,%0A _loc
@@ -694,16 +694,17 @@
localSHA
+s
,%0A remo
@@... |
309d086eb3d39ba4d1f35e8b3b772b9fce6d158f | change response method fron json to send | server/middleware/Auth.js | server/middleware/Auth.js | import jwt from 'jsonwebtoken';
import db from '../models';
const secret = process.env.JWT_SECRET_TOKEN || 'Keep my secret';
const Auth = {
verifyToken(request, response, next) {
const token = request.body.token ||
request.headers.authorization ||
request.headers['x-access-token'];
if (token) {... | JavaScript | 0 | @@ -405,39 +405,27 @@
response.s
-tatus(401).json
+end
(%7B%0A
|
db73a6d67837e3358afeebbeb1ca3bdce268dc7c | Update file permission to 644 | htdocs/components/10_SpeciesList.js | htdocs/components/10_SpeciesList.js | /*
* Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
* Copyright [2016] EMBL-European Bioinformatics Institute
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obta... | JavaScript | 0 | |
9cdcc2b941a09f11e92f90507b1cab9d2a9d4f42 | load storage modules by name in addition to modules located in the folder. See example in https://github.com/Agile-IoT/agile-upfront-leveldb | pap/storage/index.js | pap/storage/index.js | var NodeCache = require('node-cache');
var clone = require('clone');
var Promise = require('bluebird');
var policyCache = null;
var pubSubModule = null;
var dbModule = null;
// TODO: Ensure that we get infos from storage module when it updates
// TODO: Cache is not needed if we run in cluster mode and some pub sub m... | JavaScript | 0 | @@ -784,32 +784,224 @@
try %7B%0A
+ if(settings.type ===%22external%22 && settings.module_name)%7B%0A dbModule = require(settings.module_name);%0A %7D%0A else%7B%0A
@@ -1044,32 +1044,54 @@
settings.type);%0A
+... |
72b8b91756d22dcf166478b7f7af6f8e19f1e9d1 | Add day09-second solution to AdventOfCode.com | adventofcode/day09.js | adventofcode/day09.js | /*
* Run in: http://adventofcode.com/day/9/input
*/
;(function () {
let input = document.querySelector('pre').textContent.slice(0, -1)
console.log(
'Day09/first:',
first(input)
)
function first (input) {
return getRouteDistances(input)[0]
}
function getRouteDistances (input) {
let extr... | JavaScript | 0.996909 | @@ -191,16 +191,75 @@
t)%0A )%0A%0A
+ console.log(%0A 'Day09/second:',%0A second(input)%0A )%0A%0A
functi
@@ -317,24 +317,99 @@
ut)%5B0%5D%0A %7D%0A%0A
+ function second (input) %7B%0A return getRouteDistances(input).pop()%0A %7D%0A%0A
function g
|
bbcee20b018ead39412bba8c4c6e3cda2a934a22 | Fix English grammatical error | src/api/endpoints/drive/folders/update.js | src/api/endpoints/drive/folders/update.js | 'use strict';
/**
* Module dependencies
*/
import * as mongo from 'mongodb';
import DriveFolder from '../../../models/drive-folder';
import { isValidFolderName } from '../../../models/drive-folder';
import serialize from '../../../serializers/drive-file';
import event from '../../../event';
/**
* Update a folder
... | JavaScript | 1 | @@ -1680,18 +1680,13 @@
ill
-be
occur
-ed
%0A%09%09%09
|
85ba560c7284d2dccd883096ef7b9d1a954e7558 | return DomRef only for active tab | src/sap.m/src/sap/m/designtime/IconTabFilter.designtime.js | src/sap.m/src/sap/m/designtime/IconTabFilter.designtime.js | /*!
* ${copyright}
*/
// Provides the Design Time Metadata for the sap.m.IconTabBar control
sap.ui.define([],
function () {
"use strict";
return {
palette: {
group: "CONTAINER",
icons: {
svg: "sap/m/designtime/IconTabFilter.icon.svg"
}
},
actions: {
rename: function (oPage) {
... | JavaScript | 0.000001 | @@ -709,16 +709,61 @@
%09%09%09%09if (
+oIconTabHeader.oSelectedItem === oControl &&
aContent
|
02af5dd220db17454da108035630d1ab02260e68 | Simplify rotate_canon function. | assets/js/main.js | assets/js/main.js | $(function () {
'use strict'; // Start of use strict
var main_container = $('#main-container');
var cannon = $('.cannon');
var canvas = document.getElementById('main-container');
// Reposition cannon to bottom left of screen (there must be a better way?)
cannon.css({'position': 'absolute',
... | JavaScript | 0 | @@ -2186,229 +2186,22 @@
css(
-'-moz-transform', 'rotate(' + degrees + 'deg)');%0A cannon.css('-webkit-transform', 'rotate(' + degrees + 'deg)');%0A cannon.css('-o-transform', 'rotate(' + degrees + 'deg)');%0A cannon.css('-ms-transform',
+%7B'transform' :
'ro
@@ -2225,16 +2225,17 @@
+ 'deg)'
+%... |
858d4c6c693580ef60247ddb24c7de8c2c66dc63 | make log ordering consistent | JSONSchema/validate.js | JSONSchema/validate.js | #! /bin/env node
var fs = require('fs');
var validate = require('jsonschema').validate;
var readline = require('readline');
var schema = '';
var testCode = '';
var success = true;
var numFiles = 0;
var numFailed = 0;
var numSucceeded = 0;
var fileNames = [];
var rl = readline.createInterface({
input: process.std... | JavaScript | 0.000001 | @@ -529,24 +529,251 @@
on'));%0A %0A
+ //sort file names alphabetically so that log output ordering is consistent%0A fileNames.sort((a,b) =%3E %7B%0A if(a%3Cb) %7B%0A return -1;%0A %7D else %7B%0A return 1;%0A %7D%0A%0A return 0;%0A %7D);%0A%0A
for (va... |
48a55c31a4f74c639f129358d937cf7853607fb8 | Fix broken for loop when rendering cards + filter out undefined values | src/main/webapp/scripts/place-suggestions.js | src/main/webapp/scripts/place-suggestions.js | let city;
let filter;
const placeCardsContainer = document.getElementById('place-cards-container');
const defaultPlaceImage = '../assets/img/jason-dent-blue.jpg'
function init() {
document.getElementById('plan-for-me-link').classList.add('active');
document.getElementById('plan-for-me-link-m').classList.add('activ... | JavaScript | 0 | @@ -2157,24 +2157,47 @@
for(
-obj in places) %7B
+let i = 0; i %3C places.length; i++) %7B
%0A
@@ -2279,11 +2279,17 @@
%7D =
-obj
+places%5Bi%5D
;%0A
@@ -2655,14 +2655,13 @@
ard
-medium
+large
%22%3E%0A
@@ -3142,16 +3142,17 @@
p class=
+%22
$%7Baddres
@@ -3158,16 +3158,17 @@
ssClass%7D
+%22
%3E$%7B... |
556b3743f6b1b634990bb293fb073f16843915fd | fix lint [skip ci] | experimental/babel-preset-env/src/use-built-ins-plugin.js | experimental/babel-preset-env/src/use-built-ins-plugin.js | import { definitions } from "./built-in-definitions";
function isPolyfillSource(value) {
return value === "babel-polyfill";
}
function warnOnInstanceMethod(state, details) {
// state.opts.debug &&
// console.warn(
// `Adding a polyfill: An instance method may have been used: ${details}`,
// );
}
fu... | JavaScript | 0 | @@ -157,22 +157,8 @@
hod(
-state, details
) %7B%0A
|
ca09c5fd2bcb3e980120968f934f8251b73a854a | modify code | routes/activityOffer.js | routes/activityOffer.js | 'use strict';
var https = require( 'https' );
var crypto = require('crypto');
var activityUtils = require('./activityUtils');
/*
* POST Handler for / route of Activity (this is the edit route).
*/
exports.edit = function( req, res ) {
// Data from the req and put it in an array accessible to the main app.
//... | JavaScript | 0.000002 | @@ -4013,28 +4013,16 @@
%7B %0A %09
-%22pushInfo%22:
pushInfo
|
c7ea1f9bb0945793d59087c7ccf5eb28b1d88d4b | add scape variables | Generator.js | Generator.js | /**
* Module dependencies
*/
var util = require('util')
, utils = require('utilities')
, _ = require('lodash');
_.defaults = require('merge-defaults');
/**
* sails-generate-mvc
*
* Usage:
* `sails generate mvc`
*
* @description Generates a mvc
* @help See http://links.sailsjs.org/docs/generators
*/
mo... | JavaScript | 0.000021 | @@ -1973,16 +1973,103 @@
); %0A%0A
+ //Escape chars for EJS%0A scope.S = %22%3C%25%22%0A scope.SE = %22%3C%25=%22%0A scope.E = %22%25%3E%22%0A%0A
// W
@@ -4886,8 +4886,9 @@
age);%0A%7D%0A
+%0A
|
b81ffa9414c90d294587fa4de333f5fe6c68b4e9 | Remove documentation generation from "grunt dist" | GruntFile.js | GruntFile.js | 'use strict';
/**
* Loads a bunch of grunt configuration files from the given directory.
*
* Loaded configurations can be referenced using the configuration file name.
* For example, if myConf.js describes a property "test", it will be accessible
* using myConf.test.
*
* @param String path Path of the directory... | JavaScript | 0 | @@ -1620,15 +1620,8 @@
ist'
-, 'doc'
%5D);%0A
|
858d1be497536cd33b706bedf63a4e8e1dfeb95b | Fix for sourcemaps built with grunt | GruntFile.js | GruntFile.js | module.exports = function(grunt) {
grunt.initConfig({
uglify: {
buildGame: {
options: {
sourceMap: true,
sourceMapName: 'bin/Pxl.js.map'
},
files: {
'bin/Pxl.min.js': [
// note, all files are specified for dependency management
's... | JavaScript | 0 | @@ -169,16 +169,207 @@
.js.map'
+,%0A // The following two options fix issues when debugging with sourcemaps (turn off for final build)%0A mangle: false,%0A compress: %7Bsequences: false, join_vars: false%7D
%0A
|
41d1fac114af86a2c48a018c95881417183598f1 | needs bignumber | Gruntfile.js | Gruntfile.js | 'use strict';
var BROWSERSYNC_HOST_PROXY = "letmesee.localhost";
var ASSETS_PATH = 'assets/';
var SOURCE_PATH = 'src/';
var LIBS_PATH = 'bower_components/';
var NODE_MODULES = 'node_modules/';
var tasks = {
'watchfs' : [ 'watch' ],
'default' : [
'clean', // clear temp build files
'less', // compile style... | JavaScript | 0.999928 | @@ -1650,24 +1650,59 @@
.min.js': %5B%0A
+%09%09%09%09%09SOURCE_PATH + 'bignumber.js',%0A
%09%09%09%09%09LIBS_PA
|
034eb05712e88ab4a9dff166a44f2901342274c7 | Use compact banner text for dist | Gruntfile.js | Gruntfile.js | /*!
* petal - Gruntfile
* http://shakrmedia.github.io/petal
* Copyright 2015-2018 Shakr Media Co., Ltd.
*/
module.exports = function(grunt) {
'use strict';
require("load-grunt-tasks")(grunt, {
pattern: ['grunt-*']
});
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// Meta
... | JavaScript | 0.000002 | @@ -709,16 +709,158 @@
' */%5Cn'
+,%0A banner_compact: '/* %3C%25= pkg.name %25%3E v%3C%25= pkg.version %25%3E - (C)%3C%25= grunt.template.today(%22yyyy%22) %25%3E Shakr; %3C%25= pkg.license %25%3E License */'
%0A %7D,%0A
@@ -4627,32 +4627,109 @@
,%0A dist: %7B%0A
+ options: %7B%0A bann... |
02539b1aa95f7db8591b64fe3be4f043a51390bf | Disable phpalizer for now | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
['phplint', 'phpcs', 'php-analyzer', 'phpunit', 'parallelize', 'gh-pages', 'contrib-watch']
.forEach(function (name) { grunt.loadNpmTasks('grunt-' + name); });
grunt.initConfig({
phplint: {
options: { swapPath: '/tmp' },
app: ['src/**/*.php', 'index.php']
},
phpcs: {... | JavaScript | 0 | @@ -213,16 +213,82 @@
onfig(%7B%0A
+%09%09parallelize: %7B phplint: %7B app: require('os').cpus().length %7D %7D,%0A
%09%09phplin
@@ -353,21 +353,8 @@
php'
-, 'index.php'
%5D%0A%09%09
@@ -456,16 +456,90 @@
%0A%09%09%7D,%0A%09%09
+// seemingly broken?%0A%09%09// TODO figure out what's wrong and re-enable%0A%09%09//... |
5aca4291e5d8ff5d6f172ad1d8248f041196ccdf | Update banner | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
"use strict";
var pkg = grunt.file.readJSON("package.json");
grunt.initConfig({
meta: {
banner: '/*! '+pkg.name+' '+pkg.version+' | (c) 2014 '+pkg.author+' | '+pkg.licenses[0].type+' License */'
},
uglify: {
options: {
... | JavaScript | 0 | @@ -60,16 +60,17 @@
var pkg
+
= grunt.
@@ -98,16 +98,43 @@
e.json%22)
+,%0A date = new Date()
;%0A%0A g
@@ -195,17 +195,19 @@
*! '
-+
+ +
pkg.name
+' '
@@ -206,13 +206,17 @@
name
-+' '+
+ + ' ' +
pkg.
@@ -226,17 +226,19 @@
sion
-+
+ +
' %7C (c)
2014
@@ -237,15 +237,39 @@
(c)
-2014 '+
+' + ... |
c4fdb0bed18363ab2821ac9c37597b94562e6daf | Remove watch from default grunt task for now. | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
// load up all of the necessary grunt plugins
grunt.loadNpmTasks('grunt-casperjs');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-uglify');
... | JavaScript | 0 | @@ -2861,17 +2861,8 @@
est'
-, 'watch'
%5D);%0A
|
cda48e4f56fcc0927ba399021eaeca3fd986159d | make sure element.js gets linted too | Gruntfile.js | Gruntfile.js | "use strict";
var path = require('path')
, gruntHelpers = require('./grunt-helpers.js')
, startAppium = gruntHelpers.startAppium
, authorize = gruntHelpers.authorize
, downloadUICatalog = gruntHelpers.downloadUICatalog
, tail = gruntHelpers.tail
, buildApp = gruntHelpers.buildApp
, signApp = gruntHelpers.... | JavaScript | 0 | @@ -1502,16 +1502,23 @@
/uiauto/
+appium/
element.
|
b4d575ad190a8045f21e84d51eedb38bd422aed0 | add source map to browserify bundle | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
"use strict";
var taskList = [
"grunt-contrib-watch",
"grunt-contrib-jshint",
"grunt-jsonlint",
"grunt-jscs",
"grunt-contrib-clean",
"grunt-browserify",
"grunt-jsbeautifier",
"grunt-jasmine-node-coverage",
"grunt-karma",
];
var jsFiles = ... | JavaScript | 0 | @@ -2391,32 +2391,119 @@
owserify = %7B%7D;%0A%0A
+ config.browserify.options = %7B%0A browserifyOptions: %7B%0A debug: true%0A %7D%0A %7D;%0A%0A
config.browser
|
173ede1564ab965bb035210cb3adcc49e0c8a740 | Make sure to watch most of the web files. | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.option('force', true);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
/**
* System notifications about build step completion.
*/
notify: {
options: {
title: 'E.B.U.R.P.'
},
sprites:{
... | JavaScript | 0 | @@ -5701,21 +5701,21 @@
es: %5B '
-index
+web/*
.html',
@@ -5718,34 +5718,25 @@
l', 'server/
-gameServer
+*
.js' %5D,%0A
|
6ec01cdca8645598e2fc8cf6245bc4f116e525a2 | Copy README, create dist bower.json | Gruntfile.js | Gruntfile.js | /*jshint node:true */
'use strict';
module.exports = function(grunt) {
// Project configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
scripts: {
files: [
'Gruntfile.js',
'src/scripts/**/*.js'
],
tasks: [
'jshint'... | JavaScript | 0 | @@ -813,24 +813,68 @@
%7D%0A %7D,%0A%0A
+ clean: %7B%0A dist: %5B'dist/*'%5D%0A %7D,%0A%0A
less: %7B%0A
@@ -1535,24 +1535,705 @@
%7D%0A %7D%0A
+ %7D,%0A%0A copy: %7B%0A dist: %7B%0A src: 'LICENSE-MIT',%0A dest: 'dist/'%0A %7D%0A %7D,%0A%0A bower: %7B%0A ... |
cb44de8d24859d2a773bb1ef1827940457092f15 | Test my commit. | Gruntfile.js | Gruntfile.js | /*global module, require*/
module.exports = function (grunt) {
'use strict';
//grunt plugins
require('load-grunt-tasks')(grunt);
//config
grunt.initConfig({
ngdocs: {
options : {
title : "Angular CI documentation"
},
//all: ['src/vendor/ui-router/src/*.js']
all: ['src/{,*/}*.js', '!src/vendo... | JavaScript | 0 | @@ -1071,6 +1071,5 @@
%0A%7D;%0A
-
+%0A
|
10ffda16f94ff58dc8b6ef6519e8441795fa611e | fix bug with gruntfile, fixes #15 | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
require('load-grunt-tasks')(grunt, {
pattern: ['grunt-contrib-*', 'grunt-*']
})
grunt.initConfig({
buildDir: 'dist',
srcDir: 'src',
srcJs: '<%=srcDir%>/js/**/*.js',
clean: {
dist: {
files: [{
src: ['<%=buildDir%>']
}]
... | JavaScript | 0 | @@ -112,25 +112,26 @@
unt-*'%5D%0A %7D)
+;
%0A
-
%0A grunt.ini
@@ -953,32 +953,48 @@
s: %5B'%3C%25=srcJs%25%3E'
+, 'Gruntfile.js'
%5D,%0A options
@@ -1432,21 +1432,16 @@
%25%3E/**/*.
-spec.
js'%5D,%0A
@@ -1830,16 +1830,17 @@
%7D%0A %7D)
+;
%0A%0A grun
@@ -1916,24 +1916,25 @@
:build'%0A %5D)
+;
... |
cca3a7eb852b46af53e53756d71a386015a18066 | use a browser which exists on saucelabs | Gruntfile.js | Gruntfile.js | 'use strict';
require('dotenv').config({silent: true});
const path = require('path');
module.exports = function(grunt) {
grunt.initConfig({
"clean": {
dist: [path.resolve(__dirname, '/polyfills/__dist')]
},
"simplemocha": {
options: {
globals: ['should'],
timeout: 5000,
ignoreLeaks: false,
... | JavaScript | 0 | @@ -2571,17 +2571,17 @@
irefox/4
-5
+4
',%0A%09%09'ie
|
5f528711ee7a5e48a6406af8cdad405110b886f0 | Remove index.html from watch task | Gruntfile.js | Gruntfile.js | /* global module:false */
module.exports = function(grunt) {
var port = grunt.option('port') || 8000;
// Project configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
banner:
'/*!\n' +
' * reveal.js <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd, HH:MM") %>)\n' +... | JavaScript | 0.000002 | @@ -2102,22 +2102,8 @@
css'
-, 'index.html'
%5D,%0A
|
768f45a77b81390f4d829793aad191ddc7afe708 | Remove un-used grunt task registers. | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
products: {
'argos-saleslogix': {
basePath: '.',
},
'argos-sdk': {
basePath: '../../argos-sdk',
},
},
'lang-pack': {
'de': {
bundleName: "Mobile 4.0 DE"... | JavaScript | 0 | @@ -2003,265 +2003,16 @@
('bu
-ild', %5B'clean', 'less'%5D);%0A grunt.registerTask('test', %5B'connect', 'jasmine:coverage'%5D);%0A grunt.registerTask('test:basic', %5B'connect', 'jasmine:basic'%5D);%0A grunt.registerTask('server', %5B'connect:server:keepalive'%5D);%0A grunt.registerTask('bundle', %5B'less',
+ndl... |
b65e0c2218d67242ef10d1786d613809100be925 | Configure Grunt to reload Grunt when Gruntfile changes | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
options: {
includePaths: ['bower_components/foundation/scss']
},
dist: {
options: {
outputStyle: 'compressed',
sourceMap: true,
},
file... | JavaScript | 0 | @@ -412,16 +412,77 @@
grunt: %7B
+%0A options: %7B%0A reload: true%0A %7D,%0A
files:
@@ -497,16 +497,22 @@
ile.js'%5D
+%0A
%7D,%0A%0A
|
e6d94ae3cae44c2fe1a8c9b2857e252276b7fbbd | remove ts reference from gruntfile | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: {
lib: {
src: ["lib/"]
}
},
uglify: {
options: {
sourceMap: true,
banner: '\n/*!\n <%= pkg.name %> - v<%= pkg.version %>\n origin: https://github.com/jus... | JavaScript | 0.000001 | @@ -2189,35 +2189,8 @@
s',%0A
- 'typescript:source',%0A
|
20bd5a694341932b4e7a7e977f6e238033c5efdb | fix syntax | Gruntfile.js | Gruntfile.js | /* -------------------------------------------------------------------------------
* Detention Logs gruntfile v0.1
*
* http://detentionlogs.c
* -------------------------------------------------------------------------------*/
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSO... | JavaScript | 0.000023 | @@ -6406,16 +6406,17 @@
heets/'%5D
+,
%0A
@@ -6444,17 +6444,16 @@
pass'%5D,%0A
-%0A
@@ -6503,17 +6503,16 @@
n: false
-,
%0A
|
729943842c0e660ef10fd32bfd59cdfd6ec96224 | Remove src/InDialogRequestSender.js reference from Gruntfile.js | Gruntfile.js | Gruntfile.js | /*global module:false*/
module.exports = function(grunt) {
var srcFiles = [
'src/SIP.js',
'src/LoggerFactory.js',
'src/EventEmitter.js',
'src/Constants.js',
'src/Exceptions.js',
'src/Timers.js',
'src/Transport.js',
'src/Parser.js',
'src/SIPMessage.js',
'src/URI.js',
'src/... | JavaScript | 0 | @@ -414,44 +414,8 @@
s',%0A
- 'src/InDialogRequestSender.js',%0A
|
1226999012e44a6399ff4eaada455ca798565a2e | remove obsolete 'closure_jar' from amberc task | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
var path = require('path');
grunt.loadNpmTasks('amber-dev');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['amberc:cli']);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
banner: '/*!\n <%= pkg.title || pkg... | JavaScript | 0.998795 | @@ -555,33 +555,8 @@
r%22))
-,%0A closure_jar: ''
%0A
|
d25e239f9f205ac757f644da12b3349cef34b5ce | Increased the allowed number of statements to 15 | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
srcdir: "src",
specdir: "spec",
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n',
compress: tru... | JavaScript | 0.999997 | @@ -1129,17 +1129,17 @@
ments: 1
-3
+5
,%0A
@@ -2231,50 +2231,8 @@
%5D);%0A
- grunt.registerTask('doc', %5B'jsdoc'%5D);%0A
|
fced3c465aff2c9c37dc835083f835c70a3f33de | Fix Gruntfile | Gruntfile.js | Gruntfile.js | /*global module:false*/
module.exports = function (grunt) {
grunt.initConfig({
bower: {
install: {
options: {
targetDir: './components/',
layout: 'byComponent',
install: true,
copy: true,
... | JavaScript | 0.000008 | @@ -3664,21 +3664,16 @@
htmlroot
-
: 'publi
@@ -4614,16 +4614,25 @@
uglify',
+ 'copy',
'uncss'
@@ -4638,33 +4638,24 @@
', 'cssmin',
- 'copy',
'processhtml
@@ -4748,16 +4748,24 @@
t:css',
+ 'copy',
'uncss'
@@ -4776,23 +4776,16 @@
ssmin',
-'copy',
'proces
|
b1915c77581b00d544bda339d6ac4297beaf10b8 | Remove noglobals option. | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> v<%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd") %> */\n',
sourceMap: true,
sourceMa... | JavaScript | 0.000001 | @@ -488,18 +488,8 @@
html
-?noglobals
'%5D%0A
|
7caa97d81bd7d441246a28ff2052cf54125d80cc | remove "," | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
'use strict';
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
banner: '/*!\n' +
' * <%= pkg.title %> v<%= pkg.version %>\n' +
' * <%= pkg.description %>\n' +
' * Copyright <%= grunt.templat... | JavaScript | 0.999804 | @@ -1105,33 +1105,32 @@
'%3C%25= banner %25%3E'
-,
%0A %7D,%0A
|
496fc562bb5e3fc0057c78512b6cb8d7085b246d | disable safari and ios tests | Gruntfile.js | Gruntfile.js | var request = require('request');
var safari_browsers = [
{
browserName: 'safari',
platform: 'OS X 10.10',
version: '8.0'
},
{
browserName: 'safari',
platform: 'OS X 10.9',
version: '7.0'
}
];
var chrome_browsers = [
{
browserName: 'chrome',
platform: 'OS X 10.10',
version: '44.0... | JavaScript | 0 | @@ -2471,16 +2471,36 @@
rowsers:
+ %5B%5D.concat(%0A%09%09%09%09%09%09//
safari_
@@ -2507,24 +2507,24 @@
browsers
-.concat(
+,%0A%09%09%09%09%09%09
chrome_b
@@ -2562,16 +2562,19 @@
,%0A%09%09%09%09%09%09
+//
ios_brow
|
6b3aaeb9ef70757456a883d1d133d4261bfa5533 | comment out babel in Gruntfile.js | Gruntfile.js | Gruntfile.js | var babel = require('rollup-plugin-babel');
var uglify = require('rollup-plugin-uglify');
var replace = require('rollup-plugin-replace');
module.exports = function(grunt)
{
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
rollup: {
cjs: {
options: {
format: 'cjs',
moduleName: 'kff',... | JavaScript | 0.000001 | @@ -422,32 +422,35 @@
lugins: %5B%0A%09%09%09%09%09%09
+//
babel(%7B%0A%09%09%09%09%09%09%09e
@@ -439,32 +439,35 @@
/ babel(%7B%0A%09%09%09%09%09%09
+//
%09exclude: './nod
@@ -478,32 +478,35 @@
dules/**'%0A%09%09%09%09%09%09
+//
%7D)%0A%09%09%09%09%09%5D%0A%09%09%09%09%7D,
@@ -734,24 +734,27 @@
ns: %5B%0A%09%... |
016c968898c3cfa30c23d14465864878d6993bfa | Remove unnecessary options object when calling the gzip-js zip function | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
'use strict';
// Define the browsers to test with Sauce Labs
var platforms = {
'Windows 7': {
chrome: ['38', '39'],
firefox: ['33', '34'],
opera: ['12'],
'internet explorer': ['9', '10', '11']
},
'OS X 10.8': {
iPhone: ['5.1'],
sa... | JavaScript | 0 | @@ -3215,12 +3215,8 @@
ents
-, %7B%7D
).le
|
3b9d632d285aea01a5ff395a36b0abdd07bd2ed3 | enable failHard grunt-html-validation option; fixes 11876 | Gruntfile.js | Gruntfile.js | /* jshint node: true */
module.exports = function (grunt) {
'use strict';
// Force use of Unix newlines
grunt.util.linefeed = '\n';
RegExp.quote = function (string) {
return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&')
}
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: gru... | JavaScript | 0.000001 | @@ -3179,16 +3179,40 @@
HTML5',%0A
+ failHard: true,%0A
|
efd4957ddca139a3f6bb079a82d445c6ab8b836e | Increase test timeout to 40s from 20s, for travis to complete tests | Gruntfile.js | Gruntfile.js | var semver = require('semver'),
fs = require('fs'),
currentVersion = JSON.parse(fs.readFileSync('./package.json', 'utf8')).version,
env = require('./server/lib/environment');
// Globals
var PROMPT_CONFIRM_CONFIG = 'confirmation',
GIT_BRANCH = env.get('MAKEDRIVE_UPSTREAM_BRANCH'),
GIT_REMOTE = env.g... | JavaScript | 0 | @@ -2772,9 +2772,9 @@
out
-2
+4
0000
|
1d8368aad4e02e7de54c791d62dd3bbd3cc19ac2 | Update Gruntfiles.js | Gruntfile.js | Gruntfile.js | /*
* html-template-parser
* https://github.com/rainyjune/html-template-parser
*
* Copyright (c) 2015 rainyjune
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
var templateRegExpStr = "<!--\\s*template:(\\S+)\\s*-->([\\s\\S]*?)<!--\\s*\/template\\s*-->";
var templateReg... | JavaScript | 0.000001 | @@ -202,3316 +202,33 @@
) %7B%0A
-%0A
-var templateRegExpStr = %22%3C!--%5C%5Cs*template:(%5C%5CS+)%5C%5Cs*--%3E(%5B%5C%5Cs%5C%5CS%5D*?)%3C!--%5C%5Cs*%5C/template%5C%5Cs*--%3E%22;%0A var templateRegExp = new RegExp(templateRegExpStr, %22gi%22);%0A var templateRegExpSingle = new RegExp(templateRegExpStr, %22i%22)... |
3d53766e516160b86e408244fac507a054e6426f | Add more support for external markdown. | Gruntfile.js | Gruntfile.js | /* global module:false */
module.exports = function(grunt) {
var port = grunt.option('port') || 8000;
var base = grunt.option('base') || '.';
// Project configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
banner:
'/*!\n' +
' * reveal.js <%= pkg.version %> (<%= grunt.te... | JavaScript | 0 | @@ -1824,16 +1824,33 @@
ugin/**'
+,%0A '**.md'
%0A%09%09%09%5D%0A%09%09
@@ -2206,24 +2206,79 @@
.html'%5D%0A%09%09%09%7D
+,%0A markdown: %7B%0A files: %5B './*.md' %5D%0A %7D
%0A%09%09%7D%0A%0A%09%7D);%0A%0A
|
b670f58db705b11add5ec055d56b032893940369 | add nodefy task | Gruntfile.js | Gruntfile.js | const
_URL__GRUNT_CONFIG_FILE = './config/grunt.json',
_URL__NPM_MANIFEST_FILE = './package.json';
var
_gruntRegisterTasks = require('grunt-register-tasks'),
_loadGruntTasks = require('load-grunt-tasks'),
_timeGrunt = require('time-grunt');
module.exports = function ( $grunt ) {
var
_$grunt__fil... | JavaScript | 0.00006 | @@ -435,16 +435,47 @@
rib-*',%0A
+ 'grunt-easy-nodefy',%0A
@@ -1140,32 +1140,307 @@
%0A %7D,%0A
+ 'nodefy': %7B%0A 'src': %7B%0A 'cwd': '%3C%25= cfg.PATH__SRC %25%3E',%0A 'dest': '%3C%25= cfg.PATH__DIST__CJS %25%3E',%0A ... |
ede282bd09003b17eb39e0431583f97fa0d2c33a | make grunt register autoprefixer | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
var hljs = require('highlight.js');
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
assemble: {
options: {
flatten: false,
assets: 'dist/assets/',
data: ['src/data/*.json'],
marked: {
gfm: true,
sanit... | JavaScript | 0 | @@ -3562,16 +3562,32 @@
,'sass',
+ 'autoprefixer',
'uglify'
|
5b3c057b448df7947a0fb1beec178dc35625fe54 | Update test version of jquery, jqueryui | Gruntfile.js | Gruntfile.js | 'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON('jquery-ui-timepicker-addon.json'),
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
//'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.modifie... | JavaScript | 0 | @@ -2952,17 +2952,17 @@
uery-1.1
-0
+1
.1.min.j
@@ -3005,11 +3005,11 @@
/1.1
-0.3
+1.1
/jqu
|
4dd2ecec927bd5214c2f2ad7cfc14494dd989a2e | Make tests public in SauceLabs | Gruntfile.js | Gruntfile.js | const request = require('request');
module.exports = function(grunt) {
var browsers = [
{
browserName: 'internet explorer',
platform: 'Windows 10',
version: '11.285'
},
{
browserName: 'chrome',
platform: 'Windows 10'
},
... | JavaScript | 0 | @@ -914,18 +914,46 @@
sers
-: browsers
+,%0A public: 'public'
,%0A
|
5a826a65b29f5c89a0c60bede111be7992027a0a | Set line feed char to '\n' to get same result on all platforms. | Gruntfile.js | Gruntfile.js | /* jshint node: true */
module.exports = function(grunt) {
"use strict";
RegExp.quote = require('regexp-quote')
var btoa = require('btoa')
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON('package.json'),
banner: '/*!\n' +
' * Bootstrap v<%= pkg.v... | JavaScript | 0 | @@ -70,16 +70,79 @@
rict%22;%0A%0A
+ // Force use of Unix newlines%0A grunt.util.linefeed = '%5Cn';%0A%0A
RegExp
|
9865031591de556f75061deb41e9d02d7fb21455 | Make `grunt` run the `uglify` task by default | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
var commandOptions = {
'stdout': true,
'stderr': true,
'failOnError': true
};
grunt.initConfig({
'meta': {
'testFile': 'tests/tests.js'
},
'uglify': {
'dist': {
'options': {
'report': 'gzip',
'preserveComments': 'some'
},
'files': {
'p... | JavaScript | 0.000138 | @@ -1852,16 +1852,26 @@
'cover'
+, 'uglify'
%5D);%0A%0A%7D;%0A
|
e569020bedec1451312c7f041c529944ade8c9ac | Add Color.js to Gruntfile | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
'use strict';
require('load-grunt-tasks')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
changelog: 'Changelog.md',
'gh-release': {},
closurecompiler: {
minify: {
requiresConfig: 'git-revision',
files: {
'... | JavaScript | 0.000001 | @@ -509,32 +509,67 @@
/Constants.js',%0A
+ './src/js/Color.js',%0A
'.
|
7c96137c3cac6afced73ec7d9ac7d7db986d9c7c | remove karma for now | Gruntfile.js | Gruntfile.js | 'use strict';
var paths = {
js: ['*.js', 'test/**/*.js', '!test/coverage/**', '!bower_components/**', 'packages/**/*.js', '!packages/**/node_modules/**'],
html: ['packages/**/public/**/views/**', 'packages/**/server/views/**'],
css: ['!bower_components/**', 'packages/**/public/**/css/*.css']
};
module.exp... | JavaScript | 0.000002 | @@ -3296,24 +3296,26 @@
t task.%0A
+//
grunt.regist
@@ -3370,16 +3370,75 @@
unit'%5D);
+%0A grunt.registerTask('test', %5B'env:test', 'mochaTest'%5D);
%0A%0A //
|
09b26e8f242a4173e9ac4dda50a7ffaac69a3fef | remove yaktorHome | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
'use strict'
require('load-grunt-tasks')(grunt, {
pattern: 'grunt-*',
config: './package.json',
scope: 'devDependencies'
})
var yaktorHome = grunt.option('yaktor-home')
if (yaktorHome === true) yaktorHome = null
if (!yaktorHome) {
var err = new Error('no ... | JavaScript | 0 | @@ -176,425 +176,8 @@
%7D)%0A%0A
- var yaktorHome = grunt.option('yaktor-home')%0A if (yaktorHome === true) yaktorHome = null%0A if (!yaktorHome) %7B%0A var err = new Error('no target yaktor version given; argument --yaktor-home=%3Cpath%3E required')%0A grunt.log.error(err)%0A throw err%0A %7D%0A if (!ya... |
58ee530d240c7878bf8c2e1083330baf00b1878c | Change where legacy outputs to in order to match current components. | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
'use strict';
grunt.initConfig({
/**
* Pull in the package.json file so we can read its metadata.
*/
pkg: grunt.file.readJSON('package.json'),
/**
* LESS: https://github.com/gruntjs/grunt-contrib-less
*
* Compile LESS files to CSS.
*/... | JavaScript | 0 | @@ -456,19 +456,30 @@
'd
-ist
+emo/static/css
/ghost.c
|
a58c02a49033a6b37c6e7de94d4b75ee407349c4 | Rename test-all task. | Gruntfile.js | Gruntfile.js | /** Gruntfile for [creatartis-base](http://github.com/LeonardoVal/creatartis-base).
*/
var path = require('path');
module.exports = function(grunt) {
var SOURCE_FILES = ['__prologue__',
'core', 'polyfill', 'objects',
'text', 'math',
'typed', 'Initializer',
'iterables', // iterators and FP utilities.
'Futu... | JavaScript | 0.000044 | @@ -3444,17 +3444,16 @@
sk('
-full_
test
+-all
', %5B
|
736b01ab6e483a2f6992080eb1d458f6ea270c1a | add dependency to gruntfile | Gruntfile.js | Gruntfile.js | /* global module */
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
dist: {
src: ['src/*.js','src/label/*.js'],
dest: 'dist/<%= pkg.name %>.js'
}
},
... | JavaScript | 0.000001 | @@ -236,16 +236,131 @@
el/*.js'
+,'node_modules/leaflet-tracksymbol/leaflet-tracklayer.js','node_modules/leaflet-tracksymbol/leaflet-tracksymbol.js'
%5D,%0A
|
a1bfb55ee3dfe2461edc3b5d2950880e1deb3829 | Remove webpack from grunt | Gruntfile.js | Gruntfile.js | var grunt = require('grunt');
var webpack = require('webpack');
var ManifestPlugin = require('webpack-manifest-plugin');
module.exports = function(grunt) {
grunt.initConfig({
watch: {
scripts : {
files: ['client/**/*.js'],
tasks: ['force:on','webpack']
}
},
webpack : {
... | JavaScript | 0 | @@ -26,99 +26,8 @@
t');
-%0Avar webpack = require('webpack');%0Avar ManifestPlugin = require('webpack-manifest-plugin');
%0A%0Amo
@@ -197,518 +197,8 @@
%7D%0A
- %7D,%0A webpack : %7B%0A entry: %5B%0A %22./client/entry.js%22%0A %5D,%0A output: %7B%0A path: __dirname + '/server/sta... |
5b55367b34b2f4fb19cbe011aae729bf81352cc2 | Remove actually running the application from grunt for production, since we're going to be running with pm2 | Gruntfile.js | Gruntfile.js | 'use strict';
var paths = {
js: ['*.js', 'packages/**/*.js', 'test/**/*.js', '!test/coverage/**', '!bower_components/**',
'!packages/**/node_modules/**', '!packages/contrib/**', '!packages/**/vendor/**', '!packages/**/tests/**', '!test/**'],
//coffee: ['**/*.coffee'],
html: ['packages/**/public/**... | JavaScript | 0 | @@ -5005,32 +5005,93 @@
'production') %7B%0A
+ // Run and monitoring is done by pm2, not concurrent%0A
grunt.re
@@ -5140,30 +5140,16 @@
'uglify'
-, 'concurrent'
%5D);%0A
@@ -5653,24 +5653,26 @@
-Heroku%0A
+//
grunt.regist
|
0739a63a0ffee8bd63c878cd7130fbdf729e2ea1 | Update the website as part of the beta publish | Gruntfile.js | Gruntfile.js | const child_process = require("child_process");
const fs = require("fs");
module.exports = function(grunt) {
var pkg = grunt.file.readJSON('package.json');
var betaVersion = pkg.version.toString() + "." + process.env.TRAVIS_BUILD_NUMBER;
grunt.initConfig({
pkg: pkg,
compress: {
// Zip up the ext... | JavaScript | 0 | @@ -2790,32 +2790,182 @@
prod%22%0A %7D%0A
+ %7D,%0A website: %7B%0A options: %7B%0A src: %22destinyitemmanager.com/%22,%0A dest: %22public_html/destinyitemmanager.com%22%0A %7D%0A
%7D%0A %7D,%0A%0A
@@ -5361,16 +5361,38 @@
nc:beta'
+,%0A 'rsync:website',
... |
a653be646502f8cd55f5dcd71f91b0a636cc621f | add clean argument param to loadstarterkit function call (#21) | Gruntfile.js | Gruntfile.js | /******************************************************
* PATTERN LAB NODE
* EDITION-NODE-GRUNT
* The grunt wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.
******************************************************/
module.exports = function (g... | JavaScript | 0 | @@ -1576,16 +1576,28 @@
argv.kit
+, argv.clean
);%0A %7D
|
dd548175e6988e5d0b3466dae398364ce6da12e0 | add gh-pages task back | Gruntfile.js | Gruntfile.js | /*
* holonomy-website
* https://github.com/holonomy/website
* licensed under the AGPLv3 license.
*/
'use strict';
var _ = require('lodash');
var banner = '/* <%= pkg.name %> <%= pkg.version %> <%= grunt.template.today("yyyy-mm-dd") %> */\n';
var lessPaths = [
'node_modules/bootstrap/less',
'styles',
];
modu... | JavaScript | 0.000001 | @@ -3512,18 +3512,16 @@
hashres'
-/*
, 'gh-pa
@@ -3524,18 +3524,16 @@
h-pages'
-*/
%5D);%0A%0A /
|
c9d3e5e0ffc501eed3c02e9b865472d3b4e80ebc | add new task to url dist | Gruntfile.js | Gruntfile.js | 'use strict';
module.exports = function(grunt) {
grunt.initConfig({
//exec commands
exec: {
jekyllServe: 'jekyll serve',
jekyllBuild: 'jekyll build',
npmReset: 'rm -rf node_modules && sudo npm install'
},
// modify URL
replace: {
... | JavaScript | 0.000116 | @@ -1387,16 +1387,17 @@
nt.write
+%5C
(%5C%22%3Cscri
@@ -1410,17 +1410,19 @@
nc src='
-/
+%5C/%5C
/HOST:30
@@ -1423,16 +1423,17 @@
OST:3000
+%5C
/browser
@@ -1456,17 +1456,16 @@
.6.js'%3E%3C
-%5C
/script%3E
@@ -1475,21 +1475,23 @@
replace(
+%5C
/HOST
+%5C
/g, loca
@@ -1494,16 +1494,17 @@
location
+%5C
.hos... |
07bb5fd5b6b5bc598fbbaf054186c353b6ccce29 | add toggleattending function to eventinfo component | App/Components/EventInfo.js | App/Components/EventInfo.js | import React, { Component } from 'react'
import {
Text,
View,
TouchableHighlight,
LayoutAnimation,
StyleSheet,
Image
} from 'react-native'
import { connect } from 'react-redux'
import EventAddress from './EventAddress.js'
class EventInfo extends Component {
render () {
return (
<View style={s... | JavaScript | 0 | @@ -265,16 +265,267 @@
ponent %7B
+%0A%0A toggleAttending () %7B%0A // const userId%0A const url = 'http://annafreudhub.herokuapp.com/toggleattending'%0A const postObj = %7B%0A method: 'POST',%0A body: %7B%0A eventId: this.props.activeEvent.eventId%0A %7D%0A %7D%0A fetch(url)%0A ... |
42a5503b430c4d6f86329c622bce75c6db37f666 | Extend jQuery fix | JsBarcode.js | JsBarcode.js | (function($){
JsBarcode = function(image, content, options) {
var merge = function(m1, m2) {
for (var k in m2) {
m1[k] = m2[k];
}
return m1;
};
//Merge the user options with the default
options = merge(JsBarcode.defaults, options);
//Create the canvas where the barcode will... | JavaScript | 0 | @@ -3,17 +3,16 @@
unction(
-$
)%7B%0D%0A%09%0D%0A%09
@@ -1891,17 +1891,27 @@
if (
-$
+jQuery
) %7B%0D%0A%09%09
-$
+jQuery
.fn.
@@ -2069,16 +2069,10 @@
;%0D%0A%0D%0A%7D)(
-jQuery
);
|
33db483e7f2d9fba2a3410d61736adc87ad6b190 | Support AQB instances as query strings. | js/common/modules/org/arangodb/arango-statement-common.js | js/common/modules/org/arangodb/arango-statement-common.js | /*jshint strict: false */
/*global exports */
////////////////////////////////////////////////////////////////////////////////
/// @brief Arango statements
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2012 triagens GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
///... | JavaScript | 0 | @@ -6769,16 +6769,68 @@
_query =
+ typeof query.toAQL === 'function' ? query.toAQL() :
query;%0A
|
1035b1ffd2953737d13cc79b7a06d83da70bd85d | Update TestFilters2D.js | CNN/jsPerf/TestFilters2D.js | CNN/jsPerf/TestFilters2D.js | import * as ShuffleNetV2_MobileNetV2_Block from "../Layer/ShuffleNetV2_MobileNetV2_Block.js";
export { Base };
/**
* Testing Filters of multiple blocks.
*
* @member {string} name
* This test filters' name.
*
* @member {number[]} sourceImageHeightWidth
* The size (i.e. [ height, width ]) of the source image... | JavaScript | 0 | @@ -2961,25 +2961,29 @@
%22 + strA
-vgMaxConv
+ctivationName
) : %22%22
|
740f5f9f918bfc39c59bfefdf4efdd930f7c50ec | Update tdTextExtracter.js | CNN/util/tdTextExtracter.js | CNN/util/tdTextExtracter.js | export default tdTextExtracter;
/**
* Extract html table cell text from html string. This could be used to extract text from Google Sheets' published html web page.
*
*
*/
class tdTextExtracter {
// constructor() {
// }
/**
* The same as calling htmlString.matchAll( Base.tdTextExtractingRegExp ).
*
... | JavaScript | 0 | @@ -738,11 +738,14 @@
tic
-get
+create
Iter
|
226521a117300952e125c98b9add836469e957df | rename useState into getState | MVCModule.js | MVCModule.js | /*
TaskOnFly allows you easy manage your tasks and task lists on the fly from your mobile or desktop device.
Copyright (C) 2014-2015 Valerii Zinchenko
This file is part of TaskOnFly.
TaskOnFly is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... | JavaScript | 0.01723 | @@ -1875,110 +1875,11 @@
%09 *
-Specify which state will be used.%0A%09 * this.view and this.control will point to the View and Control of
+Get
spe
@@ -1889,16 +1889,18 @@
ic model
+'s
state.%0A
@@ -2111,19 +2111,19 @@
%7D%0A%09 */%0A%09
-use
+get
State: f
|
81b97ac3427da33c150582b76160f575f88150f8 | Refactor Action | src/deep-resource/test/Resource/Action.js | src/deep-resource/test/Resource/Action.js | 'use strict';
import chai from 'chai';
import {Action} from '../../lib.compiled/Resource/Action';
import {Resource} from '../../lib.compiled/Resource';
import {Instance as ResourceInstance} from '../../lib.compiled/Resource/Instance';
import {UnknownMethodException} from '../../lib.compiled/Resource/Exception/UnknownM... | JavaScript | 0.000001 | @@ -88,24 +88,85 @@
ce/Action';%0A
+import %7BRequest%7D from '../../lib.compiled/Resource/Request';%0A
import %7BReso
@@ -3856,35 +3856,8 @@
);%0A%0A
- //@todo - need to rework%0A
te
@@ -3900,13 +3900,26 @@
lid
-objec
+instance of Reques
t',
@@ -3939,34 +3939,8 @@
-//let error = null;%0A //
let
@... |
9b64c09a288b8f96722e625159be09a6beb74daf | Add test for sad path | kolibri/plugins/coach/assets/test/showPageActions.spec.js | kolibri/plugins/coach/assets/test/showPageActions.spec.js | /* eslint-env mocha */
/* eslint-disable no-multi-assign */
const sinon = require('sinon');
const kolibri = require('kolibri');
const assert = require('assert');
// add fake Resources to kolibri mock. This needs to be done before loading tested module
kolibri.resources = {
ChannelResource: {
getCollection: sinon... | JavaScript | 0.000003 | @@ -124,42 +124,8 @@
i');
-%0Aconst assert = require('assert');
%0A%0A//
@@ -1023,20 +1023,24 @@
ion
-s
+makeS
adFetch
-Mock
+able
(fet
@@ -1473,32 +1473,38 @@
visibility: %7B
+%0A
class: false, g
@@ -1493,32 +1493,38 @@
class: false,
+%0A
groups: %5B%7B id:
@@ -1570,24 +1570,28 @@
'group... |
4adad93430d9f93ed20197b6f89fe2c464a3915d | Modify Click Flow | Views/MultiFoodTruckView.js | Views/MultiFoodTruckView.js | var multiView = function (farr) {
var buttonArr = [];
for (var i = 0; i < farr.length; i++) {
var button = {
"type" : "postback",
"title": farr[i].Name,
"payload": farr[i].Name
}
buttonArr.push(Object.assign({},button));
}
var messageData = {
"attachment": {
... | JavaScript | 0 | @@ -158,24 +158,30 @@
e%22: farr%5Bi%5D.
+Vendor
Name,%0A
@@ -199,16 +199,22 @@
farr%5Bi%5D.
+Vendor
Name%0A
|
67499d95433aa7bc9820ed2c46d8d0f023fbb9fb | Make post creation work again. | _includes/views/new_post.js | _includes/views/new_post.js | (function(config, models, views, routers, utils, templates) {
views.NewPost = Backbone.View.extend({
id: 'new_post',
events: {
'submit #new_post_form': 'createPost'
},
createPost: function() {
var that = this;
var filename = this.$('.filename').val();
var title = this.$('.title').val();
... | JavaScript | 0 | @@ -360,99 +360,8 @@
);%0A%0A
- // TODO: make this smart%0A // No assumptions on the repository layout should be made%0A
@@ -401,32 +401,8 @@
le,%0A
- category: 'blog',%0A
@@ -433,19 +433,23 @@
-hidden: tru
+published: fals
e%0A
@@ -547,24 +547,33 @@
lename,
+_.toYAML(
metadata
, '... |
24666e601686e844681474dfdcf74b4b624c9ae1 | Fix reason for save promise rejection | addon/mixins/audit-model.js | addon/mixins/audit-model.js | /**
@module ember-flexberry-data
*/
import Ember from 'ember';
import DS from 'ember-data';
export default Ember.Mixin.create({
/**
Creation date and time of model.
@property createTime
@type Date
*/
createTime: DS.attr('date'),
/**
Name of user who created model.
@property creator
... | JavaScript | 0.00025 | @@ -1484,16 +1484,22 @@
.catch((
+reason
) =%3E %7B%0A
@@ -1514,16 +1514,22 @@
reject(
+reason
);%0A
|
0398f1c7d8a1d877c41b34db8963e09c953a11b9 | fix jshint warning | addon/services/head-tags.js | addon/services/head-tags.js | import Ember from 'ember';
//TODO: consider polyfilled Set
const VALID_HEAD_TAGS = Ember.A([
'base',
'link',
'meta',
'script'
]);
export default Ember.Service.extend({
// crawl up the active route stack and collect head tags
collectHeadTags() {
let tags = {};
let handlerInfos = Ember.A(this.get('... | JavaScript | 0.000001 | @@ -133,16 +133,75 @@
t'%0A%5D);%0A%0A
+const assign = Ember.assign ? Ember.assign : Ember.merge;%0A%0A
export d
@@ -464,108 +464,14 @@
-Ember.assign ? Ember.assign(tags, this._extractHeadTagsFromRoute(handlerInfo.handler)) : Ember.merge
+assign
(tag
|
6c0023564c30c3a4a742402fc036deda6d2b6e57 | Fix week label in charts. | src/js/components/widget/Graph.js | src/js/components/widget/Graph.js | import React from 'react'
import ReactHighcharts from 'react-highcharts'
import BaseWidget from './Base'
class GraphWidget extends BaseWidget {
constructor () {
super()
this.state = {
isLoading: true,
}
}
componentWillMount () {
this.setState({ isLoading: false })
}
getConfig (height) {
return {
... | JavaScript | 0 | @@ -99,16 +99,426 @@
/Base'%0A%0A
+// http://stackoverflow.com/a/17853889/1453912%0AReactHighcharts.Highcharts.dateFormats = %7B%0A%09W: function (timestamp) %7B%0A%09%09var date = new Date(timestamp)%0A%09%09var day = date.getUTCDay() == 0 ? 7 : date.getUTCDay()%0A%09%09var dayNumber%0A%09%09date.setDate(date.getUTCD... |
5fe58a481d0e1872655e747a446fc4ea9c6956da | Update SetPrefix command | src/lib/command/base/SetPrefix.js | src/lib/command/base/SetPrefix.js | 'use babel';
'use strict';
import Command from '../Command';
export default class SetPrefix extends Command
{
constructor(bot)
{
super(bot, {
name: 'setprefix',
description: 'Set the bot command prefix for this guild.',
aliases: ['prefix'],
usage: '<prefix>setprefix <text>',
extraHelp: 'Prefixes ma... | JavaScript | 0 | @@ -180,24 +180,33 @@
ption: 'Set
+or check
the bot comm
@@ -230,17 +230,16 @@
is guild
-.
',%0A%09%09%09al
@@ -290,14 +290,14 @@
fix
-%3C
+%5B
text
-%3E
+%5D
',%0A%09
@@ -709,17 +709,17 @@
)%0A%09%09%09%09?
-'
+%60
Current
@@ -733,13 +733,11 @@
is %5C
-'' +
+%60$%7B
this
@@ -769,53 +769,12 @@
ild)
- ... |
78dc3b0f30381ad7f4d3ce2157341727e33c70ae | add basic test on meta folder existence | test/labeled_merge_test.js | test/labeled_merge_test.js | 'use strict';
var grunt = require('grunt');
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAssertions)
test.done()
Test assertions:
test.ok(value, [message])
test.equal(actual, expected, [message])
test.notEqual(actua... | JavaScript | 0.000001 | @@ -42,16 +42,18 @@
');%0A%0A/*%0A
+
======
@@ -98,16 +98,18 @@
=======%0A
+
https:
@@ -140,16 +140,18 @@
unit%0A%0A
+
+
Test met
@@ -156,16 +156,20 @@
ethods:%0A
+
test
@@ -191,16 +191,20 @@
rtions)%0A
+
test
@@ -213,16 +213,18 @@
one()%0A
+
+
Test ass
@@ -232,24 +232,28 @@
... |
d573e40568e662be9d6a24078c9ed5581d4f6c58 | remove unused variables | test/loader-output.spec.js | test/loader-output.spec.js | const { expect } = require('chai');
const utils = require('./utils');
const loader = require('../index');
const YAML = require('js-yaml');
describe('loader output', () => {
it('default output should be exported js object', () => {
return utils.context('./yaml/plain.yml', { importRoot: true })
... | JavaScript | 0.000014 | @@ -378,38 +378,32 @@
.then((%7B result
-, deps
%7D) =%3E %7B%0A
@@ -783,38 +783,32 @@
.then((%7B result
-, deps
%7D) =%3E %7B%0A
@@ -1177,14 +1177,8 @@
sult
-, deps
%7D)
|
c74af55bccf6ff7fce9272a81c7e9602ee93b7b9 | add test for retrieving rowid of last row | test/named_columns.test.js | test/named_columns.test.js | var sqlite3 = require('..');
var assert = require('assert');
describe('named columns', function() {
var db;
before(function(done) {
db = new sqlite3.Database(':memory:', done);
});
it('should create the table', function(done) {
db.run("CREATE TABLE foo (txt TEXT, num INT)", done);
... | JavaScript | 0 | @@ -793,12 +793,297 @@
%7D);%0A
+%0A it('should be able to retrieve rowid of last inserted value', function(done) %7B%0A db.get(%22SELECT last_insert_rowid() as last_id FROM foo%22, function(err, row) %7B%0A if (err) throw err;%0A assert.equal(row.last_id, 1);%0A done();%... |
ec590ae95974dd284e28f86d807a7653700b9e83 | update phantomjs polyfill to work with console | test/phantomjs_polyfill.js | test/phantomjs_polyfill.js | // 139 bytes gzipped
/*! (C) WebReflection, Mit Style License */
(function (P) {
'use strict';
if (!P.bind) {
P.bind = function (s) {
var
c = this,
l = [].slice,
a = l.call(arguments, 1);
return function bind() {
return c.apply(s, a.concat(l.call(arguments)));
};
};
}... | JavaScript | 0 | @@ -343,32 +343,534 @@
);%0A%0A
-console = %7B%7D%0Aconsole.log
+// Mocha needs a process.stdout.write in order to change the cursor position.%0AMocha.process = Mocha.process %7C%7C %7B%7D;%0AMocha.process.stdout = Mocha.process.stdout %7C%7C process.stdout;%0AMocha.process.stdout.write = function(s) %7B window.callPh... |
fba56069cbbffe72f58b93bd8185fb169b11722a | Add comment. | imports/ui/pages/mqtt-media-player/mqtt-media-player.js | imports/ui/pages/mqtt-media-player/mqtt-media-player.js | // Framework
import { Meteor } from 'meteor/meteor'
// App
import './mqtt-media-player.html'
import './mqttws31.js'
import './video-player.js'
import './audio-player.js'
import MidiPlayer from './midi-player.js'
import '../../components/fullscreen-video/fullscreen-video.js'
import '../../components/debug-console/debug-... | JavaScript | 0 | @@ -3549,16 +3549,48 @@
ionName%0A
+ // get the last word of topic%0A
var ac
|
1e77ee1755c5c8a5e928515dd3d0ae6000252c49 | clean up enabledProperty in Node, factor out PDOM enabled listener and fix tests, https://github.com/phetsims/scenery/issues/1100 | js/EnabledProperty.js | js/EnabledProperty.js | // Copyright 2020, University of Colorado Boulder
/**
* Property to control the enabled of something. In general this should never be called by clients, but instead is factored
* out for consistency in PhET libraries. This serves as the default Property to control enabled with PhET-iO instrumentation
*
* @author M... | JavaScript | 0 | @@ -716,97 +716,216 @@
-super( initialEnabled, merge( %7B%0A tandem: options.tandem.createTandem( TANDEM_NAME ),
+if ( assert && options && options.tandem ) %7B%0A assert && assert( options.tandem.name === TANDEM_NAME, %60EnabledProperty tandems should be named $%7BTANDEM_NAME%7D%60 );%0A %7D%0A%0A ... |
520f4dbdf0346872eafa74593d91cd9bfcabcbb0 | fix test | test/slugGenerator-test.js | test/slugGenerator-test.js | var slugGenerator = require('../src/slugGenerator').translit;
var translate = require('../src/slugGenerator').translate;
var should = require('chai').should;
var expect = require('chai').expect;
var mockery = require('mockery');
var sinon = require('sinon');
var nock = require('nock');
describe('Slug generator', funct... | JavaScript | 0.000002 | @@ -2207,32 +2207,35 @@
e);%0A %7D);%0A%0A
+ //
it('should fail
@@ -2254,20 +2254,23 @@
) %7B%0A
+//
+
true.sho
@@ -2282,21 +2282,24 @@
e.false;%0A
+ //
%7D);%0A%7D);%0A
|
ff19476fc0d9ee6e80e64b8b2bba49cc422918e4 | add validation rule to check phetio TypeIO overridding in types file, https://github.com/phetsims/phet-io/issues/1535 | js/NumberDisplayIO.js | js/NumberDisplayIO.js | // Copyright 2017-2019, University of Colorado Boulder
/**
* IO type for NumberDisplay
*
* @author Sam Reid (PhET Interactive Simulations)
* @author Andrew Adare (PhET Interactive Simulations)
*/
define( function( require ) {
'use strict';
// modules
var NodeIO = require( 'SCENERY/nodes/NodeIO' );
var ph... | JavaScript | 0 | @@ -725,23 +725,23 @@
'Number
-Control
+Display
IO', Num
|
a5d04cc2f13863a1a4a68781400ca66acb83e787 | Fix the highway=pedestrian + area=yes test | test/spec/presets/index.js | test/spec/presets/index.js | describe('iD.presetIndex', function() {
var savedPresets;
before(function () {
savedPresets = iD.data.presets;
});
after(function () {
iD.data.presets = savedPresets;
});
describe('#match', function() {
var testPresets = {
presets: {
point: ... | JavaScript | 0.999991 | @@ -6950,16 +6950,21 @@
destrian
+_area
');%0A
|
562ad7f681105ff54ac345fc9f8e1fbba32a007b | Fix typo | app/api/errors.js | app/api/errors.js | import LocalizableError from '../i18n/LocalizableError';
export class GenericApiError extends LocalizableError {
constructor() {
super({
id: 'api.errors.GenericApiError',
defaultMessage: '!!!An error occured, please try again later.',
});
}
}
export class ApiMethodNotYetImplementedError extend... | JavaScript | 0.99997 | @@ -217,16 +217,17 @@
or occur
+r
ed, plea
|
451beb26ac55234f875859b202fbc155762d9a7a | Fix truncating prints and re-support colorization. | js/builders/prints.js | js/builders/prints.js | KiddoPaint.Builders.Prints = function(color1, print, angle) {
color1 = color1 || 'black';
angle = angle || 0;
var canvasBrush = document.createElement('canvas');
canvasBrush.width = 43;
canvasBrush.height = 43;
var contextBrush = canvasBrush.getContext('2d');
contextBrush.beginPath();
... | JavaScript | 0 | @@ -192,18 +192,19 @@
width =
-43
+100
;%0A ca
@@ -226,10 +226,11 @@
t =
-43
+100
;%0A
@@ -302,22 +302,16 @@
ush.
-beginPath
+save
();%0A
-%0A
@@ -337,14 +337,14 @@
ate(
-21, 21
+50, 50
);%0A
@@ -406,23 +406,16 @@
te(-
-15.5, -15.5
+25, 0
);%0A
-%0A
@@ -478,49 +478,150 @@
fill
-Style = Ki... |
f16c60be8a810035cc85cc47b150526fa84ca0d2 | Work done so far | js/calculate-match.js | js/calculate-match.js | 'use strict';
var totalMatches = 0;
var totalPossible = 34;
// This part calculates how much a dog matches the user non-numerical values
function matchNeighborhood(i) {
if (dogs[i].neighborhood === user.neighborhood) {
totalMatches++;
}
}
function matchUserAgePref(i) {
if (user.prefAge === 'Younger' && dog... | JavaScript | 0.000001 | @@ -16,48 +16,257 @@
var
-totalMatches = 0;%0Avar totalPossible = 34
+user = %7B%0A size: 'Large',%0A age: '4',%0A sex: 'Male',%0A fixed: true,%0A neighborhood: 'Capitol Hill',%0A prefAge: 'About the same',%0A prefSex: 'No Preference',%0A prefFixed: 'Fixed',%0A swimming: 5,%0A fetch: 4,%0A walks: 3,%0A ru... |
be9ad6983f8815538869ffc3d874662e4e24dd66 | Update test_local_storage.js | test/test_local_storage.js | test/test_local_storage.js | describe('キャッシュ保存,取得テスト', function() {
var ls = new LocalStorage();
ls.base.save('hoge', 'hoge');
it('hogeキーでhogeデータを保存する', function() {
expect(ls.base.get('hoge')).toBe('hoge');
});
});
| JavaScript | 0.000002 | @@ -38,94 +38,472 @@
%7B%0A
-var ls = new LocalStorage();%0A ls.base.save('hoge', 'hoge');%0A it('hoge%E3%82%AD%E3%83%BC%E3%81%A7hoge%E3%83%87%E3%83%BC%E3%82%BF%E3%82%92
+beforeEach(function() %7B%0A console.log(%22%5BbeforeEach%5D%22);%0A this.ls = new LocalStorage();%0A %7D);%0A afterEach(function() %7B%... |
7712ec2ca7eb1b474e02ce0c8e855b4f512b2048 | Decrease increment | server/song/song_model.js | server/song/song_model.js | "use strict";
var mongoose = require('mongoose');
var SongSchema = new mongoose.Schema({
echoData: {
artist: String,
title: String,
// md5 for uploaded songs
md5: String,
// id for the rest
id: String,
status: String,
audio_summary: {
danceability: Number,
duration: Numb... | JavaScript | 0.001064 | @@ -836,9 +836,10 @@
0.
-1
+05
* i
|
21549e02f29d958c5f6b68060fac305bff8b37f2 | Update thumbnails.js | js/feat/thumbnails.js | js/feat/thumbnails.js | if(site == "beam") {
$("document").ready(function() {
$("body").observe("added", ".be-browse-card background > img", function(mut) { // Watch for thumbnails...
if(options.realthumbs) {
for(var i = 0; i < mut.addedNodes.length; i++) {
var name = $(mut.addedNodes[i]).closest(".be-browse-card").find("md-car... | JavaScript | 0.000001 | @@ -359,32 +359,33 @@
%09%09%09$.get(%22//
-beam.pro
+mixer.com
/api/v1/user
@@ -469,32 +469,33 @@
%09%09%09$.get(%22//
-beam.pro
+mixer.com
/api/v1/user
@@ -550,16 +550,17 @@
(%22//
-beam.pro
+mixer.com
/api
|
af82fa201321ecf638cc69c0a594a6d98f24d4fb | remove additional 'we are on a mission to' | server/src/middlewares.js | server/src/middlewares.js | import config from 'config';
import api from './lib/api';
import expressSession from 'express-session';
import ua from 'universal-analytics';
import filterCollection from '../../frontend/src/lib/filter_collection';
import { filterUsers } from './lib/utils';
import _ from 'lodash';
/**
* Fetch users by slug
*/
const ... | JavaScript | 0.002321 | @@ -3810,41 +3810,8 @@
n: %60
-$%7Bgroup.name%7D is on a mission to
$%7Bgr
|
68a81f118f02b528104861757b26341c1497c6e8 | Add registrations controller for angular. | public/app/scripts/controllers/registration.js | public/app/scripts/controllers/registration.js | 'use strict';
angular.module('publicApp')
.controller('GatewayNewUserCtrl', ['$scope', '$http', '$location', function ($scope, $http, $location) {
$scope.user = null;
$scope.registerUser = function () {
if ($scope.user.password == $scope.user.password_confirmation) {
delete $scope.user.password_conf... | JavaScript | 0 | @@ -55,22 +55,20 @@
er('
-GatewayNewUser
+Registration
Ctrl
@@ -214,121 +214,95 @@
-if ($scope.user.password == $scope.user.password_confirmation) %7B%0A%09%09%09%09delete $scope.user.password_confirmation;%0A%09%09
+console.log('about to register user');%0A console.log('passwords are the same.');%0A
... |
924acc2fb5e2caf85b830716f72d926b108b2429 | Remove constraint workaround | migrations/20170713122859_alternative_login_constraint.js | migrations/20170713122859_alternative_login_constraint.js | const constraintName = 'alternative_login_group_id_hashed_key_unique';
// For some reason mssql set constraint type to "Index"
// if table.unique(['group_id', 'hashed_key']) is used
exports.up = (knex, Promise) => knex.schema.raw(
`ALTER TABLE alternative_login
ADD CONSTRAINT ${constraintName}
UNIQUE (group_id, ... | JavaScript | 0.000001 | @@ -1,322 +1,111 @@
-const constraintName = 'alternative_login_group_id_hashed_key_unique';%0A%0A// For some reason mssql set constraint type to %22Index%22%0A// if table.unique(%5B'group_id', 'hashed_key'%5D) is used%0Aexports.up = (knex, Promise) =%3E knex.schema.raw(%0A %60ALTER TABLE alternative_login%0A ADD CONS... |
41f90faf07b82733df52d6fc69ea01010048ddf1 | Fix a bug Don't escape for join character | src/libs/characters/punctuator.js | src/libs/characters/punctuator.js | /**
* _____ __
* / ___// /_ _____
* \__ \/ / / / / _ \
* ___/ / / /_/ / __/
* /____/_/\__, /\___/
* /____/
* Copyright 2017 Slye Development Team. All Rights Reserved.
* Licence: MIT License
*/
var punctuators = "{ ( ) [ ] . ... ; , < > <= >= == != === !== + ‐ * % ++ ‐‐ << >> >>> &... | JavaScript | 0 | @@ -398,16 +398,30 @@
t(' ');%0A
+punctuators =
punctuat
@@ -753,17 +753,18 @@
ors.
-join('%7C')
+map(a =%3E a
.rep
@@ -814,16 +814,27 @@
'%5C%5C$&')
+).join('%7C')
+ ')';%0A
|
3e33ed060416b9712d2eef56f15c2bc72877c4ff | Change block-scoped-var to a warning. | rules/best-practices.js | rules/best-practices.js | var rules = {
'array-callback-return': 'warn',
'block-scoped-var': 'error',
'consistent-return': 'warn',
'curly': 'error',
'default-case': 'error',
'eqeqeq': 'error',
'no-alert': 'error',
'no-caller': 'error',
'no-case-declarations': 'error',
'no-div-regex': 'warn',
'no-empty... | JavaScript | 0 | @@ -65,29 +65,28 @@
oped-var': '
-error
+warn
',%0A 'cons
|
2e4d10d784face903ad741dc8fcecb622740dfeb | Fix linting | src/sidebar/app/onMessage.js | src/sidebar/app/onMessage.js | import { SYNC_AUTHENTICATED,
KINTO_LOADED,
UPDATE_NOTE,
TEXT_SYNCED,
RECONNECT_SYNC,
DISCONNECTED,
ERROR,
SEND_TO_NOTES } from './utils/constants';
// Actions
import { authenticate,
disconnect,
createNote,
synced,
... | JavaScript | 0.000004 | @@ -1132,17 +1132,16 @@
empty');
-
// esli
|
0ce5c25176958aa2c19f13fc01f4e0306519e7ea | remove duplicate username | kbase-extension/static/kbase/js/userMenu.js | kbase-extension/static/kbase/js/userMenu.js | define([
'jquery',
'narrativeConfig',
'kb_service/client/userProfile',
'kb_common/gravatar',
'kb_common/html',
'util/bootstrapDialog',
'util/string',
], ($, NarrativeConfig, UserProfile, Gravatar, html, BootstrapDialog, StringUtil) => {
'use strict';
function factory(config) {
... | JavaScript | 0.999918 | @@ -3023,52 +3023,8 @@
yle:
-%0A
'di
@@ -3911,65 +3911,8 @@
(),%0A
- i(%7B%7D, userName),%0A
|
6b10007e24a83ce6bb8ed3ae3792b64fe88482cc | Drop top level heading and move all sections up one level. | app/js/command.js | app/js/command.js | /*global define, ace, _, chrome, zed */
define(function(require, exports, module) {
"use strict";
plugin.consumes = ["eventbus", "keys"];
plugin.provides = ["command"];
return plugin;
function plugin(options, imports, register) {
var useragent = require("ace/lib/useragent");
var fu... | JavaScript | 0 | @@ -6124,17 +6124,17 @@
list = %22
-#
+%3E
Zed Onl
@@ -6958,9 +6958,9 @@
i +
-3
+2
).jo
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.