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 |
|---|---|---|---|---|---|---|---|
1229931a0e7711dbda9fd18ee73556f81212d134 | Fix continuous integrations | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var util = require('gulp-util');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var clean = require('gulp-clean-css');
var less = require('gulp-less');
var watch = require('gulp-watch');
var browserSync = require('browser-sync').create();
var sourceMaps = require('... | JavaScript | 0.005459 | @@ -1924,9 +1924,8 @@
('js
-H
');%0A
|
c1320f6a7c0c0fb75456fec2aaecec04a42f16cf | remove the env check | gulpfile.js | gulpfile.js | 'use strict';
const drizzle = require('drizzle-builder');
const gulp = require('gulp');
const ghPages = require('gulp-gh-pages');
const helpers = require('@cloudfour/hbs-helpers');
const tasks = require('@cloudfour/gulp-tasks');
const sass = require('gulp-sass');
const autoprefixer = require('gulp-autoprefixer');
cons... | JavaScript | 0.000001 | @@ -480,46 +480,8 @@
');%0A
-const env = require('gulp-util').env;%0A
cons
@@ -2381,27 +2381,8 @@
');%0A
- if (env.dev) %7B%0A
gu
@@ -2404,12 +2404,8 @@
');%0A
- %7D%0A
do
@@ -2398,24 +2398,25 @@
'watch');%0A done();%0A%7D);%0A
+%0A
|
a325d3ff734d74280c234dbfc89257cfda5f6aeb | Change mocha's timeout option | gulpfile.js | gulpfile.js | 'use strict';
var fs = require('fs');
var gulp = require('gulp');
var del = require('del');
var runSequence = require('run-sequence');
var merge = require('merge-stream');
var plugins = require('gulp-load-plugins')();
var spawn = require('child_process').spawn;
var open = require('open');
var paths = {
gulpfile: 'g... | JavaScript | 0.000001 | @@ -738,16 +738,34 @@
: 'spec'
+,%0A timeout: 10000
%0A%7D;%0A%0Agul
|
a395fb84868265ade6a547efd8c60d137e511f74 | Update gulp | gulpfile.js | gulpfile.js | // Require modules
var path = require('path');
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var sass = require('gulp-sass');
var cssmin = require('gulp-cssmin');
var browserSync = require('browser-sync');
var fileinclude = require('gulp-file-include');
var reload = browserSync.reload;
// paths
var ... | JavaScript | 0.000001 | @@ -1617,17 +1617,17 @@
ort: 800
-0
+1
,%0A%09%09noti
|
5f6999ec0f44926bdecc70da6cd9c130b1dcf3f2 | Integrate karma with saucelabs | config/karma.config.js | config/karma.config.js | process.env.NODE_ENV = 'test'
module.exports = function(config) {
config.set({
basePath: __dirname + '/..',
frameworks: ['browserify', 'mocha'],
files: [
'test/**/*.js'
],
preprocessors: {
'test/**/*.js': ['browserify']
},
browserify: {
debug: true,
transform: ['ba... | JavaScript | 0.000001 | @@ -49,16 +49,17 @@
function
+
(config)
@@ -70,16 +70,593 @@
con
-fig.set(
+st customLaunchers = %7B%0A SL_Chrome: %7B%0A base: 'SauceLabs',%0A browserName: 'chrome',%0A version: '48.0',%0A platform: 'Linux'%0A %7D,%0A SL_Firefox: %7B%0A base: 'SauceLabs',%0A browserName: 'fi... |
4b97584a7e5665116b6d39a71536ea51bd09db5b | remove suite test | src/neo/__test__/stores/domain/ProjectStore.spec.js | src/neo/__test__/stores/domain/ProjectStore.spec.js | /* eslint-disable */
import { useStrict, observe } from "mobx";
import ProjectStore from "../../../stores/domain/ProjectStore";
import Suite from "../../../models/Suite";
import TestCase from "../../../models/TestCase";
useStrict(true);
describe("Project Store", () => {
it("should have a name", () => {
const st... | JavaScript | 0.000001 | @@ -2873,32 +2873,379 @@
suite%22);%0A %7D);%0A
+ it(%22should delete a suite%22, () =%3E %7B%0A const store = new ProjectStore();%0A const control = store.createSuite(%22control%22);%0A const toBeDeleted = store.createSuite(%22deleted%22);%0A expect(store.suites.length).toBe(2);%0A store.deleteSuite... |
e539de547c302427c56ca84e7550c8d07a37cd82 | test in safari latest (not pinned, which was a workaround for sauce labs for awhile) | karma.browsers.js | karma.browsers.js | const browsers = {
// iOS
// ipad: {
// platform: 'OS X 10.11',
// version: '9.3',
// browserName: 'safari',
// deviceName: 'iPad 2',
// platformName: 'iOS',
// deviceOrientation: 'portrait',
// },
// Important: make sure mobile browsers are first,
// to avoid viewport overflow isses ... | JavaScript | 0 | @@ -1041,11 +1041,15 @@
n: '
-9',
+latest'
%0A %7D
|
79651c4eb2d5c52c7fc2e8fc534dc14075b03dce | add Mali.addService to benchmarks | test/benchmark.js | test/benchmark.js | const Benchmark = require('benchmark')
const metaCreate = require('../lib/metadata')
const suite = new Benchmark.Suite()
const largeMetadata = {
hello: 'world',
maxSafe: Number.MAX_SAFE_INTEGER
}
for (let i = 0; i < 5000; i++) {
largeMetadata[`key-${i}`] = `value-${i}`
}
suite
.add('metadata.create', () => ... | JavaScript | 0.000001 | @@ -77,16 +77,80 @@
tadata')
+%0Aconst Mali = require('../lib/app')%0Aconst path = require('path')
%0A%0Aconst
@@ -414,16 +414,163 @@
a)%0A %7D)%0A
+ .add('mali.addService', () =%3E %7B%0A const app = new Mali()%0A app.addService(path.join(__dirname, './protos/helloworld.proto'), 'Greeter')%0A %7D)%0A
.... |
434fad80efbe265dd6a517ebd3b8af367efe0c0f | Make it compatible with stable branch | assets/javascripts/initializers/spoiler-alert.js.es6 | assets/javascripts/initializers/spoiler-alert.js.es6 | import { withPluginApi, decorateCooked } from 'discourse/lib/plugin-api';
import { Tag } from 'discourse/lib/to-markdown';
import ComposerController from 'discourse/controllers/composer';
function spoil($elem) {
$('.spoiler', $elem).removeClass('spoiler').addClass('spoiled').spoil();
}
function initializeSpoiler(ap... | JavaScript | 0 | @@ -758,16 +758,31 @@
%0A %7D);%0A%0A
+ if (Tag) %7B%0A
Tag.pr
@@ -817,24 +817,26 @@
text) %7B%0A
+
const attr =
@@ -861,24 +861,26 @@
ibutes;%0A
+
if (attr.cla
@@ -901,24 +901,26 @@
d%22) %7B%0A
+
+
this.prefix
@@ -930,24 +930,26 @@
%5Bspoiler%5D%22;%0A
+
this.s
@@ -966,24 ... |
efd44258012e8290b98b064e10fc6e7052cbfcfa | Fix for new mongodb version warning. | template/src/server/index.js | template/src/server/index.js | import { urlencoded, json } from 'body-parser'
import cookieParser from 'cookie-parser'
// import cors from 'cors'
import express from 'express'
import mongoose from 'mongoose'
import { Nuxt, Builder } from 'nuxt'
import config from '../../nuxt.config'
import apiRoutes from './api'
const app = express()
// Global mi... | JavaScript | 0 | @@ -1036,16 +1036,42 @@
v.DB_URL
+, %7B useMongoClient: true %7D
)%0A%0Aapp.l
|
e32b242fbbfe597bb02edb6db427b89be674c474 | Add fetchSrc method to entry model. | living-with-django/models.js | living-with-django/models.js | define(['backbone'], function(B) {
var M = {};
M.Entry = B.Model.extend({});
M.Entries = B.Collection.extend({
model: M.Entry,
url: 'entries/data.json'
});
return M;
});
| JavaScript | 0 | @@ -11,16 +11,26 @@
ackbone'
+, 'marked'
%5D, funct
@@ -34,16 +34,24 @@
nction(B
+, marked
) %7B%0A va
@@ -89,16 +89,189 @@
extend(%7B
+%0A fetchSrc: function(cbs) %7B%0A require(%5B'text!' + this.get('src')%5D, function(src) %7B%0A this.set('content', marked(src));%0A _.finish(cbs);%0A ... |
a139e389debab45b8d0c10b4986f2acadf10072b | fix apiURL designation to use env var | app/src/main.js | app/src/main.js | import angular from 'angular';
import './scss/main.scss';
import components from './components';
import services from './services';
import uiRouter from 'angular-ui-router';
// import defaultRoute from 'angular-ui-router-default';
// import resource from 'angular-resource';
// import http from './auth/http';
// import ... | JavaScript | 0 | @@ -659,55 +659,102 @@
);%0A%0A
-app.value('apiUrl', 'http://localhost:3000/api'
+const apiUrl = process.env.API_URL %7C%7C 'http://localhost:3000/api';%0A%0Aapp.value('apiUrl', apiUrl
);%0A%0A
|
610249b87afcd46d10cbbcde3b4f4b16b31dfff7 | Fix typo | ui/ui/app/components/home/charts/breakdownCtrl.js | ui/ui/app/components/home/charts/breakdownCtrl.js | 'use strict';
angular.module('trackit.prediction')
.controller('BreakdownCtrl', ['$scope', '$http', 'Config', '$cookies',
function($scope, $http, Config, $cookies) {
// Key should be day or month or year (or any other key as long as it exists in data object)
function transformProducts(data, timespec) {
... | JavaScript | 0.999999 | @@ -6556,18 +6556,16 @@
ions = %7B
-gi
%0A c
|
35276ec0a33383a108003cda1bab11adced3c40d | clean up | test/clay_spec.js | test/clay_spec.js | describe('Clay', function(){
describe('10 Item fixture with 700px container', function(){
beforeEach(function (){
document.body.innerHTML = __html__['test/fixtures/index.html']
$('.container').width(700);
});
describe('items having width 200px, padding 20px', function(){
beforeEach(function (){
... | JavaScript | 0.000001 | @@ -23,17 +23,18 @@
ion()%7B%0A%0A
-%09
+
describe
@@ -87,18 +87,20 @@
ion()%7B%0A%0A
-%09%09
+
beforeEa
@@ -115,19 +115,22 @@
ion ()%7B%0A
-%09%09%09
+
document
@@ -218,25 +218,29 @@
h(700);%0A
-%09%09
+
%7D);%0A%0A
-%09%09
+
describe
@@ -295,19 +295,22 @@
ion()%7B%0A%0A
-%09%09%09
+ ... |
6e4a475a31de5886080c93786900d578b5e34ad3 | use undefined and integer as arguments | scripts/phantomjs/build_template.js | scripts/phantomjs/build_template.js | /**
* @author <a href='bocelli.hu@gmail.com'>bocelli.hu</a>
* @since tupai.js 0.1
*/
var page = require('webpage').create();
var system = require('system');
var fs = require('fs');
if (system.args.length < 4) {
console.log('build_template url scriptBasePath classPath');
end();
}
var url = system.args[1];
v... | JavaScript | 0.000029 | @@ -1923,20 +1923,20 @@
es,
-null, %22 %22
+undefined, 4
);%0A
|
9d32640c2ca0e5495873433a17a07af588f928d0 | Implement notDeepStrictEqual() function. | lib/assertTheUnexpected.js | lib/assertTheUnexpected.js | function convertObjectToArray(obj) {
var outputArray = [];
Object.keys(obj).forEach(function (key) {
var keyAsIndex = Number(key);
if (!isNaN(keyAsIndex) && keyAsIndex > -1) {
outputArray[keyAsIndex] = obj[key];
} else {
// attach it as a property
outputArray[key] = obj[key];
}
... | JavaScript | 0.000003 | @@ -4658,24 +4658,158 @@
ed);%0A %7D,%0A
+ notDeepStrictEqual: function notDeepStrictEqual(actual, expected) %7B%0A wrappedExpect(actual, 'not to equal', expected);%0A %7D,%0A
notStric
|
811fde2d675df57ed02254d43233bf2fda5ac1ca | Clean up code | test/commands.es6 | test/commands.es6 | import mdast from 'mdast';
import { expect } from 'chai';
import ShowboxError from '../lib/showbox-error';
import commands from '../lib/commands';
function build(md, base) {
return commands(mdast().parse(md), base);
}
describe('commands()', () => {
it('removes commands', () => {
let root = ... | JavaScript | 0.000004 | @@ -1776,37 +1776,29 @@
%0A let
- %5Broot,
data
-%5D
= build('!f
@@ -1821,32 +1821,35 @@
png', __dirname)
+%5B1%5D
;%0A expect
|
051f80bf755112892c0d0387336d17d791d86c76 | Update variable. | scgscrape.js | scgscrape.js | var express = require('express');
var scraper = require('./scraper');
var app = express();
// Takes in a deckID and returns a JSON representation of the deck.
app.get('/scrapedeck', function(req, res) {
deckJSON = scraper.scrapeDeck(req.query.deckID, function(deckJSON) {
console.log(deckJSON);
... | JavaScript | 0 | @@ -245,22 +245,18 @@
q.query.
+i
d
-eckID
, functi
|
8cc2ed31d0a33ac367a2b33f21f8c1f18a99f23b | add some tests | test/csvLoader.js | test/csvLoader.js | var assert = require('chai').assert,
should = require('should'),
csvLoader = require('./../lib/csvLoader');
describe('csvLoader', function() {
this.timeout(30000);
//console.log(process.env)
describe('csvLoader.load', function() {
it('should be string after loading', functio... | JavaScript | 0.000001 | @@ -175,17 +175,17 @@
timeout(
-3
+6
0000);%0A%0A
|
16394855e979a78b8d3f3705439005714dd35bd3 | Add unit tests for the class methods of Stream | test/kamo_test.js | test/kamo_test.js | var kamo = require('../src/kamo');
var assert = require('assert');
describe('kamo.Stream', function () {
beforeEach(function () {
this.stream = new kamo.Stream();
});
describe('#publish', function () {
it('publishes a message to its subscribers in the order defined', function (done) {
var index = ... | JavaScript | 0 | @@ -162,32 +162,1147 @@
tream();%0A %7D);%0A%0A
+ describe('.fromEventHandlerSetter', function () %7B%0A it('creates a new Stream from an object and its setter', function (done) %7B%0A var object = %7B%7D;%0A kamo.Stream.fromEventHandlerSetter(object, 'eventHandlerName').subscribe(function (message) %7B... |
267585ff5e8159e423f3bb61c689ce3d5a2e8675 | add missing tests for async.fail | test/lib/async.js | test/lib/async.js | 'use strict';
var chai = require('chai'),
chaiAsPromised = require('chai-as-promised');
if (!global.Promise) {
global.Promise = require('promise-polyfill');
}
chai.use(chaiAsPromised);
chai.should();
var async = require('../../lib/async-as-promised');
describe('aplus', function () {
describe('setPromise(... | JavaScript | 0.000276 | @@ -1253,32 +1253,334 @@
5);%0A %7D);%0A%7D);%0A
+describe('async.fail()', function () %7B%0A it('should return a Promise', function () %7B%0A async.fail('boo!').should.be.an.instanceOf(Promise);%0A %7D);%0A it('should resolve to provided value', function () %7B%0A return async.fail('boo!').s... |
3a136dcd610de0ffac12e2e2ff36eed1eb4b7474 | Reformat code | test/mockStore.js | test/mockStore.js | import expect from 'expect';
import { applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
const middlewares = [ thunk ];
export function mockStore(getState, expectedActions, done) {
if (!Array.isArray(expectedActions)) {
throw new Error('expectedActions should be an array of expected actions.')
}... | JavaScript | 0 | @@ -30,17 +30,16 @@
import %7B
-
applyMid
@@ -45,17 +45,16 @@
ddleware
-
%7D from '
@@ -116,23 +116,21 @@
ares = %5B
-
thunk
-
%5D;%0A%0Aexpo
@@ -186,16 +186,18 @@
done) %7B%0A
+
if (!A
@@ -225,24 +225,28 @@
Actions)) %7B%0A
+
throw ne
@@ -314,18 +314,22 @@
ns.')%0A
-%7D%0A
+ %7D%0A
... |
2ec4b4b6deeacc8df2198b3a8c72ad13637252a1 | load notifications | writer/index.js | writer/index.js | 'use strict';
// Science Writer
// ---------------
//
// Configures a simple writer for the substance journal, using the generic SubstanceWriter implementation
var $$ = React.createElement;
// Core Writer from Substance UI
// ---------------
//
var SubstanceWriter = require("substance-ui/writer");
// Configuration... | JavaScript | 0.000001 | @@ -871,94 +871,391 @@
-backend.getDocument(this.props.documentId %7C%7C %22example_document%22, function(err, doc) %7B%0A
+var notifications = this.context.notifications;%0A%0A notifications.addMessage(%7B%0A type: %22info%22,%0A message: %22Loading...%22%0A %7D);%0A%0A backend.getDocument(thi... |
873243681c53f56ea4fb699e894324ce415405b8 | Fix Russian locale | locales/jquery.timeago.ru.js | locales/jquery.timeago.ru.js | // Russian
(function() {
function numpf(n, f, s, t) {
// f - 1, 21, 31, ...
// s - 2-4, 22-24, 32-34 ...
// t - 5-20, 25-30, ...
var n10 = n % 10;
if ( (n10 === 1) && ( (n === 1) || (n > 20) ) ) {
return f;
} else if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) {
return s... | JavaScript | 0 | @@ -132,24 +132,41 @@
25-30, ...%0A
+ n = n %25 100;%0A
var n10
@@ -175,16 +175,16 @@
n %25 10;%0A
-
if (
@@ -620,17 +620,17 @@
%25d %D0%BC%D0%B8%D0%BD%D1%83%D1%82
-%D0%B0
+%D1%83
%22, %22%25d %D0%BC
@@ -1079,9 +1079,10 @@
%7D;%0A
-
%7D)();
+%0A
|
390d194bd41d5307def9ae0a0bc12b101e4133c0 | Update name | test/spec/base.js | test/spec/base.js | define('spec/base', ['flockn/base'], function(Base) {
'use strict';
describe('lyria/base', function() {
it('is a function', function() {
expect(Base).to.be.a('function');
});
describe('constructor', function() {
it('can be instantiated', function() {
var base = new Base(... | JavaScript | 0.000002 | @@ -82,13 +82,14 @@
be('
-lyria
+flockn
/bas
|
c4bdb310098801c479a9ba5d0fe93bd0aa1c2a01 | Fix lint error | lib/client/router-mixin.js | lib/client/router-mixin.js | /** Mixin: Barefoot.Router.Client
* Client specific code for the <Barefoot.Router>. The complete view object
* restoration when receiving pre-rendered UI's from the server is handled in the
* <start> method.
*
* See also:
* * <Barefoot.Router>
* * <Barefoot.View.Client>
*/
var _ = require('underscore')
, Cooki... | JavaScript | 0.000035 | @@ -180,23 +180,23 @@
ndled in
+%0A *
the
-%0A *
%3Cstart%3E
|
db5a351629a3468b7b58e81991cc24466aced3cd | Add client side user detail permission | src/app/users/user-info-component.directive.js | src/app/users/user-info-component.directive.js | (function() {
'use strict';
var app = angular.module('radar.users');
app.factory('UserInfoController', ['ModelDetailController', '$injector', function(ModelDetailController, $injector) {
function UserInfoController($scope) {
var self = this;
$injector.invoke(ModelDetailController, self, {
... | JavaScript | 0.000001 | @@ -64,24 +64,140 @@
r.users');%0A%0A
+ app.factory('UserPermission', %5B'AdminPermission', function(AdminPermission) %7B%0A return AdminPermission;%0A %7D%5D);%0A%0A
app.factor
@@ -258,16 +258,34 @@
jector',
+ 'UserPermission',
functio
@@ -318,16 +318,32 @@
injector
+, UserPermission
) %7B%0A
@@ -482... |
7e3e30cb1ddb7dc4223e65a8dac82e1d512b4f6f | remove obsolete spec | test/spec/lazy.js | test/spec/lazy.js | import test from 'ava';
import simpleload from '../../index';
test('should reserve namespaces based on dev dependencies', t => {
var plugins = simpleload(__dirname + '/../fixture/dir_22/package.json', { lazy: true });
t.truthy(plugins.chai, 'chai should be defined');
t.truthy(plugins.eslint, 'eslint shoul... | JavaScript | 0 | @@ -422,20 +422,18 @@
mocha, '
-moch
+av
a should
@@ -468,25 +468,19 @@
plugins.
-coveralls
+ava
, 'cover
@@ -659,32 +659,32 @@
lazy: true %7D);%0A%0A
+
t.truthy(plu
@@ -735,244 +735,4 @@
%7D);%0A
-%0Atest('should load the module on demand', t =%3E %7B%0A var plugins = simpleload(__dirname + '/../fixture/... |
eb1af75a4ca09259f3f9a90da457932f09fbce9d | fix bug | src/routes/Admin/Department/ListDepartment/index.js | src/routes/Admin/Department/ListDepartment/index.js | import { injectReducer } from '../../../../store/reducers'
export default (store) => ({
path: 'admin/departments',
/* Async getComponent is only invoked when route matches */
getComponent (nextState, cb) {
/* Webpack - use 'require.ensure' to create a split point
and embed an async module loader (js... | JavaScript | 0.000001 | @@ -870,877 +870,4 @@
%0A%7D)%0A
-import %7B injectReducer %7D from '../../../../store/reducers'%0A%0Aexport default (store) =%3E (%7B%0A path: 'admin/departments',%0A /* Async getComponent is only invoked when route matches */%0A getComponent (nextState, cb) %7B%0A /* Webpack - use 'require.ensure' to creat... |
250139c65987777895fc7f68f72c146644f662dd | fix minor bug | comic-reader.js | comic-reader.js | /**
* comic-reader.js
* Copyright(c) 2012 Aaron Hedges <aaron@dashron.com>
* MIT Licensed
*
* @author : Aaron Hedges <aaron@dashron.com>
* @todo : pull all dom out of the comic reader, have it fire events, and have the jquery plugin attach the dom to the events
*/
(function( $ ) {
var ComicReader = function(ro... | JavaScript | 0.000001 | @@ -4373,37 +4373,36 @@
this.loadImages(
-_self
+this
.current_image,
@@ -4465,37 +4465,36 @@
this.loadImages(
-_self
+this
.current_image +
@@ -4588,37 +4588,36 @@
this.loadImages(
-_self
+this
.current_image -
|
fa2486c6a5d3665a7faf471314853daf37306bd4 | Update Variable's indexing property to 'key' | lib/collection/variable.js | lib/collection/variable.js | var _ = require('../util').lodash,
Property = require('./property').Property,
E = '',
ANY = 'any',
Variable;
/**
* The object representation of a Variable consists the variable value and type. It also optionally includes the `id`
* and a friendly `name` of the variable. The `id` and the `name` of a... | JavaScript | 0 | @@ -4840,16 +4840,188 @@
iable',%0A
+%0A /**%0A * Specify the key to be used while indexing this object%0A * @private%0A * @readOnly%0A * @type %7BString%7D%0A */%0A _postman_propertyIndexKey: 'key',%0A%0A
/**%0A
|
24831d099d64b4cd91fe7c2907a9e301ccc944ac | update scan | www/heytzBle.js | www/heytzBle.js | var exec = require('cordova/exec');
var stringToArrayBuffer = function (str) {
var ret = new Uint8Array(str.length);
for (var i = 0; i < str.length; i++) {
ret[i] = str.charCodeAt(i);
}
return ret.buffer;
};
module.exports = {
scan: function (success, error) {
//todo 需要修改
//... | JavaScript | 0.000001 | @@ -257,32 +257,51 @@
scan: function (
+services, seconds,
success, error)
@@ -314,91 +314,87 @@
-//todo %E9%9C%80%E8%A6%81%E4%BF%AE%E6%94%B9%0A //exec(success, error, %22HeytzBle%22, %22scan%22, %5Bservices, seconds%5D)
+if (services === null) services = %5B%5D;%0A if (seconds === null) seconds... |
d39f20178317f05429c14f6b0959015145399972 | Fix wrong client key in ProjectRadioGroups | src/routes/Togglol/components/ProjectRadioGroups.js | src/routes/Togglol/components/ProjectRadioGroups.js | import React from 'react'
var LocalStorageMixin = require('react-localstorage');
const state_key = "togglol-prg-state";
class ProjectRadioGroups extends React.Component {
constructor(props) {
super(props);
if(localStorage.getItem(state_key) == null) {
this.state = {
projectList: []
... | JavaScript | 0 | @@ -211,144 +211,8 @@
s);%0A
- if(localStorage.getItem(state_key) == null) %7B%0A this.state = %7B%0A projectList: %5B%5D%0A %7D%0A %7D%0A else %7B%0A
@@ -270,20 +270,37 @@
key)
-); %0A %7D
+ %7C%7C '%7B %22projectList%22: %5B%5D %7D');
%0A
@@ -609,32 +609,69 ... |
6a3b0504dc2dc0cede307278fc55d46b2167bc27 | read border-top-style instead of border-style (#243) | tests.js | tests.js | Tinytest.add("sass/scss - imports", function (test) {
var div = document.createElement('div');
document.body.appendChild(div);
var prefixes = ['scss'/*,'sass'*/];
try {
var t = function (className, style) {
prefixes.forEach(function(prefix){
div.className = prefix + '-' + className;
... | JavaScript | 0 | @@ -304,16 +304,281 @@
assName;
+%0A%0A // Read 'border-top-style' instead of 'border-style' (which is set%0A // by the stylesheet) because only the individual styles are computed%0A // and can be retrieved. Trying to read the synthetic 'border-style'%0A // gives an empty string.
%0A ... |
0142e2b0386fc88d8646abb3ee35b91a35c448fe | Convert id to _key in ArangoDB filters | lib/database/provider/arango/index.js | lib/database/provider/arango/index.js | 'use strict';
var Arangojs = require('arangojs');
var aql = Arangojs.aql;
var util = require('util');
var slug = require('slug');
var _ = require('lodash');
const DB_SYSTEM = '_system';
/**
* ArangoDB provider
* @param {Object} conn Arangojs database connection.
*/
function Arango(conn) {
this._db = conn;
}
fu... | JavaScript | 0.011304 | @@ -976,24 +976,54 @@
operator) %7B%0A
+ filter = ensureKey(filter);%0A
if (!opera
@@ -2403,38 +2403,8 @@
%7D%0A
- filter = ensureKey(filter);%0A
le
@@ -4312,38 +4312,8 @@
n);%0A
- filter = ensureKey(filter);%0A
le
|
77122f3440bddd3b7a2eced3167124e572dd71b2 | use correct key for setting effect | hyperion.js | hyperion.js | module.exports = function (RED) {
function HyperionServerConfNode(config) {
RED.nodes.createNode(this, config);
this.ip = config.ip;
this.port = config.port;
this.name = config.name;
}
RED.nodes.registerType('Hyperion-Server-Conf', HyperionServerConfNode);
function Hype... | JavaScript | 0.000001 | @@ -2132,13 +2132,14 @@
oad.
-value
+effect
, ms
@@ -3073,8 +3073,9 @@
Node);%0A%7D
+%0A
|
7a94c3a0dd2ee0ee40aec5e9f16f17c1c2d23f5f | Fix link generation of #800 | generate-readme-toc.js | generate-readme-toc.js | 'use strict';
// Load modules
const Toc = require('markdown-toc');
const Fs = require('fs');
const Package = require('./package.json');
// Declare internals
const internals = {
api: {
filename: './API.md',
contents: Fs.readFileSync('./API.md', 'utf8')
},
readme: {
filename: './RE... | JavaScript | 0 | @@ -1176,16 +1176,26 @@
filename
+.substr(2)
%7D)%60);%0A%0A
|
61dd30e89956c9bfcbb46a53332226b079f4b2fb | Add repo and uefi to required options list | lib/task-data/base-tasks/uefi-task.js | lib/task-data/base-tasks/uefi-task.js | // Copyright 2016, EMC, Inc.
'use strict';
module.exports = {
friendlyName: 'base-uefi',
injectableName: 'Task.Base.uefi',
runJob: 'Job.Uefi',
requiredOptions: [
'profile'
],
requiredProperties: {},
properties: {}
};
| JavaScript | 0 | @@ -191,16 +191,52 @@
profile'
+,%0A 'repo',%0A 'uefitool'
%0A %5D,%0A
|
f8f45c0e51eeed4f124d02abeef01e92ad4d23b2 | Remove console log from line chart | app/assets/javascripts/d3/lineGraph/lineGraph.js | app/assets/javascripts/d3/lineGraph/lineGraph.js | function InitLineGraph(nationalData) {
var parseDate = d3.time.format("%Y-%m-%d");
nationalData.forEach(function(d) {
d.date = parseDate.parse(d[0].date);
});
console.log(nationalData);
var graph = d3.select("#line-graph");
var WIDTH = 1000;
var HEIGHT = 500;
var MARGINS = {
top: 20,
rig... | JavaScript | 0.000001 | @@ -166,37 +166,8 @@
%7D);%0A
- console.log(nationalData);%0A
va
|
b132ca17e59bdc2a138f4a9afcb10d659e4e26a2 | Change the forma250 slug | app/assets/javascripts/helpers/datasetsHelper.js | app/assets/javascripts/helpers/datasetsHelper.js | define([
'underscore'
], function(
_
) {
/**
* List of the datasets of the platform
*/
var datasetList = {
'glad-alerts': {
title: 'GLAD tree cover loss alerts',
long_title: 'weekly GLAD tree cover loss alerts',
sub_title: 'weekly, 30m, select countries, UMD/GLAD',
layerSlug: [... | JavaScript | 0.000661 | @@ -2822,24 +2822,22 @@
: 'forma
-_month_3
+250GFW
',%0A
@@ -3162,33 +3162,31 @@
slug: 'forma
-_activity
+-alerts
',%0A slu
|
f29a47c69f1d0ddf8148a9151ba40eedbff53468 | Change font-size even when the window is resized | timer.js | timer.js | function formatTime(num){
var minute = '0' + String(Math.floor(num / 60));
var second = '0' + String(num % 60);
return minute.substr(-2) + ':' + second.substr(-2);
}
function resetTimer(){
var timer = $('#timer');
timer.text('00:00');
timer.css('color', 'lime');
}
function count(current, maxi... | JavaScript | 0.000001 | @@ -1082,24 +1082,62 @@
FontSize();%0A
+ $(window).resize(extendFontSize);%0A
$('#star
|
a8b511f20874b54efac2538f20780f518a411cf3 | use version 3.x of jQuery | app/assets/javascripts/socializer/application.js | app/assets/javascripts/socializer/application.js | // This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directl... | JavaScript | 0 | @@ -413,16 +413,17 @@
e jquery
+3
%0A//= req
|
3c85d2cdbb593b01a58005f8a0b7ed29a1b327c6 | change license | www/security.js | www/security.js | /*
Copyright 2016 Kim UNG
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 law or agreed to in writing, soft... | JavaScript | 0.000001 | @@ -1,12 +1,32 @@
/*
+*
%0A
+* MIT License%0A *%0A *
Copyrig
@@ -27,16 +27,20 @@
opyright
+ (c)
2016 Ki
@@ -49,173 +49,346 @@
UNG%0A
-%0A Licensed under the Apache License, Version 2.0 (the %22License%22);%0A you may not use this file except in compliance with the License.%0A You may obtain a
+ *%0A * Permi... |
19bb145e78c76ba530197158fae8de5ab0d4e8a6 | add webid manger link for packaged | app/extensions/safe/components/wrapAddressBar.js | app/extensions/safe/components/wrapAddressBar.js | import React, { Component } from 'react';
// import styles from './browser.css';
import { CLASSES, isRunningSpectronTestProcess } from 'appConstants';
import { SAFE } from 'extensions/safe/constants';
import { Column, IconButton, Grid } from 'nessie-ui';
import logger from 'logger';
import styles from './webIdButtons.c... | JavaScript | 0 | @@ -120,16 +120,36 @@
tProcess
+, startedRunningMock
%7D from
@@ -405,16 +405,37 @@
gerURI =
+ startedRunningMock ?
'http:/
@@ -450,16 +450,39 @@
st:1234'
+ : 'safe://webidea.ter'
;%0Aexport
|
2c6194d3b7a768e44c98cf2c10e5651036103982 | handle multiple uploads and abort | lib/helper/s3FileHelper.js | lib/helper/s3FileHelper.js | /**
* @ngdoc service
* @name predicsis.jsSDK.helpers.s3FileHelper
* @require $injector
* - Uploads
* - $q
*/
angular
.module('predicsis.jsSDK.helpers')
.service('s3FileHelper', function($injector) {
'use strict';
var Upload = $injector.get('Uploads');
var $q = $injector.get('$q');
/**
*... | JavaScript | 0 | @@ -297,16 +297,1008 @@
t('$q');
+%0A var files = %5B%5D;%0A var progressHandlers = %5B%5D;%0A var requests = %5B%5D;%0A%0A function findFileIndex(file) %7B%0A var index = files.indexOf(file);%0A if(index === -1) %7B%0A files.push(file);%0A index = files.length - 1;%0A %7D%0A ... |
5f6529127b5460b52f7051908f3216b6eb609fa4 | Fix documentation of s3FileHelper to be able to build sdk's doc | lib/helper/s3FileHelper.js | lib/helper/s3FileHelper.js | /**
* @ngdoc service
* @name predicsis.jsSDK.s3FileHelper
* @require $injector
*/
angular.module('predicsis.jsSDK')
.service('s3FileHelper', function($injector) {
'use strict';
var Upload = $injector.get('Uploads');
var $q = $injector.get('$q');
/**
* @ngdoc function
* @methodOf predic... | JavaScript | 0 | @@ -75,16 +75,37 @@
njector%0A
+ * - Uploads%0A * - $q%0A
*/%0Aangu
@@ -107,16 +107,19 @@
%0Aangular
+%0A
.module(
@@ -499,16 +499,279 @@
Promise%7D
+ Resolved promise my have 2 response whether if upload success or fail:%0A * %3Cul%3E%0A * %3Cli%3E%3Cb%3ESuccess%3C/b%3E %3Ccode%3E%7Bfilename: file.na... |
51809eed978b29ddadf67f6ba048a0817cc9ca5a | Remove unnecessary each and add some clarifying comments | app/scripts/services/dimVendorService.factory.js | app/scripts/services/dimVendorService.factory.js | (function() {
'use strict';
angular.module('dimApp')
.factory('dimVendorService', VendorService);
VendorService.$inject = ['$rootScope', '$q', 'dimBungieService', 'dimItemDefinitions', 'dimPlatformService', 'dimVendorDefinitions', 'dimStoreService', '$http'];
function VendorService($rootScope, $q, dimBun... | JavaScript | 0 | @@ -1714,18 +1714,18 @@
rItems:
-%7B%7D
+%5B%5D
,%0A
@@ -1885,32 +1885,67 @@
tion(vendors) %7B%0A
+ // Get vendor metadata%0A
retu
@@ -2351,32 +2351,85 @@
tion(vendors) %7B%0A
+ // Add items that are buyable to vendors%0A
var
@@ -2823,116 +2823,49 @@
-_.... |
418d2383165283e99bfedaa30b46a29fd8aee185 | Fix minor debug | lib/integration/regions.js | lib/integration/regions.js | const fs = require('fs');
const parse = require('csv-parse');
const t = require('through2').obj;
const iconv = require('iconv-lite');
const JSONStream = require('JSONStream');
const streamify = require('stream-array');
/* Initialisation */
function init(ctx, next) {
ctx.regions = new Map();
ctx.getRegion = (code)... | JavaScript | 0.000029 | @@ -636,13 +636,11 @@
cog_
-depts
+reg
2016
|
a6168934c61782d0b231f6433f810a08ed32540d | convert to page | lib/integrations/sentry.js | lib/integrations/sentry.js |
var integration = require('../integration')
, load = require('load-script');
/**
* Expose `Sentry` integration.
*
* http://raven-js.readthedocs.org/en/latest/config/index.html
*/
var Sentry = module.exports = integration('Sentry');
/**
* Required key.
*/
Sentry.prototype.key = 'config';
/**
* Default ... | JavaScript | 0.999953 | @@ -41,12 +41,13 @@
on')
-%0A ,
+;%0Avar
loa
@@ -102,321 +102,90 @@
try%60
- integration.%0A *%0A * http://raven-js.readthedocs.org/en/latest/config/index.html%0A */%0A%0Avar Sentry = module.exports = integration('Sentry');%0A%0A%0A/**%0A * Required key.%0A */%0A%0ASentry.prototype.key = 'config';%0A%0A%0A/**%0A *... |
2a509d5c38ac01c3d8fac0034ed9e2a3bb6b5f62 | Clarify comments. | lib/middleware/complete.js | lib/middleware/complete.js | /**
* Module dependencies.
*/
var MissingStateError = require('../errors/missingstateerror');
module.exports = function(dispatcher, store, options) {
if (typeof options == 'string') {
options = { name: options };
}
options = options || {};
var from = options.name;
var getHandle = options.getHandle ... | JavaScript | 0.000001 | @@ -91,16 +91,109 @@
or');%0A%0A%0A
+/**%0A * Complete state.%0A *%0A * This middleware is used to complete a stateful interaction.%0A */%0A
module.e
@@ -2646,29 +2646,35 @@
of the p
+a
re
-vious
+nt
state
+, if any
. This%0A
@@ -2727,25 +2727,22 @@
d with %60
-resumeSta
+comple
teError%60
@@ -2841,23 +2841,2... |
3834bbbcccd4573f0b58da69245304265d58a1d6 | Fix index creation from model schema | lib/models/GraphManager.js | lib/models/GraphManager.js | import OrientDB from 'orientjs';
import { isEmpty, find, toLower, keys, reject, forEach, difference, map } from 'lodash-es';
import GraphConfigurationSchema from './../config/configSchema';
import GraphError from './../exception';
let instances = {};
class GraphManager {
constructor(connection, configuration) {
... | JavaScript | 0.000001 | @@ -1955,24 +1955,28 @@
name%5D;%0A %7D
+%0A
else %7B%0A
@@ -3056,20 +3056,8 @@
map(
-%0A keys(
clas
@@ -3067,24 +3067,17 @@
operties
-),%0A
+,
prop =%3E
@@ -3075,26 +3075,24 @@
, prop =%3E %7B%0A
-
if (sc
@@ -3139,26 +3139,24 @@
) %7B%0A
-
return this.
@@ -3185,26 +318... |
8cf1337e65bd7720009897b78d3f0cbe6c2158eb | correct shouldRejected handling | lib/promise-test-helper.js | lib/promise-test-helper.js | "use strict";
function isPromise(obj) {
return obj && typeof obj.then === 'function';
}
function shouldFulfilled(promise) {
if (!isPromise(promise)) {
throw new Error("This is not promise object: " + promise);
}
return {
// when promise is rejected, throw error
"then": function ... | JavaScript | 0.000012 | @@ -624,32 +624,189 @@
%0A );%0A
+ %7D,%0A %22catch%22: function () %7B%0A throw new Error(%22Expected promise to be fulfilled so you should use %60shouldFulfilled(promise).then%60%22);%0A
%7D%0A %7D;
@@ -952,32 +952,528 @@
%7D%0A return %7B%0A
+ %22then%22: ... |
38db7b8281add99c23ba308bba1f2a729a2f673a | Use map/reduce instead of forEach/Array.prototype.push.apply | lib/sql-query-optimizer.js | lib/sql-query-optimizer.js | 'use strict';
const has = require('has');
const { filterTree } = require('../lib/util');
const unique = (array) => Array.from(new Set(array));
/**
* Get used table names from AST
*
* @type {Function}
* @param {Object} node
* @return {Array.<string>} Array of table names
* @private
*/
const getTableExpressions ... | JavaScript | 0.000002 | @@ -885,25 +885,16 @@
ssions =
- %5B%5D;%0A%0A
%5B'colum
@@ -932,172 +932,274 @@
by'%5D
-.forEach((clause) =%3E %7B%0A // extract tables used in given clauses%0A if (ast%5Bclause%5D !== null) %7B%0A Array.prototype.push.apply(tableExpressions,
+%0A .filter((clause) =%3E has(ast, ... |
de2e516fadee08aa7903a492512b9af378fa3673 | update gruntFile.js | GruntFile.js | GruntFile.js | module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.config('coffee', {
options: {
bare: true
},
files: {
expand: true,
cwd: './',
src: [
'*Bundle/Resources/public/coffee/!**!/!*.coffee'
... | JavaScript | 0.000001 | @@ -72,24 +72,66 @@
b-coffee');%0A
+ grunt.loadNpmTasks('grunt-js-test');%0A%0A
grunt.co
@@ -147,16 +147,16 @@
fee', %7B%0A
-
@@ -338,14 +338,11 @@
fee/
-!
**
-!/!
+/
*.co
@@ -662,49 +662,9 @@
);%0A%0A
- grunt.loadNpmTasks('grunt-js-test');
%0A
+
@@ -741,29 +741,15 @@
unt.
-initC
+c
... |
4299918fefae120d8e17bff0e55f670b36c3f72e | add changelog task for grunt | Gruntfile.js | Gruntfile.js | 'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jasmine_node: {
},
jshint: {
options: {
jshintrc: '.jshintrc'
},
gruntfile: {
src: 'Gruntfile.js'
},
lib: {
src: ['lib/**/*.js']
},
test: {
... | JavaScript | 0.000006 | @@ -892,16 +892,71 @@
atch');%0A
+ grunt.loadNpmTasks('grunt-conventional-changelog');%0A%0A
%0A // De
|
b6df4b75370f5e7b2eedfc339dc5679d706ed775 | enable es7.exportExtensions transformer | Gruntfile.js | Gruntfile.js | /**
* Created by novacrazy on 7/8/14.
*/
module.exports = function( grunt ) {
grunt.loadNpmTasks( 'grunt-babel' );
grunt.loadNpmTasks( 'grunt-contrib-clean' );
grunt.loadNpmTasks( 'grunt-banner' );
var LICENSE = '/****\n * ' + grunt.file.read( './LICENSE', {encoding: 'utf-8'} ).replace( /\n/ig, '\n... | JavaScript | 0.000001 | @@ -1324,106 +1324,28 @@
-//'minification.deadCodeElimination',%0A //'utility.inlineEnvironmentVariable
+'es7.exportExtension
s',%0A
@@ -2017,32 +2017,80 @@
pertyLiterals',%0A
+ 'es7.exportExtensions',%0A
|
4c8cb38a60a62a13e9b42b93b3863958f8f6b30e | Update grunt file | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
'groc': {
javascript: ["*.js", "*.md", "*/*.js", "*/*.md"],
options: {
"out": "docs-dist/"
},
},
'gh-pages': {
options: {
base: 'docs-dist'
},
src: ['**']
},
'open' : {
... | JavaScript | 0.000001 | @@ -28,17 +28,16 @@
runt) %7B%0A
-%09
grunt.in
@@ -47,18 +47,24 @@
onfig(%7B%0A
-%09%09
+
pkg: gru
@@ -97,18 +97,24 @@
json'),%0A
-%09%09
+
'groc':
@@ -115,19 +115,28 @@
roc': %7B%0A
-%09%09%09
+
javascri
@@ -151,148 +151,326 @@
js%22,
-
%22*.md%22
-, %22*/*.js%22, %22*/*.md%22%5... |
f2eb86fa472aeb4dd462ab95bca42c0ab3e1462b | change commander names | Gruntfile.js | Gruntfile.js | var Path = require('path')
var prompt = require('prompt')
prompt.start()
var stream = 'stable'
var media = require('./lib/path').media(stream)
module.exports = function(grunt) {
var ais = grunt.file.readJSON('ais.json')
var identifier = 'com.wondible.pa.ai_showdown.' + ais.ais.map(function(ai) {return ai.rule_pos... | JavaScript | 0.000006 | @@ -5289,24 +5289,58 @@
+ specPath)%0A
+ spec.display_name = ai.name%0A
spec.u
|
f8bc50320adc21be67f608b9f35c013367f5a857 | Remove unused bower_components reference in gruntfile | Gruntfile.js | Gruntfile.js | // Generated on 2013-10-21 using generator-webapp 0.4.3
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
// Show elapsed time at ... | JavaScript | 0 | @@ -868,41 +868,8 @@
: %7B%0A
- bower: 'bower_components',%0A
|
96255a1387a1b5c174516a474986fcc0e8b55d7c | Revert JS dist file path to dist/js (#31) | Gruntfile.js | Gruntfile.js | /*
* Copyright (c) 2017 Jeremy Thomerson
* Licensed under the MIT license.
*/
'use strict';
var path = require('path'),
getCodeVersion = require('silvermine-serverless-utils/src/get-code-version');
const sass = require('node-sass');
module.exports = function(grunt) {
var DEBUG = !!grunt.option('debug'),
... | JavaScript | 0 | @@ -670,24 +670,84 @@
e, 'dist'),%0A
+ jsFileName: 'silvermine-videojs-quality-selector',%0A
%7D,%0A
@@ -821,29 +821,43 @@
'js', '%3C%25=
-pkg.n
+config.dist.jsFileN
ame %25%3E.js'),
@@ -908,29 +908,43 @@
'js', '%3C%25=
-pkg.n
+config.dist.jsFileN
ame %25%3E.min.j
|
d475e796f55f7f786e8bba9cb43e83c788ac20b0 | force => false | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
grunt.option('force', true);
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks('grunt-ts');
grunt.loadNpmTasks('grunt-typings');
grunt.loadNpmTasks('grunt-mocha-cli');
grunt.loadNpmTasks("grunt-contrib-compress");
grunt.registerTask("default",... | JavaScript | 0.999452 | @@ -55,19 +55,20 @@
force',
-tru
+fals
e);%0A%0A
|
09979849e83a8879f2bc4a7d89c72aa72cf20948 | Update sass path | Gruntfile.js | Gruntfile.js | 'use strict';
module.exports = function(grunt) {
// ----------------------------------------------------------
// WARNING, BRAVE DEVELOPER
// ----------------------------------------------------------
// Webhook allows you to use local grunt tasks and files.
// However, these tasks are ONLY RUN LOCALLY and n... | JavaScript | 0 | @@ -1206,16 +1206,19 @@
src: %5B'*
+*/*
.scss'%5D,
|
043bb1534d28959404dc11ea14dd19d9c9e2668b | check that pact exists before reading it for #20 | Gruntfile.js | Gruntfile.js | /*global module*/
module.exports = function (grunt) {
'use strict';
require('time-grunt')(grunt);
require('load-grunt-config')(grunt, {
config: {
webPageTestApiToken: process.env.WEB_PAGE_TEST_API_TOKEN,
pact: grunt.file.readJSON('tmp/pacts/travi.org-admin-travi-api.json'),
... | JavaScript | 0 | @@ -74,102 +74,82 @@
-require('time-grunt')(grunt);%0A require('load-grunt-config')(grunt, %7B%0A
+var pact = 'tmp/pacts/travi.org-admin-travi-api.json';%0A
+var
config
-:
+ =
%7B%0A
-
@@ -222,157 +222,258 @@
- pact: grunt.file.readJSON('tmp/pacts/travi.org-admin-travi-api.json'... |
1840566bb80c1ae9899bb3205129bf4faf35ebe5 | Change conflicting livereload port. | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
/* Loads npm tasks.
Add or remove packages from `package.json`*/
grunt.loadNpmTasks('grunt-contrib-requirejs');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grun... | JavaScript | 0 | @@ -1350,36 +1350,69 @@
livereload:
-true
+%7B%0A port: 35720%0A %7D
%0A %7D%0A
@@ -1526,36 +1526,69 @@
livereload:
-true
+%7B%0A port: 35720%0A %7D
%0A %7D%0A
@@ -1724,12 +1724,45 @@
ad:
-true
+%7B%0A port: 35720%0A %7D... |
104e8e6f9ee764c68548b8f2d9f980057bdc1992 | Add bower_components to sass load path | Gruntfile.js | Gruntfile.js | /*
* lintel-contrib-alerts
* https://github.com/lintelio/lintel-contrib-alerts
*
* Copyright (c) 2014 Marius Craciunoiu
* Licensed under the MIT license.
*/
'use strict';
module.exports = function (grunt) {
var lintel = {
test: 'test',
dist: 'dist'
};
// Load all npm grunt tasks
require('load-... | JavaScript | 0 | @@ -542,24 +542,54 @@
ntel/sass',%0A
+ 'bower_components',%0A
's
|
777715bdae31a595873e1987c958c521b80fdb03 | Revert to require'd test setup. | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
"use strict";
var webpack = require("webpack");
var HtmlWebpackPlugin = require("html-webpack-plugin");
var ExtractTextPlugin = require("extract-text-webpack-plugin");
grunt.initConfig({});
grunt.loadNpmTasks("grunt-webpack");
grunt.config.set("webpack",... | JavaScript | 0 | @@ -4834,16 +4834,50 @@
egister%22
+,%0A %22test/testSetup%22
%0A
|
b53f57a4f2e10a86361a224b7e8ede3c3f937f40 | fix bump commit message | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
grunt.initConfig({
bump: {
options: {
files: ['package.json'],
commitFiles: ['release/', 'package.json', 'CHANGELOG.md'],
tagName: '%VERSION%',
push: false
}
},
clean: {
temp: 'temp',
release: 'release'
},
... | JavaScript | 0 | @@ -108,24 +108,85 @@
age.json'%5D,%0A
+ commitMessage: 'chore(release): release v%25VERSION%25',%0A
comm
|
3711ea26b065864520f39dc23100b25bf89d61ff | Increase tests timeout | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
'use strict';
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
connect: {
server: {
options: {
port: 8000,
hostname: 'localhost'
}
}
},
... | JavaScript | 0.000001 | @@ -558,32 +558,101 @@
%7D%0A
+ %7D,%0A options: %7B%0A timeout: 10000%0A
%7D%0A
|
96a0d35c27f6c546fc1431cd73165eaf62494dd9 | add git-hooks, uglify... | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.file.defaultEncoding = 'utf-8';
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.hom... | JavaScript | 0 | @@ -1160,16 +1160,17 @@
lib/*js'
+
%5D%0D%0A
|
8ae3cfc1c1090e35b1706999d7adfeed5b780ff4 | Fix watch file | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
options: {
curly: true,
eqeqeq: true,
es3: true,
immed: true,
indent: 2,
latedef: true,
newcap: true,
noarg: true,
quotmark: t... | JavaScript | 0.000005 | @@ -1254,23 +1254,8 @@
%25%3E'
-, 'test/*.html'
%5D,%0A
|
75fc96c0289f9c1cf977c2011550f9f2bec8d7cc | complete Gruntfile.js, achieve the build task and watch task. | Gruntfile.js | Gruntfile.js | module.exports = function(grunt){
grunt.initConfig({
distdir: 'public/dist',
pkg: grunt.file.readJSON('package.json'),
banner:
'/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? " * " + pkg.homepage + "... | JavaScript | 0 | @@ -616,114 +616,8 @@
'%5D,%0A
- specs: %5B'public/test/**/*.spec.js'%5D,%0A scenarios: %5B'public/test/**/*.scenario.js'%5D,%0A
@@ -3461,11 +3461,13 @@
-all
+build
: %7B%0A
@@ -3493,115 +3493,28 @@
es:%5B
-'%3C%25= src.js %25%3E', '%3C%25= src.specs %25%3E', '%3C%25= src.lessWatch ... |
76bc01d1d009f3373cbfd132b824abb70ccbf69b | Add a "test" target. | Gruntfile.js | Gruntfile.js | /*
* grunt-contrib-internal
* http://gruntjs.com/
*
* Copyright (c) 2014 Tyler Kellen, contributors
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: [
'Gruntfile.js',
'tasks/*.js',
... | JavaScript | 0 | @@ -638,13 +638,56 @@
trib'%5D);
+%0A grunt.registerTask('test', %5B'default'%5D);
%0A%0A%7D;%0A
|
cdb95af1a3b4693b6786663a64bb42ee067499c8 | improve uglify task | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
"use strict";
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
watch: {
karma: {
files: ["src/*.js", "test/spec/*.js"],
tasks: ["karma:watch:run"]
}
},
jshint: {
... | JavaScript | 0.999896 | @@ -3741,20 +3741,187 @@
-report: %22min
+sourceMap: %22dist/%3C%25= pkg.name %25%3E-%3C%25= pkg.version %25%3E.min.map%22,%0A sourceMappingURL: %22%3C%25= pkg.name %25%3E-%3C%25= pkg.version %25%3E.min.map%22,%0A report: %22gzip
%22%0A
|
798b6c58b07309b67337550c5c5f72409b5c60b5 | remove custom timeouts | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
var requirejsOptions = require('./js/config'),
karmaConfig = require('./node_modules/karma/lib/config'),
karmaFiles = [];
karmaFiles.push('js/config.js');
karmaFiles.push('tests/config.js');
for (var key in requirejsOptions.paths) {
karmaFiles.push({
p... | JavaScript | 0.000001 | @@ -1826,129 +1826,8 @@
00,%0A
- browserDisconnectTimeout: 10000,%0A browserDisconnectTolerance: 2,%0A browserNoActivityTimeout: 30000,%0A
|
913c5440d18f4d34da5802014c30f2b627c780d6 | Remove copy task from Gruntfile | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
jshint: {
files: ['Gruntfile.js', './sticky-sidebar.js'],
options: {
globals: {
jQuery: true
},
reporterOutput: ""
}
},
uglify: {
target: {
files: {
'sticky-sidebar.min.js': 'sticky-sidebar.js'
},
},
},
copy: ... | JavaScript | 0.000001 | @@ -309,108 +309,8 @@
%09%7D,%0A
-%09%09copy: %7B%0A%09%09%09main: %7B%0A%09%09%09%09expand: true,%0A%09%09%09%09src: 'sticky-sidebar.js',%0A%09%09%09%09dest: 'docs/js'%0A%09%09%09%7D,%0A%09%09%7D,%0A
%09%09wa
@@ -380,24 +380,16 @@
'uglify'
-, 'copy'
%5D%0A%09%09%7D%0A%09%7D
@@ -669,16 +669,8 @@
ify'
-, 'copy'
%5... |
c5d974ff1129cb0c84a448fb59ce4f7cea2bf2ae | build automatically before grunt test | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: ['out/'],
mkdir: {
out: {
options: {
create: ['out'],
},
},
},
run: {
'generate-listings': {
cmd: 'tools/gen',
... | JavaScript | 0 | @@ -2217,16 +2217,40 @@
ild out/
+ (without type checking)
', %5B%0A
@@ -2437,24 +2437,33 @@
nittests', %5B
+'build',
'run:test'%5D)
@@ -2699,16 +2699,20 @@
',%0A '
+run:
test',%0A
|
cd6b63092969d4c0dec70c047dc66841b2c54a64 | Update JSHint options. | Gruntfile.js | Gruntfile.js | 'use strict';
module.exports = function(grunt) {
// Force use of Unix newlines
grunt.util.linefeed = '\n';
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: {
dist: 'dist'
},
less: {
core: {
options: {
sourceMap: true,
outputSourceFiles: true,
sourceMapURL: '<%= p... | JavaScript | 0 | @@ -833,22 +833,21 @@
: %7B%0A%09%09%09%09
-strict
+curly
: true,%0A
@@ -872,102 +872,132 @@
true
+,
%0A%09%09%09
-%7D,%0A%09%09%09core: %7B%0A%09%09%09%09options: %7B%0A%09%09%09%09%09jquery: true,%0A%09%09%09%09%09globals: %7B%0A%09%09%09%09%09%09console
+%09latedef: true,%0A%09%09%09%09noempty: true,%0A%09%09%09... |
1dd809df80906078eee2765ef379095d4acf230e | Remove manual sauce tunnel Grunt task | Gruntfile.js | Gruntfile.js | 'use strict';
module.exports = function (grunt) {
grunt.initConfig({
/*
* Information can be loaded from the package.json and reused in the
* Gruntfile. This is nice in order to avoid duplication of information.
*/
pkg: '<json:package.json>',
/*
* Just a... | JavaScript | 0.000001 | @@ -6433,39 +6433,8 @@
r',%0A
- 'sauce_connect:tests',%0A
|
c6cb5cb51c671c24f9dd2a0b530db72d09ec3f63 | Add Icon folder in Gruntfile | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
var package = require('./package.json');
grunt.initConfig({
// Watch task config
watch: {
sass: {
files: "scss/*.scss",
tasks: "sass:dev"
}
},
sass: {
dev: {
f... | JavaScript | 0 | @@ -4499,32 +4499,158 @@
%0A %7D,%0A
+ icon: %7B%0A expand: true,%0A src: 'icon/**',%0A dest: 'dist'%0A %7D,%0A
view
|
8a330a4aff2b890fbbf187e808d4628d240f4b93 | Update task for docs dev | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
includes: {
templates: {
src: 'templates/base/*.html',
dest: 'build/downloads/templates',
cwd: '.',
options: {
includeRegexp: /^\s*\/\*\s*[Ii]nclude\s+([^'"\s]+)\s*\*... | JavaScript | 0.000001 | @@ -370,32 +370,277 @@
%7D,%0A docs
+Dev: %7B%0A src: 'docs/examples/*.html',%0A dest: 'build/docs',%0A cwd: '.',%0A options: %7B%0A includeRegexp: /%5E%5Cs*%5C/%5C*%5Cs*%5BIi%5Dnclude%5Cs+(%5B%5E'%22%5Cs%5D+)%5Cs*%5C*%5C/$/,%0A includePath: 'css',%0A %7D%0A... |
6780e54f3c9511d83ec46ed92d26964dce22c657 | Deploy is for deploy only | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
sass: {
compile: {
options: {
style: 'compressed'
},
files: {
'styles/screen.css': 'styles/screen.scss'
}
}
},
autoprefixer: {
prefix: {
src: 'styles/screen.css'
}
},
jekyll:... | JavaScript | 0.000003 | @@ -1954,22 +1954,23 @@
for
-build & deploy
+deploying build
');%0A
|
b64ed4de775d0e1113207c858fe1cfeeb59ce082 | Add NN | Gruntfile.js | Gruntfile.js | /* eslint-env node */
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
uglify: {
options: {
banner: '// Version <%= pkg.version %> <%= grunt.template.today("isoDateTime") %>;\n',
sourceMap: true,
},
b... | JavaScript | 0 | @@ -5028,24 +5028,32 @@
%0A %22noroc%22,%0A
+ %22nn%22,%0A
%22nwo%22,%0A %22
|
1c4fb5633717f2d405099e2c93671c73879de129 | Use headless browsers when running karma | Gruntfile.js | Gruntfile.js | /*
* Copyright (c) 2016 Vendor
* Licensed under the MIT license.
*/
var ConfigParser = require('wirecloud-config-parser');
var parser = new ConfigParser('src/config.xml');
module.exports = function (grunt) {
'use strict';
grunt.initConfig({
metadata: parser.getData(),
eslint: {
... | JavaScript | 0 | @@ -2931,211 +2931,8 @@
: %7B%0A
- customLaunchers: %7B%0A ChromeNoSandbox: %7B%0A base: %22Chrome%22,%0A flags: %5B'--no-sandbox'%5D%0A %7D%0A %7D,%0A
@@ -2944,32 +2944,32 @@
files: %5B%0A
+... |
b4ce650488ca4149df2466db6babef84d7c3237f | Remove eslint:fix | Gruntfile.js | Gruntfile.js | /* eslint-env node, es6 */
module.exports = function ( grunt ) {
var conf = grunt.file.readJSON( 'extension.json' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-eslint' );
grunt.loadNpmTasks( 'grunt-jsonlint' );
grunt.loadNpmTasks( 'grunt-... | JavaScript | 0.000007 | @@ -368,108 +368,11 @@
%0A%09%09%09
-fix: %7B%0A%09%09%09%09options: %7B%0A%09%09%09%09%09fix: true%0A%09%09%09%09%7D,%0A%09%09%09%09src: %5B%0A%09%09%09%09%09'%3C%25= eslint.main %25%3E'%0A%09%09%09%09%5D%0A%09%09%09%7D,%0A%09%09%09main
+all
: %5B%0A
@@ -540,20 +540,20 @@
eslint.
-main
+alll
%25%3E'%0A%09%09%09
... |
f1e0e2d37d7ca302b8934e0229ca8fcafff4566d | Remove unused copy task from developemnt. | Gruntfile.js | Gruntfile.js | /*
* grunt-crawl
* https://github.com/mfradcliffe/grunt-crawl
*
* Copyright (c) 2014 Matthew Radcliffe
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: [
'Gruntfile.js',
'tasks/*.js',
... | JavaScript | 0 | @@ -1995,16 +1995,8 @@
st',
- 'copy',
'cr
|
7a450528f0e4afd862c4ecd0c18c5aab4a4c1a74 | Remove concat | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks("grunt-browser-sync");
grunt.loadNpmTasks('grunt-contrib-symlink');
grunt.loadNpmTasks("grunt-contrib-watch");
grunt.loadNpmTasks('grunt-nunjucks-render');
grunt.loadNpmTasks("grunt-symdiff");
grunt.loadNpmTa... | JavaScript | 0.000002 | @@ -2217,404 +2217,8 @@
%7D,%0A%0A
- // Used to put version at top of javascript build%0A // Javascript build task%0A // We use jQuery first and then build whatever comes next%0A concat: %7B%0A dev: %7B%0A src: %5B%0A 'assets/javascripts/jquery-1.12.0.min.js',%0A 'assets/javas... |
5d62b40e96c26b5788f90456aae5e2d8b73907f9 | make watching work again | Gruntfile.js | Gruntfile.js | var fs = require('fs');
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-ember-templates');
grunt.initConfig({
watch: {
libTemplates: {
files: ['lib/... | JavaScript | 0 | @@ -276,19 +276,20 @@
%7B%0A
-lib
+test
Template
@@ -310,29 +310,20 @@
iles: %5B'
-lib/templa
tes
+t
/**/*.hb
@@ -359,19 +359,20 @@
mplates:
-lib
+test
'%5D%0A
@@ -377,37 +377,29 @@
%7D,%0A
-testTemplates
+build
: %7B%0A
@@ -399,36 +399,50 @@
files: %5B'
-test
+lib/**/*.js',... |
760db81a30aeae206a5b11d84abf2114957a3634 | Add Travis CI task | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
'use strict';
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
options: {
ignores: ['app/vendor/**'],
},
gruntfile: {
src: 'Gruntfile.js',
},
ap... | JavaScript | 0.999392 | @@ -1675,12 +1675,91 @@
atch'%5D);
+%0A%0A // Travis CI task.%0A grunt.registerTask('travis', %5B'jshint', 'qunit'%5D);
%0A%7D;%0A
|
67d3820a337a7aaf053cae5c86ce2650c1fed9a7 | add jshint task | Gruntfile.js | Gruntfile.js | /*jshint camelcase:false */
module.exports = function (grunt) {
// Load all grunt tasks
require('load-grunt-tasks')(grunt);
// Project configuration.
grunt.initConfig({
release: {
options: {
bump: true, //default: true
file: 'package.json', //default: package.json
add: true, ... | JavaScript | 0.000251 | @@ -172,16 +172,117 @@
onfig(%7B%0A
+%0A jshint: %7B%0A options: %7B%0A jshintrc: true,%0A %7D,%0A lib: %5B'lib/**/*.js'%5D,%0A %7D,%0A%0A
rele
|
fa514bb17b483dbdc0db39ead2c15414fe75833b | Add deprecated stub for the "grunt init" task. | Gruntfile.js | Gruntfile.js | /**
* Copyright 2013 Kitware 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 law or agreed to... | JavaScript | 0 | @@ -590,16 +590,134 @@
e.%0A */%0A%0A
+const fs = require('fs');%0A%0Arequire('colors');%0Aconst toposort = require('toposort');%0Aconst _ = require('underscore');%0A%0A
/**%0A * T
@@ -868,83 +868,8 @@
) %7B%0A
- var toposort = require('toposort');%0A var _ = require('underscore');%0A
@@ -1625,36 +1625,8... |
8003948db9dc9627a6ae174ea9b515c95e3c6b0a | Update Gruntfile.js | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.initConfig({
connect: {
server: {
options: {
base: '',
port: 9999
}
}
},
'saucelabs-qunit': {
all: {
options: {
username: 'idbbackbone',
key: '6ffa8cb3-47f3-4532-aedb-aee964d0eefb',
urls: ['http://... | JavaScript | 0.000001 | @@ -223,19 +223,17 @@
e: '
-idbbackbone
+zzawaideh
',%0D%0A
@@ -252,43 +252,43 @@
: '6
-ffa8cb3-47f3-4532-aedb-aee964d0eefb
+c133591-a7d0-4959-bf19-2757c354e3d4
',%0D%0A
|
903564a25a0f26acdbd334d3e104039864b405ef | remove extra space from copyright comment on line 1 of .js files | Gruntfile.js | Gruntfile.js | // Copyright 2002-2014, University of Colorado Boulder
// use chipper's gruntfile
module.exports = require( '../chipper/js/grunt/Gruntfile.js' );
| JavaScript | 0 | @@ -1,11 +1,10 @@
//
-
Copyrig
|
99ee898c62d97df433699cc234d5773279eaca29 | Disable PhantomJS | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
pkg: '<json:package.json>',
watch: {
compass: {
files: [ 'static/scss/*.scss' ],
tasks: [ 'compass:dev' ]
},
karma: {
files: ['stat... | JavaScript | 0.000004 | @@ -585,21 +585,8 @@
fox'
-, 'PhantomJS'
%5D%0A
|
9613bd2103034b429309632c5d422a52b397cdb7 | add grunt release task | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
'use strict';
grunt.initConfig({
jshint: {
options: grunt.file.readJSON('.jshintrc'),
gruntfile: 'Gruntfile.js',
test: {
options: {
globals: {
describe: true,
it: true,
beforeEach: true,
afte... | JavaScript | 0.000001 | @@ -832,24 +832,90 @@
s'%5D%0A %7D%0A
+ %7D,%0A release: %7B%0A options: %7B%0A bump: true%0A %7D%0A
%7D%0A %7D);%0A
@@ -1047,16 +1047,55 @@
-test');
+%0A grunt.loadNpmTasks('grunt-release');
%0A%0A grun
|
4e1b9995fccb829ccd432d3eb94a5ffd5a8392da | use single-quote for HttpUtils | HttpUtils.js | HttpUtils.js | export default class HttpUtils {
static get(url) {
return new Promise((resolve, reject) => {
fetch(url)
.then(response => response.json())
.then(result => {
resolve(result)
})
.catch(error => {
reject(error)
})
})
}
static post(url, data) {... | JavaScript | 0 | @@ -436,14 +436,14 @@
od:
-%22
+'
POST
-%22
+'
,%0A
@@ -477,17 +477,17 @@
Accept:
-%22
+'
applicat
@@ -494,17 +494,17 @@
ion/json
-%22
+'
,%0A
@@ -507,17 +507,17 @@
-%22
+'
Content-
@@ -524,12 +524,12 @@
Type
-%22: %22
+': '
appl
@@ -557,17 +557,17 @@
lencoded
-%22
+'
%0A
@@ -850,... |
fb8b10075c129736cef39602622096f406560cea | define repro explicite | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
grunt.initConfig({
bowerDirectory: require('bower').config.directory,
less: {
compile: {
options: {
compress: false,
paths: [
'less',
'tmp',
... | JavaScript | 0.000009 | @@ -4467,16 +4467,90 @@
e: '.',%0A
+ repo: 'https://github.com/nak-sued-webmasters/theme.git',%0A
|
0bb7f6ea76332b75d84ee95ac7d91e90c8f76e46 | Update platform for Sauce Labs tests | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
require('load-grunt-tasks')(grunt, {
pattern: ['grunt-*', '!grunt-template-jasmine-requirejs']
});
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
dirs: {
examples : 'example/**/*.js',
lib : 'lib'... | JavaScript | 0 | @@ -3860,17 +3860,19 @@
m: %22
+mac
OS
-X
10.
-8
+12
%22%0A
@@ -4077,18 +4077,18 @@
%221920x1
-20
+44
0%22%0A
|
dafbe46e6058f42cf25d23904c3527532d6b49c2 | Randomize the atmo indexes | Gruntfile.js | Gruntfile.js | 'use strict';
var paths = {
js: ['*.js', 'server/**/*.js', 'public/**/*.js', 'test/**/*.js', '!test/coverage/**', '!public/system/lib/**', 'packages/**/*.js', '!packages/**/node_modules/**'],
html: ['public/**/views/**', 'server/views/**', 'packages/**/public/**/views/**', 'packages/**/server/views/**'],
c... | JavaScript | 0.999664 | @@ -4769,16 +4769,24 @@
dCities,
+ %7B name:
require
@@ -4790,16 +4790,23 @@
iredCity
+.name %7D
).length
@@ -4868,22 +4868,50 @@
mo:
-2 %7D, %7B atmo: 2
+_.random(1, 10) %7D, %7B atmo: _.random(1, 10)
%7D%5D;
|
0ee9ab9d5357215af7f428e9f0154629e98e7f61 | add circle and ellipse to the gruntfile | Gruntfile.js | Gruntfile.js | module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-y... | JavaScript | 0.000001 | @@ -633,24 +633,119 @@
lygon.js',%0D%0A
+ '%3C%25= dirs.src %25%3E/core/Circle.js',%0D%0A '%3C%25= dirs.src %25%3E/core/Ellipse.js',%0D%0A
|
b35def9e0cb4aa004ee0e643bddc346c90436c5d | Improve protractor integration | Gruntfile.js | Gruntfile.js | module.exports = function (grunt) {
'use strict';
var config = {
app: 'app',
dist: 'dist'
};
require('load-grunt-tasks')(grunt);
require('time-grunt')(grunt);
grunt.task.loadTasks('tasks');
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereloa... | JavaScript | 0 | @@ -5151,24 +5151,32 @@
otractor: %7B%0A
+
options:
@@ -5174,24 +5174,34 @@
options: %7B%0A
+
config
@@ -5206,17 +5206,17 @@
igFile:
-%22
+'
node_mod
@@ -5243,25 +5243,25 @@
renceConf.js
-%22
+'
, // Default
@@ -5269,24 +5269,34 @@
config file%0A
+
keepAl
@@ -5364... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.