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
f0e0d07053f5dfcf1f5ad7df3647c93d1ce64615
Remove unncescary watch
gulpfile.js
gulpfile.js
var gulp = require('gulp'); var $ = require('gulp-load-plugins')(); var open = require('open'); var bowerFiles = require('main-bower-files'); var series = require('stream-series'); var runSequence = require('run-sequence'); var webpack = require('webpack-stream'); gulp.task('watch', ['server'], function() { $.livere...
JavaScript
0.000001
@@ -2442,57 +2442,8 @@ ) %7B%0A - gulp.watch('src/*.js', %5B'eslint', 'webpack'%5D);%0A re
1f4c2336bf472a309ee871196ef5daeb21738384
Correct package path
gulpfile.js
gulpfile.js
require('gulp-coffee/node_modules/coffee-script/register'); require('./gulp.coffee');
JavaScript
0.000007
@@ -6,33 +6,8 @@ re(' -gulp-coffee/node_modules/ coff
86b1b1759f2c0c7a525d8b36452770bb827cae90
fix gulpfile error
gulpfile.js
gulpfile.js
var gulp = require('gulp'); var rename = require("gulp-rename"); var webpack = require('gulp-webpack'); gulp.task('default', function() { return gulp.src('myComponents.js') .pipe(webpack({ watch: true, module: { loaders: [ { test: /\.js$/, exclude: /node_modules/, ...
JavaScript
0.000003
@@ -311,129 +311,8 @@ s/,%0A - loader: 'babel-loader?stage=0&optional%5B%5D=runtime&loose=true'%0A %7D,%0A %7B%0A test: /bootstrap/,%0A
1e4accc29107cc3ec8fcfe66e7cda947e2d990a4
normalize the replace pattern
gulpfile.js
gulpfile.js
var inject = require('gulp-inject'), gulp = require('gulp'), path = require('path'); gulp.task('build', function () { views(); }); gulp.task('views', views); function views() { gulp.src(path.normalize('./frontend/src/*.js')) .pipe(gulp.dest(path.normalize('./build/static'))); gulp.src(path.norm...
JavaScript
0.993033
@@ -560,16 +560,31 @@ replace( +path.normalize( '/fronte @@ -590,16 +590,17 @@ end/src' +) , '');%0A
161a3268a7df5d0a2ea3dc94859fa1c128f926b3
teste bower
gulpfile.js
gulpfile.js
var gulp = require('gulp'), autoprefixer = require('gulp-autoprefixer'), uglify = require('gulp-uglify'), rename = require('gulp-rename'), notify = require('gulp-notify'); gulp.task('default', function () { return gulp.src('cronapi.js') .pipe(uglify()) .pipe(rename('cronapi.min.js')...
JavaScript
0.000001
@@ -180,16 +180,70 @@ otify'); +%0A//gulp.task('default', gulp.series('minify', 'i18n')) %0A%0Agulp.t @@ -475,16 +475,18 @@ ));%0A%7D);%0A +/* gulp.tas @@ -609,28 +609,30 @@ -JS build finished' %7D));%0A%7D); +*/
3d6bac40daf87e64da2770ec6a63ab709fdab820
Update own gulpfile to use new metadata interface
gulpfile.js
gulpfile.js
var _ = require('lodash'), path = require('path'), gulp = require('gulp'), gutil = require('gulp-util'), args = require('yargs').argv, runSequence = require('run-sequence'), jshint = require('gulp-jshint'), jscs = require('gulp-jscs'), jsonlint = require('gulp-json-lint'), jshintRepo...
JavaScript
0
@@ -519,16 +519,24 @@ js') +.applyTo (gulp);%0A %0A/*- @@ -531,16 +531,16 @@ (gulp);%0A - %0A/*--- C @@ -630,16 +630,22 @@ 'tools', + '**', '*.js') @@ -944,45 +944,8 @@ );%0A%7D -);%0AgulpMetadata.addTask('check-tools' , %7B%0A @@ -1195,47 +1195,8 @@ );%0A%7D -);%0AgulpMetadata.addTask('check-runcoms' , %7B...
9bbe7dd83118170fb5bc8f9aad3f18c41a0482b0
add views in Jobs
server/src/plugins/job/JobModel.js
server/src/plugins/job/JobModel.js
module.exports = function(sequelize, DataTypes) { const Job = sequelize.define( "Job", { title: DataTypes.TEXT, description: DataTypes.TEXT, company_name: DataTypes.TEXT, company_url: DataTypes.TEXT, company_info: DataTypes.TEXT, business_type: DataTypes.TEXT, company...
JavaScript
0
@@ -545,31 +545,163 @@ icture: -DataTypes.JSONB +%7B%0A type: DataTypes.JSONB,%0A defaultValue: %7B%7D%0A %7D,%0A views: %7B%0A type: DataTypes.INTEGER,%0A defaultValue: 0%0A %7D, %0A %7D,%0A
d3365d7606ce9e8873b2a9fd44af395d5ea858ad
Fix typo in variable name
gulpfile.js
gulpfile.js
'use strict'; var gulp = require('gulp'); var watch = require('gulp-watch'); var harp = require('harp'); var browserSync = require('browser-sync'); var ghPages = require('gulp-gh-pages'); var harpServerOptions = { port: 9000 }; var browserSynceOptions = { open: false, proxy: 'localhost:' + harpServerOptions.po...
JavaScript
0.998497
@@ -237,25 +237,24 @@ browserSync -e Options = %7B%0A @@ -510,25 +510,24 @@ browserSync -e Options.port @@ -1052,17 +1052,16 @@ wserSync -e Options) @@ -1123,16 +1123,23 @@ Files, %7B +%0A verbose: @@ -1143,16 +1143,21 @@ se: true +%0A %7D))%0A @@ -1182,16 +1182,23 @@ reload(%7B +%0A s...
6e8f8e06f7a3b2e71146899a150ada7e5c2a88a2
use es6 for testSubscriber.js
server/test/jobs/testSubscriber.js
server/test/jobs/testSubscriber.js
var assert = require('assert'); var _ = require('lodash'); var Subscriber = require("rabbitmq-pubsub").Subscriber; var Publisher = require("rabbitmq-pubsub").Publisher; describe('PublisherSubscriber', function() { "use strict"; this.timeout(15e3); var TestManager = require('../testManager'); var testMngr = new...
JavaScript
0
@@ -1,107 +1,13 @@ -var assert = require('assert');%0Avar _ = require('lodash');%0Avar Subscriber = require(%22rabbitmq-pubsub%22). +%0Aimport %7B Subs @@ -16,13 +16,9 @@ iber -;%0Avar +, Pub @@ -27,20 +27,16 @@ sher - = require(%22 +%7D from ' rabb @@ -50,21 +50,11 @@ bsub -%22).Publisher; +';%0A %0A%0Ade @@ -...
38ba0972f4d83f97ea07dbfcaf9c47d66d0afec5
Remove pesky z-index optimizer
gulpfile.js
gulpfile.js
'use strict'; var gulp = require('gulp'); var sass = require('gulp-sass'); var cssnano = require('gulp-cssnano'); var sourcemaps = require('gulp-sourcemaps'); var autoprefixer = require('gulp-autoprefixer'); gulp.task('workflow', function () { gulp.src('./src/scss/**/*.scss') .pipe(sourcemaps.init()) .pipe(...
JavaScript
0.000003
@@ -457,16 +457,31 @@ cssnano( +%7Bzindex: false%7D ))%0A .
3d9756c49354d5de0397a3c2ab52b1e4d9ee3e07
change default task
gulpfile.js
gulpfile.js
var gulp = require('gulp'); var path = require('path'); var fs = require('fs'); var glob = require("glob"); var through2 = require('through2'); var runSequence = require('run-sequence'); var exec = require('child_process').exec; var uiIndex = require('./lib/findBy/tagname/searchIndex/build-stream'); var codeIndex = req...
JavaScript
0.000004
@@ -4278,61 +4278,8 @@ es', - 'index:ui', 'solr:indexCode', 'solr:commit',%0A 'lo
cd5e3b75d89e06f27530648766001cceafdbe43d
update order processing to save shipping address and other feilds
services/order-processing/index.js
services/order-processing/index.js
'use strict'; const db = require('../../db/data-service'); const _ = require('lodash'); const superagent = require('superagent-promise')(require('superagent'), Promise); function recordPayment() { // contact AIS team to create a payment transaction // this is Group 1 return superagent .post('52.168.10.209:1...
JavaScript
0
@@ -187,16 +187,22 @@ Payment( +params ) %7B%0A // @@ -409,11 +409,26 @@ nt: -550 +params.price_total , // @@ -519,40 +519,115 @@ on: -%22testing sales team integration%22 +%60Sale of $%7Bparams.quantity%7D unit of '$%7Bparams.product_name%7D' to user_$%7Bparams.user_id%7D:$%7Bparams.user_name%7D%60 %0A @@ ...
c9100a152be888507e21a80b8cfcf032fc36c856
Fix bad JavaScript practices and avoid declaration of 2 global variables.
share/www/script/test/bulk_docs.js
share/www/script/test/bulk_docs.js
// 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, software // distributed un...
JavaScript
0.99967
@@ -1522,32 +1522,39 @@ conflict%22);%0A T( +typeof results%5B0%5D.rev = @@ -1552,24 +1552,25 @@ %5B0%5D.rev === +%22 undefined); @@ -1566,16 +1566,17 @@ ndefined +%22 ); // no @@ -1717,16 +1717,17 @@ %5Bi%5D.rev) +; %0A T(d @@ -2793,16 +2793,20 @@ .ok);%0A +var update = @@ -2866,16 +2866,20 @@ am%...
c9926da671607c6972dde7c651da74341e629188
test change
demos/KitchenSink/Resources/examples/map_view2.js
demos/KitchenSink/Resources/examples/map_view2.js
var win = Titanium.UI.currentWindow; var annotation = Titanium.Map.createAnnotation({ latitude:42.334537, longitude:-71.170101, title:"Boston College", subtitle:'Newton Campus, Chestnut Hill, MA', animate:true, image:"../images/boston_college.png" }); var boston = {latitude:42.334537,longitude:-71.170101,latitu...
JavaScript
0.000002
@@ -210,16 +210,53 @@ e:true,%0A +%09leftButton:'../images/atlanta.jpg',%0A %09image:%22 @@ -1313,12 +1313,193 @@ route);%0A%7D);%0A +%0A// map view click event listener%0Amapview.addEventListener('click',function(evt)%0A%7B%0A%09var clickSource = evt.clicksource;%0A%09Ti.API.info('mapview click clicksource = ' + cl...
6b243df642189c566eba7a74a4dd571084afa1c1
fix some bugs
ChartGenerator/Repositories/UploadRepository.js
ChartGenerator/Repositories/UploadRepository.js
let Promise = require('bluebird') let model = require('../connect') let upload = function (id, table, path, field) { return new Promise((resolve, reject) => { model.knex(table + id).del().then(() => { let query = 'ALTER TABLE ' + table + id + ' AUTO_INCREMENT = 1' return model.knex.raw(query) })...
JavaScript
0.000008
@@ -494,11 +494,12 @@ E 1 -ROW +LINE S (%22
0f8eccd592060bcd3bb3e911551a0033353a9477
Check if refId exists
migrations/teacher.js
migrations/teacher.js
/* eslint no-console: 0 */ /* eslint no-confusing-arrow: 0 */ const ran = false; // set to true to exclude migration const name = 'Fix access rights for teachers on homework submitted files.'; const mongoose = require('mongoose'); const { submissionModel } = require('../src/services/homework/model.js'); const { FileM...
JavaScript
0.000002
@@ -1182,16 +1182,30 @@ (perm =%3E + perm.refId && perm.re
62da1a658850b6a5e73d28d1629033de21f79d00
Update exercise.js
starter_code/exercise.js
starter_code/exercise.js
var input = require('./digits.js'); var exercise = {}; exercise.one = function(){ //------------------- //---- Your Code ---- //------------------- return 'Error: 1st function not implementeded'; }; exercise.two = function(data){ //------------------- //---- Your Code ---- //-----------...
JavaScript
0.000001
@@ -204,18 +204,16 @@ lemented -ed ';%0A%7D;%0A%0Ae
514bb1103675173513e0e9038a1848084b921172
Add failing tests.
tests/spec/DeepCopy.js
tests/spec/DeepCopy.js
describe("DeepCopy", function () { var myVect1 = me.Vector2d.extend({ a : new me.Vector2d(0.5, 0.5), b : [1,2,3] }); var myVect2 = myVect1.extend({ a : new me.Vector2d(1.5, 1.5), }); var vec1 = new myVect1(25, 25); var vec2 = new myVect2(50, 50); it("is an instance...
JavaScript
0.000002
@@ -664,32 +664,350 @@ ect1);%0A %7D);%0A%0A + it(%22has an instance of me.Vector2d%22, function () %7B%0A expect(vec1.a).toBeInstanceOf(me.Vector2d);%0A expect(vec2.a).toBeInstanceOf(me.Vector2d);%0A %7D);%0A%0A it(%22has an instance of Array%22, function () %7B%0A expect(vec1.b).toBe...
24d23d8e55928c4cef3de11071bf2eb9ea0766ce
Increase timeout
tests/electron_tests/spec.js
tests/electron_tests/spec.js
const Application = require('spectron').Application const assert = require('assert') const electronPath = require('electron') // Require Electron from the binaries included in node_modules. const path = require('path') describe('Application launch', function () { this.timeout(10000) beforeEach(function () { t...
JavaScript
0.000002
@@ -273,17 +273,17 @@ timeout( -1 +3 0000)%0A%0A
29aad3ece2a27d135f3e646358a8c188019668da
Use fafafa for background white
client/mobile/test/src/components/StartClassView.js
client/mobile/test/src/components/StartClassView.js
import React from "react-native"; const { View, Text, StyleSheet, Navigator, TouchableOpacity, ScrollView, ListView } = React; class StartClassView extends React.Component { constructor(props) { super(props); this.state = { classes: [{id: 1, name:'Quick Class'}, {id:2, name:'CS 101'}, {...
JavaScript
0
@@ -2093,14 +2093,14 @@ : '# -F5FCFF +fafafa ',%0A
a1187a9f707f60bb2859abe62b7ac3fd884361a4
fix append
static/js/currentData.js
static/js/currentData.js
/** * Created by remy on 01/05/15. */ function getCurBattery(callback) { var data; jQuery.ajax({ url: "http://idp-api.herokuapp.com/spin/latest/batterij", type: "GET", dataType: 'json', success: function (resultData) { callback(resultData); //console....
JavaScript
0.998546
@@ -1060,22 +1060,20 @@ $(this). -append +html (%22%3Ch1%3E%22+ @@ -1167,14 +1167,12 @@ dus. -append +html (%22%3Ch
ddf2aa3e6036947e7024752a9a4a92930e4864ae
Update compare.js
tests/utils/compare.js
tests/utils/compare.js
/* global XMLHttpRequest, expect */ function loadBinaryResource (url) { const req = new XMLHttpRequest() req.open('GET', url, false) // XHR binary charset opt by Marcus Granado 2006 [http://mgran.blogspot.com] req.overrideMimeType('text\/plain; charset=x-user-defined'); req.send(null) if (req.status !== 2...
JavaScript
0.000001
@@ -372,56 +372,311 @@ %7D%0A -return unescape(encodeURIComponent(req.response) + var responseText = req.responseText;%0A var responseTextLen = req.length;%0A var binary = ''%0A for (var j = 0; j %3C responseTextLen; j+=1) %7B%0A binary += String.fromCharCode(responseText.charCodeAt(j) & 0xff)%0A ...
1fff0ef54ca6a9960118e213e3de9a84e085361b
Update custom.js
assets/js/custom.js
assets/js/custom.js
/** * Template Name: Eventoz * Version: 1.0 * Template Scripts * Author: MarkUps * Author URI: http://www.markups.io/ Custom JS 1. FIXED MENU 2. EVENT TIME COUNTER 3. MENU SMOOTH SCROLLING 4. VIDEO POPUP 5. SPEAKERS SLIDEER ( SLICK SLIDER ) 6. BOOTSTRAP ACCORDION 7. MOBILE MENU CLOSE **/ (fu...
JavaScript
0.000001
@@ -916,10 +916,10 @@ /03/ -16 +24 ').o @@ -5350,12 +5350,13 @@ y );%0A%0A%0A%0A %0A%09 +%0A
7cd3cd32e7574f24b37d01edd19ca3d7bd214438
version in templates in angular-route
assets/js/routes.js
assets/js/routes.js
/** * routes.js * Provides the routes for our frontend. * * @author Jason Valdron <jason@valdron.ca> * @package valdron */ (function(){ "use strict"; app.config([ '$routeProvider', function($routeProvider){ $routeProvider // GET / - Redirect to intro page. .when('/', { ...
JavaScript
0
@@ -517,25 +517,38 @@ s/intro.html -' +?v=' + version ,%0D%0A k @@ -729,25 +729,38 @@ /resume.html -' +?v=' + version ,%0D%0A c @@ -974,25 +974,38 @@ bout/me.html -' +?v=' + version ,%0D%0A c @@ -1243,25 +1243,38 @@ rtfolio.html -' +?v=' + version ,%0D%0A k @@ -1463,25 +1463,38 @@ r...
3902ea9d09bcc62b4f923b876110542a38fabea9
Test skip_neutral_temps mode (#140)
tests/set-temp-basal.test.js
tests/set-temp-basal.test.js
'use strict'; require('should'); describe('setTempBasal', function ( ) { var setTempBasal = require('../lib/basal-set-temp'); //function setTempBasal(rate, duration, profile, requestedTemp) var profile = { "current_basal":0.8,"max_daily_basal":1.3,"max_basal":3.0 }; var rt = {}; it('should cance...
JavaScript
0
@@ -908,32 +908,521 @@ l(30);%0A %7D);%0A%0A + it('should not set basal on skip neutral mode', function () %7B%0A profile.skip_neutral_temps = true;%0A var rt2 = %7B%7D;%0A var current = %7Bduration: 10%7D;%0A var requestedTemp = setTempBasal(0.8, 30, profile, rt2, current);%0A ...
3ff24938832dea32a89bec3a97cf9a24868ad843
Update search.js
assets/js/search.js
assets/js/search.js
var searchData; $(document).ready(function() { window.idx = lunr(function () { this.field('title'); this.field('excerpt'); this.field('content', {boost: 10}); }); window.data = $.getJSON('/searchposts.json'); searchData = window.data; window.data.then(function(loaded_data){ $.each(...
JavaScript
0.000001
@@ -229,16 +229,68 @@ '); %0A + $.getJSON('/searchposts.json', function(json) %7B%0A search @@ -296,27 +296,26 @@ hData = -window.data +json;%0A %7D) ;%0A %0A w
b07b2bd7f2740c66f540da15e3855158c92315a0
add ajax request to retrieve the tasks of the active folder in Folders view
client/index.js
client/index.js
var index = { 'folderList': '.row > .col-md-6:first-child > ul', 'taskList': '.row > .col-md-6:nth-child(2) > ul' } $(document).ready(function() { $('#folderSave').on('click', function() { $.ajax({ url: '/api/folders/add', type: 'post', data: {"folder": $('#folderName').val()}, statu...
JavaScript
0
@@ -2012,24 +2012,607 @@ ve-folder'); +%0A%0A var folderName = $(index.folderList).children().find('.active-folder').find('h3').html();%0A var folderPath = $(index.folderList).children().find('.active-folder').find('p').find('i').html();%0A%0A var query = $.param(%7B%0A %22folderName%22: folderNa...
feafe5753a6012514a56bec8252b55589c0e048d
Handle meatspace active counts.
client/index.js
client/index.js
var $ = require('jquery') , io = require('socket.io-client')() , initWebrtc = require('./init-webrtc') , captureFrames = require('./capture-frames') , cuid = require('cuid') , Fingerprint = require('fingerprintjs') io.on('connect', function() { io.emit('fingerprint', new Fingerprint({ canvas: true }).get()...
JavaScript
0
@@ -219,16 +219,55 @@ ntjs')%0A%0A +var active = 0%0A , meatspaceActive = 0%0A io.on('c @@ -443,16 +443,106 @@ 'webm')%0A +%7D).on('disconnect', function() %7B%0A active = 0%0A meatspaceActive = 0%0A updateActiveUsers()%0A %7D)%0A%0Avar @@ -560,17 +560,16 @@ IT = 30%0A -%0A var mess @@ -1481,16 +1481,314 @@ ...
485c8e50189903b4f100a03fb95528fca5d0818b
check broadcastEvent
plugins/broadcaster/broadcastEventListener.js
plugins/broadcaster/broadcastEventListener.js
/** * Created by michael on 4/16/15. */ var broadcastEventListener = function($){ 'use strict'; var startIframeBroadcastListener = function() { var iframeBroadCastListener = function(event){ if (event.origin === window.location.origin) { if(event.data!=undefined && event.data.type=="eventBroadcast") { ...
JavaScript
0
@@ -698,16 +698,23 @@ r) %7B%0A%09%09%09 +window. addEvent @@ -764,16 +764,17 @@ , false) +; %0A%09%09%7D els @@ -780,16 +780,23 @@ se %7B%0A%09%09%09 +window. attachEv @@ -836,16 +836,17 @@ istener) +; %0A%09%09%7D%0A%09%7D;
c0da8d1466c46224ff866b4d17e7568fdb4d7e95
add booleanCheckboxFa cmTemplate
plugins/jQuery.jqGrid.checkboxFontAwesome4.js
plugins/jQuery.jqGrid.checkboxFontAwesome4.js
/** * Copyright (c) 2013, Oleg Kiriljuk, oleg.kiriljuk@ok-soft-gmbh.com * Dual licensed under the MIT and GPL licenses * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl-2.0.html * Date: 2012-01-19 * see http://stackoverflow.com/a/20165553/315935 for more details */ /*global j...
JavaScript
0.000001
@@ -1177,16 +1177,782 @@ %7D);%0A +%09$.extend(true,$.jgrid, %7B%0A%09%09cmTemplate: %7B%0A%09%09%09booleanCheckboxFa: %7B%0A%09%09%09%09align: %22center%22, formatter: %22checkboxFontAwesome4%22,%0A%09%09%09%09edittype: %22checkbox%22, editoptions: %7Bvalue: %22true:false%22, defaultValue: %22false%22%7D,%0A%09%0...
e4c800d6c251fc6126cd32cec4101b7098392c9d
update bucketMetadata (#2031)
samples/bucketMetadata.js
samples/bucketMetadata.js
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
JavaScript
0
@@ -1316,107 +1316,55 @@ -for (const %5Bkey, value%5D of Object.entries(metadata)) %7B%0A console.log(%60$%7Bkey%7D: $%7Bvalue%7D%60);%0A %7D +console.log(JSON.stringify(metadata, null, 2)); %0A %7D
8224f7d31e749a0362a5d6673849db8cfa79fd7a
use $(target).offset().top instead of $(target)[0].getBoundingClientRect().top
pontus/dace_ui_extension/static/daceui/api.js
pontus/dace_ui_extension/static/daceui/api.js
function after_execution(url){ $.getJSON(url, {}, function(data) {}); }; function update_action(url){ var toreplay = $(this).closest('.dace-action').data('toreplay'); var target = $(this).closest('.dace-action').data('target')+'-modal'; if (Boolean(toreplay)){$(target)....
JavaScript
0.000005
@@ -499,18 +499,17 @@ (data) %7B - %0A + @@ -1185,17 +1185,16 @@ fault(); - %0A // @@ -1266,17 +1266,16 @@ ation(); - %0A // @@ -1548,19 +1548,17 @@ fset();%0A - %0A + if ( @@ -1651,22 +1651,16 @@ width(); - %0A %7D e @@ -2087,32 +2087,14 @@ get) -%5B0%5D.getBoundingClien...
fa85252d487ac17eb8abd04ca1e0afa2bd28f3bb
fix keepFirstIntermediateValue test
tests/unit/buffering-test.js
tests/unit/buffering-test.js
import Ember from 'ember'; import { forEach } from 'ember-concurrency'; import { interval, dropIntermediateValues, keepFirstIntermediateValue } from 'ember-concurrency'; const Observable = window.Rx.Observable; const { range, just, } = Observable; // 1 2 3 4 5 (150ms) 101 102 103 104 105 let rangeObservable = Ob...
JavaScript
0
@@ -380,17 +380,17 @@ %0A%0A// 1 ( -5 +2 ms) 2 3 @@ -1755,36 +1755,41 @@ angeObservable, -drop +keepFirst IntermediateValu @@ -1785,26 +1785,31 @@ mediateValue -s , %5B1, +2, 101 +,102 %5D);%0A%0A
854b8ace10699da3a47752a1c9c4441ddd0701ab
Update moves.js
mods/priomon/moves.js
mods/priomon/moves.js
exports.BattleMovedex = { "flameshot": { num: 2000, accuracy: 100, basePower: 40, category: "Physical", desc: "Deals damage to one adjacent target. Priority +1.", shortDesc: "Usually goes first.", id: "Flame Shot", isViable: true, name: "Flame Shot", pp: 30, priority: 1, secondary:...
JavaScript
0.000001
@@ -1733,32 +1733,439 @@ agon%22%0A%09 %7D,%0A +%09 %22venomstrike%22: %7B%0A%09%09num: 2005,%0A%09%09accuracy: 100,%0A%09%09basePower: 30,%0A%09%09category: %22Physical%22,%0A%09%09desc: %22Deals damage to one adjacent target.%22,%0A%09%09shortDesc: %22Usually goes first, 30%25 chance to badly poison the ta...
27f8d6247dd304864f49b3dae45813fd539fe6f9
Fix mail sending when rendering the ejs
services/boot/sendgrid.js
services/boot/sendgrid.js
/* Copyright 2017 Agneta Network Applications, LLC. * * Source file: services/boot/sendgrid.js * * 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/li...
JavaScript
0.000001
@@ -2532,16 +2532,35 @@ %7B%0A + var renderResult = templat @@ -2585,53 +2585,11 @@ ata) -%0A .then(function(renderResult) %7B%0A%0A +;%0A%0A @@ -2630,20 +2630,16 @@ ;%0A - - options. @@ -2673,69 +2673,11 @@ - send();%0A %7D)%0A .catch(cb);%0A%0A %7D el...
a3551fa8199b2878379f545eb2842adcdb7a2604
Allow browsing of all mDNS services if no type specified
clients/mdns.js
clients/mdns.js
var mdns = require('mdns'), EventEmitter = require('events').EventEmitter, serviceType = mdns.makeServiceType({name: 'http', protocol: 'tcp'}); module.exports.create = function (urn) { var instance = new EventEmitter(), urn = urn ? urn : serviceType, browser = urn ? mdns.createBrowser(urn) ...
JavaScript
0
@@ -72,16 +72,35 @@ mitter,%0A + browsers = %7B%7D;%0A serv @@ -199,19 +199,23 @@ nction ( -urn +service ) %7B%0A va @@ -257,207 +257,1488 @@ -urn = urn ? urn : serviceType,%0A browser = urn ? mdns.createBrowser(urn) : mdns.browseThemAll(),%0A started = false;%0A%0A browser.on('servi...
92513a0bd9d4f40d0cb1817ce17add3588d756a9
Fix broken test
source/components/Editable.test.js
source/components/Editable.test.js
import React from 'react' import ReactDOM from 'react-dom' import { Simulate } from 'react-dom/test-utils' import Editable from './Editable' describe('Editable', () => { let parent = null let component = null let rendered = null function render(element) { ReactDOM.render(element, parent) } beforeEach(() =>...
JavaScript
0.000255
@@ -939,22 +939,9 @@ est. -genMockFunctio +f n()%0A
9e3b9748de1a1114d17fe1dcb634056941ae191c
Update how we set the dirty state in form-server-validation component.
components/form/form-server-validation-directive.js
components/form/form-server-validation-directive.js
angular.module( 'gj.Form' ).directive( 'gjFormServerValidation', function() { // Don't create a new scope. // This allows it to work with other directives. return { restrict: 'A', require: 'ngModel', link: function( scope, elem, attr, ngModel ) { /** * Any time the server response updates, check to se...
JavaScript
0
@@ -493,47 +493,8 @@ if ( - angular.isDefined( serverResponse ) && ser @@ -793,38 +793,13 @@ the -view value to itself to set it +model as @@ -952,38 +952,14 @@ $set -ViewValue( ngModel.$viewValue +Dirty( );%0A%09 @@ -1701,12 +1701,13 @@ %09%09%7D%0A%09%7D;%0A%7D ); +%0A
6af46ce028634e36f9773d79c518b349e9853827
Use Model.remoteMethod instead of loopback's fn.
models/todo.js
models/todo.js
var loopback = require('loopback'); var async = require('async'); module.exports = function(Todo/*, Base*/) { Todo.definition.properties.created.default = Date.now; Todo.beforeSave = function(next, model) { if (!model.id) model.id = 't-' + Math.floor(Math.random() * 10000).toString(); next(); }; Tod...
JavaScript
0
@@ -919,24 +919,20 @@ %7D;%0A%0A -loopback +Todo .remoteM @@ -937,26 +937,23 @@ eMethod( -Todo. +' stats +' , %7B%0A @@ -1037,18 +1037,60 @@ object'%7D -%0A %7D +,%0A http: %7B path: '/stats' %7D%0A %7D, Todo.stats );%0A%7D;%0A
9396104badc77689a45bb88892cb8936bf24f00b
Update subscription.js
MobileApp/mstudentApp/modules/subscription.js
MobileApp/mstudentApp/modules/subscription.js
import {Platform} from 'react-native'; import FCM from 'react-native-fcm'; const API_KEY = 'AAAA1i1g05s:APA91bEm3cI3lCflqY74PSH3O-3RGUk4H9kGqXKB1NfhT9igNntvDSSqWDBxajEK-rsbFovPVJzTJojx4Q-SlgFs-7D2fT2dmdw_0ii_5jodpn__jahPlKE1UL-HibRkSO8_6WL88B3D'; var icube = []; var loaded = false; module.exports = { //gets subsc...
JavaScript
0.000001
@@ -90,160 +90,15 @@ = ' -AAAA1i1g05s:APA91bEm3cI3lCflqY74PSH3O-3RGUk4H9kGqXKB1NfhT9igNntvDSSqWDBxajEK-rsbFovPVJzTJojx4Q-SlgFs-7D2fT2dmdw_0ii_5jodpn__jahPlKE1UL-HibRkSO8_6WL88B3D +api-key ';%0Av
528cac7ed25bda531b44d6d5b222186ac5ec6225
debug file
cloud/weixin.js
cloud/weixin.js
var crypto = require('crypto'); var config = require('cloud/config/weixin.js'); var debug = require('debug')('AV:weixin'); exports.exec = function(params, cb) { if (params.signature) { checkSignature(params.signature, params.timestamp, params.nonce, params.echostr, cb); } else { receiveMessage(params, cb) ...
JavaScript
0.000002
@@ -1475,24 +1475,83 @@ uire('fs');%0A + console.log(msg.xml.FromUserName, msg.xml.PicUrl);%0A var @@ -1624,20 +1624,126 @@ -file.save(); +console.log(file);%0A file.save().then(function(result)%7Bconsole.log(result)%7D,function(error)%7Bconsole.log(error)%7D) %0A%0A
11521fde02277055acec26fb141b8e5e49ce5295
add test
frontend/src/js/__tests__/BuildStepOutput.test.js
frontend/src/js/__tests__/BuildStepOutput.test.js
/* globals describe it expect */ import * as subject from "../BuildStepOutput.es6"; import {shallow} from "enzyme"; describe("Output presentation", () => { it("should be hidden when output is false", () => { const input = {showOutput: false}; expect(subject.BuildStepOutput(input)).toBe(null); }); it("s...
JavaScript
0.000002
@@ -1356,12 +1356,391 @@ %0A %7D);%0A%0A + it(%22should get undefined from buildstep if no output exists%22, () =%3E %7B%0A const state = %7B%0A buildDetails: %7B1: %7Bsteps: %5B%7BstepId: %221%22, name: %22myStep%22%7D%5D%7D%7D,%0A output: %7BshowOutput:true, buildId: 1, stepId: %221%22%7D%0A %7D;%0...
2e65013368c04543529cb729ecfea876e545391a
Fix check-boilerplatate-package
.tools/check-boilerplate-packages.js
.tools/check-boilerplate-packages.js
const request = require('request-json'); const client = request.createClient('https://raw.githubusercontent.com'); const boilerplatePackagesPath = "/SC5/sc5-serverless-boilerplate/master/package.json"; const currentPackages = require('../package.json'); client.get(boilerplatePackagesPath, function(err, res, body) { ...
JavaScript
0.000001
@@ -146,16 +146,18 @@ = %22/ -SC5/sc5- +nordcloud/ serv
4530c89114d3e87db5561ac2aedcd9e0cb993b50
Fix strings.
scripts/dikmax/cookies.js
scripts/dikmax/cookies.js
export default function initCookies() { const cc = initCookieConsent(); cc.run({ current_lang: 'ru', page_scripts: true, cookie_expiration: 182, languages: { 'ru': { consent_modal: { title: 'Переходи на тёмную стороу, у нас есть 🍪', description: "Блог использует Go...
JavaScript
0.000362
@@ -252,16 +252,17 @@ %D1%83%D1%8E %D1%81%D1%82%D0%BE%D1%80%D0%BE +%D0%BD %D1%83, %D1%83 %D0%BD%D0%B0%D1%81 @@ -622,16 +622,15 @@ t: ' -%D0%A1%D0%BE%D0%B3%D0%BB%D0%B0%D1%81%D0%B5%D0%BD +%D0%9F%D1%80%D0%B8%D0%BD%D1%8F%D1%82%D1%8C ',%0A
1a064c62f0153565d19f1c26b4fe2e61aef56be4
fix map chart controller test
frontend/test/unit/Controller/MapChartControllerSpec.js
frontend/test/unit/Controller/MapChartControllerSpec.js
/*jshint node: true */ 'use strict'; /* * Name : MapChartController.js * Module : UnitTest * Location : /frontend/test/unit/Controller * * History : * Version Date Programmer Description * ================================================================================================= *...
JavaScript
0
@@ -634,18 +634,16 @@ ) %7B%0A -/* var scop @@ -827,16 +827,17 @@ troller_ +; %0A @@ -1241,16 +1241,18 @@ );%0A%7D);%0A%0A +/* describe @@ -3408,11 +3408,10 @@ );%0A%09 -*/ %0A%7D); -%0A +*/
d6f1430b26399ecf58317992eaecd6e393ddafdf
add a default wallpaper (Pleiades)
sources/common/js/configuration.js
sources/common/js/configuration.js
(function() { // Set in define(). let Ordering; const configuration = {}; // Version operations: { // Creates a new version identifier. function create(major, minor = 0, patch = 0, beta = 0) { return { major: major, minor: minor, ...
JavaScript
0
@@ -4660,20 +4660,19 @@ nabled: -fals +tru e,%0A%0A @@ -4702,16 +4702,120 @@ urls: %5B +%22https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Pleiades_large.jpg/1280px-Pleiades_large.jpg%22 %5D,%0A%0A
cf03a326477f53467fd85981243b7ab92e10c601
Fix chart export function
static/js/libs/highcharts.csv-export.js
static/js/libs/highcharts.csv-export.js
/** * A small plugin for getting the CSV of a categorized chart * Based on https://github.com/highslide-software/export-csv */ (function (Highcharts) { var each = Highcharts.each; Highcharts.Chart.prototype.getCSV = function () { var columns = [], line, tempLine, ...
JavaScript
0.000002
@@ -2374,16 +2374,19 @@ st(' +api /export/ csv/ @@ -2385,12 +2385,8 @@ ort/ -csv/ ', %7B
e684f8096943947ed55257fe1aa631217179b337
Remove try/catch
lib/node_modules/@stdlib/math/base/blas/dasum/test/test.dasum.native.js
lib/node_modules/@stdlib/math/base/blas/dasum/test/test.dasum.native.js
'use strict'; // MODULES // var tape = require( 'tape' ); var floor = require( '@stdlib/math/base/special/floor' ); var randu = require( '@stdlib/math/base/random/randu' ); var dasum; var opts; opts = {}; try { dasum = require( './../lib/dasum.native.js' ); } catch ( error ) { // eslint-disable-line no-unused-vars...
JavaScript
0.000006
@@ -172,207 +172,187 @@ );%0A -%0A var -dasum;%0Avar opts;%0A%0Aopts = %7B%7D;%0Atry %7B%0A%09dasum = require( './../lib/dasum.native.js' );%0A%7D catch ( error ) %7B // eslint-disable-line no-unused-vars%0A%09// Unable to load native addon:%0A%09opts.skip = true; +hasNative = require( './../lib/has_native.js' );%0...
26f5820c95d51163f068a30c9c934a351a256fa2
Fix an issue with custom arrows example
examples/CustomArrows.js
examples/CustomArrows.js
import React, { Component } from 'react' import createReactClass from 'create-react-class' import Slider from '../src/slider' var SampleNextArrow = createReactClass({ render: function() { return <div {...this.props} style={{display: 'block', background: 'red'}}></div>; } }); var SamplePrevArrow = createReactC...
JavaScript
0.000001
@@ -192,44 +192,135 @@ -return %3Cdiv %7B...this.props%7D style=%7B%7B +const %7BclassName, style, onClick%7D = this.props%0A return (%0A %3Cdiv%0A className=%7BclassName%7D%0A style=%7B%7B...style, disp @@ -352,23 +352,62 @@ 'red'%7D%7D +%0A onClick=%7BonClick%7D%0A %3E%3C...
f68c5050ae3e626a01b0591e68f7ea7eeae4c36d
attach the auth bearer token to `request.app`
policies/isAuthenticated.js
policies/isAuthenticated.js
const Boom = require('boom'); const needsAPI = function(request, reply, next) { const authorization = request.headers.authorization; const bearer = authorization && authorization.split(' ')[1]; // verify existence of Bearer token if (!bearer) { return next(Boom.unauthorized(), false); } // attach new...
JavaScript
0
@@ -344,16 +344,47 @@ request%0A + request.app.bearer = bearer;%0A reques
a22de22e00793ed5715750f6ccda9d5ba8a51afd
Fix label on angular example's describe block
examples/angular/test.js
examples/angular/test.js
'use strict'; var expect = require('chai').expect; var sinon = require('sinon'); var sinonAsPromised = require('sinon-as-promised'); var angular = require('angular'); describe('sinon-as-promised node example', function () { var $timeout; beforeEach(angular.mock.inject(function ($rootSc...
JavaScript
0
@@ -221,12 +221,15 @@ sed -node +angular exa @@ -824,8 +824,9 @@ %7D);%0A%0A%7D); +%0A
9c34731eb01908f09a6faeac64899626b7c38e20
Update BuiltinBaseJoke.js
skills/BuiltinBaseJoke.js
skills/BuiltinBaseJoke.js
module.exports = function(skill, info, bot, message) { bot.reply(message, 'What did the bot say to the other bot?'); bot.reply(message, '```\n01001111 01101110 01101100 01111001 00100000 01101110 01100101 01110010 01100100 01110011 00100000 01101100 01101111 01101111 01101011 00100000 01110101 01110000 00100000 011...
JavaScript
0
@@ -44,16 +44,20 @@ message +, db ) %7B%0A bo
b94d1c92d57783a1ad634b56aa75d93453fca0ab
Add jsdoc-style comments.
redux-query-sync.js
redux-query-sync.js
import createHistory from 'history/createBrowserHistory' // Helps to keep configured query parameters of the window location in sync // (bidirectionally) with values in the Redux store. function ReduxQuerySync({ store, params, replaceState, initialTruth, }) { const { dispatch } = store const h...
JavaScript
0
@@ -56,135 +56,965 @@ '%0A%0A/ -/ Helps to keep configured query parameters of the window location in sync%0A// (bidirectionally) with values in the Redux store. +**%0A * Sets up bidirectional synchronisation between a Redux store and window%0A * location query parameters.%0A *%0A * @param %7BObject%7D options.store -...
59860986c648cf2744f2a292d5e83f7e5e0a1481
Add a note to remind me of how this will work at some point. Woops.
commands/get.js
commands/get.js
'use strict'; const l10nFile = __dirname + '/../l10n/commands/get.yml'; const l10n = require('../src/l10n')(l10nFile); const CommandUtil = require('../src/command_util').CommandUtil; const util = require('util'); exports.command = (rooms, items, players, npcs, Commands) => (args, player) => { player.emit('acti...
JavaScript
0
@@ -2531,16 +2531,178 @@ well.%0A%0A + //TODO: Eventually, this should check for a container or containers that can fit it, and return that, so that the item%0A // Can be added to this container.%0A func @@ -2736,38 +2736,36 @@ const item -Weight +Size = item.getWeigh @@ -2751,38 +2751,36 @@ mSiz...
1b6b587800c563a072f1c5cd1bc70ce3f1068a39
Add skip and count options
importer.js
importer.js
#!/usr/bin/env node /** * Command line utility to import JSON objects * and push each one into any endpoint of an HTTP API. * * @author nfantone */ 'use strict'; var winston = require('winston'); var argv = require('yargs') .usage('Usage: $0 [-X method] <url> [options]') .demand(['data']) .describe('data',...
JavaScript
0.000001
@@ -398,16 +398,222 @@ 'data')%0A + .describe('count', 'Max number of request to send')%0A .alias('count', 'c')%0A .describe('skip', 'Number of ignored entries in the data array (starting from 0)')%0A .alias('skip', 's')%0A .default('skip', 0)%0A .descr @@ -2495,19 +2495,19 @@ %0A for ( -var +let i = arg @...
cebf3e67d4b94952bfb0285c2b878114072b63e2
fix loading library from examples
generators/react/templates/root/examples/example/app.js
generators/react/templates/root/examples/example/app.js
import React, {Component} from 'react'; import ReactDOM from 'react-dom'; import {Dummy} from '../..'; const App = class App extends Component { constructor(props) { super(props); this.state = {}; } render() { return ( <div> <Dummy></Dummy> ...
JavaScript
0
@@ -94,16 +94,20 @@ m '../.. +/src ';%0A%0Acons
299a0c04fcb6802e1af6719e0faae9289cf5e278
Change database table initialisation and naming
db/index.js
db/index.js
/* Core database initiation and connection */ const async = require('async'), config = require('../config'), redisDB = require('redis'), r = require('rethinkdb'); const dbVersion = 2; let rcon; // Buffers commands, so no need for callback function redisClient() { const client = redisDB.createClient({ host: co...
JavaScript
0
@@ -918,37 +918,13 @@ sts, -%0A%09%09%09%09%09%7Bdbs_created: 0%7D,%0A%09%09%09%09%09 + %7B%7D, r.db @@ -1009,16 +1009,49 @@ eguca'); +%0A%0A%09%09%09// Create all tables at once %0A%09%09%09crea @@ -1065,14 +1065,37 @@ s(%5B' +_ main'%5D +.concat(config.BOARDS) , ne @@ -1129,24 +1129,25 @@ %09%09%09r.table(' ...
597902a420b8fe323238fd3f82cc412256d46f21
support sorting of keys
tasks/lib/update_json.js
tasks/lib/update_json.js
/* * grunt-update-json * https://github.com/andreaspizsa/grunt-update-json * * Copyright (c) 2013 * Licensed under the MIT license. */ 'use strict'; var _ = require('lodash'), pointer = require('json-pointer'), // avoid the lint demons jsonPath = require('JSONPath')["eval".slice()]; var re = { PATH_PO...
JavaScript
0.000002
@@ -289,16 +289,64 @@ slice()%5D +,%0A stringify = require('json-stable-stringify') ;%0A%0A%0Avar @@ -3364,55 +3364,269 @@ %7B%7D) -;%0A%0A grunt.file.write(%0A file.dest,%0A +,%0A jsonStr;%0A%0A // if sorting was requested%0A if (options.sort) %7B%0A // do stringify of the passed obj...
123f5221644500a6bc7c4cdf8f9e24bb68eadb5d
Fix dualcam example
examples/dualcam/main.js
examples/dualcam/main.js
'use strict'; var viewer; var OSG = window.OSG; OSG.globalify(); var osg = window.osg; var osgGA = window.osgGA; var osgUtil = window.osgUtil; var osgDB = window.osgDB; var osgViewer = window.osgViewer; var viewer; function setupScene( viewer, sceneData ) { // load scene... as usual viewer.setSceneData( sc...
JavaScript
0
@@ -2423,16 +2423,45 @@ Devices +%7C%7C navigator.mozGetVRDevices )%0A @@ -2555,12 +2555,16 @@ lus. -_hmd +getHmd() );%0A @@ -3835,16 +3835,46 @@ Devices +&& !navigator.mozGetVRDevices ) %7B%0A @@ -4121,17 +4121,16 @@ getHmd() -; %0A
67e00488165cf40bf46157e0555e76d6adced1e8
Update self service example
examples/self-service.js
examples/self-service.js
/* jshint node: true */ "use strict"; var MUN = require(".."); var username = "YOUR MUN STUDENT NUMBER"; var password = "YOUR SELF SERVICE PIN #"; MUN.selfService.finalExamSchedule([ username, password ]) .then( function (results) { var exams = JSON.parse(results[0]); console.log(exams); }, function (error) {...
JavaScript
0
@@ -143,16 +143,163 @@ IN #%22;%0A%0A +/**%0A * The MUN.selfService object exposes:%0A *%0A * .finalExamSchedule(%5B username, password %5D)%0A * .academicRecord(%5B username, password %5D)%0A */%0A MUN.self
0d4ebcdfeda1e2b8ca43cb03aae864affcefcabe
Fix map focus with multiple polygons
mainapp/assets/js/createMap.js
mainapp/assets/js/createMap.js
import L from "leaflet"; import {CooperativeScrollWheelZoom} from "./LeafletCooperativeScrollWheelZoom"; const outlineStroke = { weight: 1, fillColor: "#ffffff", fillOpacity: 0.75, stroke: true, color: "#0000ff", opacity: 0.5, dashArray: [2, 4] }; function coordsToPolygon(coords) { re...
JavaScript
0
@@ -2239,24 +2239,66 @@ polygons) %7B%0A + // Create a bound around all polygons%0A let city @@ -2338,24 +2338,138 @@ etBounds();%0A + for (let polygon of polygons) %7B%0A cityBounds = cityBounds.extend(L.polygon(polygon).getBounds());%0A %7D%0A let padd
a225b484821ae0bb334a44ffc558093536783350
introduce a temporary patch to make node_modules/rxjs compile with typescript 2.7 (#22669)
tools/postinstall-patches.js
tools/postinstall-patches.js
const {set, cd, sed} = require('shelljs'); const path = require('path'); console.log('===== about to run the postinstall.js script ====='); // fail on first error set('-e'); // print commands as being executed set('-v'); // jump to project root cd(path.join(__dirname, '../')); console.log('===== finished running...
JavaScript
0
@@ -277,16 +277,380 @@ ./'));%0A%0A +// https://github.com/ReactiveX/rxjs/pull/3302%0A// make node_modules/rxjs compilable with Typescript 2.7%0A// remove when we update to rxjs v6%0Aconsole.log('%5Cn# patch: reactivex/rxjs#3302 make node_modules/rxjs compilable with Typescript 2.7')%0Ased('-i', %22('response' in xhr)...
7ad013522e879870a1829252abb65b818bb437db
Add default STATIC_CACHE_AGE to server.site.js
tools/servers/server.site.js
tools/servers/server.site.js
var _ = require('lodash'), express = require('express'); module.exports = function confgureServer(config, app) { var app = app || express(); if (_.get(config, 'server.options.logs')) { app.use(require('morgan')('dev')); } if (_.get(config, 'server.options.gzip')) { app.use(require('compression')(...
JavaScript
0
@@ -52,16 +52,77 @@ xpress') +,%0A STATIC_CACHE_AGE = 365 * 24 * 60 * 60 * 1000; // 1 year ;%0A%0Amodul @@ -534,16 +534,34 @@ acheAge' +, STATIC_CACHE_AGE ),%0A i
9945a2889413ccf4c97f878d0a18f8e3afad75f8
Rename internal variable
symphony/assets/symphony.collapsible.js
symphony/assets/symphony.collapsible.js
/** * @package assets */ (function($) { /** * This plugin makes items collapsible. * * @name $.symphonyCollapsible * @class * * @param {Object} options An object specifying containing the attributes specified below * @param {String} [options.items='.instance'] Selector to find collapsible items withi...
JavaScript
0.000003
@@ -1942,23 +1942,24 @@ event, i -mediate +nstantly ) %7B%0A%09%09%09%09 @@ -2052,23 +2052,22 @@ %09%09%09%09// I -mediate +nstant switch? @@ -2079,15 +2079,16 @@ if(i -mediate +nstantly ===
86d5a54356e0bc93ab4e0ba141415c749cfcd311
Remove un-needed things from app_stub.js
backend/app_stub.js
backend/app_stub.js
/* * Modules */ var express = require('express'); var Q = require('q'); var http = require('http'); var fs = require('fs'); //var powernode = require('./lib/powernode'); /* * Configuration */ var config = JSON.parse(fs.readFileSync('config.json')); //var secrets = JSON.parse(fs.readFileSync('secrets.json'...
JavaScript
0.000005
@@ -10,25 +10,24 @@ Modules%0A */%0A -%0A var express @@ -52,30 +52,8 @@ ');%0A -var Q = require('q');%0A var @@ -103,54 +103,8 @@ s'); -%0A//var powernode = require('./lib/powernode'); %0A%0A/* @@ -191,69 +191,8 @@ ));%0A -//var secrets = JSON.parse(fs.readFileSync('secrets.json'));%0A var @@ -259,62 +259,8...
6409e65d4ad0f189d4e09d2a8e31b254ba72afec
Set `this.isEmpty = true` in `Dropdown.empty()`
src/typeahead/dropdown.js
src/typeahead/dropdown.js
/* * typeahead.js * https://github.com/twitter/typeahead.js * Copyright 2013 Twitter, Inc. and other contributors; Licensed MIT */ var Dropdown = (function() { // constructor // ----------- function Dropdown(o) { var that = this, onSuggestionClick, onSuggestionMouseEnter, onSuggestionMouseLeave...
JavaScript
0.997792
@@ -5569,32 +5569,59 @@ , clearDataset); +%0A this.isEmpty = true; %0A%0A function
6ea250f02d2d60b17aaaa6e736d44996f4aa7fcd
Change config.database.deliveryRecordsExpire to 2
src/util/config/schema.js
src/util/config/schema.js
const Joi = require('@hapi/joi') const decodeValidator = require('./validation/decode.js') const timezoneValidator = require('./validation/timezone.js') const localeValidator = require('./validation/locale.js') const logSchema = Joi.object({ level: Joi.string().strict().valid('silent', 'trace', 'debug', 'info', 'own...
JavaScript
0.000001
@@ -1728,17 +1728,17 @@ default( -5 +2 )%0A%7D)%0A%0Aco
b2d185388972b7cf8f0b32c48d2c55e68eb13b21
Annotate commit message with version.
Gruntfile.js
Gruntfile.js
// Gruntfile for VexFlow. // Mohit Muthanna Cheppudira <mohit@muthanna.com> module.exports = function(grunt) { var L = grunt.log.writeln; var BANNER = '/**\n' + ' * VexFlow <%= pkg.version %> built on <%= grunt.template.today("yyyy-mm-dd") %>.\n' + ' * Copyright (c) 2010 Mohit Mutha...
JavaScript
0
@@ -4505,16 +4505,36 @@ version +: %3C%25= pkg.version %25%3E %22,%0A
fe643bfb386707b20860df32548f2bde09727aff
Fix globbing patterns in Grunt JSCS target
Gruntfile.js
Gruntfile.js
'use strict'; /* jshint camelcase: false */ module.exports = function ( grunt ) { require( 'load-grunt-tasks' )( grunt ); require( 'time-grunt' )( grunt ); // Define the configuration for all the tasks grunt.initConfig( { pkg: grunt.file.readJSON( 'package.json' ), licenseHeaderLong:...
JavaScript
0.000002
@@ -2771,11 +2771,11 @@ ' -app +src /js/
65171e61602eb3552fb249ac2b8287a1c07e2d21
Fix scss compression
Gruntfile.js
Gruntfile.js
module.exports = function (grunt) { 'use strict'; grunt.loadNpmTasks('grunt-contrib-coffee'); grunt.loadNpmTasks('grunt-contrib-pug'); grunt.loadNpmTasks('grunt-sass'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-concurrent'); grunt.loadNpmTasks('grunt-contrib-uglif...
JavaScript
0.000331
@@ -1262,55 +1262,8 @@ alse -,%0A outputStyle: 'compressed' %0A @@ -1705,32 +1705,79 @@ ourcemap: 'none' +,%0A outputStyle: 'compressed' %0A
f2fabcd0980bec974cff896b175f0981444f0d18
update docs
Gruntfile.js
Gruntfile.js
// Helpers for custom tasks, mainly around promises / exec var exec = require('faithful-exec'); var shjs = require('shelljs'); module.exports = function (grunt) { // URI paths for our tasks to use grunt.dist = './dist/'; grunt.uriTask = './grunt/'; grunt.uriSrc = './src/UI'; grunt.uriBuild = './bui...
JavaScript
0.000001
@@ -1739,32 +1739,37 @@ grunt, tasks);%0A%0A + %0A // Compass T
d49001c473121de4de16b227bd71d39360fdc2a5
Exclude directories during copy process
Gruntfile.js
Gruntfile.js
module.exports = function( grunt ) { "use strict"; var pkg = grunt.file.readJSON( "package.json" ); grunt.initConfig( { pkg: pkg, clean: [ "dist/" ], copy: { build: { options: { process: function( content ) { ...
JavaScript
0
@@ -525,32 +525,74 @@ flatten: true,%0A + filter: %22isFile%22,%0A
534fbf17227a295d1aee6c5de6d5d65894ec3268
use the short version and not the long version_name for git tags
Gruntfile.js
Gruntfile.js
const fs = require('fs'); module.exports = function(grunt) { // Programatically find out what packages we include. This is used to factor // out our node packages from our actual code. const pkg = grunt.file.readJSON('./package.json'); const dependencies = Object.keys(pkg.dependencies); let produc...
JavaScript
0.000004
@@ -4162,13 +4162,8 @@ sion -_name ,%0A
af144e9e15c40db8aa9bd6bbbb4a93fded1e095f
Fix more problems with Gruntfile.js
Gruntfile.js
Gruntfile.js
/* Gruntfile.js * * A Gruntfile defines automated tasks for the command-line tool grunt. You use a Gruntfile to specify everything that needs * to happen for your project to be built. Here, we're configuring grunt to compile our SASS files into CSS as part of the default task. * * You can find instructions for in...
JavaScript
0.000001
@@ -883,21 +883,8 @@ : %7B%0A -%3C%3C%3C%3C%3C%3C%3C HEAD%0A %09%09%09d @@ -1295,507 +1295,8 @@ %09%09%7D%0A -=======%0A%09%09%09%09%09%09options: %7B%0A%09%09%09%09/*%0A%09%09%09%09 * Output our CSS in exapanded form so that it's easy to read.%0A%09%09%09%09 * In a production environment, you would want to change t...
36ac41773cd36bf02475a04cfed66cb36d63b23f
Add settings for watch & load task
Gruntfile.js
Gruntfile.js
module.exports = function(grunt) { "use strict"; var browserifyFiles = { "./dist/build.js": "./src/*.js" }; grunt.initConfig({ pkg: grunt.file.readJSON("package.json"), browserify: { prod: { files: browserifyFiles } } }); ...
JavaScript
0
@@ -288,24 +288,159 @@ %7D%0A + %7D,%0A watch: %7B%0A scripts: %7B%0A files: %5B%22src/*.js%22%5D,%0A tasks: %5B%22build%22%5D%0A %7D%0A %7D%0A @@ -489,16 +489,63 @@ erify%22); +%0A grunt.loadNpmTasks(%22grunt-contrib-watch%22);...
d85b0fd608825e0be0b29eae635d0fb87cdecc03
Configure Grunt to watch and copy asset files
Gruntfile.js
Gruntfile.js
module.exports = function(grunt) { grunt.initConfig({ browserify: { dist: { options: { transform: [ ['babelify', { presets: 'es2015' } ] ] }, files: { 'dist/client...
JavaScript
0
@@ -1001,16 +1001,128 @@ x.html'%0A + %7D,%0A media: %7B%0A src: 'media/assets/*',%0A dest: 'dist/assets/'%0A @@ -1371,16 +1371,199 @@ index'%5D%0A + %7D,%0A media: %7B%0A files: %5B'media/assets/*'%5D,%0A ...
a2b2ab5dadb4c141e735f12b9add52c247b2480f
Fix W099: Mixed spaces and tabs error
Gruntfile.js
Gruntfile.js
/* * logsearch-website * * Ryan Holder * https://github.com/ryanholder/logsearch-website * * Copyright (c) 2014 * Licensed under the MIT license. */ module.exports = function (grunt) { 'use strict'; // Delete after first run if (!grunt.file.exists('vendor/bootstrap')) { grunt.fail.fatal('>> Please run ...
JavaScript
0
@@ -2651,17 +2651,16 @@ %09%7D%0A%09%09%7D,%0A -%0A %09%09connec @@ -2664,20 +2664,16 @@ nect: %7B%0A - %09%09%09serve @@ -2677,22 +2677,17 @@ rver: %7B%0A - +%09 %09%09%09%09opti @@ -2693,24 +2693,18 @@ ions: %7B%0A - +%09%09 %09%09%09%09useA @@ -2723,24 +2723,18 @@ : true,%0A - +%09...
f67b5d006063a38f3b8fa5413ac98905c9fe81c4
Set ‘build’ as the default Grunt task
Gruntfile.js
Gruntfile.js
module.exports = function(grunt) { grunt.initConfig({ bowerPkg: grunt.file.readJSON('bower.json'), karma: { unit: { configFile: 'karma.conf.js', singleRun: true, browsers: ['PhantomJS'] } }, cssmin: { build: { options: { banner: '/* <%= bowerPkg.name %> v<%= bowerPkg.version %> (<...
JavaScript
0
@@ -911,13 +911,20 @@ ault', %5B +'build' %5D)%0A%7D%0A
c0f90beb7c008e0f4a552679627763e4ca2b0f7f
Rename 'Chat' to 'Gitter Chat'
erpnext/public/js/conf.js
erpnext/public/js/conf.js
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.provide('erpnext'); // add toolbar icon $(document).bind('toolbar_setup', function() { frappe.app.name = "ERPNext"; frappe.help_feedback_link = '<p><a class="text-muted" \ href=...
JavaScript
0.999999
@@ -1037,32 +1037,57 @@ p_menu);%0A%09$('%3Cli + class=%22gitter-chat-link%22 %3E%3Ca href=%22https: @@ -1140,16 +1140,23 @@ %22%3E'+__(' +Gitter Chat')+'
98affab59b9e94aec86ae0c2b592138d1b4ce05b
Set main field on bower.json
Gruntfile.js
Gruntfile.js
/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-...
JavaScript
0.000002
@@ -1174,17 +1174,16 @@ /*.js'%5D, - %0A @@ -2948,16 +2948,59 @@ s %7C%7C %5B%5D) +,%0A main: 'js/%3C%25= pkg.name %25%3E.js' %0A
f79f6ebd0667ba56a3aa71beed0b8195cb5787ae
Standardize Gruntfile
Gruntfile.js
Gruntfile.js
/*global module:false*/ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ // Metadata. pkg: grunt.file.readJSON('package.json'), banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + '<%= grunt.template.today("yyyy-mm-dd") %>\n' + '<%= pkg.home...
JavaScript
0.000001
@@ -562,23 +562,17 @@ 'src/js/ -thbarjs +* .js'%5D, / @@ -2472,23 +2472,31 @@ name: ' -thbarjs +%3C%25= pkg.name %25%3E ',%0A @@ -2704,15 +2704,23 @@ les/ -thbarjs +%3C%25= pkg.name %25%3E .css
00e3159e0418d58de3f1185ac8664b19a299ec8a
Bump node-webkit version
Gruntfile.js
Gruntfile.js
/* jshint node: true */ module.exports = function(grunt) { var NW_VERSION = '0.8.3'; // linudev.so.0 workaround, see README.md process.env.LD_LIBRARY_PATH = '.:' + process.env.LD_LIBRARY_PATH; grunt.initConfig({ run: { options: { nwArgs: ['.'], downloadDir: 'node-webkit', ...
JavaScript
0
@@ -79,11 +79,11 @@ '0. -8.3 +9.2 ';%0A%0A
ff89afabfe510c7dfcac17bc3fde93d857950dc6
update pushTo option for bump
Gruntfile.js
Gruntfile.js
module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { dist: { src: [ 'node_modules/marked/lib/marked.js', 'src/jquery.gh-readme.js' ], dest: 'dist/jquery.gh-readme.full.js' } }, uglify: { ...
JavaScript
0
@@ -1130,14 +1130,14 @@ o: ' -master +origin '%0A
10f520ab51c4145653a90563a27eed196d309185
Include es6 files for jshint
Gruntfile.js
Gruntfile.js
'use strict'; module.exports = function (grunt) { require('time-grunt')(grunt); var config = { watch: { babel: { files: ['**/*.es6.js'], tasks: ['babel'] }, express: { files: ['**/*.js', '!**/*.es6.js', 'bin/www'], tasks: ['express:dev'], options: ...
JavaScript
0
@@ -1430,16 +1430,20 @@ '**/*. +es6. js'%0A
138a5635211e71b31431a08a6de7364f93761720
fix running-job check
ui/client/js/routes.js
ui/client/js/routes.js
// Applications page Router.route("/", { waitOn: function() { return Meteor.subscribe("apps"); }, action:function() { this.render('appsPage', { data: { apps: Applications.find() } }); } }); // Application/Jobs page Router.route("/a/:_appId", { waitOn: function() { return Meteor.subscribe("jobs-p...
JavaScript
0.000005
@@ -702,24 +702,25 @@ b) %7B return +( job.started @@ -714,24 +714,43 @@ (job.started + %7C%7C job.time.start) && !job.end
5262a21990f87ffa05eedb246fc96943bdd9ff20
copy sourcemap with dev build The sourcemap points to the intermediate main_config.js so that needs to be copied over too.
Gruntfile.js
Gruntfile.js
/* eslint object-property-newline: "off" */ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ // Metadata. pkg: grunt.file.readJSON("package.json"), cfg: grunt.file.readJSON("config.json"), // Task configuration. clean: { // Cle...
JavaScript
0
@@ -2758,20 +2758,20 @@ -main +prod : %7B%0A @@ -3237,32 +3237,192 @@ %5D%0A + %7D,%0A dev: %7B%0A files: %5B%0A %7Bexpand: true, cwd: %22src/%22, src: %5B%22js/main*%22%5D, dest: %22build/%22%7D%0A %5D%0A ...
e6ad5e04b104d6977c61897d7f20a495f14faa1b
Improve Grunt watch configuration
Gruntfile.js
Gruntfile.js
module.exports = function(grunt) { 'use strict'; grunt.initConfig({ /** * Pull in the package.json file so we can read its metadata. */ pkg: grunt.file.readJSON('package.json'), /** * Here's a banner with some template variables. * We'll be inserting it at the top of minified ass...
JavaScript
0
@@ -337,17 +337,16 @@ banner: - %0A ' @@ -1440,25 +1440,24 @@ -less%0A * - %0A * Comp @@ -1953,25 +1953,24 @@ glify%0A * - %0A * Mini @@ -2460,25 +2460,24 @@ shint%0A * - %0A * Vali @@ -3318,17 +3318,16 @@ h%0A * - %0A * @@ -3475,100 +3475,305 @@ -gruntfile: %...
ef9d4368326f0a0127dfd47bfcd4b2ac7966737b
Fix gruntfile
Gruntfile.js
Gruntfile.js
"use strict"; module.exports = ( grunt ) => { require( "load-grunt-tasks" )( grunt ); grunt.initConfig( { "eslint": { "src": [ "src/**/*.js" ] }, "babel": { "options": { "presets": [ "es2015" ], // "plugins": [ "transform-es2015-...
JavaScript
0.00001
@@ -25,16 +25,24 @@ ports = +function ( grunt @@ -46,11 +46,8 @@ nt ) - =%3E %7B%0A%0A
f2fb64422fbf722fbe18f12b7fd60f9c48913cff
Add db.js to jshint task
Gruntfile.js
Gruntfile.js
module.exports = function(grunt) { 'use strict'; // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), jshint: { all: [ 'Gruntfile.js', 'app.js', 'lib/**/*.js', 'routes/*.js', 'test/*.js', 'public/js/three-script.js' ...
JavaScript
0.000002
@@ -205,24 +205,41 @@ 'app.js',%0A + 'db.js',%0A 'lib
42bebe305bf43a04dccdb50d27d29620c7ddf52e
this is a message
Gruntfile.js
Gruntfile.js
module.exports = function(grunt) { // Option functionality not yet added for karma file patterns function karmaGenerateLoadedFiles (sources) { function karmaPatternize (src, options) { return { pattern: src, watched: true, included: true, served: true, }; } var files = Array.prototype....
JavaScript
0.999955
@@ -2714,150 +2714,8 @@ f);%0A -%09grunt.registerTask('build', %5B'express:build', 'express-keepalive'%5D);%0A%09grunt.registerTask('create', %5B'express:create', 'express-keepalive'%5D);%0A %09gru @@ -2744,24 +2744,24 @@ -express');%0A + %09grunt.loadN @@ -3102,18 +3102,16 @@ pile');%0A -%09%0A %09// grun @@ -32...
93ea67f21f4d549330edeac983d70dbdbfd13a60
Fix mocha-browserify issue
Gruntfile.js
Gruntfile.js
var _ = require('underscore'); var logger = require('morgan'); var mockApi = require('./mock-api'); module.exports = function (grunt) { require('load-grunt-tasks')(grunt); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), version: '<%= pkg.version %>', jshint: { javascripts: { ...
JavaScript
0.000097
@@ -2591,20 +2591,8 @@ , %5B%0A - 'test',%0A @@ -2676,16 +2676,28 @@ fy:dist' +,%0A 'test' %0A %5D);%0A%0A
b98427df7892c4e2f9991cff834e6176ea1912c3
Fix uglify:jsPlugins task and jsPlugins watcher. Resolves #2
Gruntfile.js
Gruntfile.js
/*jshint node: true */ module.exports = function(grunt) { 'use strict'; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), banner: '/** \n' + ' * Automatically Generated - DO NOT EDIT \n' + ' * <%= pkg.name %> / v<%= pkg.version %> / <%= grunt.template.today("yyyy-mm-dd") %> \n' + ' */ \n\n'...
JavaScript
0.000006
@@ -549,32 +549,33 @@ s: %7B%0A%09%09%09%09files: +%5B '%3C%25= sourcePath @@ -596,29 +596,89 @@ r %25%3E/js/ -plugins +vendor/**/*.js', '!%3C%25= sourcePath %25%3E/%3C%25= assetDir %25%3E/js/vendor/min /*.js' +%5D ,%0A%09%09%09%09ta @@ -1667,16 +1667,23 @@ r %25%3E/js/ +vendor/ min/plug @@ -1697,25 +1697,111 ...
82a213d3278dfdf0c581c6cea924ffa4678f7736
Modify css support check to work better with SSR
src/utils/css-supports.js
src/utils/css-supports.js
export function cssSupports (property, value) { if (CSS) { return CSS.supports(property, value) } return toCamelCase(property) in document.body.style } export function toCamelCase (cssProperty) { cssProperty = cssProperty .split('-') .filter(word => !!word) .map(word => word[0].toUpperCase() +...
JavaScript
0
@@ -47,19 +47,42 @@ %7B%0A if ( -CSS +typeof CSS !== 'undefined' ) %7B%0A @@ -123,16 +123,80 @@ e)%0A %7D%0A%0A + if (typeof document === 'undefined') %7B%0A return false;%0A %7D%0A%0A return
d25a45d6122abde56f647a4c37c98cc5fb4e1505
Handle undefined environment variables in resolveJoins
src/utils/resolveJoins.js
src/utils/resolveJoins.js
// Used to resolve Fn::Join in environment variables export default function resolveJoins(environment) { if (!environment) { return undefined } const newEnv = {} Object.keys(environment).forEach((key) => { const value = environment[key] const joinArray = value['Fn::Join'] const isJoin = Boolea...
JavaScript
0.999999
@@ -248,16 +248,84 @@ nt%5Bkey%5D%0A + if (!value) %7B%0A newEnv%5Bkey%5D = value%0A return%0A %7D%0A %0A cons
50bb2e8a9d2afd61c333371a5b2e05255c5116d2
SAUCELABS_ prefix
test/acceptance/index.js
test/acceptance/index.js
// Docs aren't that great to find. Mostly JAVA based. Here are few helpful resources: // - https://www.browserstack.com/automate/node#testing-frameworks // - http://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/firefox/index_exports_Driver.html // - https://github.com/SeleniumHQ/selenium/b...
JavaScript
0.999995
@@ -979,16 +979,26 @@ ess.env. +SAUCELABS_ USERNAME @@ -1026,16 +1026,26 @@ ess.env. +SAUCELABS_ ACCESS_K @@ -1454,17 +1454,17 @@ owser: ' -f +F irefox', @@ -1514,17 +1514,17 @@ owser: ' -c +C hrome', @@ -1637,21 +1637,19 @@ pec.js') +, %0A - // require
70fbb29f4be30b7bf1affb7e176fa996f4e1912a
Merge into develop
Gruntfile.js
Gruntfile.js
'use strict'; module.exports = function (grunt) { // Load grunt tasks automatically require('load-grunt-tasks')(grunt); grunt.initConfig({ sg_release: { release: { options: { skipBowerInstall: true, files: ['package.json'], commitMessagePrefix: '', push...
JavaScript
0
@@ -229,16 +229,49 @@ : true,%0A + tagName: 'v%25VERSION%25',%0A
1e55ec611bfedc764bb97ff498f5096a469d96d7
Fix a bug that `vivliostyle.sizing.getSize` fails in vertical writing mode on IE
src/vivliostyle/sizing.js
src/vivliostyle/sizing.js
/** * Copyright 2015 Vivliostyle Inc. * @fileoverview CSS Intrinsic & Extrinsic Sizing */ goog.provide("vivliostyle.sizing"); goog.require("adapt.base"); goog.require("adapt.vtree"); /** * Box sizes defined in css-sizing. * @enum {string} */ vivliostyle.sizing.Size = { FILL_AVAILABLE_INLINE_SIZE: "fill-avai...
JavaScript
0.000008
@@ -2456,24 +2456,99 @@ de === %22 -vertical +tb-rl%22 %7C%7C%0A writingMode === %22vertical-lr%22 %7C%7C writingMode === %22tb -lr%22;%0A
de617a40856efadf2a4537148d478ac476fe86ed
Make sure to use the right version of nwjs
Gruntfile.js
Gruntfile.js
module.exports = function(grunt) { // TODO: platforms shouldn't be hardcoded here var platforms = ['win64']; // Build up array of destinations for Twister deamon files var destinations = {files: []}; platforms.forEach(function (platform) { destinations.files.push({ expand: ...
JavaScript
0
@@ -630,16 +630,52 @@ tforms,%0A + version: 'v0.12.1',%0A
beb98007f2718f10570462bf94decd929f9eb708
Fix grunt protractor task
Gruntfile.js
Gruntfile.js
var srcFiles = 'app/**/*.js'; var specFiles = 'spec/**/*.js'; var specE2eFiles = 'spec-e2e/**/*.js'; module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-jasmine'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-karma'); grunt....
JavaScript
0.999095
@@ -1383,32 +1383,73 @@ options: %7B%0A + configFile: %22protractorConf.js%22,%0A keepAliv @@ -1537,17 +1537,16 @@ r: false -, // If t @@ -1606,423 +1606,89 @@ - args: %7B%0A specs: %5B specE2eFiles %5D,%0A capabilities: %7B%0A 'browserName': 'chrome'%0A ...
16a3879e073d46c3f4e2536b0380913c90145492
Remove unused tasks
Gruntfile.js
Gruntfile.js
/** * @file Gruntfile.js * @version 0.0.1 * * @copyright 2014 CoNWeT Lab., Universidad Politécnica de Madrid * @license Apache v2 (https://github.com/Wirecloud/room-manager-src/blob/master/LICENSE) */ module.exports = function(grunt) { 'use strict'; grunt.initConfig({ pkg: grunt.file.readJSON('packag...
JavaScript
0.000058
@@ -1714,24 +1714,47 @@ runtfile.js' +, '!src/test/fixtures/' %5D%0A %7D%0A%0A %7D @@ -2174,176 +2174,8 @@ );%0A%0A - grunt.registerTask('js', %5B'concat:dist', 'uglify:dist'%5D);%0A grunt.registerTask('jsConcat', 'concat:dist');%0A grunt.registerTask('css', %5B'less:dist', 'cssmin:dist'%5D);%0A gr @@ -227...