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 |
|---|---|---|---|---|---|---|---|
6080a6a242fbd15b0b15e96edf23c98c28e551f1 | Remove generator star spacing as it doesn't work with async/await | index.js | index.js | module.exports = {
"parser": "babel-eslint",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"plugins": [
"babel"
],
"rules": {
// Separate the rules into blocks based on what plugin they come from.
// Default rules are split up based on sections found on the eslint rule... | JavaScript | 0 | @@ -2234,47 +2234,8 @@
2,%0A
- %22babel/generator-star-spacing%22: 2,%0A
|
6f11162d4dacc0c58c66b07c7c88ad118deceb58 | fix windows (more simple) | index.js | index.js | const execFile = require('child_process').execFile
const isWin = /^win/.test(process.platform)
const ava = require.resolve(isWin ? '.bin/ava.cmd' : 'ava/cli.js')
module.exports = function () {
this.ava = function (opts) {
return this.unwrap(files => {
return new Promise((resolve, reject) => {
cons... | JavaScript | 0 | @@ -47,53 +47,8 @@
File
-%0A%0Aconst isWin = /%5Ewin/.test(process.platform)
%0Acon
@@ -76,33 +76,8 @@
lve(
-isWin ? '.bin/ava.cmd' :
'ava
@@ -288,20 +288,60 @@
-execFile(ava
+args.unshift(ava)%0A%0A execFile(process.execPath
, ar
|
74e268c30e03c1b0ab51c6ecf84212de1571ee4f | add log type to log file entry | index.js | index.js | /*
Logger API for logging things
*/
const fs = require('fs')
const colour = require('colour')
const DEBUG_LVL = process.env.DEBUG_LVL || 0
const USER = process.env.USER || ''
const LOGFILE = process.env.LOGFILE || 'logs.txt'
const logType = (type) =>
type == 1 ? 'INFO ' :
type == 2 ? 'WARN ' :
type == 3 ? '... | JavaScript | 0.000001 | @@ -736,16 +736,21 @@
g + '%5Cn'
+, lvl
), print
|
6d6cd5a8742a59cc9d887beff990b873cb10eca7 | Update index.js | index.js | index.js | var fs = require('fs');
var path = require('path');
var merge = require('lodash/merge');
var spawn = require('child_process').spawn;
var fsExtra = require('fs-extra');
function Plugin(translationOptions) {
var defaultOptions = {
conf: __dirname + '/jsdoc.conf'
};
this.options = merge({}, defaultOptions, tra... | JavaScript | 0.000001 | @@ -235,29 +235,18 @@
conf:
-__dirname +
'
+.
/jsdoc.c
|
0324b41bd9268797259232cf52858d55a5c422e0 | Fix the entire thing error displaying, make it only in the scope of the template and drop ReactiveArray since it isn't really helping | client/views/login.js | client/views/login.js | errors = new ReactiveArray([]);
Template.login.helpers({
errorList: function() {
return errors.list();
}
});
Template.login.events({
'.signin submit': function(e) {
e.preventDefault();
var user = {
email: $('#inputEmail').val(),
password: $('#inputPassword').val()
};
Accounts.lo... | JavaScript | 0 | @@ -1,34 +1,101 @@
-errors = new ReactiveArray
+Template.login.onCreated(function() %7B%0A this.errors = new ReactiveVar();%0A this.errors.set
(%5B%5D)
+%0A%7D)
;%0A%0AT
@@ -118,16 +118,69 @@
lpers(%7B%0A
+ errors: function() %7B%0A return this.errors;%0A %7D,%0A%0A
errorL
@@ -212,18 +212,37 @@
urn
+Temp... |
a46cfef35dcc75a73b56ce0f303a8adffa0d4cb5 | use first instead of eq(0) | test/unit/responsive-carousel_test.js | test/unit/responsive-carousel_test.js | /*global QUnit:false, module:false, test:false, asyncTest:false, expect:false*/
/*global start:false, stop:false ok:false, equal:false, notEqual:false, deepEqual:false*/
/*global notDeepEqual:false, strictEqual:false, notStrictEqual:false, raises:false*/
(function($) {
var $carousel = $( "[data-carousel]" ), $items;
... | JavaScript | 0.000065 | @@ -2327,12 +2327,14 @@
ems.
-eq(0
+first(
).is
|
13ae51789fe0c7b1bfb148aa30e1236eb38728d1 | Remove reduntant argument, fixing visibility check. | src/browser/DomElement.js | src/browser/DomElement.js | /*
* Paper.js
*
* This file is part of Paper.js, a JavaScript Vector Graphics Library,
* based on Scriptographer.org and designed to be largely API compatible.
* http://paperjs.org/
* http://scriptographer.org/
*
* Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
* http://lehni.org/ & http://jonathanpuckey.co... | JavaScript | 0 | @@ -1573,15 +1573,8 @@
(el,
- false,
tru
|
80a8d51c3a4861d342093c22cda062812d84a42f | Update session-expiration.js | session-expiration.js | session-expiration.js | var sessionExpiration = (function () {
var differenceMinutesToStartWarning = 2,
expirationMinutes = 3,
sessionExpiringCallback,
sessionOkCallback,
sessionTimeout,
cookieName = '.session-expiration';
return {
init: function (data) {
if (data === undefined) {
... | JavaScript | 0 | @@ -262,16 +262,54 @@
(data) %7B
+%0A deleteCookie(cookieName);
%0A%0A
@@ -2572,12 +2572,196 @@
lues
-, 1)
+);%0A %7D%0A%0A function deleteCookie(cname) %7B%0A var d = new Date(1970, 1, 1, 0, 0, 0, 0);%0A var expires = %22expires=%22 + d.toUTCString();%0A var name = cname ... |
f6a528bdc3872dbca55d84c2d73e7ca4ff88adb7 | test running. initial implementation complete. | index.js | index.js | var _ = require('lodash')
fs = require('fs')
module.exports = function(inPath, outPath, done){
fs.readFile(inPath, function(err, content){
var geojson = JSON.parse(content)
var csv = ''
// add headers
_.each(Object.keys(geojson.features[0].properties), function(property){
csv += property +... | JavaScript | 0 | @@ -702,25 +702,52 @@
-console.log(csv)%0A
+fs.writeFile(outPath, csv, function(err)%7B%0A
@@ -755,19 +755,25 @@
one(
-null
+err
, csv)%0A
+ %7D)%0A
%7D)
|
0ecc19d4e1e56ca7fa93528da0f6dde44c115cb7 | fix clock | mines2/application.js | mines2/application.js | $(document).ready(function() {
$('#beginner').on('click', function(event){
game = new Game(9,9);
$('#container').html(game.render())
clock()
})
$('#intermediate').on('click', function(event){
game = new Game(16,16);
$('#container').html(game.render())
clock()
})
$('#expert').on('click'... | JavaScript | 0.00003 | @@ -104,53 +104,15 @@
-$('#container').html(game.render())%0A clock
+restart
()%0A
@@ -201,53 +201,15 @@
-$('#container').html(game.render())%0A clock
+restart
()%0A
@@ -292,53 +292,15 @@
-$('#container').html(game.render())%0A clock
+restart
()%0A
@@ -304,17 +304,16 @@
)%0A %7D)%0A%0... |
e8c595324a067d82a90dc9cc5898290f0f8182c8 | use es6 arrow function | handlers/push.es6 | handlers/push.es6 | 'use strict';
export default function (handler) {
handler.on('push', function (e) {
const payload = e.payload;
console.log(payload);
});
}
| JavaScript | 0.000002 | @@ -62,27 +62,18 @@
on('
-push', function (e)
+*', (e) =%3E
%7B%0A
|
d141366fe0c45801727ff11d4470dd8aadd98e65 | Remove trailing whitespace | lib/get-selectors.js | lib/get-selectors.js | var resolveNestedSelector = require('postcss-resolve-nested-selector');
function isTopLevel(node) {
return node.type === 'root';
}
function isNestedRule(node) {
return /(?:at)?rule/.test(node.parent.type)
}
function hasChildNodes(node) {
return node.nodes && node.nodes.length;
}
function hasNoDeclarations(nod... | JavaScript | 0.999999 | @@ -514,17 +514,16 @@
child) %7B
-
%0A ret
|
0474febde91e8404dcdc4fd2d1c94b0613291f78 | fix number of tests | tests/test_index_get_gush.js | tests/test_index_get_gush.js | /*global casper:false */
/*functional testing for the basic functionality of opentaba home page - The part displayed when showing specific plan
Runs with casperjs test filename (or casperjs.bat on windows)
*/
//Some setup //TODO: move this to a global casper config
var url = '../index.html';
casper.options.client... | JavaScript | 0.000022 | @@ -816,17 +816,18 @@
isplay',
-6
+10
, functi
|
6660bbb0c4c0bd9e942c2630eea48ffe1d7dd2e2 | remove PropertySet, https://github.com/phetsims/axon/issues/102 | js/GameTimer.js | js/GameTimer.js | // Copyright 2013-2015, University of Colorado Boulder
/**
* Game timer, keeps track of the elapsed time in the game using "wall clock" time. The frame rate of this clock is
* sufficient for displaying a game timer in "seconds", but not for driving smooth animation.
*
* @author Chris Malley (PixelZoom, Inc.)
*/
d... | JavaScript | 0 | @@ -434,19 +434,16 @@
Property
-Set
= requi
@@ -460,19 +460,16 @@
Property
-Set
' );%0A v
@@ -884,126 +884,166 @@
-PropertySet.call( this, %7B%0A elapsedTime: 0, // seconds since the timer was started%0A isRunning:
+%0A // @public seconds since the timer was started%0A this.elapsedTimeProper... |
c7b917adfa4fc5606d9453e7e1229771fcc30443 | add dry-run feature | index.js | index.js | 'use strict';
const BbPromise = require('bluebird');
class PrunePlugin {
constructor(serverless, options) {
this.serverless = serverless;
this.options = options || {};
this.provider = this.serverless.getProvider('aws');
this.pluginCustom = this.loadCustom(this.serverless.service.custom);
this.... | JavaScript | 0 | @@ -754,16 +754,180 @@
: false%0A
+ %7D,%0A dryRun: %7B%0A usage: 'Dry-run, only list candidate versions for deletion %22)',%0A shortcut: 'd',%0A required: false%0A
@@ -2324,100 +2324,8 @@
%7B%0A%0A
- const params = %7B%0A FunctionName: functio... |
1742fb72eaba075592eaedf2003421bc9deae6ee | add http methods, remove console.log | index.js | index.js | 'use strict';
let Router = module.exports = require('koa-router');
let FILE_TEMP_KEY = '__is__file__';
let methods = 'get,put,post,del,delete'.split(',');
Router.prototype.load = function(folder, prefix){
prefix = prefix || '';
let resources = require('require-all')({
dirname : folder,
... | JavaScript | 0.000002 | @@ -137,16 +137,35 @@
l,delete
+,options,head,trace
'.split(
@@ -641,24 +641,109 @@
urces%5Bkey%5D;%0A
+ //%E5%85%81%E8%AE%B8%E9%80%9A%E8%BF%87%E8%AE%BE%E7%BD%AE%60exports.path = null;%60%E5%BF%BD%E7%95%A5%E6%9F%90%E4%BA%9B%E6%96%87%E4%BB%B6%0A if(res.path === null) continue;%0A
key
@@ -777,1... |
ea5c864e216a82205206d3ee0b8a9d99d5823478 | use fire to send the connected metric rather than duplicating logic | lib/graphite_axon.js | lib/graphite_axon.js | var net = require('net');
var events = require("events");
var util = require('util');
var GraphiteAxon = function ( namespace, host, port) {
var this_axon = this;
//call super constructor
events.EventEmitter.call(this_axon);
//setup event listeners
this_axon.on( 'data', this_axon.fir... | JavaScript | 0 | @@ -1194,35 +1194,19 @@
is_axon.
-tcp_connection.writ
+fir
e( conne
@@ -1229,16 +1229,17 @@
ric_path
+,
%0A %09%09
@@ -1235,39 +1235,32 @@
th, %0A %09%09%09%09
-+ ' ' +
connected_messa
@@ -1267,16 +1267,17 @@
ge_value
+,
%0A %09%09
@@ -1281,23 +1281,16 @@
%09%09%09%09
-+ ' ' +
connect
@@ -... |
9556e0b4b8cefc6ea001db4911c547a3e172a60f | Unblock the nodejs runtime | index.js | index.js | module.exports = function(md, options) {
options = options || {};
options.listUnicodeChar = options.hasOwnProperty('listUnicodeChar') ? options.listUnicodeChar : false;
options.stripListLeaders = options.hasOwnProperty('stripListLeaders') ? options.stripListLeaders : true;
options.gfm = options.hasOwnProperty('... | JavaScript | 0 | @@ -1887,16 +1887,17 @@
%7B1,6%7D%5Cs+
+%5C
%7C %7B0,%7D(%5C
|
f1327497c1bdadbd29533cdef74a0eaa16e522e7 | fix var | src/BookReaderComponent/BookReaderComponent.js | src/BookReaderComponent/BookReaderComponent.js | /**
* BookReaderTemplate to load BookNavigator components
*/
import { LitElement, html, css } from 'lit-element';
import '../ItemNavigator/ItemNavigator.js'
import '../BookNavigator/BookNavigator.js'
export class BookReader extends LitElement {
static get properties() {
return {
base64Json: { type: Str... | JavaScript | 0.000004 | @@ -1967,18 +1967,16 @@
: var(--
---
primaryB
|
ca2caf7ce0c6ed0efdc604a0504950e461a60470 | Use 'slice' to clone an array | index.js | index.js | 'use strict';
function createTree(list, rootNodes) {
var tree = [];
for (var prop in rootNodes) {
if (!rootNodes.hasOwnProperty(prop)) {
continue;
}
var node = rootNodes[prop];
if (list[node.id]) {
node.children = createTree(list, list[node.id]);
}
tree.push(node);
}
re... | JavaScript | 0.000044 | @@ -567,75 +567,8 @@
%0A%7D%0A%0A
-function clone(obj) %7B%0A return JSON.parse(JSON.stringify(obj));%0A%7D%0A%0A
modu
@@ -615,17 +615,18 @@
d =
-clone(obj
+obj.slice(
);%0A
|
90418030a9d6199013e085760797c1e0c6d170d7 | Add Connection#parse_have | index.js | index.js | var net = require('net')
, util = require('util')
, Duplex = require('stream').Duplex;
var packetType = {
0: 'choke',
1: 'unchoke',
2: 'interested',
3: 'uninterested',
4: 'have',
5: 'bitfield',
6: 'request',
7: 'piece',
8: 'cancel'
};
var Connection = module.exports = function Connection (opts) ... | JavaScript | 0.000001 | @@ -2384,16 +2384,127 @@
d);%0A%7D;%0A%0A
+Connection.prototype.parse_have = function (packet, payload) %7B%0A packet.pieceId = payload.readUInt32BE(0);%0A%7D;%0A%0A
/**%0A * C
|
9b98196f43d6de898c45b8291b945aab6f4f2781 | fix breakage from [25704], refs #9641 | mobile/deviceTheme.js | mobile/deviceTheme.js | define(["dojo/_base/kernel", "dojo/_base/array", "dojo/dom-construct", "dojo/_base/window", "./_base"],
function(dojo, darray, domConstruct, dwindow, mbase){
// module:
// dojox/mobile/deviceTheme
// summary:
// Automatic Theme Loader
// description:
// Detects the User Agent of the browser and loads appropri... | JavaScript | 0.000001 | @@ -51,17 +51,17 @@
dojo/dom
--
+/
construc
|
fce079584e738c0688339d015542b15c1d28e508 | Allow main handlers to be called without callbacks | lib/handlers/mail.js | lib/handlers/mail.js | var Observable = require('../utils').Observable,
errors = require('../errors');
module.exports = Observable.extend({
constructor: function MailHandler(transport, render) {
this.transport = transport;
this.render = render;
},
isEnabled: function () {
return !!this.transport;
},
forgotPassword:... | JavaScript | 0.000002 | @@ -1248,24 +1248,64 @@
ion (err) %7B%0A
+ if (typeof fn === 'function') %7B%0A
fn(err
@@ -1322,16 +1322,24 @@
null);%0A
+ %7D%0A
%7D);%0A
|
e36c188c59245210733046b6c2c859773a9cbd4e | fix navbar padding | components/NavBar.js | components/NavBar.js | import React from 'react';
import {
SegmentedControlIOS,
View
} from 'react-native';
export default ({ onChange }) => <View style={{ padding: 20 }}>
<SegmentedControlIOS
values={['Unread', 'Favorites', 'Reading List']}
selectedIndex={0}
onChange={(event) => {
onChange(event.nativeEvent.selected... | JavaScript | 0 | @@ -121,16 +121,18 @@
=%3E %3CView
+%0A
style=%7B
@@ -136,16 +136,20 @@
e=%7B%7B
+%0A
padding
: 20
@@ -148,12 +148,68 @@
ding
-: 20
+Top: 40,%0A paddingHorizontal: 20,%0A paddingBottom: 10,%0A
%7D%7D%3E
|
1aa075d03ad59273e2ac24763d68cae7a9ab5474 | Fix the scope of the output variable. | index.js | index.js |
const express = require('express');
const bodyParser = require('body-parser');
const puppeteer = require('puppeteer');
const timestamp = require('console-timestamp');
const TIMESTAMP_FORMAT = '[YYYY-MM-DD hh:mm:ss:iii]';
const app = express();
app.use(bodyParser.json());
async function print(res, input) {
let ... | JavaScript | 0.000008 | @@ -1164,24 +1164,37 @@
%5D,%0A %7D);%0A%0A
+ let pdf;%0A
if (!fai
@@ -1276,20 +1276,16 @@
;%0A
-let
pdf = a
|
1d7c99de125903f669e6df777bfe578bde3634b1 | add some default tags | components/Search.js | components/Search.js | import React from 'react'
import Router from 'next/router'
import Autosuggest from 'react-autosuggest'
import isMobile from 'ismobilejs'
import axios from 'axios'
// calculate suggestions for any given input value.
function getSuggestions (value) {
const inputValue = value.trim().toLowerCase()
const inputLength = ... | JavaScript | 0.000001 | @@ -1054,16 +1054,220 @@
tags = %5B
+%0A 'web',%0A 'javascript',%0A 'code',%0A 'programming',%0A 'learning',%0A 'development',%0A 'react',%0A 'software',%0A 'apps',%0A 'css',%0A 'developers',%0A 'app'%0A
%5D%0A ax
|
ee8a425a3196495b0b52c03fd1dc9ed4df9fbd90 | Make code asynchronous | index.js | index.js | require('font-awesome/scss/font-awesome.scss');
require('./styles/app.scss');
require('./lib/server');
import {getRepos} from './lib/github';
render();
function render() {
renderOpenSource();
}
async function renderOpenSource() {
let repos = getRepos('zzarcon');
let reposData = [];
for (let repo of repos) ... | JavaScript | 0.003106 | @@ -270,25 +270,24 @@
;%0A let
-reposData
+promises
= %5B%5D;%0A%0A
@@ -322,36 +322,35 @@
-let result = await
+promises.push(
repo
+)
;%0A
+ //
if
@@ -366,20 +366,26 @@
break;%0A
-%0A
-
+%7D%0A%0A let
reposDa
@@ -393,37 +393,57 @@
a =
-reposData.concat(result);%0A %7D
+%5B%5D.concat.app... |
c933cd4cb16e2dbb2ff31671203fabaec7753f16 | add option to support for unknown browser can be config to not out date | index.js | index.js | var UserAgentParser = require('ua-parser-js');
var languageMessages = require('./languages.json');
var deepExtend = require('deep-extend');
var DEFAULTS = {
'Chrome': 57, // Includes Chrome for mobile devices
'Edge': 39,
'Safari': 10,
'Mobile Safari': 10,
'Firefox': 50,
'IE': false
};
var EDGEHTML_VS_EDGE... | JavaScript | 0.000001 | @@ -2773,33 +2773,129 @@
Name%5D ) %7B%0A
-
+%09// support for unknown browser can be config to not out date,%0A%09%09%09%09if(!!options.unknownBrowserOk)
isOutOfDate = t
@@ -2897,16 +2897,17 @@
e = true
+;
%0A %7D
|
7d35a7b1e13c91ff93074a4cd39a6f74f229e14e | add unshift example | index.js | index.js | // script
//
var fs = require('fs')
var net = require('net')
var path = require('path')
var scriptPath = path.join(__filename, "script.sh")
var commands = fs.readFileSync(scriptPath).split('\n')
module.exports = function(
}
| JavaScript | 0.000001 | @@ -191,16 +191,86 @@
('%5Cn')%0A%0A
+// commands.unshift(%22IP=201%5Cn%22)%0A// commands.unshift(%22SSID=myssid%5Cn%22)%0A%0A
module.e
|
e98ffa42c96b24fd016eaa7f2f09a06508ea1c4a | add strategy argument to use desktop and mobile | index.js | index.js | #!/usr/bin/env node
var args = require('minimist')(process.argv.slice(2))
var localtunnel = require('localtunnel')
var psi = require('psi')
var portUsed = require('tcp-port-used')
var debug = require('debug')('pagespeed-cli')
var port = args.p || args.port
if (!port) {
console.log('Missing "port" parameter')
proc... | JavaScript | 0 | @@ -250,16 +250,55 @@
rgs.port
+%0Avar strategy = args.s %7C%7C args.strategy
%0A%0Aif (!p
@@ -492,24 +492,65 @@
(!inUse) %7B%0A
+ console.log('Strategy: ' + strategy)%0A
console.
@@ -1283,16 +1283,21 @@
ions = %7B
+%0A
threshol
@@ -1304,51 +1304,47 @@
d: 1
-%7D%0A return new Promise(function (resol... |
38c6e86536e7c48e3ae1eb8ca6fe7075f3fd5c3b | fix test ts target | preprocessor.js | preprocessor.js | // Copyright 2004-present Facebook. All Rights Reserved.
const tsc = require('typescript');
const tsConfig = require('./tsconfig.json');
// override target to es5
tsConfig.compilerOptions.target = 'es6';
module.exports = {
process(src, path) {
if (path.endsWith('.ts') || path.endsWith('.tsx')) {
return t... | JavaScript | 0.000003 | @@ -199,9 +199,9 @@
'es
-6
+5
';%0A%0A
|
33fba2fa2ce2eb388e5d9134370e2bfb427baa9c | change the email code | models/contactform.js | models/contactform.js | var _ = require('underscore'),
keystone = require('keystone'),
Types = keystone.Field.Types;
/**
* Users
* =====
*/
var Contactlist = new keystone.List('Contactlist', {
// use nodelete to prevent people from deleting the demo admin user
nodelete: true,
});
Contactlist.add({
name: { type: Types.Name, required:... | JavaScript | 0.433461 | @@ -255,16 +255,291 @@
: true,%0A
+%09new keystone.Email('enquiry-notification').send(%7B%0A%09 subject: 'New Enquiry from Yoga Australia Website',%0A%09 to: 'arati.nankar@planetria.com',%0A%09 fromName: 'Arati nankar',%0A%09 fromEmail: 'from@server.com',%0A%09 // other locals for the email template als... |
224203b76dfd5c08605439e79753e8593e0b328b | Make compatible with CoffeeScript >= 1.7.0 | index.js | index.js | require('coffee-script');
module.exports = require('./lib/main');
| JavaScript | 0.000002 | @@ -15,16 +15,25 @@
e-script
+/register
');%0Amodu
|
e91c19e283b4be57967d7910cabe8e25000d737c | Update latest-update.js | lib/latest-update.js | lib/latest-update.js | var https = require('https')
var packageInfo = require('../package.json')
var compareVersion = require('compare-version')
var Value = require('mutant/value')
var computed = require('mutant/computed')
module.exports = function () {
var update = Value()
var hidden = Value(false)
update.sync = Value(false)
var ve... | JavaScript | 0.000003 | @@ -342,16 +342,26 @@
ersion%0A
+ var req =
https.g
|
9b0c965c3962b81f92fda1335dcbcac8c88377fb | remove talent data from patch embed #9 | commands/patch.js | commands/patch.js | const patch_list = require('../json/patch.json')
const short_heroes = require('../json/short_heroes.json')
const util = require('util')
const patch_hero_embed = function(hero_name, version) {
hero_name = hero_name.toLowerCase()
let hero_obj = patch_list.data[version]['heroes'][hero_name]
let talent_obj = hero_ob... | JavaScript | 0 | @@ -103,37 +103,8 @@
on')
-%0Aconst util = require('util')
%0A%0Aco
@@ -157,49 +157,19 @@
sion
-) %7B%0A hero_name = hero_name.toLowerCase()
+, prefix) %7B
%0A l
@@ -231,47 +231,8 @@
ame%5D
-%0A let talent_obj = hero_obj%5B'talents'%5D
%0A%0A
@@ -503,17 +503,16 @@
stamp%22:
-(
new Date
@@ -513,17 +513,16 ... |
d3bcebdab9e2e71856c3931884a5aaaaa9fe51c0 | Modify seperater ' ' to ',' at stock list | commands/stock.js | commands/stock.js | const request = require('request');
const cheerio = require('cheerio');
const iconv = require('iconv-lite');
var ret = "";
var get_price = function(code, callback) {
let url_base = "https://finance.naver.com/item/main.nhn?code=";
let url_full = url_base + code;
request.get({ url: url_full, encoding: nul... | JavaScript | 0.000261 | @@ -2030,25 +2030,25 @@
ll = all + %22
-
+,
%22 + element%5B
|
5d7ddd0f0aa42cc6e44857fd80f75d17b6edecc4 | fix variable error | mods/tsumeta/moves.js | mods/tsumeta/moves.js | /*List of flags and their descriptions:authentic: Ignores a target's substitute.bite: Power is multiplied by 1.5 when used by a Pokemon with the Ability Strong Jaw.bullet: Has no effect on Pokemon with the Ability Bulletproof.charge: The user is unable to make a move between turns.contact: Makes contact.defrost: Thaws ... | JavaScript | 0.000017 | @@ -3082,18 +3082,14 @@
tect
-ion
: true
-,
%0A
@@ -3168,19 +3168,16 @@
sProtect
-ion
= false
|
52d71bdae4532c283a3b5d3d526e1ad9f4d1a974 | Check for SECRET_KEY on mc setup | src/cli/commands/setup.js | src/cli/commands/setup.js | #!/usr/bin/env node
'use strict'
let fs = require('fs')
let colors = require('colors/safe')
let redis = require('redis')
let knex = require('knex')
let promptly = require('promptly')
let bcrypt = require('bcryptjs')
const ENV_FILE_PATH = '.env'
const MIGRATIONS_SOURCE_PATH = 'node_modules/mc-core/src/db/migrations'
... | JavaScript | 0 | @@ -1259,24 +1259,198 @@
eck options%0A
+ if (!process.env.SECRET_KEY) %7B%0A console.log(colors.red('Your .env file is missing a SECRET_KEY. This is used to sign JWT issued to Mission Control users.'))%0A %7D%0A
if (!pro
|
9612765dc77efd5a81d09770a0e293afb540018f | use `resolve-dir` | index.js | index.js | /*!
* base-config <https://github.com/jonschlinkert/base-config>
*
* Copyright (c) 2015, Jon Schlinkert.
* Licensed under the MIT License.
*/
'use strict';
var path = require('path');
var mapper = require('map-config');
var isObject = require('isobject');
module.exports = function(args) {
return function(app)... | JavaScript | 0.000001 | @@ -192,52 +192,13 @@
var
-mapper = require('map-config');%0Avar isObject
+utils
= r
@@ -209,16 +209,15 @@
re('
-isobject
+./utils
');%0A
@@ -285,32 +285,38 @@
var config =
+utils.
mapper(app)%0A
@@ -1079,41 +1079,8 @@
));%0A
- app.emit('use', name);%0A
@@ -1404,16 +1404,22 @@
onfig =
... |
8f976a82afdc52bbccd4ca67ea1332d388844b3b | Fix for undefined parent error (#111) | index.js | index.js | /* jshint node: true */
'use strict';
var VersionChecker = require('ember-cli-version-checker');
var clone = require('clone');
var path = require('path');
var resolve = require('resolve');
module.exports = {
name: 'ember-cli-babel',
configKey: 'ember-cli-babel',
init: function() {
this._super.in... | JavaScript | 0 | @@ -4068,19 +4068,52 @@
rentName
- =
+;%0A%0A if (this.parent) %7B%0A if (
typeof t
@@ -4136,17 +4136,17 @@
===
-%22
+'
function
%22 ?
@@ -4145,32 +4145,89 @@
tion
-%22 ? this.parent.name() :
+') %7B%0A parentName = this.parent.name();%0A %7D else %7B%0A parentName =
thi
@@ -4237,2... |
d18f46661551213700cc2e93b6f442f40c1f6e5c | fix name | index.js | index.js | exports.toLetterFormat = toLetterFormat;
exports.toNumberFormat = toNumberFormat;
exports.isNumberAddress = isNumberAddress;
exports.isAlphabetAddress = isAlphabetAddress;
exports.letterToNumber = letterToNumber;
exports.numberToLetter = numberToLetter;
exports.getRow = getRow;
exports.getColumn = getColumn;
exports.ge... | JavaScript | 0.019891 | @@ -2002,26 +2002,22 @@
var
-columnName
+result
= %22%22;%0A
@@ -2109,26 +2109,22 @@
-columnName
+result
= Strin
@@ -2164,26 +2164,22 @@
ing() +
-columnName
+result
;%0A
@@ -2249,18 +2249,14 @@
urn
-columnName
+result
;%0A%7D%0A
|
2186185c64255b3a318d64b3d0a717bc349da765 | Remove jacked up expressions that were only accidentally not parse errors from index | index.js | index.js | 'use strict';
const http = require('http');
const _ = require('lodash');
const express = require('express');
const minilog = require('minilog');
const cors = require('cors');
const compression = require('compression');
const Bundler = require('./lib/bundler');
const requestLogger = require('./middlewares/request-lo... | JavaScript | 0 | @@ -490,33 +490,16 @@
Router()
-, bundler, config
;%0Aroutes
|
05f8dfb4a9d7387b71728a8661e1c6be9f713344 | append markdown doc instead of replace when pasting | clipboard2markdown.js | clipboard2markdown.js | (function () {
'use strict';
// http://pandoc.org/README.html#pandocs-markdown
var pandoc = [
{
filter: 'h1',
replacement: function (content, node) {
var underline = Array(content.length + 1).join('=');
return '\n\n' + content + '\n' + underline + '\n\n';
}
},
{
... | JavaScript | 0.000002 | @@ -3526,16 +3526,910 @@
);%0A %7D%0A%0A
+ var insert = function (myField, myValue) %7B%0A if (document.selection) %7B%0A myField.focus();%0A sel = document.selection.createRange();%0A sel.text = myValue;%0A sel.select()%0A %7D else %7B%0A if (myField.selectionS... |
8c7a732ce8a69e4d7fa51af0ecd8f10cb015f843 | include hash and metadata fields in log view | clog/web/app/views.js | clog/web/app/views.js | import $ from 'domtastic';
import ClogClient from './client';
import { ChartComponent as Chart, Table } from './components';
// TODO: Figure out configuration handling.
var clog = new ClogClient();
var container = '#content';
export function index() {
let c = $(container),
chartsEl = $('<div id="log-charts"/... | JavaScript | 0 | @@ -1717,32 +1717,104 @@
sp.date%7D%3C/p%3E%60);%0A
+ c.append('%3Ch5%3EHash%3C/h5%3E');%0A c.append(%60%3Cp%3E$%7Bresp.log.hash%7D%3C/p%3E%60);%0A
c.append('%3Ch
@@ -1941,16 +1941,96 @@
%3C/p%3E%60);%0A
+ c.append('%3Ch5%3EMetadata%3C/h5%3E');%0A c.append(%60%3Cp%3E$%7Bresp.log.metadata%7D%3C/p%3E%6... |
8bc4315c4922ecc93252c2faa078c3045057867f | Send a message when tests complete, see https://github.com/phetsims/aqua/issues/26 | js/axon-test.js | js/axon-test.js | // Copyright 2017, University of Colorado Boulder
/**
* Unit tests for axon. Please run once in phet brand and once in brand=phet-io to cover all functionality.
*
* @author Sam Reid (PhET Interactive Simulations)
*/
define( function( require ) {
'use strict';
// modules
var ObjectIO = require( 'ifphetio!PHE... | JavaScript | 0 | @@ -1999,13 +1999,119 @@
Tests();
+%0A%0A // Since our tests are loaded asynchronously, we must direct QUnit to begin the tests%0A QUnit.start();
%0A%7D );
|
95caa161b67e9c9a833c263644d3ce4a8b3a08e4 | Refactor `get` into multiple functions | index.js | index.js | #!/usr/bin/env node
const columnify = require('columnify');
const api = require('./api');
function print(data) {
if (data.heading) {
console.log(data.heading);
data = data.data;
}
console.log(columnify(data, {
showHeaders: false,
columnSplitter: ' '
}));
}
function pr... | JavaScript | 0.000013 | @@ -789,45 +789,19 @@
get
-(query) %7B%0A if (isId(query)) %7B%0A
+ById(id) %7B%0A
@@ -820,21 +820,18 @@
yStopId(
-query
+id
).then(s
@@ -847,28 +847,24 @@
-
return %7B
heading:
@@ -855,16 +855,17 @@
return %7B
+
heading:
@@ -905,31 +905,28 @@
op.next)
+
%7D;%0A
-
%7D);%0... |
b1824d203c99902a102f5be5d52aaed4abece117 | handle speaker prompts better | index.js | index.js | /*
* www.openedcaptions.com routes captions from C-Span 1 channel to a socket end point.
* This script serves as an itnermediate server to buffer text from socket and expose it as REST API end point.
* * that also support char offset. see README for more info.
* author: Dan Z @impronunciable
*/
const io = require('... | JavaScript | 0.000002 | @@ -2964,17 +2964,17 @@
%22%7C!%7C%5C?)%5C
-w
+s
*(%5Ba-zA-
|
1f342b43b6e8675699ef4ef1b79ce6b19b887750 | Fix tests | tests/views/HomeView.spec.js | tests/views/HomeView.spec.js | import React from 'react'
import TestUtils from 'react-addons-test-utils'
import { bindActionCreators } from 'redux'
import { HomeView } from 'views/HomeView/HomeView'
import { mount } from 'enzyme'
function shallowRender (component) {
const renderer = TestUtils.createRenderer()
renderer.render(component)
retur... | JavaScript | 0.000003 | @@ -694,205 +694,8 @@
= %7B%0A
- counter: 0,%0A ...bindActionCreators(%7B%0A doubleAsync: (_spies.doubleAsync = sinon.spy()),%0A increment: (_spies.increment = sinon.spy())%0A %7D, _spies.dispatch = sinon.spy())%0A
@@ -1094,1781 +1094,31 @@
h(/W
-elcome to the React Redux Starter Ki... |
8a7ed264cae63484cfc84ad8a0865033d567a446 | replace wrappers | index.js | index.js | /**
* Created by KlimMalgin on 04.03.2015.
*/
var curry = require('core.lambda').curry,
// --
fcommon = require('common'),
operationWrap = fcommon.operationWrap,
conditionResult = fcommon.conditionResult;
var gtOp = curry(2, function (meV, valueV) { return conditionResult(meV > valueV, meV); });
va... | JavaScript | 0.000208 | @@ -86,141 +86,8 @@
urry
-,%0A // --%0A fcommon = require('common'),%0A operationWrap = fcommon.operationWrap,%0A conditionResult = fcommon.conditionResult
;%0A%0Av
@@ -138,32 +138,16 @@
return
-conditionResult(
meV %3E va
@@ -146,30 +146,37 @@
meV %3E valueV
-,
+ ?
meV
-)
+ : null
; %7D);%0Avar g... |
fd16abaee7ea3e4f7f94b518828d80e21f8ae03c | Fix whitespace. | index.js | index.js | var ws = require('ws')
, protocol = require('nydus-protocol')
, EventEmitter = require('events').EventEmitter
, util = require('util')
, uuid = require('node-uuid')
, Socket = require('./socket')
, createRouter = require('./router')
module.exports = function(httpServer, options) {
return new NydusServer(... | JavaScript | 0.99988 | @@ -4972,12 +4972,8 @@
%7D%0A%0A
- %0A%0A
va
|
eaf063710f46f0e42ef245003426b0d4272cf5fd | Simplify GradientStop#equals(). | src/color/GradientStop.js | src/color/GradientStop.js | /*
* Paper.js
*
* This file is part of Paper.js, a JavaScript Vector Graphics Library,
* based on Scriptographer.org and designed to be largely API compatible.
* http://paperjs.org/
* http://scriptographer.org/
*
* Distributed under the MIT license. See LICENSE file for details.
*
* Copyright (c) 2011, Juerg ... | JavaScript | 0 | @@ -915,10 +915,9 @@
%09%7D,%0A
-%09
%0A
+
%09equ
@@ -940,20 +940,23 @@
op) %7B%0A%09%09
-if (
+return
stop ==
@@ -963,41 +963,12 @@
this
-) %7B%0A%09%09%09return true;%0A%09%09%7D else if (
+ %7C%7C
stop
@@ -995,21 +995,15 @@
Stop
-) %7B
%0A%09%09%09
-return
+%09&&
thi
@@ -1072,28 +1072,8 @@
nt;%0A
-%09... |
5c76ea5643bab9e4709e36bbbc35f500b4cc1e7c | Fix crt issue | mup2.js | mup2.js | module.exports = {
servers: {
one: {
host: 'coauthor2.csail.mit.edu',
username: 'ubuntu',
pem: "/afs/csail/u/e/edemaine/.ssh/private/id_dsa"
// pem:
// password:
// or leave blank for authenticate from ssh-agent
}
},
meteor: {
name: 'coauthor',
path: '/afs/csai... | JavaScript | 0.000002 | @@ -902,19 +902,19 @@
mit_edu.
-crt
+pem
',%0A
|
aac0b8f5134c9cdbada733a2af0a85955a012299 | Use the document server's message strings first, before using our own | apps/dg/utilities/storage/codap_common_storage.js | apps/dg/utilities/storage/codap_common_storage.js | // ==========================================================================
// DG.CODAPCommonStorage
//
// Copyright (c) 2015 by The Concord Consortium, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... | JavaScript | 0 | @@ -2964,72 +2964,307 @@
-DG.log(%22Raw response status: %22 + status + %22 body: %22 + body);%0A
+if (typeof(body) === 'string') %7B%0A try %7B%0A body = JSON.parse(body);%0A %7D catch (e) %7B%0A // Oh well...%0A %7D%0A %7D%0A DG.log(%22Raw response status: %22 + status + %2... |
004343ded3c9cf801edc42c9946ee9874b5bcc45 | Remove deprecated code. No longer using ishttps in this context. (#63) | index.js | index.js | var assert = require('assert');
var util = require('util');
var url = require('url');
var http = require('http');
var https = require('https');
var getRawBody = require('raw-body');
var isError = require('lodash.iserror');
require('buffer');
module.exports = function proxy(host, options) {
assert(host, 'Host shoul... | JavaScript | 0.000008 | @@ -382,65 +382,8 @@
0;%0A%0A
- var ishttps = /%5Ehttps/.test(host) %7C%7C !!options.https;%0A%0A
va
|
5ea313516e1b24d57cc5edee23f6cdd57aab8104 | set async script timeout for loading images to help with chrome | index.js | index.js | var phantomjs = require('phantomjs-bin'),
webdriver = require('selenium-webdriver');
module.exports = Html2Png;
var URL_REGEX = /^(http|https|file)\:/;
function Html2Png(opts) {
if (!(this instanceof Html2Png)) {
return new Html2Png(opts);
}
if (typeof opts === 'undefined') opts = {};
opts.browser =... | JavaScript | 0 | @@ -460,16 +460,70 @@
%7C%7C 108;
+%0A opts.scriptTimeout = opts.scriptTimeout %7C%7C 30*1000;
%0A%0A this
@@ -534,24 +534,37 @@
s = opts;%0A%0A
+ var driver =
this.driver
@@ -659,16 +659,83 @@
build();
+%0A driver.manage().timeouts().setScriptTimeout(opts.scriptTimeout);
%0A%0A this
|
065a6f8fa2907c816245dd1e04bccf73846efcf9 | Convert CSSString to classy style | lib/mapFunctions.es6 | lib/mapFunctions.es6 | import gonzales from 'gonzales';
import list from 'postcss/lib/list';
function CSSString (str) {
this.quotes = str[0];
if (this.quotes === "'" || this.quotes === '"') {
this.value = str.slice(1, -1);
} else {
this.value = str;
this.quotes = '';
}
}
CSSString.prototype.toString = function () {
i... | JavaScript | 0.999999 | @@ -64,24 +64,21 @@
list';%0A%0A
-function
+class
CSSStri
@@ -84,16 +84,36 @@
ing
+%7B%0A constructor
(str
+ing
) %7B%0A
+
th
@@ -131,14 +131,18 @@
str
+ing
%5B0%5D;%0A
-%0A
+
if
@@ -189,24 +189,26 @@
'%22') %7B%0A
+
this.value =
@@ -211,16 +211,19 @@
ue = str
+ing
.slice(1
@@ -229,16 +2... |
dec7322f253d4447d20a83cc1873aa54cfb97ede | Support cache-control header option | index.js | index.js | var zlib = require('zlib');
var fs = require('fs');
var stream = require('stream');
var util = require('util');
var path = require('path');
var Pend = require('pend');
var findit = require('findit2');
var mime = require('mime');
var url = require('url');
var StreamSink = require('streamsink');
var crypto = require('cry... | JavaScript | 0 | @@ -691,16 +691,103 @@
ymlinks;
+%0A var cacheControlHeader = options.cacheControlHeader %7C%7C 'max-age=0, must-revalidate';
%0A%0A var
@@ -3752,36 +3752,26 @@
l',
-'max-age=0, must-revalidate'
+cacheControlHeader
);%0A
|
925957c9dbb0eac4e242eb624e7f3a725f3a8834 | Make channel name input use max page width | react/components/Onboarding/components/UI/ChannelNameInput/index.js | react/components/Onboarding/components/UI/ChannelNameInput/index.js | import { space } from 'styled-system';
import { preset } from 'react/styles/functions';
import styled from 'styled-components';
import { mixin } from 'react/components/UI/GenericInput';
import AutosizeInput from 'react-input-autosize';
const ChannelNameInput = styled(AutosizeInput).attrs({
f: 8
})`
input {
${m... | JavaScript | 0.000001 | @@ -135,16 +135,40 @@
%7B mixin
+, inputHorizontalPadding
%7D from
@@ -326,73 +326,387 @@
%60%0A
-input %7B%0A $%7Bmixin%7D%0A $%7Bspace%7D%0A $%7Bpreset(space, %7B mt: 3 %7D)%7D
+max-width: 100%25;%0A%0A input %7B%0A // Note: Autosize input has box-sizing %22content-box%22. Here we subtract%0A ... |
2c14520aad61d586fb388ad84b70269a00b56a36 | Update functions.js | js/functions.js | js/functions.js | $(document).ready(function() {
setTimeout(function() {
$("#preloader").css("display","none")
}, 5000);
});
function hoverHash(imdb) {
$.get("https://www.omdbapi.com/?i="+imdb+"&plot=full&r=json&apikey=bd31da15", function (data) {
movie_rating = Math.round(data.imdbRating);
movie_rating_star = '<i class="fas fa... | JavaScript | 0.000002 | @@ -2398,17 +2398,253 @@
%7D%0A%7D;%0A
+function openNewWidowExtra() %7B%0A%09var features = %22location=1, status=1, scrollbars=1, width=1080, height=360, top=%22 + top2 + %22, left=%22 + left2;%0A%09window.open(%22https://codepen.io/eliooses/pen/vMQpNO%22, %22kad%22, features);%0A window.close();%0A%7D
%0A
-
... |
8e465ac9e7ab1d16678c505a6f9a22d289463e4b | fix typo in index.js file | index.js | index.js | "use strict";
/* Application Index
* =================
* Initializes and serves the application.
*
* IMPORTANT
* ---------
* - The NODE_ENV environmental variable should be set to either "production"
* or "development" to reflect the environment.
*
* =====================================================... | JavaScript | 0.000045 | @@ -2239,16 +2239,19 @@
rror.log
+ger
);%0A// Ha
|
65839866f16b79e40a573696fe59444732ef6cad | change status message | src/common/statusCheck.js | src/common/statusCheck.js | angular.module('statusCheck', [])
.directive('statusCheck', function($http, $interval) {
return {
restrict: 'AE',
template: '<svg width="20" height="20">' +
'<circle r=7 cx="10" cy="10"></svg><tooltip></tooltip>',
link: function(scope, element, attr) {
var url = API + '/health/importer?verbose... | JavaScript | 0.000001 | @@ -955,25 +955,24 @@
check status
-.
');%0A%0A
@@ -1190,15 +1190,14 @@
', '
-warning
+active
');%0A
@@ -1226,103 +1226,61 @@
ml('
-Network data is importing - ' +%0A 'however some ledgers may have fail
+Verification for imported ledgers is currently paus
ed
-.
');%0A
|
beb8efdf2b93b79f045285c1b267482589d8ce45 | Update index.js | index.js | index.js | var Accessory, hap, Service, Characteristic, UUIDGen;
var FFMPEG = require('./ffmpeg').FFMPEG;
var http = require('http');
var qs = require('querystring');
var concat = require('concat-stream');
module.exports = function (homebridge) {
Accessory = homebridge.platformAccessory;
hap = homebridge.hap;
Serv... | JavaScript | 0.000001 | @@ -4489,19 +4489,151 @@
rverPort
+, function () %7B%0A console.log(%22VideoDoorbell is listening on port %25s%22, server.address().port);%0A %7D.bind(this)
);
-%0A
%0A
|
3bc6a91cbad014d39fa6cf7f331d70aa6644fbfd | Refactor in App | src/components/App/App.js | src/components/App/App.js | import React, {Component} from 'react';
import {format, isPast} from 'date-fns';
import {sortByDate} from './utils';
import styles from './App.scss';
import Footer from '../Footer';
import Link from '../Link';
import Heading from '../Heading';
import Icon from '../Icon';
import ConferenceList from '../ConferenceList';... | JavaScript | 0.000001 | @@ -457,16 +457,76 @@
rences';
+%0Aconst CURRENT_YEAR = (new Date()).getFullYear().toString();
%0A%0Aexport
@@ -1810,100 +1810,39 @@
te;%0A
+%0A
-const activeYear = (new Date().getFullYear().toString()
+if (CURRENT_YEAR !
==
-=
year)
-;%0A%0A if (!activeYear)
%7B%0A
@@ -2596,16 +2596,18 @@
type%7D,... |
3f806d320a39fee87241f3a78dd9f388365bf8a4 | change button text to collapse on open | expand.js | expand.js | // [Author] Christopher Kwai-Pun
// [Description] Expands thumbnail into embed
// [Created] 2016/01/25
(function () {
'use strict';
var $link = $('.yt-lockup-dismissable');
var $menu = $('.thumb-menu');
var i = 0;
var clicked = false;
for (var key in $link){
if ($link.hasOwnProperty(k... | JavaScript | 0.000001 | @@ -1396,24 +1396,61 @@
= '400px';%0A
+ player.html('Collapse');%0A
|
4ec1618fb7f08098ca5f15eb8d35108ed44dde79 | fix typo | index.js | index.js | require('dotenv').load();
const express = require('express');
const next = require('next');
const session = require('express-session');
const cookieParser = require('cookie-parser');
const bodyParser = require('body-parser');
const basicAuth = require('basic-auth');
const serveStatic = require('serve-static');
const r... | JavaScript | 0.999991 | @@ -4695,17 +4695,16 @@
ccessful
-l
, set it
|
eedfbcb6561fbf02daee630e5df1d515bef55020 | Bump typescript version | atmosphere-packages/angular2-compilers/package.js | atmosphere-packages/angular2-compilers/package.js | Package.describe({
name: 'angular2-compilers',
version: '0.5.5_1',
summary: 'Angular 2 Templates, HTML and TypeScript compilers for Meteor',
git: 'https://github.com/Urigo/angular2-meteor/',
documentation: 'README.md'
});
Package.registerBuildPlugin({
name: 'Angular2 Compilers',
sources: [
'plugin/re... | JavaScript | 0 | @@ -762,17 +762,17 @@
ipt@0.2.
-2
+3
',%0A '
|
7b05f2b4d7582cc33f21c0e490af8abed259c3e5 | use bracket syntax to match on full range of keys (previously only worked w/dot syntax) | index.js | index.js | 'use strict';
function notNull(x) { return x != null; }
function wrap(x) { return '(' + x + ')';}
function maybeQuote(value) {
if (typeof value === 'string') {
return '"' + value + '"';
}
return value;
}
function lookUp(key) {
if (key[0] === '$') {
return 'context.' + key.substri... | JavaScript | 0 | @@ -297,17 +297,19 @@
'context
-.
+%5B%5C'
' + key.
@@ -320,16 +320,24 @@
tring(1)
+ + '%5C'%5D'
;%0A %7D%0A
@@ -378,16 +378,26 @@
ties
-.
+%5B%5C'
' + key
+ + '%5C'%5D'
;%0A%7D%0A
|
13196cdb68372a2d5eda631f336ad57d42b4f94c | Update Winning Information into Chinese | js/interface.js | js/interface.js | $(document).ready(function(){
var game = new Game($(".go-board"), $(".board tbody"));
var adjustSize = adjustSizeGen();
$(window).resize(adjustSize);
adjustSize();
$.mobile.defaultDialogTransition = 'flip';
$.mobile.defaultPageTransition = 'flip';
$('#mode-select input[type="radio"]'... | JavaScript | 0 | @@ -3322,20 +3322,18 @@
ml(who+'
- Won
+%E8%B5%A2%E4%BA%86
!');%0A
@@ -3404,33 +3404,17 @@
ho+'
- won the game. Play again
+%E8%B5%A2%E4%BA%86. %E5%9C%A8%E5%AF%B9%E6%88%98%E4%B8%80%E5%B1%80
?');
@@ -3564,15 +3564,11 @@
ml('
-You Won
+%E4%BD%A0%E8%B5%A2%E4%BA%86
!');
@@ -3608,36 +3608,18 @@
ml('
-You won the g... |
17c93778e4506045cd2d5ce484f5538a8572b63b | Update my company | js/locations.js | js/locations.js | var locations = [
{ name: 'Tim Brownawell', origin: 'Fulton, MO', latitude: 38.86517, longitude: -91.98643, slack_handle: "tbrownaw" },
{ name: 'Wayne Bills', origin: 'Memphis, TN', latitude: 35.26507, longitude: -90.04078, company: 'Mosaik', slack_handle: 'wbills' },
{ name: 'Brad Montgomery', origin: 'Lepanto, ... | JavaScript | 0.000003 | @@ -2009,38 +2009,16 @@
y: %22
-FSG Investment Management, LLC
+Telarray
%22 %7D,
|
ec80a6825834b73db8351aadbb10d0b9be9dbead | Create separate subdivisions method | js/metronome.js | js/metronome.js | function Metronome(tempo, beatsPerMeasure){
this.tempo = Number(tempo);
this.beatsPerMeasure = Number(beatsPerMeasure);
this.interval = null;
this.tempoInMilliseconds = this.tempoToMilliseconds(this.tempo);
}
Metronome.prototype.start = function(){
this.interval = window.setInterval(metronomeSoundAndView, th... | JavaScript | 0.000227 | @@ -814,16 +814,114 @@
.wav');%0A
+ createSubdivisions(metronome, 3);%0A%7D%0A%0AcreateSubdivisions = function(metronome, divideTheBeatIn)%7B%0A
var su
@@ -983,9 +983,23 @@
ds)/
-5
+divideTheBeatIn
;%0A
@@ -1006,17 +1006,17 @@
var i =
-0
+1
;%0A var
@@ -1070,28 +1070,8 @@
++;%0A
- console.log(i);%0A
... |
44bba24ffca5c5484bd1b44e37bd50b2044d506a | Add reform headers | js/openfisca.js | js/openfisca.js | import UI from './ui'
/** Serializes a shallow object into a series of query string parameters.
* A naive and shallow implementation.
*
*@param {Object} source
*@returns {String} The source object as a query string (with no leading '?').
*@private
*/
const serializeObject = source =>
Object.keys(source)
.map(key =... | JavaScript | 0 | @@ -1092,16 +1092,117 @@
t(input)
+,%0A%09%09headers = input%5B'salaire_net_a_payer'%5D ? %7B%0A%09%09%09'x-OpenFisca-Extensions': 'de_net_a_brut',%0A%09%09%7D : %7B%7D
%0A%0A%09if (!
@@ -1235,16 +1235,27 @@
etch(url
+, %7Bheaders%7D
)%0A%09%09.the
|
42a2f14bca7dadf92046ea5327206275005a1ef6 | Update angular to 1.4.0 | index.js | index.js | 'use strict';
var data = module.exports = {
jquery: {
versions: ['2.1.4', '2.1.3', '2.1.1', '2.1.0', '2.0.3', '2.0.2', '2.0.1', '2.0.0', '1.11.1', '1.11.0', '1.10.2', '1.10.1', '1.10.0', '1.9.1', '1.9.0', '1.8.3', '1.8.2', '1.8.1', '1.8.0', '1.7.2', '1.7.1', '1.7.0', '1.6.4', '1.6.3', '1.6.2', '1.6.1', '1.6.0', ... | JavaScript | 0.000002 | @@ -1970,24 +1970,43 @@
Versions = %5B
+'1.4.0', '1.3.16',
'1.3.15', '1
|
d5cdec69b3b4fad7867d88799793d49bcf69df85 | Refactor controller from feedback | src/apps/companies/apps/exports/controllers.js | src/apps/companies/apps/exports/controllers.js | /* eslint-disable camelcase */
const { get, set } = require('lodash')
const metadataRepo = require('../../../../lib/metadata')
const urls = require('../../../../lib/urls')
const groupExportCountries = require('../../../../lib/group-export-countries')
const getExportCountries = require('../../../../lib/get-export-count... | JavaScript | 0 | @@ -3926,28 +3926,33 @@
nction c
-reateC
ountry
+ToTypeahead
Option(c
@@ -4029,59 +4029,54 @@
ion
-getC
+c
ountr
-yValues(countries) %7B%0A if (countries
+iesToTypeaheadOptions(countries = %5B%5D
) %7B%0A
-
re
@@ -4099,44 +4099,32 @@
ap(c
-reateCountryOption)%0A %7D%0A%0A return %5B%5D
+ountryToTypeahea... |
9243c304f243aac6d9141ba4a175ce2e340fc6f8 | Migrate localStorage persistence if present | extension/my-style.js | extension/my-style.js | // asynchronous self-invoking function to not pollute global namespace
(function(window, document, undefined) {
var TAB_KEY_CODE = 9;
var M_KEY_CODE = 77;
var SOFT_TAB = ' ';
var SOFT_TAB_LENGTH = SOFT_TAB.length;
var ONLY_WHITESPACE_REGEX = /^\s*$/;
var WHITESPACE_SPLIT_REGEX = /\s+$/g;
/* Throttle... | JavaScript | 0 | @@ -2019,15 +2019,269 @@
-return;
+// migrate old localStorage persistence if present%0A if (localStorage.myStyle) %7B%0A savedStyles = savedStyles %7C%7C %7B%7D;%0A savedStyles%5BgetStorageKey()%5D = localStorage.myStyle;%0A saveStyles();%0A %7D else %7B%0A retur... |
7f3424575f2a073009c9248724429d45ca9bf563 | use rest/spread | extension/my-style.js | extension/my-style.js | // asynchronous self-invoking function to not pollute global namespace
(function(window, document, undefined) {
var TAB_KEY_CODE = 9;
var M_KEY_CODE = 77;
var SOFT_TAB = ' ';
var SOFT_TAB_LENGTH = SOFT_TAB.length;
var ONLY_WHITESPACE_REGEX = /^\s*$/;
var WHITESPACE_SPLIT_REGEX = /\s+$/g;
/* Throttle... | JavaScript | 0.000105 | @@ -695,20 +695,27 @@
ttledFn(
+...args
) %7B%0A
-
if
@@ -742,135 +742,8 @@
) %7B%0A
- // keep track of the arguments to the function and the context%0A var args = arguments;%0A var that = this;%0A%0A
@@ -857,21 +857,12 @@
fn
-.apply(that,
+(...
args
|
8c71c5137e827b8928d0eb98044a7f934ec42f6a | define diff in one line | diffHistory.js | diffHistory.js | const omit = require('omit-deep');
const pick = require('lodash.pick');
const mongoose = require('mongoose');
// try to find an id property, otherwise just use the index in the array
const objectHash = (obj, idx) => obj._id || obj.id || `$$index: ${idx}`;
const diffPatcher = require('jsondiffpatch').create({ objectHas... | JavaScript | 0.000319 | @@ -619,24 +619,8 @@
ff =
- %7B%7D;%0A%0A diff =
dif
|
37126661a3f96c12d79a18b994279233fc3ea3f1 | fix AddTodo validation | src/containers/AddTodo.js | src/containers/AddTodo.js | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { addTodo } from '../actions/index';
import './AddTodo.css';
const validate = async (text) => {
if(text.replace(/\s/g,'').length === 0){ throw new Error("Can't be blank"); }
};
class AddTodo extends React.... | JavaScript | 0 | @@ -242,16 +242,20 @@
=== 0)%7B
+%0A
throw n
@@ -281,16 +281,46 @@
blank%22);
+%0A %7D else %7B%0A return text;%0A
%7D%0A%7D;%0A%0A%0A
@@ -676,16 +676,25 @@
(
+validText
) =%3E %7B%0A
@@ -723,32 +723,25 @@
addTodo(
-this.input.value
+validText
));%0A
|
bb429e0bf493731ab56e1124b292252dba3b47bf | add email validation to project report form | src/c/project-report.js | src/c/project-report.js | /**
* window.c.projectReport component
* Render project report form
*
*/
import m from 'mithril';
import models from '../models';
import h from '../h';
import postgrest from 'mithril-postgrest';
const projectReport = {
controller(args) {
let displayForm = h.toggleProp(false, true),
sendSucc... | JavaScript | 0 | @@ -2615,16 +2615,223 @@
nsubmit:
+ h.validate().submit(%5B%0A %7B%0A prop: ctrl.email,%0A rule: 'email'%0A %7D%0A %5D,
ctrl.se
@@ -2838,16 +2838,17 @@
ndReport
+)
%7D,%0A ... |
7a6b0a5e92d995873768b971c29eaee278904127 | Fix not parsing JSON issue | index.js | index.js | var request = require("request"); /* we need this to send requests to the server */
module.exports = {
/* this object becomes available inside what require() returns */
convert: function(url, from, to, callback) {
/* this function allows conversion of a file from one format to another */
requ... | JavaScript | 0.000025 | @@ -940,37 +940,49 @@
callback(
+JSON.parse(
body)
+)
;%0A %7D
@@ -1037,21 +1037,33 @@
allback(
+JSON.parse(
body)
+)
;%0A
|
c7dac6982a800450b1f3ee91125f1e1261b894f1 | test 08.08.16 v8.98a23a | src/containers/App/App.js | src/containers/App/App.js | import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
import { IndexLink } from 'react-router';
import { LinkContainer } from 'react-router-bootstrap';
import Navbar from 'react-bootstrap/lib/Navbar';
import Nav from 'react-bootstrap/lib/Nav';
import NavItem from 'react-bootstrap/l... | JavaScript | 0.000001 | @@ -2045,16 +2045,18 @@
userName
+ +
'2: ' +
|
783dad03ee324a3c2dec7b57597e26ced5cdbb1f | Rename deviceId key name | index.js | index.js | 'use strict';
/**
* Module dependencies.
*/
var superagent = require('superagent-defaults')()
, config = require('./lib/config')
, cookies = require('./lib/cookie')
, cookieJar = cookies.jar();
/**
* Set request defaults required for iCloud.
*/
superagent.set({
'Origin': config.base_... | JavaScript | 0.000003 | @@ -2200,16 +2200,18 @@
device
+Id
: device
|
2488067fe399c4da6680aa9d7542df96c2e3b923 | Fix import dependencies on sprites.js | gulp/tasks/sprites.js | gulp/tasks/sprites.js | /**
* __projectname__ - by Henrique Arthur <eu@henriquearthur.me>
*
* Generate Sprites from sprites folder
*
*/
var paths = require('../config').paths;
var browserSync = require('../browserSync').browserSync;
var gulp = require('gulp');
var spritesmith = require('gulp.spritesmith');
var buffer ... | JavaScript | 0.000003 | @@ -426,16 +426,100 @@
gemin');
+%0Avar gulpif = require('gulp-if');%0Avar dotenv = require('dotenv').config();
%0A%0Agulp.t
|
e9da08fff7858f4e0533465b64367b4e1700174e | Fix settings icon container | src/containers/TabPage.js | src/containers/TabPage.js | import React, { Component } from 'react';
import Layout from 'react-toolbox/lib/layout/Layout';
import Panel from 'react-toolbox/lib/layout/Panel';
import { Container as BackgroundContainer } from '@modules/background';
import { Container as QuotesContainer } from '@modules/quotes';
import { Container as ClockContainer... | JavaScript | 0 | @@ -980,24 +980,62 @@
ner_right%22%3E%0A
+ %3Cdiv%3E%0A
@@ -1126,16 +1126,20 @@
+
+
%3CFaCogs
@@ -1137,24 +1137,63 @@
%3CFaCogs /%3E%0A
+ %3C/div%3E%0A
|
6ed2d3638a5b6cd51fc140e29b1188fb86b44ecc | test zero bind | suite.js | suite.js | void function() {
function createNode(jb) {
const div = document.createElement('div');
div.appendChild(jb.root);
return div;
}
test('parse from template node', function() {
const t = document.createElement('template');
t.innerHTML = `Test: {{name}}`;
const out = JSBind(t, {name: 'Sam'});... | JavaScript | 0.000003 | @@ -690,16 +690,17 @@
'Jim'%7D)
+;
%0A ass
@@ -738,32 +738,276 @@
: Jim');%0A %7D);%0A%0A
+ test('zero bind', function() %7B%0A const out = JSBind('Test: %7B%7B%7D%7D', 'Value');%0A const node = createNode(out);%0A assert.equal(node.innerHTML, 'Test: Value');%0A out.update('', 'Sam');%0A assert.... |
b4edf8b5e4441384bdfa8556548596c00a64113a | Add an explanantion for starting a new cucumber process and capturing stdout in order to get the results on file. | gulp/tasks/testing.js | gulp/tasks/testing.js | // Use the gulp-help plugin which defines a default gulp task
// which lists what tasks are available.
var gulp = require('gulp-help')(require('gulp'));
// Process and file manipulation to capture stdout
// from the Cucumber tests.
var spawn = require('child_process').spawn;
var fs = require('fs');
// Sequential Gulp... | JavaScript | 0 | @@ -1825,16 +1825,329 @@
o file.%0A
+// Starting a new Cucumber process and captuting stdout is a work around%0A// Until CucmberJS supports arbitrary plugins at which point I'd%0A// hope a stream based reporter could be to gulp-cucumber and the%0A// results could be put in file in the normal Gulp way%0A// https://gith... |
571fd32bcee3d069d5f30167a887b47efd492f01 | fix #13220 Scrollspy generates wrong offsets for a page-- recalculate offsets if `scrollheight` changes | js/scrollspy.js | js/scrollspy.js | /* ========================================================================
* Bootstrap: scrollspy.js v3.1.1
* http://getbootstrap.com/javascript/#scrollspy
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/b... | JavaScript | 0 | @@ -1116,16 +1116,44 @@
= null
+%0A this.scrollHeight = 0
%0A%0A th
@@ -1321,24 +1321,209 @@
et: 10%0A %7D%0A%0A
+ ScrollSpy.prototype.getScrollHeight = function () %7B%0A return this.$scrollElement%5B0%5D.scrollHeight %7C%7C Math.max(this.$body%5B0%5D.scrollHeight, document.documentElement.scrollHeig... |
ed3e84de5312c82cce214ed4e3799e487e763f64 | wrap next into seqnum | index.js | index.js | var toNum = function (str) {
if (!str || typeof str !== 'string') {
throw new Error('non-string input');
}
var i, j = str.length;
var num = new Array(j);
var c;
for (i = 0; i < j; i++) {
c = str.charCodeAt(i);
if (c < 48 || c > 57) {
throw new Error('non-numeric string');
}
num[i] ... | JavaScript | 0.999997 | @@ -770,24 +770,30 @@
() %7B return
+mkNum(
nextNum(num)
@@ -788,24 +788,25 @@
nextNum(num)
+)
; %7D,%0A toS
|
ace26300e24356dfccd5a693efe353781a43bc12 | remove karma warning | config/karma.conf.js | config/karma.conf.js | 'use strict';
/*eslint no-process-env: 0*/
var path = require('path');
module.exports = function(config) {
var configuration = {
basePath: path.join(__dirname, '..'),
frameworks: ['browserify', 'jasmine'],
files: [
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js',
'bow... | JavaScript | 0.000336 | @@ -310,73 +310,8 @@
s',%0A
-%09%09%09'bower_components/br-validations/releases/br-validations.js',%0A
%09%09%09'
|
b42e95ea1de942685293981d143cdfe19abf7e3b | Add `react/no-unsafe` rule | index.js | index.js | 'use strict';
module.exports = {
parserOptions: {
ecmaFeatures: {
jsx: true
}
},
plugins: [
'react'
],
rules: {
'react/boolean-prop-naming': 'error',
'react/button-has-type': 'error',
'react/jsx-child-element-spacing': 'error',
'react/default-props-match-prop-types': 'error',
'react/no-access-st... | JavaScript | 0.000011 | @@ -957,32 +957,62 @@
erty': 'error',%0A
+%09%09'react/no-unsafe': 'error',%0A
%09%09'react/no-unus
|
73e76a94a04e27e3f3efd01b131fa5576c339fbd | Add toggleapp function to conductor | conductor.js | conductor.js | // Keith's [Conductor](https://github.com/keith/conductor) config
var modifiers = ["ctrl", "cmd"];
var padding = 2;
function windowToGrid(win, x, y, width, height) {
var screen = win.screen().frameIncludingDockAndMenu();
win.setFrame({
x: Math.round(x * screen.width) + padding + screen.x,
y: Math.round(y ... | JavaScript | 0 | @@ -1939,16 +1939,190 @@
%7D);%0A%7D%0A%0A
+function toggleapp(name) %7B%0A var currentApp = Window.focusedWindow().app();%0A if (currentApp.title() === name) %7B%0A currentApp.hide()%0A %7D else %7B%0A api.launch(name)%0A %7D%0A%7D%0A%0A
api.bind
@@ -3049,28 +3049,99 @@
) %7B
-api.launch(%22Messages
+to... |
b1338f6ef390d66073b94df13565cd0c51bc2699 | change ssl path | config/env/all.js | config/env/all.js | 'use strict';
var path = require('path'),
rootPath = path.normalize(__dirname + '/../..');
var applicationPort=3000;
var nonSSLPort=applicationPort;
var applicationUrl="http://localhost:3000/";
var fbAppID="1695445710701793";
var applicationName="2016 Rizers"; //check rizeHead.html, rizeSEO.html - used in title/me... | JavaScript | 0.000001 | @@ -883,67 +883,105 @@
etc/
-apache2/SSL/rizing.org.key';%0A sslCert='/etc/apache2/SSL/
+letsencrypt/live/watch2016.rizing.org/privkey.pem';%0A sslCert='/etc/letsencrypt/live/watch2016.
rizi
@@ -986,20 +986,25 @@
zing.org
-.crt
+/cert.pem
';%0A s
@@ -1018,39 +1018,55 @@
etc/
-apache2/SSL/gd_bundle-g2-g1.c... |
274921457d9ae1ece4a8fd789c52f47107056704 | Make subs visible so hide() works. CSS now sets display:none, so this is necessary for animations to work. | js/superfish.js | js/superfish.js |
/*
* Superfish v1.5.11 - jQuery menu widget
* Copyright (c) 2013 Joel Birch
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
;(function($){
$.fn.superfish = function(op){
var sf = $.fn.superfish,
c = sf.... | JavaScript | 0 | @@ -3651,31 +3651,42 @@
cClass).
+c
hi
-deSuperfishUl
+ldren('ul').show().hide
();%0A%09%09%09%0A
|
caafe17f68c82ecda669254e80fb207c395025c3 | Add Blockly essential dependency into assets. | config/env/all.js | config/env/all.js | 'use strict';
module.exports = {
app: {
title: 'Cake',
description: 'Full-Stack JavaScript with MongoDB, Express, AngularJS, and Node.js',
keywords: 'MongoDB, Express, AngularJS, Node.js'
},
port: process.env.PORT || 3000,
templateEngine: 'swig',
sessionSecret: 'MEAN',
sessionCollection: 'sessions',
asset... | JavaScript | 0 | @@ -1221,24 +1221,221 @@
mpressed.js'
+,%0A%09%09%09'public/modules/ide/blockly/msg/js/en.js',%0A%09%09%09'public/modules/ide/blockly/generators/cake.js',%0A%09%09%09'public/modules/ide/blockly/generators/cake/*.js',%0A%09%09%09'public/modules/ide/blockly/blocks/*.js'
%0A%09%09%5D,%0A%09%09test
|
8a4c43c868d3299d9d1ebfeb1cb95288eeb2f57e | Fixes +2411. Make true and false booleans | configure.js | configure.js | define(function(require, exports, module) {
main.consumes = [
"Plugin", "dialog.error", "ui", "settings", "tabManager", "save",
"menus", "preferences.keybindings", "preferences.general",
"preferences.project", "c9", "commands"
];
main.provides = ["configure"];
return main;
... | JavaScript | 0.999999 | @@ -6615,32 +6615,122 @@
ject, 0, %22 %22)
+%0A .replace(/%22true%22/g, %22true%22)%0A .replace(/%22false%22/g, %22false%22)
;%0A op
@@ -6898,16 +6898,106 @@
%22 %22)
+%0A .replace(/%22true%22/g, %22true%22)%0A .replace(/%22false%22/g, %22... |
9c6fc01ce6313b5dfa7865bf38cdc9a99f55cfd1 | use BADGE_ASSERTION_HOST when sending badges to backpack, use Badge instead of EarnedBadge | troposphere/static/js/components/badges/MyBadges.react.js | troposphere/static/js/components/badges/MyBadges.react.js | define(function (require) {
"use strict";
var React = require('react'),
Router = require('react-router'),
Badge = require('./Badge.react'),
actions = require('actions'),
EarnedBadge = require('./EarnedBadge.react'),
stores = require('stores'),
actions = require('actions'),
... | JavaScript | 0 | @@ -192,27 +192,22 @@
,%0A
-EarnedBadge
+stores
= requi
@@ -214,27 +214,14 @@
re('
-./EarnedBadge.react
+stores
'),%0A
@@ -218,37 +218,38 @@
stores'),%0A
-store
+global
s = require('sto
@@ -237,37 +237,38 @@
bals = require('
-store
+global
s'),%0A actio
@@ -846,49 +846,362 @@
-assertions... |
8f764446c78f4d298ecd66cbd21ad39b2a428a84 | Enable express CORS | config/express.js | config/express.js | var express = require('express')
,load = require('express-load')
,bodyParser = require('body-parser')
,sequelize = require('sequelize')
,config = require('./config.js')
,database = require('./database.js')
db = database.get();
module.exports = function() {
var app = express();
var port = config.getPort();
... | JavaScript | 0.001037 | @@ -545,24 +545,226 @@
ride')());%0A%0A
+%09app.use(function(req, res, next) %7B%0A%09 res.header(%22Access-Control-Allow-Origin%22, %22*%22);%0A%09 res.header(%22Access-Control-Allow-Headers%22, %22Origin, X-Requested-With, Content-Type, Accept%22);%0A%09 next();%0A%09%7D);%09%0A%0A
%09app.set('vi
@@ -785,16 +785... |
a062ab8cca29bb3aa0169052cde70fa0b3c327ea | Add dataset-wrangling code from this morning. | js/visualize.js | js/visualize.js | var timeline = { "svg": null,
"g": null,
"x": null,
"y": null,
"margin": {top: 0, right: 0, bottom: 0, left: 0}
};
timeline.width = parseInt(d3.select('#timeline-div').style('width'), 10);
timeline.width = timeline.width - timeline.margin.left - timeline.margin.right;
timeline.height = 80 - timeline.mar... | JavaScript | 0.000003 | @@ -1983,12 +1983,1804 @@
rTimeline();
+%0A%0A%0A// Initialized when data is loaded.%0Adataset = null;%0A%0A// This function loads our CSV dataset, parsing into per-row JSON objects.%0Afunction load_dataset(callback) %7B%0A var parseDate = d3.timeParse(%22%25m/%25d/%25Y%22);%0A d3.csv(%22data/historical_nav.csv%... |
d664dc2256931448d8d045c99b9ba5961de911d6 | Change geocoder to google map | src/Biopen/GeoDirectoryBundle/Resources/js/element-form/init-map.js | src/Biopen/GeoDirectoryBundle/Resources/js/element-form/init-map.js | /**
* This file is part of the MonVoisinFaitDuBio project.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @copyright Copyright (c) 2016 Sebastian Castro - 90scastro@gmail.com
* @license MIT License
* @Last Modified time: 2017-05... | JavaScript | 0.998334 | @@ -316,21 +316,21 @@
17-0
-5-05 08:40:48
+6-29 10:25:15
%0A */
@@ -1295,23 +1295,30 @@
der(
-'openstreetmap'
+%7B'provider': 'google'%7D
);%0A%09
|
8cc96f66dac37e459d9ace8c3ee21abe9320b6d6 | Fix generate_svg_images to use makeTree for mkdir recursively | tools/generate_svg_images.js | tools/generate_svg_images.js | /*
Run the full VexFlow test suite, grab the generated images, and
dump them into a local directory as SVG files.
This meant to be used with the visual regression test system in
`tools/visual_regression.sh`.
Quick commandline to convert the SVG files to PNG:
$ for f in *.svg; do echo $f; rsvg-convert $f... | JavaScript | 0.000005 | @@ -857,17 +857,12 @@
make
-Directory
+Tree
(VF.
|
222f5340407f6411ccff1e0c639fcc645bfc0662 | Add theme prefix | index.js | index.js | /* jshint node: true */
'use strict';
var Theme = require('untitled-ui/theme');
module.exports = Theme.extend({
name: 'ui-base-theme'
});
| JavaScript | 0.000001 | @@ -130,13 +130,31 @@
e-theme'
+,%0A prefix: 'base'
%0A%7D);%0A
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.