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
0baf1e9538cb1ac86ce96377c5a44d28eddfd584
Update bacon.model.js
dist/bacon.model.js
dist/bacon.model.js
(function() { var Bacon, init, __slice = [].slice; init = function(Bacon) { var Lens, Model, defaultEquals, fold, globalModCount, id, idCounter, isModel, nonEmpty, sameValue, shallowCopy, valueLens; id = function(x) { return x; }; nonEmpty = function(x) { return x.length > 0; };...
JavaScript
0.000001
@@ -7178,22 +7178,16 @@ ;%0A %7D%0A - %7D%0A modu
84cd7a0248b7cb54a87eb6013e9a59ce56274fa1
Update jQuery path in tests too
test/test-creation.js
test/test-creation.js
/*global describe, beforeEach, it*/ 'use strict'; var path = require('path'); var fs = require('fs'); var helpers = require('yeoman-generator').test; var temp = require('temp'); var assert = require('assert'); var exec = require('child_process').exec; var async = require('async'); // # TESTS describe('playground gene...
JavaScript
0
@@ -3480,32 +3480,37 @@ mponents/jquery/ +dist/ jquery.js'),%0A @@ -4018,16 +4018,21 @@ /jquery/ +dist/ jquery.j @@ -6150,28 +6150,29 @@ done();%0A %7D);%0A %7D;%0A%7D +%0A
1dd95d4a2411dd77e8be40b465793952a7743876
Update img-preload.js
dist/img-preload.js
dist/img-preload.js
/*! * jQuery-Img-Preload - 16th Out 2015 * https://github.com/miamarti/jquery-img-preload * * Licensed under the MIT license. * http://opensource.org/licenses/MIT */ $.imgPreload = function(){ var options; var planned = 0; var loaded = 0; var callback = new Function(); if(typeof arguments[1] ...
JavaScript
0.000001
@@ -193,612 +193,348 @@ ion( -)%7B%0A var options;%0A var planned = 0;%0A var loaded = 0;%0A var callback = new Function();%0A%0A if(typeof arguments%5B1%5D === 'function')%7B%0A callback = arguments%5B1%5D;%0A options = arguments%5B2%5D;%0A %7D else %7B%0A options = arguments%5B...
fa9748caae2b33e8fec7bc751667162022774702
fix naming
src/components/RevealAuction/RevealAuctionInfo.js
src/components/RevealAuction/RevealAuctionInfo.js
import React from 'react'; import {momentFromNow} from '../../lib/util'; import Button from 'material-ui/Button'; import Card, { CardActions, CardContent } from 'material-ui/Card'; import Typography from 'material-ui/Typography'; import './RevealAuctionInfo.css'; export const RevealAuctionInfo = (props) => { const e...
JavaScript
0.782388
@@ -312,25 +312,25 @@ const ends -m +M omentFromNow @@ -993,17 +993,17 @@ iv%3E%7Bends -m +M omentFro
c90be5e3c1ab10e20bea8fd6cf30739289339dd2
set different doc homepage from v3.26.1 onward
scripts/generate_documentation_list.js
scripts/generate_documentation_list.js
#!/usr/bin/env node /* eslint-env node */ /** * Generate documentation list * =========================== * * ## How it works * * This script will generate a page listing the documentation from various * versions of the rx-player. * * The documentation should entirely be present in a directory called: * `/ve...
JavaScript
0
@@ -2405,86 +2405,186 @@ i%5D;%0A +%0A // -const versionAsNumber = +version.split(%22.%22).join();%0A const dirPath = +documentation homepage changed for the v3.26.1%0A const dirPath = semver.gte(version, %223.26.1%22) ?%0A path.join(INITIAL_PATH, version, %22doc/api/Overview.html%22) :%0A pat ...
2f88de854fa7ce9fc7d49928d77064f8b7674a99
introduce tryCatch()
server/08-functional/004-chain.spec.js
server/08-functional/004-chain.spec.js
/*eslint no-shadow: "off"*/ /*eslint no-unused-vars: "off"*/ /*eslint eqeqeq: "off"*/ import fs from 'fs'; const Right = x => ({ map: f => Right(f(x)), fold: (f, g) => g(x), inspect: () => `Right(${x})` }); const Left = x => ({ map: f => Left(x), fold: (f, g) => f(x), inspect: () => `Left(${x})` }); cons...
JavaScript
0
@@ -385,23 +385,24 @@ nst -getPort = () +tryCatch = f =%3E + %7B%0A @@ -415,17 +415,111 @@ -const s +return Right( f() );%0A %7D catch (e) %7B%0A return Left(e);%0A %7D%0A%7D;%0A%0Aconst getPort = () =%3E%0A tryCatch(() = +%3E fs. @@ -570,28 +570,21 @@ on') -;%0A const config +)%0A .map(c ...
895a79047c0c76eef9dffc74da720a52cefef12e
refactor PUT request
server/api/photos/photos.controller.js
server/api/photos/photos.controller.js
//helpful: http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-examples.html var controller = module.exports; var request = require('request'); var Photo = require('./photos.model.js'); var seed = require('./photos.seed.js'); var AWS = require('aws-sdk'); AWS.config.region = 'us-west-1'; var s3 = new AWS.S3(); var ...
JavaScript
0.000084
@@ -257,41 +257,8 @@ ');%0A -AWS.config.region = 'us-west-1';%0A var @@ -2728,17 +2728,17 @@ : 'base9 -P +p hotos', @@ -2860,16 +2860,77 @@ n(url);%0A + fs.createReadStream('candles.jpg').pipe(request.put(url));%0A %7D%0A%0A%0A%0A%0A%0A%0A
3d0f59d99c520f4fa8d90734c94baad26dae5f1f
Create User API
server/controllers/login.controller.js
server/controllers/login.controller.js
var mongoose = require('mongoose'); require('../models/session'); require('../models/user') var SessionSchema = require('mongoose').model('Session').schema; var UserSchema = require('mongoose').model('User').schema; var bigrandom = require('bigrandom'); /** *Create a new user account */ function generateUserAccount(u...
JavaScript
0
@@ -340,27 +340,8 @@ ail, -firstname,lastname, isad @@ -440,16 +440,17 @@ username +, %0A 'pa @@ -466,16 +466,17 @@ password +, %0A 'em @@ -486,16 +486,40 @@ ': email +,%0A 'isAdmin': isAdmin %0A %7D;%0A @@ -755,16 +755,15 @@ %7D - ; %0A ) +; %0A%7D%0A/
d27d7de30409606dc8ae27276cb41085308238ba
remove team from Task
server/models/Task.js
server/models/Task.js
"use strict"; module.exports = function(imports) { let mongoose = imports.modules.mongoose; let Schema = mongoose.Schema; let ObjectId = Schema.Types.ObjectId; let taskSchema = new Schema({ name: { type: String, required: true }, description: { ...
JavaScript
0.000018
@@ -375,115 +375,8 @@ %7D,%0A - team: %7B%0A type: ObjectId,%0A ref: %22Team%22,%0A required: true%0A %7D,%0A
7e378e40494c1e03771abbec1ce29f69cf8cd0dc
add comments for possible future refactoring
data/socket.js
data/socket.js
// core frameworks var io = require('socket.io')(server); var _ = require('underscore'); var repo = require('./repository'); // sockets! io.on('connection', function(socket){ socket.on("joinRoom", function(data){ socket.join(data.roomkey, function(error){ socket.username = data.username; repo.createU...
JavaScript
0
@@ -1,12 +1,12 @@ // -c +C ore fram @@ -122,17 +122,17 @@ ');%0A%0A// -s +S ockets!%0A @@ -168,16 +168,39 @@ socket)%7B +%0A%0A // User enters room %0A socke @@ -2218,24 +2218,66 @@ username);%0A + // Possible to get around setTimeout?%0A setTimeo @@ -2914,24 +2914,66 @@ e, cardId);%0A + // Poss...
aab7eef7b322176d5719af3b4493034ab90aaf69
Fix primary key bug
server/models/user.js
server/models/user.js
module.exports = (sequelize, DataTypes) => { const User = sequelize.define('User', { username: { type: DataTypes.STRING, allowNull: false, unique: true, }, password: { type: DataTypes.STRING, allowNull: false, }, email: { type: DataTypes.STRING, allowNull:...
JavaScript
0.000003
@@ -646,16 +646,19 @@ %7B%0A + // as: 'Me @@ -688,13 +688,12 @@ y: ' -group +user Id', @@ -718,16 +718,17 @@ serGroup +s ',%0A %7D
38284608ed476aa3c47ce0fb3e9f554e4d4422c1
Fix bug
lib/RedshiftBulkInsert.js
lib/RedshiftBulkInsert.js
var aws = require('aws-sdk'); var _ = require('underscore'); var util = require('util'); var SimpleFileWriter = require('simple-file-writer'); var log4js = require('log4js'); var path = require('path'); var fs = require('fs'); var events = require('events'); var EventEmitter = events.EventEmitter; var logger = log4js...
JavaScript
0.000001
@@ -1573,16 +1573,22 @@ th.join( +this._ pathToLo @@ -1779,26 +1779,19 @@ + this._ -date.now() +pid + '_' + @@ -1797,19 +1797,26 @@ + this._ -pid +date.now() + this. @@ -2534,20 +2534,17 @@ );%0A%09var -oldP +p athToFil @@ -2609,12 +2609,9 @@ ile( -oldP +p athT
781a1d833e3a1d4cd37b5a039bce96d99ef7aaf1
Remove Async.wrap tests
tests/hijack/async.js
tests/hijack/async.js
Tinytest.add( 'Async - track with Meteor._wrapAsync', function (test) { EnableTrackingMethods(); var methodId = RegisterMethod(function () { var wait = Meteor._wrapAsync(function(waitTime, callback) { setTimeout(callback, waitTime); }); wait(100); }); var client = GetMeteo...
JavaScript
0.000001
@@ -552,37 +552,24 @@ eanTestData( -'methodstore' );%0A %7D%0A);%0A%0AT @@ -1243,1915 +1243,8 @@ ata( -'methodstore');%0A %7D%0A);%0A%0ATinytest.add(%0A 'Async - track with Async.wrap with error',%0A function (test) %7B%0A test.fail('Async not defined');%0A // EnableTrackingMethods();%0A // var methodId...
68ef34ed4fcd1c7314616ac1e38419f703fe3e0e
test numbers for length rule
tests/rules/length.js
tests/rules/length.js
import validate from './../../src/rules/length'; test('validates number of characters in a string', () => { // exact length expect(validate('hey', [3])).toBe(true); expect(validate('hello', [3])).toBe(false); // min-max expect(validate('hey', [4, 5])).toBe(false); expect(validate('hello', [3, 5...
JavaScript
0.000001
@@ -1458,28 +1458,132 @@ %5B3, 5%5D)).toBe(false);%0D%0A%7D);%0D%0A +%0D%0Atest('validates strings consisting of numbers', () =%3E %7B%0D%0A expect(validate(123, %5B3%5D)).toBe(true);%0D%0A%7D);
927e497b758ce2cb956311e321c5c38a00d377aa
Remove deprecated Audio view reference (#3210)
share/spice/sound_cloud/sound_cloud.js
share/spice/sound_cloud/sound_cloud.js
(function(env) { "use strict" var query = DDG.get_query(); query = query.replace(/\bsound ?cloud\b/, "").replace(/\bsc\b/, "").trim(); //replace trigger words from query env.ddg_spice_sound_cloud = function() { $.getJSON("/js/spice/sound_cloud_result/" + encodeURIComponent(query), sound_cloud)...
JavaScript
0
@@ -1153,21 +1153,25 @@ view: ' -Audio +GridTiles ',%0A
911b18c0d1e86d16e8e58fa450020ceed65c84e6
Update add-private-person.js
lib/add-private-person.js
lib/add-private-person.js
'use strict' function generateMetadataPrivatePerson (options) { if (!options) { throw new Error('Missing required input: options') } if (!options.firstName) { throw new Error('Missing required input: options.firstName') } if (!options.lastName) { throw new Error('Missing required input: options.l...
JavaScript
0.000001
@@ -1331,40 +1331,8 @@ R',%0A - County: 'Telemark',%0A
a1284f1be70ba643b23b17285b13119488e15bcc
Read the dependencies from the file
dependument.js
dependument.js
#!/usr/bin/env node (function() { "use strict"; const fs = require('fs'); const CONFIG_FILE = "package.json"; console.log(readFile(CONFIG_FILE)); function readFile(path) { let contents = fs.readFileSync(path); return JSON.parse(contents); } })();
JavaScript
0.000001
@@ -118,43 +118,357 @@ %0A%0A -console.log(readFile(CONFIG_FILE)); +(function() %7B%0A let file = readFile(CONFIG_FILE);%0A%0A let dependencies = getDependencies(file);%0A%0A console.log(dependencies);%0A %7D)();%0A%0A function getDependencies(file) %7B%0A let dependencies = file.dependencies;%0A%0A ...
eea57debe3e30803b2c0180714297e959082a254
Move error handling to be local to function
valve/udpToGrain.js
valve/udpToGrain.js
/* Copyright 2015 Christine S. MacNeill Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli cable law or agreed to in wr...
JavaScript
0
@@ -5155,16 +5155,21 @@ ipeline( +%0A H.consum @@ -5182,13 +5182,89 @@ onsumer) +,%0A H.errors(function (err, push) %7B console.error('udpToGrain: ' + err) %7D) );%0A%7D%0A
3cf7256c57a1e8b951f2707e29c010fb49e74ecf
Fix getShareUrl() function
skylines/frontend/static/js/general.js
skylines/frontend/static/js/general.js
/** * Pads a number with leading zeros * * @param {Number} num Number to pad * @param {Number} size Width of returned string * @return {String} Padded number */ function pad(num, size) { var s = '000000000' + num; return s.substr(s.length - size); } /** * Returns the URL for the current page and add pinned...
JavaScript
0.000003
@@ -689,16 +689,20 @@ %0A%0A var +url_ ids = ur @@ -727,185 +727,112 @@ ,'). -concat(pinnedFlights);%0A%0A var unique_ids = %5B%5D;%0A for (var i in ids) %7B%0A if ($.inArray(parseInt(ids%5Bi%5D), unique_ids) == -1) %7B%0A unique_ids.push(parseInt(ids%5Bi%5D));%0A %7D%0A %7D +map(function(it) %7B ret...
1d8463a6ca071dab4ec2d39f298676175882b2e3
Add keywords
lib/autocomplete/index.js
lib/autocomplete/index.js
"use strict"; // Load dependent modules var CodeHintManager = brackets.getModule("editor/CodeHintManager"); var TokenUtils = brackets.getModule("utils/TokenUtils"); var htmlStructure = require('./html-structure.js'); var tags = htmlStructure.tags; var TAG_NAME = 'tag'; /** * Creates a tagInfo object and assures al...
JavaScript
0.000002
@@ -265,16 +265,225 @@ = 'tag'; +%0Avar KEYWORDS = %5B%0A %22include%22,%0A %22extends%22,%0A %22if%22,%0A %22else%22,%0A %22each%22,%0A %22while%22,%0A %22case%22,%0A %22when%22,%0A %22default%22,%0A %22mixin%22,%0A %22yield%22,%0A %22doctype%22,%0A %22append%22,%0A %22prepend%22,%0A %22block%22,%0A %...
fe630f17e06130dc3b986261c935fa95b528475d
Fix typo: requre => require
lib/backend/connection.js
lib/backend/connection.js
/** * var connection = new Connection({ tag: 'kotoumi', * hostName: 'localhost', * port: 24224, * receiveHostName: 'localhost', * receivePort: 10...
JavaScript
0.999987
@@ -435,16 +435,17 @@ r = requ +i re('./re
436c04ebcb2109fb9796240f246d2f712cfd69fe
Implement search by line number. Seems to work.
lib/build-test-modules.js
lib/build-test-modules.js
var glob = require('glob') var path = require('path') var _ = require('lodash') module.exports = function (locator, cwd) { var currentTestOrdinal = 0 var criteria = criteriaFor(locator) return _.map(glob.sync(criteria.glob), function (file) { var testModule = require(path.resolve(cwd, file)) var tests =...
JavaScript
0
@@ -72,16 +72,99 @@ lodash') +%0Avar fs = require('fs')%0Avar functionNamesAtLine = require('function-names-at-line') %0A%0Amodule @@ -343,25 +343,15 @@ test -Module = require( +Path = path @@ -369,16 +369,54 @@ d, file) +%0A var testModule = require(testPath )%0A va @@ -425,18 +425,16 @@ test +Func s = ...
514ee1068f7cad65984daed9c331917907121fef
add before hook to try and load an actor from the fediverse if it can't be found locally
lib/collections/actors.js
lib/collections/actors.js
/* Agora Forum Software Copyright (C) 2018 Gregory Sartucci License: AGPL-3.0, Check file LICENSE */ this.Actors = new Mongo.Collection('actors'); this.Actors.before.insert(function(userId, actor) { if (!activityPubActorTypes.includes(actor.type)) throw new Meteor.Error('Not an Actor', 'Cannot...
JavaScript
0
@@ -1727,16 +1727,264 @@ %7D%0A%7D);%0A%0A +this.Actors.before.findOne(function(userId, selector, options) %7B%0A if ((!options %7C%7C !options.noRecursion) && selector.id && !Actors.findOne(%7Bid: selector.id%7D, %7BnoRecursion: true%7D))%0A Meteor.call('getActivityJSONFromUrl', selector.id);%0A%7D);%0A%0A...
f9b1a781a93498d4adf0025f9055719e3c1547bc
add prefix to bucket list
lib/condensation/index.js
lib/condensation/index.js
var _ = require('lodash'), AWS = require('aws-sdk'), cutil = require('./util'), rimraf = require('rimraf'), gutil = require('gulp-util'), Handlebars = require('handlebars'), path = require('path'), ParticleLoader = require('./loaders/particle-loader'), through = require('through2'), tasks = require('./tasks'); var Con...
JavaScript
0.000004
@@ -1,13 +1,15 @@ var -_ +AWS = requi @@ -16,100 +16,150 @@ re(' -lodash'),%0AAWS = require('aws-sdk'),%0Acutil = require('./util'),%0Arimraf = require('rimraf'),%0Ag +aws-sdk');%0Avar Handlebars = require('handlebars');%0Avar ParticleLoader = require('./loaders/particle-loader');%0Avar _ = require('lodash');%0Ava...
82b5e98f55242b18dab1dbab920060f0c4e66c6b
Add defaultUseHardbreak environment variable
lib/config/environment.js
lib/config/environment.js
'use strict' const { toBooleanConfig, toArrayConfig, toIntegerConfig } = require('./utils') module.exports = { sourceURL: process.env.CMD_SOURCE_URL, domain: process.env.CMD_DOMAIN, urlPath: process.env.CMD_URL_PATH, host: process.env.CMD_HOST, port: toIntegerConfig(process.env.CMD_PORT), path: process.en...
JavaScript
0
@@ -5711,11 +5711,91 @@ _OPENID) +,%0A defaultUseHardbreak: toBooleanConfig(process.env.CMD_DEFAULT_USE_HARD_BREAK) %0A%7D%0A
363103cdaf160d6b891a93b458a230dfd2e7ff2d
Make sure there always was a call to Diaspora.I18n.loadLocale before running a jasmine spec
spec/javascripts/helpers/SpecHelper.js
spec/javascripts/helpers/SpecHelper.js
// Add custom matchers here, in a beforeEach block. Example: //beforeEach(function() { // this.addMatchers({ // toBePlaying: function(expectedSong) { // var player = this.actual; // return player.currentlyPlayingSong === expectedSong // && player.isPlaying; // } // }) //}); beforeEach(functi...
JavaScript
0
@@ -733,16 +733,55 @@ get));%0A%0A + Diaspora.I18n.loadLocale(%7B%7D, 'en');%0A%0A Diaspo
afdeedd8d2b41cc4fdaf31061bfb6e2d8475e919
Fix settings manager serializer
lib/io/SettingsManager.js
lib/io/SettingsManager.js
"use strict"; var JSONSerializer = require('./JSONSerializer'); var SettingsManager = function (data, serializer) { this._data = data || {}; this._serializer = serializer || JSONSerializer; }; SettingsManager.prototype.getValue = function (key, defaultValue) { if (typeof this._data[key] !== 'undefined') ...
JavaScript
0.000001
@@ -176,16 +176,20 @@ lizer %7C%7C + new JSONSer @@ -195,16 +195,18 @@ rializer +() ;%0A%7D;%0A%0ASe
149763e1fe2755873c0d4c7b9279baf1cf58f8c5
mark sid as invalid, when no session is found but sid is in cookies
lib/middleware/session.js
lib/middleware/session.js
// TODO make sessions expire var env = process.env; var EventEmitter = require('events').EventEmitter; var cookie = require('cookie'); var clone = require(env.Z_PATH_UTILS + 'clone'); var cache = require(env.Z_PATH_CACHE + 'cache'); var sessionCache = cache.pojo('sessions'); var randomStringBase = '0123456789ABCDEFGHI...
JavaScript
0.000002
@@ -1821,44 +1821,8 @@ n;%0A%0A - connection.session = null;%0A%0A @@ -1844,32 +1844,32 @@ n empty session%0A + var sess @@ -2087,73 +2087,8 @@ %7B%0A%0A - var sessionId = parsedCookie%5BsessionCookieKey%5D;%0A%0A @@ -2199,17 +2199,38 @@ get( -sessionId +parsedCookie%5Bse...
11ce1a1be0d7d26e9a603d362e63513cb0a6c46b
Extend JSON with additional KSS params
lib/modules/kss-parser.js
lib/modules/kss-parser.js
'use strict'; var kss = require('kss'), path = require('path'), Q = require('q'), gutil = require('gulp-util'), kssSplitter = require('./kss-splitter'), sanitizeHtml = require('sanitize-html'); // Parses kss.KssSection to JSON function jsonSections(sections) { return sections.map(function(section) { r...
JavaScript
0
@@ -155,16 +155,101 @@ tter'),%0A + kssAdditionalParams = require('./kss-additional-params'),%0A _ = require('lodash'),%0A saniti @@ -1457,24 +1457,64 @@ e, reject) %7B +%0A%0A // Parse with original KSS library %0A kss.par @@ -2052,24 +2052,140 @@ ock.code);%0A%0A + // Add extra parameters%0A ...
9f3ac4bd9932a0d2dc991199e41001ce30f8eecd
Create file if file doesnt exist
lib/plugins/write-file.js
lib/plugins/write-file.js
var fs = require('fs'); module.exports = function(context) { // // Write some data to a file. // context.writeFile = function(data, file) { fs.writeFile(file, data, function(err) { if (err) { throw err; } }); }; };
JavaScript
0.000001
@@ -101,107 +101,345 @@ // -%0A context.writeFile = function(data, file) %7B%0A fs.writeFile(file, data, function(err) %7B%0A + Creates new file with the name supplied if the file doesnt exist%0A //%0A context.writeFile = function(data, file) %7B%0A fs.open(file, 'a+', function(err, fd) %7B%0A if(err) ...
a728f9037c86d72a5deac4eb66d685bea8e66378
use direct
lib/reducers/appGlobal.js
lib/reducers/appGlobal.js
import { UPDATE_APP_GLOBAL, } from '../constants/ActionTypes'; import defaultSettings from '../data/default_settings.json'; import _ from 'lodash';// eslint-disable-line id-length function token(state = defaultSettings.token, action = {}) { switch (action.type) { case UPDATE_APP_GLOBAL: if (action.payload.co...
JavaScript
0.000003
@@ -130,56 +130,73 @@ ort -_ from 'lodash';// eslint-disable-line id-length +%7B%0A isString,%0A isFinite,%0A isDate,%0A isBoolean,%0A%7D from 'lodash'; %0A%0Afu @@ -341,34 +341,32 @@ gs) %7B%0A if ( -_. isString(action. @@ -678,34 +678,32 @@ gs) %7B%0A if ( -_. isString(action. @@ -1035,18 +1035,1...
b72510664f4d2d50f66fabdd758fbdcc17bb4f17
Remove extra restrictions.
lib/systems/draw-image.js
lib/systems/draw-image.js
"use strict"; function drawEntity(data, entity, context) { var image = data.images.get(entity.image.name); if (!image) { console.error("No such image", entity.image.name); return; } try { context.drawImage( image, entity.image.sourceX, entity.image.sourceY, entity.image.sourceWidth, entity.ima...
JavaScript
0
@@ -1044,31 +1044,8 @@ %0A%0A%09%7D -, %5B%22image%22, %22position%22%5D );%0A%7D
6046e2ea5ff6a5b7d5c5d8008409b538dc192847
Update TerminalOutputter
lib/terminal-outputter.js
lib/terminal-outputter.js
var _ = require('lodash'), Time = require('./time'); function TerminalOutputter() { this.output = output; function output(records) { var totalTime = 0; var stats = []; _.forEach(records, function(record) { totalTime += record.total; stats.push(record.date + ...
JavaScript
0.000001
@@ -28,33 +28,1247 @@ -Time = require('./time'); +moment = require('moment'),%0A Time = require('./time');%0A%0Avar DELIMITER = '----------------------------';%0A%0Afunction Week(number, year) %7B%0A var self = this;%0A%0A this.number = number;%0A this.year = year;%0A this.days = %5B%5D;%0A%0A ...
3696b946c670124ec0dd0824680d5eb8acd1317a
Implement BottomPanel::{prepare, destroy, updateMessages}
lib/views/bottom-panel.js
lib/views/bottom-panel.js
'use strict' class BottomPanel extends HTMLElement{ set visibility(value){ if(value){ this.removeAttribute('hidden') } else { this.setAttribute('hidden', true) } } clear(){ while(this.firstChild){ this.removeChild(this.firstChild) } } } module.exports = document.registerE...
JavaScript
0
@@ -7,16 +7,52 @@ trict'%0A%0A +let Message = require('./message')%0A%0A class Bo @@ -88,141 +88,655 @@ %7B%0A -set visibility(value)%7B%0A if(value)%7B%0A this.removeAttribute('hidden')%0A %7D else %7B%0A this.setAttribute('hidden', true)%0A %7D +prepare()%7B%0A this.panel = atom.workspace.a...
502e92e14fa57048640bd7e4de5f36037aacd7b5
Remove unnecessary console.log
lib/with-initial-fetch.js
lib/with-initial-fetch.js
import React from 'react' import {useStore} from 'react-redux' import P from './components/p' import Spinner from './components/spinner' import usePromise from './hooks/use-promise' import useWindowSize from './hooks/use-window-size' import getInitialAuth from './get-initial-auth' const minHeight = '600px' const minW...
JavaScript
0.000007
@@ -1655,67 +1655,8 @@ ) %7B%0A - console.log('How?', serverRendered, opts.clientOnly)%0A
8711675c241c729a19fc2af1f476faf5becf79af
remove duplicate clean task
dev/release.js
dev/release.js
'use strict'; const fs = require('fs'); const path = require('path'); const semver = require('semver'); const inquirer = require('inquirer'); const nconf = require('nconf'); const _ = require('lodash'); const shell = require('shelljs'); const lint = require('./lint'); const clean = require('./clean'); const build = r...
JavaScript
0.999722
@@ -268,42 +268,8 @@ ');%0A -const clean = require('./clean');%0A cons @@ -3465,25 +3465,8 @@ nt)%0A - .then(clean)%0A
590abe07d9af483dea0e82b1ee481e191821edc9
Remove use of getElement() in example
aura-components/src/main/components/uiExamples/radio/radioController.js
aura-components/src/main/components/uiExamples/radio/radioController.js
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
JavaScript
0.000002
@@ -650,79 +650,44 @@ var +s ele -m +cted = evt. -getS +s ource -() .get -Element();%0A%09%09 var selected = elem.textContent +(%22v.label%22) ;%0A%09%09 @@ -812,79 +812,44 @@ var +s ele -m +cted = evt. -getS +s ource -() .get -Element();%0A%09%09 var selected = elem.textContent +(%22v.label%22) ;%0A%09...
eb0ff20c6fbda55000bffd44999253a7ac2f4dda
Add example of advanced search, add detail to show all options available
example.js
example.js
'use strict' var Scraper = require ('./index') , google = new Scraper.Google() , bing = new Scraper.Bing() , pics = new Scraper.Picsearch() , yahoo = new Scraper.Yahoo(); // will take ALOT of time if num=undefined google.list({ keyword: 'coca cola', num: 10, nightmare: { show: true } //resolution:'l', ...
JavaScript
0
@@ -264,16 +264,31 @@ um: 10,%0A +%09detail: true,%0A %09nightma @@ -312,27 +312,168 @@ e%0A%09%7D -%0A%09//resolution:'l', +,%0A advanced: %7B%0A imgType: 'photo', // options: clipart, face, lineart, news, photo%0A resolution: undefined // options: l(arge), m(edium), i(cons), etc.%0A %7D %0A%7D)%0A
f2794c356253f2f64e8bba6211db209e2039be4f
Fix the print-schema script
src/tools/print-schema/src/index.js
src/tools/print-schema/src/index.js
/** * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ import { getI...
JavaScript
0.999823
@@ -309,38 +309,34 @@ mport %7B -getIntrospectionResult +parseSchemaIntoAST %7D%0A fro @@ -367,15 +367,123 @@ ema/ -printer +';%0Aimport %7B buildASTSchema, introspectionQuery %7D%0A from '../../../utilities/';%0Aimport %7B graphql %7D%0A from '../../../ ';%0A%0A @@ -1189,61 +1189,170 @@ var -result = await ...
0058f9462a50e044fcb808d8ba7869e3ec9ff76e
Increase tesimonial slider time
www/source/javascripts/home.js
www/source/javascripts/home.js
var homepageScripts = function() { var adjustParentHeight = function($elements, $parent) { var maxElementHeight = 0; var currentElementHeight; $elements.each(function() { currentElementHeight = $(this).outerHeight(true); if (currentElementHeight > maxElementHeight) { maxElementHeight...
JavaScript
0
@@ -2621,13 +2621,15 @@ %7D, -6 +15 000); +g %0A%7D;
b0d6e8ac60e86092cf8f385997ab2514724c1c11
Update maps plugin manifest to use select menu syntax
plugins/googlemap/popcorn.googlemap.js
plugins/googlemap/popcorn.googlemap.js
// PLUGIN: Google Maps var googleCallback; (function (Popcorn) { /** * googlemap popcorn plug-in * Adds a map to the target div centered on the location specified by the user * Options parameter will need a start, end, target, type, zoom, lat and long, and location * -Start is the time that you want t...
JavaScript
0
@@ -1782,35 +1782,76 @@ m:'select', -type:'text' +options:%5B'ROADMAP','SATELLITE', 'HYBRID', 'TERRAIN'%5D , label:'Typ
f76cac63c895b6c6c824b8b2a455ac516e2aa1ae
Update passport.js
app/config/passport.js
app/config/passport.js
/*jslint node:true */ 'use strict'; /** * Passport.js config file, heavily inspired by * http://scotch.io/tutorials/javascript/easy-node-authentication-setup-and-local */ var LocalStrategy = require('passport-local').Strategy, passwordHash = require('password-hash'), connection = require('./../config/db.js...
JavaScript
0.000001
@@ -2106,10 +2106,9 @@ = ?%22 - + +, %5Bem
4a9c69a713f930a7163a65f6e70e3736e38a6eaa
Update CORS proxy, testing "alloworigin"
js/search.js
js/search.js
$.fn.pressEnter = function(fn) { return this.each(function() { $(this).bind('enterPress', fn); $(this).keyup(function(e){ if(e.keyCode == 13) { $(this).trigger("enterPress"); console.log("algo"); } }) }); }; $('...
JavaScript
0
@@ -527,16 +527,138 @@ etJSON(%22 +http://alloworigin.com/get?url=https://yts.ag/api/v2/list_movies.json?query_term=%22+search_parameter, function (data) %7B // http://c @@ -2162,12 +2162,13 @@ html);%0A%0A%7D);%09 +%0A
0595dfc9fe05a4e713c040ab7733feb6131944eb
Disable i18next’s saveMissing in production
lib/i18n.js
lib/i18n.js
const i18n = require('i18next') const XHR = require('i18next-xhr-backend') const LanguageDetector = require('i18next-browser-languagedetector') const options = { fallbackLng: 'en', load: 'languageOnly', ns: ['common'], defaultNS: 'common', // debug: true, saveMissing: true, interpolation: { escape...
JavaScript
0
@@ -138,16 +138,67 @@ ctor')%0A%0A +const dev = process.env.NODE_ENV !== 'production'%0A%0A const op @@ -328,20 +328,19 @@ issing: -true +dev ,%0A%0A int
2d9fab2629b0bb9bf4dfbde280af680a0cf7d799
fix unit test
test/unit/specs/security/users/browse.spec.js
test/unit/specs/security/users/browse.spec.js
import Vue from 'vue' import store from '../../../../../src/vuex/store' import { mockedComponent, mockedDirective } from '../../helper' import Promise from 'bluebird' let BrowseInjector = require('!!vue?inject!../../../../../src/components/Security/Users/Browse') let Browse let sandbox = sinon.sandbox.create() descri...
JavaScript
0.000001
@@ -1642,16 +1642,52 @@ )%7D%0A %7D%0A%0A + beforeEach(() =%3E mockInjector())%0A%0A afterE
1020077e9239fc7bb091781996f4feba103a2d33
Optimize some stuff
commands/playing.js
commands/playing.js
const config = require('../config.js'); const utils = require('../utils.js'); module.exports = { run: function(message, betaMode) { if (message.channel.type != 'text') return; var expression = /^[d]\!(\w+) *(.*)/; if (betaMode) expression = /^[d][b]\!(\w+) *(.*)/; // Use db!command instead of d!command i...
JavaScript
0.000022
@@ -118,18 +118,8 @@ sage -, betaMode ) %7B%0A @@ -193,136 +193,26 @@ = /%5E -%5Bd%5D%5C!(%5Cw+) *(.*)/;%0A if (betaMode) expression = /%5E%5Bd%5D%5Bb%5D%5C!(%5Cw+) *(.*)/; // Use db!command instead of d!command if in beta mode +%5Cw+%5C!(%5Cw+) *(.*)/; %0A
2c9ed08bd7b45f91758fb46e3963b216ab4f9c89
Remove unused modules
providers/pokeradar.js
providers/pokeradar.js
const _ = require('lodash'); const qs = require('qs'); const request = require('request-promise'); const moment = require('moment'); const errors = require('request-promise/errors'); const Provider = require('./provider.js'); const pokemonNames = require('../pokemon_names.js'); const pokemonStickers = require('../stick...
JavaScript
0.000001
@@ -275,123 +275,8 @@ s'); -%0Aconst pokemonStickers = require('../stickers.js');%0Aconst getReverseGeocode = require('../get_reverse_geocode.js'); %0A%0Acl
7fff3fdf3d2293e4eb2bdc756a97195c6c02d4d3
Revert api keys.
platform-friends-hybrid/scripts/app/settings.js
platform-friends-hybrid/scripts/app/settings.js
/** * Application Settings */ var appSettings = { everlive: { apiKey: 'Y84L0irUx51o4egf', // Put your Backend Services API key here scheme: 'http' }, eqatec: { productKey: '7e5b6a4f3447422899a1cb3529189783', // Put your EQATEC product key here version: '1.0.0.0' // Put ...
JavaScript
0
@@ -84,24 +84,26 @@ y: ' -Y84L0irUx51o4egf +$EVERLIVE_API_KEY$ ', / @@ -213,40 +213,28 @@ y: ' -7e5b6a4f3447422899a1cb3529189783 +$EQATEC_PRODUCT_KEY$ ',
7787fa4d464d4f9557a47bac8ba90abf11b31a42
Make sure we run default tests before releasing.
gulpfile.js
gulpfile.js
'use strict'; var gulp = require('gulp'), lazypipe = require('lazypipe'), runSequence = require('run-sequence'), bump = require('gulp-bump'), watch = require('gulp-watch'), karma = require('gulp-karma'), gls = require('gulp-live-server'), exit = require('gulp-exit'), mocha = require('gulp-mocha'), gi...
JavaScript
0
@@ -2164,16 +2164,31 @@ quence(%0A + 'default',%0A 'bum
aa0fa6585337f57bf8bd716ba723b9ddd75bac1c
factor out duplicate code, https://github.com/phetsims/scenery-phet/issues/609
js/ProtractorNode.js
js/ProtractorNode.js
// Copyright 2015-2020, University of Colorado Boulder /** * The protractor node is a circular device for measuring angles. In this sim it is used for measuring the angle of the * incident, reflected and refracted light. * * @author Sam Reid (PhET Interactive Simulations) * @author Chandrashekar Bemagoni (Actual ...
JavaScript
0.997635
@@ -323,20 +323,62 @@ ncepts)%0A + * @author Chris Malley (PixelZoom, Inc.)%0A */%0A - %0Aimport @@ -1699,47 +1699,42 @@ h ). -rect( w * 0.2, h / 2, w * 0.6, h * 0.15 +shapeUnion( createBarShape( w, h ) );%0A @@ -1966,24 +1966,26 @@ const out +er RingPath = n @@ -2106,24 +2106,26 @@ ddChild( out +er Ring...
a0d5dd92f69566bf16ac331b788ba276ce1b7406
fix test config
test/config-startup.js
test/config-startup.js
/* * Copyright 2015 Telefonica Investigación y Desarrollo, S.A.U * * This file is part of iotagent-json * * iotagent-json is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the L...
JavaScript
0.000001
@@ -1013,24 +1013,51 @@ ig.amqp = %7B%0A + host: 'localhost', %0A port: 56
29d064e2310bf7776e56037c5bd97dae1f3d7d05
write test for project template: export as file
__tests__/template.spec.js
__tests__/template.spec.js
const request = require('request'); require('dotenv').config(); require('babel-polyfill'); // increase timeout for remote response delay jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000; import API from './../todoist/Api'; const api = new API(process.env.ACCESS_TOKEN); test('Manager should export project as url', async () =>...
JavaScript
0.000001
@@ -257,16 +257,131 @@ OKEN);%0A%0A +let item1;%0Alet project1;%0A%0AafterAll(async () =%3E %7B%0A item1.delete();%0A project1.delete();%0A await api.commit();%0A%7D);%0A%0A test('Ma @@ -411,19 +411,20 @@ ject as -url +file ', async @@ -450,30 +450,24 @@ i.sync();%0A -const project1 = a @@ -510,61 +510,82 ...
1a5a8540627560127d274ab598625e57082e2336
Add relative path resolution for browser-sync regex watch
gulpfile.js
gulpfile.js
/** * Created by Wei-Jye on 7/12/2015. */ (function() { 'use strict'; var gulp = require('gulp'); var browserSync = require('browser-sync').create(); var fs = require('fs'); var karma = require('karma'); var Server = require('karma').Server; function browserSyncTask() { browserSyn...
JavaScript
0
@@ -165,18 +165,20 @@ var -fs +path = requi @@ -185,10 +185,12 @@ re(' -fs +path ');%0A @@ -973,78 +973,8 @@ %7D);%0A - //gulp.watch('src/**/*.js').on('change', browserSync.reload);%0A @@ -1043,58 +1043,10 @@ -console.log('event:', event);%0A // TODO: +// Ext @@ -1125,75 +1125...
bc27afb557b868eb52c109dbeecca131fbafdceb
Update PlayerCell.js
src/entity/PlayerCell.js
src/entity/PlayerCell.js
var Cell = require('./Cell'); function PlayerCell() { Cell.apply(this, Array.prototype.slice.call(arguments)); this.cellType = 0; this.recombineTicks = 0; // Ticks until the cell can recombine with other cells this.ignoreCollision = false; // This is used by player cells so that they dont cause any p...
JavaScript
0.000025
@@ -216,18 +216,17 @@ er cells - %0A + this @@ -1027,24 +1027,298 @@ lenY);%0A%7D;%0A%0A +PlayerCell.prototype.simpleCollide = function(check,d) %7B%0A // Simple collision check%0A var len = 2 * d %3E%3E 0; // Width of cell + width of the box (Int)%0A%0A return (this.abs(this.position.x - check.x) %3...
69f4d325122d48e44f996355661efb2c3b311fd3
remove unneeded style code
era/ui/textbggraphic.js
era/ui/textbggraphic.js
Ui.CanvasElement.extend('Ui.TextBgGraphic', { textHasFocus: false, setHasFocus: function(hasFocus) { if(this.textHasFocus !== hasFocus) { this.textHasFocus = hasFocus; this.invalidateDraw(); } }, getBackground: function() { var color; if(this.textHasFocus) color = Ui.Color.create(this.getStylePr...
JavaScript
0.000044
@@ -1534,318 +1534,8 @@ ) %7B%0A -%09%09this.spacing = Math.max(0, this.getStyleProperty('spacing'));%0A%09%09this.iconSize = Math.max(0, this.getStyleProperty('iconSize'));%0A%09%09this.fontFamily = this.getStyleProperty('fontFamily');%0A%09%09this.fontSize = Math.max(0, this.getStyleProperty('fontSize'));%0A%09%09th...
3773735fa07c39db8a10484c5fac989e7136ab5d
use node-style callbacks and fix undefined logic
lib/devices/ios/ios-hybrid.js
lib/devices/ios/ios-hybrid.js
"use strict"; var logger = require('../../server/logger.js').get('appium') , _ = require('underscore') , deviceCommon = require('../common.js') , rd = require('./remote-debugger.js') , wkrd = require('./webkit-remote-debugger.js'); var iOSHybrid = {}; iOSHybrid.closeAlertBeforeTest = function (cb) { this.p...
JavaScript
0.000001
@@ -405,22 +405,16 @@ peof res -.value !== %22un @@ -626,16 +626,22 @@ cb( +null, true);%0A @@ -671,16 +671,22 @@ cb( +null, false);%0A @@ -2442,16 +2442,21 @@ nction ( +err, didDismi
2b0ed940c4eb6f2bb79a9485e023bc2961b5f956
Add the "retries" flag into Mocha command (#14616)
script/run-unit-test.js
script/run-unit-test.js
const printUnitTestHelp = require('./run-unit-test-help.js'); const commandLineArgs = require('command-line-args'); const { runCommand } = require('./utils'); // For usage instructions see https://github.com/department-of-veterans-affairs/vets-website#unit-tests const defaultPath = './src/**/*.unit.spec.js?(x)'; con...
JavaScript
0.000011
@@ -1554,16 +1554,28 @@ no-color + --retries 3 %60;%0Aconst
f55fa00d15f3403bbac0a115fb0d566c85f77b1e
Stringify regular expressions
src/DependencyParser.js
src/DependencyParser.js
var fs = require('fs'); var angular = require('angular'); var inject = angular.injector(['ng']).invoke; var NGObjectDetails = require('./NGObjectDetails'); // is there a better way to get $q? var $q; inject(function (_$q_) { $q = _$q_; }); var dependencyParser = { /** * Extracts information about the angular ob...
JavaScript
1
@@ -805,46 +805,113 @@ ) %7B%0A +%0A %09%09 -var myRe = new RegExp(%0A%09%09%09/ +// TODO: include module parsing%0A%09%09// parse out component declarations%0A%09%09var parseModule = ' module%5C +%5C (%5B +%5C '%7C%22%5D @@ -922,14 +922,36 @@ %5D+)%5B +%5C '%7C%22%5D%5C -) +%5C)',%0A%09%09%09parseType = '%5C %...
048b05066bec85e3893e07f93ca82e6431acb0d7
Use real nia data and no unique plugin
plugins/portal-highlighter-uniques-opacity.user.js
plugins/portal-highlighter-uniques-opacity.user.js
// ==UserScript== // @id iitc-plugin-portal-highlighter-uniques-opacity@xificurk // @name IITC plugin: Highlight unique visits/captures using opacity // @category Highlighter // @version 0.1.1.@@DATETIMEVERSION@@ // @namespace https://github.com/xificurk/iitc-plugins // @updateUR...
JavaScript
0
@@ -1427,20 +1427,26 @@ var -guid +portalData = data. @@ -1468,69 +1468,215 @@ ent%5B -0%5D;%0A var uniqueInfo = window.plugin.uniques.uniques%5Bguid%5D; +2%5D%0A%0A if (portalData%5B18%5D) %7B%0A var visited = ((portalData%5B18%5D & 0b1) === 1)%0A var captured = ((portalData%5B18%5D & 0b10) ==...
4141d95cf77c88c7dbed5070e05550e5c69e8546
Add comment
vertex_coloring/javascript/vertex_coloring.js
vertex_coloring/javascript/vertex_coloring.js
import {AdjacencyList} from './adjacency_list.js'; // getVertexColoring returns the vertex coloring of the graph, with colors are represented as // positive integers. export function getVertexColoring(graph) { const list = new AdjacencyList(graph); // coloring[x] is the color of the vertex x. const color...
JavaScript
0
@@ -1678,16 +1678,85 @@ );%0A%7D%0A%0A// + lowestAvailableColor returns the lowest color not present in colors. %0Afunctio
405432952368c90f707bc6cf753311bca1c043bc
Fix broken test in IE11.
test/mouse-events.js
test/mouse-events.js
/* global describe, it, simulateEvent, sinon, expect */ describe('Mouse Events', function () { var fixture = document.createElement('div'); describe('click', function () { it('should trigger', function () { var spy = sinon.spy(); fixture.addEventListener('click', spy); simulateEvent(fixture...
JavaScript
0.000003
@@ -135,16 +135,54 @@ ('div'); +%0A document.body.appendChild(fixture); %0A%0A desc
2b997bb2a09a5fc99f35f569a7713373a673b72d
Make View configurable regarding element type.
src/view.js
src/view.js
"use strict"; var util = require("substance-util"); // Substance.View // ========================================================================== // // Application View abstraction, inspired by Backbone.js var View = function() { var that = this; // Either use the provided element or make up a new element t...
JavaScript
0
@@ -224,19 +224,53 @@ unction( -) %7B +options) %7B%0A options = options %7C%7C %7B%7D; %0A var t @@ -281,17 +281,16 @@ = this;%0A -%0A // Eit @@ -354,23 +354,84 @@ his. -$ el = -$('%3C +options.el %7C%7C window.document.createElement(options.elementType %7C%7C ' div -/%3E ');%0A @@ -441,24 +441,24 @@ his...
653f7455e3d0599da39bcbd19cea7888bf74c19f
Revert "start extracting options"
js/app/lib/browse.js
js/app/lib/browse.js
var $ = require('jquery'), _ = require('underscore'), Facility = require('cloud/models/facility'), parse; if ( typeof Parse == 'undefined' ) { // can't require parse from within parse cloud. seems silly. parse = require('parse'); } else { parse = Parse; } var DEFAULT_OPTIONS = { sort: 'name', l...
JavaScript
0
@@ -1,12 +1,62 @@ +module.exports = function (params, callbacks) %7B%0A var $ = requ @@ -74,16 +74,18 @@ '),%0A + _ = requ @@ -99,24 +99,26 @@ derscore'),%0A + Facility @@ -162,299 +162,17 @@ + parse;%0A -%0Aif ( typeof Parse == 'undefined' ) %7B%0A // can't require parse from within parse ...
18fa3dc9e28fc97a39d70e6418e0d1f00acccb35
add browser policy, remove newb packages
lib/init.js
lib/init.js
// Meteor Generate // Copyright(c) 2014 Adam Brodzinski <adambrodzinski@gmail.com> // MIT Licensed /*global templatePath */ var fs = require('fs-extra'), router = require('./router.js'); module.exports = { initSource: templatePath + 'init/', // Public: Copy the boilerplate in the templates init folder to...
JavaScript
0
@@ -729,16 +729,71 @@ e + '/'; +%0A this.packages = this.projDir + '.meteor/packages'; %0A%0A th @@ -972,149 +972,513 @@ e);%0A +%0A -// append p +self._removePackage('insecure');%0A self._removePackage('autopublish');%0A puts(%22Updating Packages%22);%0A puts(%22 Removed P ackage +:...
5f9d43c0ec322ce906246d028326183a7b5d25bf
Modify services.js to alina's firebase url
app/js/services.js
app/js/services.js
'use strict'; /* Services */ angular.module('myApp.services', []) .value('FIREBASE_URL', 'https://waitandeat-demo.firebaseio.com/') .factory('dataService', function($firebase, FIREBASE_URL) { var dataRef = new Firebase(FIREBASE_URL); var fireData = $firebase(dataRef); return fireData; }) .factory...
JavaScript
0
@@ -110,12 +110,13 @@ eat- -demo +alina .fir
41ed6dacb1b892b7a403f599eb86b2685c004a29
Fix error with #_jqueryRemove
src/view.js
src/view.js
Minionette.View = Backbone.View.extend({ constructor: function() { Backbone.View.apply(this, arguments); // Done so we don't bindAll to standard methods. _.bindAll(this, '_jqueryRemove', '_remove'); // Keep track of our subviews. this._subViews = {}; // Have the vi...
JavaScript
0.000001
@@ -115,119 +115,8 @@ );%0A%0A - // Done so we don't bindAll to standard methods.%0A _.bindAll(this, '_jqueryRemove', '_remove');%0A%0A @@ -845,32 +845,75 @@ his, arguments); +%0A%0A _.bindAll(this, '_jqueryRemove'); %0A this.$e @@ -2446,25 +2446,30 @@ // -A proxy +Does the sa ...
73a58ddcb1b89418c539b82fd7e43ddd266934fe
update GroupBanner map zoom
agir/groups/components/groupPage/GroupBanner.js
agir/groups/components/groupPage/GroupBanner.js
import PropTypes from "prop-types"; import React, { useMemo } from "react"; import styled from "styled-components"; import style from "@agir/front/genericComponents/_variables.scss"; import { getGroupTypeWithLocation } from "./utils"; import Map from "@agir/carte/common/Map"; const StyledMap = styled.div``; const St...
JavaScript
0
@@ -1803,16 +1803,38 @@ %3CMap%0A + zoom=%7B11%7D%0A
563ce02d7a30b342176aad43a474031c5a0bcc78
修正表单选择日期后必须点击表单才能显示,否则不显示。
lib/form/edit/DateEdit.ios.js
lib/form/edit/DateEdit.ios.js
/** * Created by kevin on 15/11/26. */ 'use strict'; import React from 'react'; import t from 'tcomb-form-native'; import moment from 'moment'; import stylesheet from '../stylesheets/flat' import templates from '../templates/flat' import { StyleSheet, View, Modal, DatePickerIOS, Image, TouchableOpacity...
JavaScript
0
@@ -4096,26 +4096,25 @@ %7D%3E%7Bthis. -props.valu +state.dat e%7D%3C/Text
9415404a2582628d12272370f2cff03a75de2c8f
Initialize PanelView on init
lib/init.js
lib/init.js
/** @babel */ /* global atom */ import { CompositeDisposable } from 'atom' import { run } from 'node-jq' // import BottomPanel from './views/BottomPanel' const log = (...args) => { console.log(...args) } export default { activate (state) { this.subscriptions = new CompositeDisposable() this.subscription...
JavaScript
0
@@ -103,29 +103,24 @@ jq'%0A -// import -Bottom Panel +View fro @@ -134,19 +134,17 @@ ews/ -Bottom Panel +View '%0A%0Ac @@ -212,17 +212,16 @@ fault %7B%0A -%0A activa @@ -229,24 +229,45 @@ e (state) %7B%0A + console.clear()%0A%0A this.sub @@ -301,24 +301,122 @@ isposable()%0A +%0A this.panelV...
75304256f294f154bc3de2e27ebd0ff600a2614d
remove unused square dom attribute "data-key"
src/view.js
src/view.js
var util = require('./util'); var board = require('./board'); var drag = require('./drag'); var anim = require('./anim'); function renderPiece(ctrl, key, p) { var attrs = { class: ['cg-piece', p.role, p.color].join(' ') }; if (ctrl.board.draggable.current.orig === key) { attrs.style = { webkitTrans...
JavaScript
0
@@ -1614,29 +1614,8 @@ %7D -,%0A 'data-key': key %0A %7D
3e77ade9c10b8ff75a46735c7f6a008886b72dac
fix - reload CSS styles w/o restarting the browser
gulpfile.js
gulpfile.js
var path = require('path'); var gulp = require('gulp'); var clean = require("gulp-clean"); var runSequence = require('run-sequence'); var ts = require('gulp-typescript'); var util = require('gulp-util'); var browserify = require('browserify'); var source = require('vinyl-source-stream'); var watchify = require('watchi...
JavaScript
0
@@ -1134,31 +1134,24 @@ 'app/ -assets/ **/*.css'%0A @@ -2559,32 +2559,60 @@ st(paths.build)) +%0A .pipe(livereload()) ;%0A%7D);%0A%0Agulp.task @@ -3776,68 +3776,8 @@ h(%5B%0A - path.join(paths.build, compiledStencilCssFilename),%0A
7f69184c9c7854bcc70f7c873e7d057512cc4465
Add custom font icon.
src/common/icon/index.js
src/common/icon/index.js
const builder = require('focus-core').component.builder; const React = require('react'); const types = require('focus-core').component.types; const oneOf = React.PropTypes.oneOf; const iconMixin = { displayName: 'Icon', getDefaultProps() { return { name: '', library: 'material' ...
JavaScript
0
@@ -476,19 +476,25 @@ me', 'fo -cus +nt-custom '%5D)%0A @@ -967,24 +967,121 @@ tyle%7D%3E%3C/i%3E;%0A + case 'font-custom':%0A return %3Cspan className=%7B%60icon-$%7Bname%7D%60%7D%3E%3C/span%3E;%0A
711ccc3c0f67d4e27d3dfc7d285599a56814b2d6
Refactor to ternary if
src/LocalizedStrings.js
src/LocalizedStrings.js
'use strict'; import React from 'react'; /** * Simple module to localize the React interface using the same syntax * used in the ReactNativeLocalization module * (https://github.com/stefalda/ReactNativeLocalization) * * Originally developed by Stefano Falda (stefano.falda@gmail.com) * * It uses a call to the Nav...
JavaScript
0.998453
@@ -6610,20 +6610,23 @@ -if ( +return isReactC @@ -6654,19 +6654,16 @@ eholder) -) %7B %0A @@ -6679,22 +6679,17 @@ -return +? React.C @@ -6728,37 +6728,8 @@ der) -%0A .map @@ -6771,17 +6771,16 @@ index%7D)) -; %0A @@ -6795,37 +6795,14 @@ - %7...
67b6a34c54bfeb390d80f205ad010d6d31b107be
Fix Firefox drag-drop of files do not trigger on-change
app/directives/file.js
app/directives/file.js
define(['app', 'angular', 'text!./file.html'], function(app, ng, fileDropTemplate) { 'use strict'; app.directive('type', ['$http', function($http) { return { restrict: 'A', replace: true, require: '?ngModel', scope: { onUpload : "&onUpload" }...
JavaScript
0.000001
@@ -722,24 +722,63 @@ nction() %7B%0A%0A + increaseChange();%0A%0A @@ -3450,32 +3450,182 @@ %7D +%0A%0A function increaseChange() %7B%0A element.data('changeCount', (element.data('changeCount')%7C%7C0) + 1);%0A %7D %0A%0...
40af89fe4f78ce305680ca20f13b8169c3c0e302
fix for the slider height
_js/bessa.js
_js/bessa.js
$(document).ready(function(){ "use strict" function smoothScroll (duration) { $('a[href^="#introduction"]').on('click', function(event) { var target = $( $(this).attr('href') ); if( target.length ) { event.preventDefault(); $('html, body').animate({ scrollTop...
JavaScript
0
@@ -1635,16 +1635,109 @@ vbar();%0A +$(window).load(function() %7B%0A $('.preloader').fadeOut();%0A setFooter();%0A setNavbar();%0A%7D); %0Avar ami
d495dd6ec7ca48226e020f74d5958e2688923268
Comment and cleanup.
lib/jobs.js
lib/jobs.js
var async = require('async'), moment = require('moment'), events = require('events'), _ = require('lodash'), shouldStillProcess, pg = require('pg'), Transaction = require('pg-transaction'); module.exports = function(options) { var Jobs = {}; var jobsModel = require('../models/jobs'); // ...
JavaScript
0
@@ -1933,16 +1933,187 @@ ervice.%0A + * @param %7Bfunction%7D done callback to receive errors pertaining to running%0A * process() - i.e. db connection issues. Also called when stopProcessing() is%0A * called.%0A */%0A @@ -3748,16 +3748,17 @@ );%0A %7D +; %0A%0A fu
1b1fc954f735461e4f3e2d79d3943b53f0854f05
Test updates.
test/funky_tag_test.js
test/funky_tag_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
@@ -671,11 +671,17 @@ rts. -tag +all_tests = %7B
53d7ed41e702738b84d3c8e5bb7771d640b73745
Add colours to LogLevels.
src/foam/log/LogLevel.js
src/foam/log/LogLevel.js
/** * @license * Copyright 2017 The FOAM Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
JavaScript
0
@@ -822,22 +822,77 @@ odName'%0A + %7D,%0A %7B%0A class: 'Color',%0A name: 'color'%0A %7D%0A - %5D,%0A%0A @@ -971,24 +971,45 @@ l: 'Debug',%0A + color: 'blue',%0A consol @@ -1108,16 +1108,40 @@ 'Info',%0A + color: '#0000cc',%0A co @@ -1243,16 +1243,40 @@ 'Warn',%0A ...
7c225a540766c2a7aee17b4e888afd1a1ae28859
Delete unused variable.
bin/contribution/controllers/contribution.js
bin/contribution/controllers/contribution.js
#!/usr/bin/env node const debug = require('debug')('query-v1'); const memberId = "Member:74617"; const utils = require('../lib/utils'); var memberAndTasksQuery = [ { "from": "Member", "select": [ "Name", "Nickname" ], "where": { "ID": memberId } }, { "from": "Task", "select": [ "Name", "Numb...
JavaScript
0
@@ -1485,109 +1485,8 @@ %7D;%0A%0A -//debug('memberAndTasksQuery', JSON.stringify(memberAndTasksQuery, null, ' '));%0Avar storiesPromise;%0A%0A func
86dd7a2cca760162b89436e2caacdc86357847e8
wordify the percent symbol in slugs
app/helper/makeSlug.js
app/helper/makeSlug.js
var ensure = require('./ensure'); var MAX_LENGTH = 100; var encodeAmpersands = require('./encodeAmpersands'); // This must always return a string but it can be empty function makeSlug (string) { var words, components, trimmed = ''; ensure(string, 'string'); var slug = ''; slug = string; // We do this to...
JavaScript
0.999999
@@ -642,16 +642,55 @@ nd - /%0A%0A + .replace(/%5C%25/g, '-percent')%0A @@ -1869,25 +1869,24 @@ );%0A%0Ais('!@#$ -%25 %5E*()=+%5B%5D%7B%7D%5C%5C @@ -1915,17 +1915,16 @@ 'foo!@#$ -%25 %5E*()=+%5B%5D @@ -2521,32 +2521,96 @@ lohellohello');%0A +is('100%25 luck 15%25 skill', '100-percent-luck-15-p...
c21feab3df843015f093fd0a1999b4158f4719ba
convert to express test server
test/server/index.js
test/server/index.js
/** * Create a local web server for tests */ var http = require("http"), url = require("url"), path = require("path"), fs = require("fs"); // this is crazy over-simple, gotta switch to connect... function contentType(ext) { var ct = "text/html"; if (ext === ".xml") ct = "text/xml"; else if (ext...
JavaScript
0.999996
@@ -44,20 +44,21 @@ */%0Avar -http +pathm = requi @@ -65,668 +65,238 @@ re(%22 -http%22),%0A url = require(%22url%22),%0A path = require(%22path%22),%0A fs = require(%22fs%22);%0A%0A// this is crazy over-simple, gotta switch to connect...%0Afunction contentType(ext) %7B%0A var ct = %22text/html%22;%0A ...
ff04b2c677d6fdc19abea79e9d4991d5d2e0a2db
Add a blank line
app/helpers/courses.js
app/helpers/courses.js
import _ from 'lodash' import Promise from 'bluebird' import Immutable from 'immutable' import db from './db' import buildQueryFromString from 'sto-helpers/lib/buildQueryFromString' /** * Gets a course from the database. * * @param {Number} clbid - a class/lab ID * @promise TreoDatabasePromise * @fulfill {Obje...
JavaScript
1
@@ -1249,16 +1249,17 @@ e.now()%0A +%0A %09return
bbb7c3643898343f1b0eda22a20dc0bdd1b30b10
Fix button for Bin.
examples/battest/app.js
examples/battest/app.js
window.addEventListener("load", function() { console.log("Hello World!"); }); function fireNetwork(){ console.log("Hello World!"); }
JavaScript
0
@@ -69,16 +69,80 @@ rld!%22);%0A + document.getElementById('fireNetwork').onclick = fireNetwork;%0A %7D);%0A%0Afun
6b606723ed61329365d8a07c584f5d1ba7242629
remove mock code
web/public/wap/modules/photo/myPhotoCtrl.js
web/public/wap/modules/photo/myPhotoCtrl.js
/** * 需要外部传入的app, 则`module.exports`为function */ define(function (require, exports, module) { 'use strict'; module.exports = function(app){ app.register.controller('myPhotoCtrl', ['$scope', '$routeParams', '$location', '$http', 'PhotoService', function($scope, $routeParams, $location, $ht...
JavaScript
0.000277
@@ -594,16 +594,18 @@ +// records
73bc46371bd5eddb764f62bc487fa5a6dcc4cf77
Update to script structure
gulpfile.js
gulpfile.js
// Require plugins var gulp = require('gulp'), rename = require("gulp-rename"), concat = require('gulp-concat'), uglify = require('gulp-uglify'), sass = require('gulp-ruby-sass'), prefix = require('gulp-autoprefixer'), cssmin = require('gulp-minify-c...
JavaScript
0
@@ -456,11 +456,29 @@ ns/* -* +.js','js/user/*.js ', + 'js/ @@ -1519,39 +1519,24 @@ /global.js', -'js/user/*.js', 'js/lib/plu @@ -1545,16 +1545,32 @@ ns/*.js' +, 'js/user/*.js' %5D, funct
5ebcfaeda6effc1b2624116ed3d0780e020e6ae3
remove the comments
javascripts/workouts.js
javascripts/workouts.js
var camera, scene, renderer; var mesh; var lastVelocity = 0, lastTime = new Date(), lastPosition = 0; init(); animate(); initGyro(); function init() { renderer = new THREE.WebGLRenderer(); renderer.setPixelRatio( window.devicePixelRatio ); renderer.setSize( window.innerWidth,...
JavaScript
0
@@ -1317,50 +1317,8 @@ %7D%0A%0A%0A - // initialize gyro some other comments %0A
69251369a1b318e1c5d62e06c0277f205a0211eb
add IE11 compatibility
src/components/Beacon.js
src/components/Beacon.js
import React from 'react'; import PropTypes from 'prop-types'; export default class JoyrideBeacon extends React.Component { constructor(props) { super(props); if (!props.beaconComponent) { const head = document.head || document.getElementsByTagName('head')[0]; const style = document.createElemen...
JavaScript
0
@@ -1162,15 +1162,36 @@ yle. -remove( +parentNode.removeChild(style );%0A
42e5d8543366d98f4ff76b76dd7bb3574d734be5
Create uploadfolder if it doesn't exist
create-folders.js
create-folders.js
// Screenshot Backend // Standalone tool for checking and creating upload directories var uploadfolder = "uploads"; var auth = require("./auth.json"); var fs = require("fs"); var path = require("path"); usersLeft = auth.users.length + auth.keys.length; foldersCreated = 0; for (i in auth.users) { if (!fs.exists...
JavaScript
0.000001
@@ -271,16 +271,134 @@ ed = 0;%0A +%0Aif (!fs.existsSync(__dirname + path.sep + uploadfolder)) %7B%0A fs.mkdirSync(__dirname + path.sep + uploadfolder);%0A%7D%0A%0A for (i i
ba06cbb1ea36a589a4f802887b6bc1fe9a8da1b0
Add queue button
js/content-script.js
js/content-script.js
JavaScript
0.000003
@@ -0,0 +1,914 @@ +console.log('loaded');%0D%0A%0D%0Afunction addQueueButton() %7B%0D%0A let saveButtons = document.querySelectorAll('%5Bvalue=%22Save Edits%22%5D');%0D%0A saveButtons.forEach(button =%3E %7B%0D%0A if (!button.parentNode.querySelector('.queue-edit-button')) %7B%0D%0A let queueBut...
cfd38a1d570d32731a3f52b285830fa9749d500d
Add additional disability sort categories
app/assets/javascripts/sorts/disability_sort.js
app/assets/javascripts/sorts/disability_sort.js
(function(){ Tablesort.extend('disability', function(item) { return ( item.search(/(High|Moderate|Low < 2)/i) !== -1 ); }, function(a,b) { var disability = ['Low < 2','Moderate','High']; return disability.indexOf(b) - disability.indexOf(a); }); }());
JavaScript
0
@@ -178,16 +178,24 @@ lity = %5B +'None', 'Low %3C 2 @@ -196,16 +196,29 @@ ow %3C 2', + 'Low %3E= 2', 'Moderat @@ -220,16 +220,17 @@ derate', + 'High'%5D; @@ -299,8 +299,9 @@ );%0A%7D()); +%0A
ad39c5113a74e15afe95bc8553fcd47c169eb6df
Use fs.stat instead of fs.realpath for dynamicPath resolution.
lib/middleware/dynamicPath.js
lib/middleware/dynamicPath.js
/** Middleware that provides comprehension of route parameters ("/:version/combo") to the default `combine` middleware. **/ var fs = require('fs'); var path = require('path'); var BadRequest = require('../error/bad-request'); /** Route middleware to provide parsing of route parameters into filesystem root paths. @...
JavaScript
0
@@ -723,24 +723,20 @@ vate fs. -realp +st at -h cache%0A @@ -742,20 +742,20 @@ var -P +ST AT -H _CACHE = @@ -2210,20 +2210,20 @@ %22 -p +st at -h Cache%22 @@ -2229,12 +2229,12 @@ : -P +ST AT -H _CAC @@ -2765,20 +2765,20 @@ var -p +st at -h Cache = @@ -2782,20 +2782,20 @@ = opts...
b2eeadfcf6aee2e6e0b1c4d2940697bf8052ac8b
Refactor so we can query platforms
src/PlatformsManager.js
src/PlatformsManager.js
// Copyright © 2014 Intel Corporation. All rights reserved. // Use of this source code is governed by an Apache v2 // license that can be found in the LICENSE-APACHE-V2 file. var PlatformInfo = require("./PlatformInfo"); /** * Class that manages platform backends. * @constructor * @param {OutputIface} Output ...
JavaScript
0
@@ -433,13 +433,20 @@ s = -%5B +%7B %0A + %22ios%22: %22cr @@ -476,24 +476,31 @@ nd-ios%22,%0A + %22deb%22: %22crosswalk- @@ -522,24 +522,32 @@ nd-deb%22,%0A + %22demo%22: %22crosswalk- @@ -574,16 +574,24 @@ mo%22,%0A + %22test%22: %22crossw @@ -622,16 +622,27 @@ st%22,%0A + %22android%22:...
922513bf65f90a33871272b75d907a461967a648
rewrite url regex rule
startups.js
startups.js
var slackbot = require('./lib/bot'); var http = require('http'); var querystring = require('querystring'); var request = require('request'); var config = { server: 'irc.freenode.com', nick: 'slackbot', username: 'g0vslackbot', token: process.env.TOKEN ||'', // get from https://api.slack.com/web#basics ...
JavaScript
0.00008
@@ -1729,16 +1729,284 @@ ls)%5B0%5D;%0A + // %22%5B-a-zA-Z0-9@:%25_%5C+%5C.~#?&//=%5D%7B2,256%7D.%5Ba-z%5D%7B2,4%7D%5Cb(%5C/%5B-a-zA-Z0-9@:%25_%5C+.~#?&//=%5D*)?%22%0A var url = %22%5B-a-zA-Z0-9@:%25_%5C%5C+%5C.~#?&//=%5D%7B2,256%7D%5C%5C.%5Ba-z%5D%7B2,4%7D%5C%5Cb(%5C%5C/%5B-a-zA-Z0-9@:%25_%5C%5C+.~#?&/...
8c2166980812dc30ba0e3c78012815eb9e91baf1
set bookmark width
js/content_script.js
js/content_script.js
/* global bookMarks */ (function(global) { var g_timerID; var g_textCountFlag; var g_CounterMsg = 'Click to count'; function elementsToArray(node) { var list = []; var e = node.querySelectorAll('div.project div.name, div.project div.notes, div.children div.childrenEnd'); // title in first line ...
JavaScript
0.000001
@@ -3343,24 +3343,83 @@ k_enable) %7B%0A + setCSS('#keyboardShortcutHelper %7Bwidth: 300px;%7D');%0A if ( @@ -3855,16 +3855,31 @@ -header%22 + style=%22width:%22 %3EBookmar
743ff5a9a2d0b569b32ded46452673c01e789d7b
Add comments to the popover
app/assets/scripts/components/charts/popover.js
app/assets/scripts/components/charts/popover.js
'use strict'; var React = require('react/addons'); var $ = require('jquery'); var _ = require('lodash'); function popover() { var _id = _.uniqueId('ds-popover-'); var $popover = null; var _working = false; var _content = null; var _prev_content = null; var _x = null; var _y = null; var _prev_x = null;...
JavaScript
0
@@ -99,16 +99,201 @@ ash');%0A%0A +/**%0A * All purpose popover.%0A * Positioned absolutely according to an anchor point.%0A *%0A * Usage:%0A * popover.setContent(content)%0A * popover.show(posX, posY);%0A * popover.hide();%0A *%0A */%0A function @@ -305,17 +305,16 @@ ver() %7B%0A -%0A var _i @@ -418,36 +418,8...
9b98f673987257ba828a97e6d5feb0e7d35e50b2
add semicolon in gulpfile
gulpfile.js
gulpfile.js
const gulp = require('gulp'); const minify = require('gulp-minify'); const babel = require('gulp-babel'); const concat = require('gulp-concat'); const clean = require('gulp-clean'); const rev = require('gulp-rev'); const runSequence = require('run-sequence'); const merge = require('gulp-merge-json'); const insert = req...
JavaScript
0.000379
@@ -568,16 +568,32 @@ cure.js' +, %7BnewLine: ';'%7D ))%0A%09.pip
a2536a05198f6b05100965c268c9e1430546b0f6
Fix footer spacing
src/components/Footer.js
src/components/Footer.js
import React from 'react' import { Flex, Box, Heading, Text, Link as A } from '@hackclub/design-system' import { Link } from 'react-static' import Icon from './Icon' import { mx, geo } from '../theme' const Base = Flex.withComponent('footer').extend` ${props => geo(props.theme.colors.snow)}; div { flex: 1 1 auto; ...
JavaScript
0.000001
@@ -1848,16 +1848,23 @@ %3CText + my=%7B2%7D %3ENonprof @@ -1898,24 +1898,31 @@ %3CText + my=%7B2%7D %3E%0A @@ -2087,20 +2087,19 @@ muted%22 m -t =%7B -3 +0 %7D%3E%0A
960ce6940c845353f7e73895513f278613a4067e
add additional type
lib/node-test-pull-request.js
lib/node-test-pull-request.js
'use strict' const request = require('request') const Build = require('./build') const utils = require('./utils') const chalk = require('chalk') const columnify = require('columnify') const archy = require('archy') module.exports = NodeTestPR function NodeTestPR(opts) { if (!(this instanceof NodeTestPR)) retur...
JavaScript
0.000011
@@ -1690,16 +1690,76 @@ a = %5B%5D%0A%0A + const build = new Build(res, 'node-test-pull-request')%0A%0A pr.s @@ -1791,18 +1791,36 @@ ? -'building' +utils.formatType('BUILDING') %0A @@ -1895,24 +1895,42 @@ es.duration) + %7C%7C build.duration %0A const p @@ -2492,67 +2492,8 @@ ()%0A%0A - const ...
fc06503d2030868f37b8df410ba40af5a4c3533f
Test Update
gulpfile.js
gulpfile.js
/* Dev-Dependencies */ var gulp = require('gulp'), sourcemaps = require('gulp-sourcemaps'), babel = require('gulp-babel'), mocha = require('gulp-spawn-mocha'), jshint = require('gulp-jshint'), beautify = require('gulp-jsbeautify'), shell = require('gulp-shell'), ghPages = require('gulp-gh-pages'), ri...
JavaScript
0
@@ -1552,48 +1552,8 @@ '%5D;%0A - console.log('Enabled Harmony');%0A @@ -1663,24 +1663,70 @@ nherit' %7D);%0A + console.log('Enabled Harmony', node);%0A node
a3ac2b6dfe4e199daccb70beefec47624467d689
Add links to the license and GitHub profile to the footer
src/components/Footer.js
src/components/Footer.js
import React from 'react'; import { Container } from 'semantic-ui-react'; const Footer = () => <div> <Container textAlign="center"> Free & Open Source (MIT) <br /> Copyright © 2017 laurids-reichardt <br /> <br /> </Container> </div>; export default Footer;
JavaScript
0
@@ -161,67 +161,221 @@ rce -(MIT)%0A %3Cbr /%3E%0A Copyright %C2%A9 2017 laurids-reichardt + (%0A %3Ca href=%22https://github.com/laurids-reichardt/Currency-Exchange-Rates/blob/master/LICENSE%22%3EMIT%3C/a%3E)%0A %3Cbr /%3E%0A Copyright %C2%A9 2017 %3Ca href=%22https://github.com/laurids-reic...