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 |
|---|---|---|---|---|---|---|---|
cceb224f6a9a39451b90fcff182049a24f3ad2b0 | fix build script | gruntfile.js | gruntfile.js | module.exports = function(grunt) {
'use strict';
var pkg = grunt.file.readJSON('package.json');
grunt.initConfig({
sampleDir: "samples",
libDir: "src",
destDir: "dest",
testDir: "test",
docDir: "doc",
watch: {
sample: {
files: ['<%= sampleDir %>/*.jsx', '<%= libDir %>/*.jsx... | JavaScript | 0.000001 | @@ -1200,35 +1200,35 @@
regexp: /
-lib
+src
%5C/(.+)%5C.jsx/,%0A
@@ -1950,35 +1950,35 @@
regexp: /
-lib
+src
%5C/(.+)%5C.jsx/,%0A
@@ -2696,35 +2696,35 @@
regexp: /
-lib
+src
%5C/(.+)%5C.jsx/,%0A
@@ -2851,36 +2851,35 @@
release:
-fals
+tru
e,%0A linke
@@ -3448,35 +3448,3... |
c61a7109738180c2e6f6deaf69bb0ab3905221be | clean up. | gruntfile.js | gruntfile.js | //'use strict';
var path = require('path').resolve('.');
module.exports = function (grunt) {
grunt.initConfig({
defaulTheme:'theme1'
,pkg: grunt.file.readJSON('package.json'),
less: {
dev: {
options: {
sourceMap: true,
... | JavaScript | 0 | @@ -598,22 +598,8 @@
%7D,
-%0D%0A %0D%0A %0D%0A
@@ -928,143 +928,8 @@
%0D%0A
- %0D%0A %0D%0A // grunt-watch will monitor the projects files%0D%0A // https://github.com/gruntjs/grunt-contrib-watch%0D%0A
@@ -1257,150 +1257,8 @@
%7D,%0D%0A
- %0D%0A %0D%0A%... |
b156d0fa13f42f87fa4986303e63575b40921519 | Kill existing DynamoDBLocal before starting | gruntfile.js | gruntfile.js | 'use strict';
var DynamoDbLocal = require('dynamodb-local');
var DYNAMO_DB_PORT = 8000;
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
app: {
src: ['gruntfile.js', 'index.js', 'lib/**/*.js'],
options: {
node: true,
... | JavaScript | 0 | @@ -1475,214 +1475,474 @@
var
-done = this.async();%0A
+getPID = 'ps aux %7C grep %22
DynamoD
-b
+B
Local
-%0A .launch(DYNAMO_DB_PORT)%0A .then(function() %7B done(); %7D)%0A .catch(functi
+.jar -port ' +%0A DYNAMO_DB_PORT +%0A '%22 %7C grep -v grep %7C awk ... |
207ffec0b70c6698ce9c56c01ea32d3d760baa5e | Optimize browser-require | src/core/helpers/loader.js | src/core/helpers/loader.js | function require(path, parent){
var m, realpath;
if(parent)
realpath = require.mods[parent].aliases[path];
else
realpath = path;
if(!realpath)
realpath = require.virtual( path );
if(!(m = require.mods[realpath]))
{
console.error('Module not found: ', path);
return null
}
if(!... | JavaScript | 0.000001 | @@ -58,16 +58,20 @@
parent)%0A
+ %7B%0A
real
@@ -119,35 +119,8 @@
;%0A
-else%0A realpath = path;%0A%0A
if
@@ -130,20 +130,16 @@
ealpath)
-%0A
realpat
@@ -169,16 +169,46 @@
th );%0A
+%7D%0A else%0A realpath = path;%0A
%0A if(!(
@@ -238,21 +238,24 @@
th%5D))%0A
-%7B%0A
+ return
con... |
bc83217a2f6c09a23ca061525e4a2995d9c3aa80 | Use 'return' to break out of function | core/net.js | core/net.js |
var http = require("http");
var https = require("https");
var Promise = require("promise");
module.exports = {
download: function(url) {
url = this.completeUrl(url);
return new Promise(function(resolve, reject) {
var client = url.substring(0, 8) == "https://" ? https : http;
client.get(url, fu... | JavaScript | 0.000921 | @@ -581,32 +581,39 @@
%7B%0A
+return
resolve(module.e
@@ -697,16 +697,23 @@
+return
resolve(
|
be773d2fe77ac9004476beeb9f2f21b1dc7ee721 | Update TODO list | src/directives/hotTable.js | src/directives/hotTable.js | (function() {
/**
* Main Angular Handsontable directive
*/
function hotTable(settingFactory, autoCompleteFactory, $rootScope) {
return {
restrict: 'EA',
scope: {},
// for ng-repeat
priority: -400,
controller: ['$scope', function($scope) {
this.setColumnSetting = funct... | JavaScript | 0 | @@ -3510,16 +3510,59 @@
scriptor
+ + needs perf test watch equality vs toJson
%0A
|
c7b00ee92b02ac777920fa65a83ebf9ab598058c | Add prettify function for tab constants | react-native/react/constants/tabs.js | react-native/react/constants/tabs.js | 'use strict'
export const STARTUP_TAB = 'STARTUP_TAB'
export const FOLDER_TAB = 'FOLDER_TAB'
export const CHAT_TAB = 'CHAT_TAB'
export const PEOPLE_TAB = 'PEOPLE_TAB'
export const DEVICES_TAB = 'DEVICES_TAB'
export const MORE_TAB = 'MORE_TAB'
| JavaScript | 0 | @@ -232,12 +232,279 @@
'MORE_TAB'%0A
+%0Aconst prettyNames = %7B%0A %5BSTARTUP_TAB%5D: null,%0A %5BFOLDER_TAB%5D: 'Folder',%0A %5BCHAT_TAB%5D: 'Chat',%0A %5BPEOPLE_TAB%5D: 'People',%0A %5BDEVICES_TAB%5D: 'Devices',%0A %5BMORE_TAB%5D: 'More'%0A%7D%0A%0Aexport function prettify (tabName) %7B%0A return prettyName... |
b40b34b8b3d6dde7b45de1ee22a0f3fc201bb27e | fix nav links | react-ui/src/components/Nav/index.js | react-ui/src/components/Nav/index.js | import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import { connect } from 'react-redux';
import { isEmpty } from 'lodash';
import { setEmail } from 'app/actions';
import './Nav.scss';
class Nav extends Component {
componentWillMount() {
const token = localStorage.getItem(... | JavaScript | 0 | @@ -1018,16 +1018,479 @@
%7D;%0A%0A
+ renderCourse() %7B%0A return (%0A %3CLink className=%22Nav__right-link%22 to=%22/course%22%3E%0A %7Bthis.props.email ? 'Course Home' : 'Start for Free'%7D%0A %3C/Link%3E%0A );%0A %7D%0A%0A renderBuy() %7B%0A if... |
e6b084d5e0939cd4a1e43aff00239a5b4660b15a | Fix typo | src/events/eventManager.js | src/events/eventManager.js | import getEventID from './getEventID';
import addRootDomEventListeners from './addRootDomEventListeners';
import EventRegistry from './EventRegistry';
import listenersStorage from './listenersStorage';
import listenerSetup from './hooks/listenerSetup';
function eventListener(e) {
listenersStorage[getEventID(e.targ... | JavaScript | 0.999999 | @@ -1568,17 +1568,17 @@
Node._in
-t
+f
ernoList
|
dfb2f67b5d775a7d45538f0c93ed8fa1c89cf97c | Change abbrivated stage variable to full word, more explicit | src/extensions/registry.js | src/extensions/registry.js | 'use strict'
//let validator = require('mc-extension-validator')
let glob = require('glob')
const EXT_PATH = process.cwd() + '/node_modules/mc-ext-*'
let registry = {
_extensions: {},
_typesByFqids: {},
/**
* Resolve all `mc-ext-*` modules and register them
*
* @param {string} dir Path mission cont... | JavaScript | 0.000002 | @@ -1367,16 +1367,19 @@
rEach(st
+age
=%3E %7B%0A%0A
@@ -1551,16 +1551,19 @@
s.' + st
+age
.id%0A
@@ -1595,16 +1595,19 @@
id%5D = st
+age
%0A%0A
|
cc7c851de6400e26b077c8d81c07a40269726218 | change config from 'simplePush' to fireboxes to be inline with cordova naming and added support for firefoxos only config | src/firefoxos/pushProxy.js | src/firefoxos/pushProxy.js | var cordova = require('cordova');
module.exports = {
register: function (onNotification, success, fail, config) {
var client = AeroGear.UnifiedPushClient(config.simplePush.variantID, config.simplePush.variantSecret, config.pushServerURL + '/rest/registry/device');
var req = navigator.push.register();
r... | JavaScript | 0 | @@ -47,17 +47,16 @@
rts = %7B%0A
-%0A
regist
@@ -106,24 +106,73 @@
, config) %7B%0A
+ var pushConfig = config.firefoxos %7C%7C config;%0A
var clie
@@ -207,54 +207,40 @@
ent(
-c
+pushC
onfig.
-simplePush.variantID, config.simplePush
+variantID, pushConfig
.var
|
07fb0f0e2eba6f21a890bc7ea9945c3c65fcca20 | enable console reporter for Protractor tests on CI | integration/protractor-web/protractor.conf.js | integration/protractor-web/protractor.conf.js | const { TestRunnerTagger } = require('@integration/testing-tools');
const { ArtifactArchiver } = require('@serenity-js/core');
const { ConsoleReporter } = require('@serenity-js/console-reporter');
const { Photographer, TakePhotosOfFailures } = require('@serenity-js/web');
const { SerenityBDDReporter } = require('@seren... | JavaScript | 0 | @@ -1162,22 +1162,51 @@
+%5D%0A
-//
+ .concat(process.env.CI &&
Console
@@ -1240,27 +1240,17 @@
upport()
-,%0A %5D
+)
%0A %7D,%0A
|
55345283ac5f5df23c1c8d0b316d21b101d85f8e | Add update contact | api/controllers/ContactController.js | api/controllers/ContactController.js | /**
* ContactController
*
* @description :: Server-side logic for managing contacts
* @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers
*/
module.exports = {
login: function (req, res) {
if (typeof req.param('nickname') === 'undefined' || typeof req.param('password') === 'undefin... | JavaScript | 0 | @@ -2277,81 +2277,181 @@
-// Todo: To be implement !%0A return res.json(%7Binfo: %22To be implement !%22
+Contact.update(%7Bnickname: req.param('nickname')%7D, req.allParams()).exec(function(contact) %7B%0A if(err) return res.badRequest(res);%0A return res.json(contact%5B0%5D);%0A
%7D);%0A
|
dea31e36b16307fa531f141746a3497206113543 | Fix bug occurred because of dependeny injection | src/get-script-commands.js | src/get-script-commands.js | 'use strict';
const getLernaPackages = require('./get-lerna-packages');
const getPackage = require('./get-package');
/**
* @returns {Object} returns an object of available scripts as key and their packages as array
**/
function getScriptCommands({ diGetLernaPackages = getLernaPackages, diGetPackage = getPackage }) {... | JavaScript | 0.000001 | @@ -116,16 +116,81 @@
);%0A%0A/**%0A
+ * @param %7BObject%7Cundefined%7D di - dependency injection for tests%0A
* @retu
@@ -311,30 +311,93 @@
nds(
-%7B diGetLernaPackages =
+di) %7B%0A%09const commands = %7B%7D;%0A%0A%09const diGetLernaPackages = di ? di.diGetLernaPackages :
get
@@ -413,9 +413,16 @@
ages
-,
+;%0... |
b653dff1985de1ace05b52e3cc9c9749d38cb890 | add support for provide release from options directly rather than through file. | tasks/raygun_deployment.js | tasks/raygun_deployment.js | /*
* grunt-raygun-deployment
* https://raygun.io
*
* Copyright (c) 2015 Raygun.io
* Licensed under the MIT license.
*/
'use strict';
var request = require('request');
module.exports = function (grunt) {
grunt.registerTask('raygun_deployment', 'Grunt plugin for generating Deployment information for Raygun.io... | JavaScript | 0 | @@ -2186,45 +2186,188 @@
e =
-grunt.file.readYAML(options.release);
+null;%0A%0A if(typeof options.release==%22string%22)%7B%0A grunt.file.readYAML(options.release);%0A %7D else if(typeof options.release==%22object%22)%7B%0A release = options.release;%0A %7D
%0A%0A
|
c88a471094bd21ce3c9fb721d6da45791df063a3 | add use strict to attraction.js since it seems to be giving off errors in Heroku deployment | app/assets/javascripts/attraction.js | app/assets/javascripts/attraction.js | // Attraction Constructor
function Attraction(id, name, url, attraction_type, destination){
this.id = id;
this.name = name;
this.url = url;
this.attraction_type = attraction_type;
this.destination = destination;
}
Attraction.prototype.formatUrl = function(){
var origUrl = this.url;
if (origUrl.includes("... | JavaScript | 0 | @@ -19,16 +19,29 @@
tructor%0A
+'use strict'%0A
function
@@ -274,16 +274,17 @@
nction()
+
%7B%0A var
|
f0164e4fa24684e53f091cf4c1391099d4fc9e00 | Fix the scroll button now that we inject that after page load | app/assets/javascripts/lib/scroll.js | app/assets/javascripts/lib/scroll.js | $(function() {
$('[data-scroll]').click(function() {
var $target = $($(this).attr('data-target'));
$('html, body').animate({ scrollTop: $target.offset().top }, 500);
setTimeout(function() { $target.focus(); }, 500);
return false;
});
});
| JavaScript | 0 | @@ -13,16 +13,33 @@
%7B%0A $('
+body').delegate('
%5Bdata-sc
@@ -48,16 +48,19 @@
ll%5D'
-).
+, '
click
-(
+',
func
@@ -190,17 +190,16 @@
, 500);%0A
-%0A
setT
@@ -245,17 +245,16 @@
500);%0A%0A
-%0A
retu
|
32e3309e686f9800d002d0071995f55c3401361c | use same format for id as for signature | security.js | security.js | var crypto = require('crypto')
//
//security is pluggable - or can be left out.
//
//there is a sign method, and a verify method (which may be async)
//hmm, after thinking through some possible attacks,
//https://github.com/dominictarr/scuttlebutt/issues/6
//I've realized that it is necessary to let the security plug... | JavaScript | 0.000002 | @@ -1967,16 +1967,22 @@
.digest(
+format
)%0A %7D%0A
|
99268051ad42e5e78218933ccf049139330f4f1c | Make 'childLinkViews' and Ember Array | addon/components/active-link.js | addon/components/active-link.js | import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'li',
childLinkViews: [],
classNameBindings: ['active'],
active: Ember.computed('childLinkViews.@each.active', function() {
return Ember.A(this.get('childLinkViews')).isAny('active');
}),
didRender: function() {
Ember.run... | JavaScript | 0.000014 | @@ -82,30 +82,8 @@
i',%0A
- childLinkViews: %5B%5D,%0A
cl
@@ -196,16 +196,8 @@
urn
-Ember.A(
this
@@ -218,17 +218,16 @@
kViews')
-)
.isAny('
@@ -249,31 +249,147 @@
%0A%0A
-didRender: function() %7B
+init() %7B%0A this._super( ...arguments );%0A this.set('childLinkViews', Ember.A());%0A %7D,%0A%0A d... |
323f13f70e3bacc059e09748631f96300d2312ca | add g-recaptcha CSS class to g-recaptcha component | addon/components/g-recaptcha.js | addon/components/g-recaptcha.js | import Ember from 'ember';
import Configuration from '../configuration';
export default Ember.Component.extend({
sitekey: Configuration.siteKey,
tabindex: Ember.computed.alias('tabIndex'),
renderReCaptcha() {
if (Ember.isNone(window.grecaptcha)) {
Ember.run.later(() => {
this.renderReCaptcha... | JavaScript | 0 | @@ -108,16 +108,48 @@
tend(%7B%0A%0A
+ classNames: %5B'g-recaptcha'%5D,%0A%0A
siteke
|
92b812887cd2d5887223ba0f59f8035fee661b33 | Fix native Object.is() detection, fixes #54. | features.js | features.js | define(["requirejs-dplugins/has"], function (has) {
/* global Platform */
has.add("console-api", typeof console !== "undefined");
has.add("host-browser", typeof window !== "undefined");
has.add("object-observe-api", typeof Object.observe === "function" && typeof Array.observe === "function");
has.add("object-is-ap... | JavaScript | 0 | @@ -317,16 +317,18 @@
s-api%22,
+!!
Object.i
|
73c5c7e230f7fb943715f6abb052a010c2912a50 | Remove unnecessary js | pages/welcome/js/script.js | pages/welcome/js/script.js | (function() {
chrome.storage.sync.get("playedTutorial", function(playedTutorial) {
if(!playedTutorial.playedTutorial) {
console.log(playedTutorial.playedTutorial)
document.getElementById("loading").style.display = "none";
document.getElementById("oninstall").style.display = "block";
utils.... | JavaScript | 0.000046 | @@ -123,122 +123,8 @@
) %7B%0A
- console.log(playedTutorial.playedTutorial)%0A document.getElementById(%22loading%22).style.display = %22none%22;%0A
@@ -239,15 +239,82 @@
%7D
+
else %7B%0A
+ document.getElementById(%22onupdate%22).style.display = %22block%22;
%0A
|
c6ea01a472f4effd34defa1f771001cb2c866eed | add new 'label' property to settings for easy display | settings.js | settings.js | // user settings:
var _settings;
var saveSettings = function(){
localStorage.setItem("user_settings",JSON.stringify(_settings));
}
var initializeSettings = function(){
_settings = JSON.parse(localStorage.getItem("user_settings"));
if(_settings === null || _settings === {}){
_settings = [
{item:'ful... | JavaScript | 0 | @@ -340,16 +340,49 @@
lue:true
+,label:'Fullscreen Notifications'
%7D,%0D%0A%09%09%09%7B
@@ -417,16 +417,44 @@
lue:true
+,label:'Notification Colors'
%7D%0D%0A%09%09%5D%0D%0A
@@ -1735,20 +1735,21 @@
%3E%22+item.
-item
+label
+%22%3C/labe
|
fa2f99acf627f106e57a2d5985e84cbe04973400 | Create first autorun for updating layout | cothink2/client/layout.js | cothink2/client/layout.js | var Layout = {}
Layout.init = function (msgbus) {
};
layout = Object.create(Layout);
Meteor.startup(function () {
layout.init(msgbus);
});
| JavaScript | 0 | @@ -14,42 +14,437 @@
%7B%7D%0A%0A
-Layout.init = function (msgbus) %7B%0A
+var autoruns = %7B%0A 'centerFocussedItem': function () %7B%0A var focussedItem = uiCore.getFocussedItem();%0A if (focussedItem != null) %7B%0A layout.render(focussedItem);%0A %7D%0A %7D,%0A%7D;%0A%0ALayout... |
7b460d0f4b7d89c07e3bd854cbb4e67862bca726 | improve changeset notes | app/create-feed-from-gtfs/service.js | app/create-feed-from-gtfs/service.js | import Ember from 'ember';
export default Ember.Service.extend({
store: Ember.inject.service(),
feedModel: null,
userModel: null,
createFeedAndUserModels: function() {
var newFeedModel = this.get('store').createRecord('feed', {});
var newUserModel = this.get('store').createRecord('user', {});
this.se... | JavaScript | 0 | @@ -966,57 +966,82 @@
es:
-'This is a test. TODO put a custom message here.'
+%60Changed submitted from Feed Registry for feed at $%7BfeedModel.get('url')%7D%60
,%0A
|
3a383efc919c11969c5688bc53681caaba4afbe1 | edit Wallet | app/models/ballotbox.server.model.js | app/models/ballotbox.server.model.js | 'use strict';
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var Wallet = mongoose.model('Wallet');
var crypto = require('crypto');
var BallotBoxSchema = new Schema({
//hash will be SHA1(ballotbox.yes+ballotbox.no+ballotbox.protest)
hash: {
type: String,
default: '',
trim: true,
required... | JavaScript | 0.000001 | @@ -755,16 +755,18 @@
ck) %7B%0A%0A%09
+//
Wallet.c
@@ -831,24 +831,26 @@
r, data) %7B%0A%09
+//
%09this.yes =
@@ -848,38 +848,44 @@
is.yes = data;%0A%09
+//
%7D);%0A
-%0A%09
+//%0A%09//
Wallet.create_vo
@@ -942,24 +942,26 @@
r, data) %7B%0A%09
+//
%09this.no = d
@@ -966,22 +966,28 @@
data;%0A%09
+//
%7D);... |
8cb5eb90858f16e37629497f5ff5f81f497ca4de | Add extension system to System. Add System properties. Add System.Debug. | api/system.js | api/system.js | /*
* Copyright (c) 2014 The Sphere Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | JavaScript | 0 | @@ -1442,238 +1442,1811 @@
%0A *
-Abort the current game with a message.%0A *%0A * @param %7BString%7D msg - Message to show after abort.%0A * @noreturn%0A */%0ASystem.abort = function(msg) %7B%0A%7D%0A%0A/**%0A * Exit the game unconditionally.%0A *%0A * @noreturn%0A */%0ASystem.exit = function() %7B%0A%7D
+Get the v... |
ba47579762088f66fa940de4a62145ae5be4d6a8 | update c2mysql-images. | app/mongodb-script/c2mysql-images.js | app/mongodb-script/c2mysql-images.js | 'use strict';
const init = require('../base/init');
const config = require('../base/config');
const date2 = require('../base/date2');
const mongo2 = require('../mongodb/mongo2');
const my2 = require('../mysql/my2');
const imageb = require('../image/image-base');
init.add(
(done) => {
console.log('copy mongodb i... | JavaScript | 0 | @@ -657,30 +657,51 @@
-r.id =
+let img = %7B%0A id:
r._id
-;%0A
+,%0A
dele
@@ -700,21 +700,19 @@
-delete r._id;
+uid: r.uid,
%0A
@@ -720,16 +720,41 @@
-r.
+ cdate: r.cdate,%0A
vers
- =
+:
JSO
@@ -780,17 +780,57 @@
%7C%7C null)
-;
+,%0A comment: r.com... |
983b010755ea00342ea1905b9393251bf0473537 | Remove deprecated require | shoedrip.js | shoedrip.js | const request = require('request-promise-native');
let connection = require('./psc.js');
let BattleMonitor = require('./BattleMonitor.js');
module.exports.champ = {};
let getCurrentThread = async () => {
let b = await request.get('http://a.4cdn.org/vp/catalog.json');
let catalog = JSON.parse(b);
let derp_no = 0;
... | JavaScript | 0.000003 | @@ -48,46 +48,8 @@
');%0A
-let connection = require('./psc.js');%0A
let
|
65f5a7f85fd2ed38a95f006a8063f73d4f958f15 | modify configure | crawler/conf/configure.js | crawler/conf/configure.js | // Global configure for crawler. Export the whole configure info by an object.
module.exports=
{
database:
{
// the schema used to access mongodb.
access_schema: "mongodb://localhost/cnews"
},
worker:
{
// the robots.txt info cached will expire within the time. If <0, no exp... | JavaScript | 0.000001 | @@ -1257,17 +1257,18 @@
econds:
-1
+60
%0A %7D,%0A
@@ -1506,18 +1506,16 @@
s_num: 1
-00
%0A %7D%0A%7D
|
6c35b58ac3a610c6633b87047a4be89e31b1e42e | Return app-sync version on status API. | src/gateway-api-status.js | src/gateway-api-status.js | import R from "ramda";
import Promise from "bluebird";
import pm2 from "./pm2";
import prettyBytes from "pretty-bytes";
import { promises } from "./util";
import log from "./log";
const HOST_NAME = process.env["HOSTNAME"] || "unknown";
export default (apps) => {
const processNameToAppId = (name) => name.split(":"... | JavaScript | 0 | @@ -172,16 +172,59 @@
%22./log%22;
+%0Aimport packageJson from %22../package.json%22;
%0A%0Aconst
@@ -2323,16 +2323,26 @@
s.send(%7B
+%0A
host: H
@@ -2350,16 +2350,66 @@
ST_NAME,
+%0A version: packageJson.version,%0A
apps: a
@@ -2417,16 +2417,24 @@
psStatus
+%0A
%7D))%0A ... |
f16aec607e76716090b90dbce921e033e4327817 | Switch to code authorization flow | app/config.js | app/config.js | // This is the default configuration for the dev mode of the web console.
// A generated version of this config is created at run-time when running
// the web console from the openshift binary.
//
// To change configuration for local development, copy this file to
// assets/app/config.local.js and edit the copy.
window... | JavaScript | 0.000001 | @@ -641,24 +641,83 @@
authorize%22,%0A
+ oauth_token_uri: %22https://localhost:8443/oauth/token%22,%0A
oauth_re
|
9cec80d5262fe45c3621e450ef509e050aae5a08 | add EVENT_TAG_HIDE_BUILDING_NAME constant | app/consts.js | app/consts.js | export default {
colors: [
"ff4d40",
"ffa540",
"f2ec0f",
"3c6d2b",
"40ff73",
"4071ff",
"ff4086",
"40ccff",
"5940ff",
"ff40f5",
"a940ff",
"e6ab68",
"4d4d4d"
],
EVENT_TYPE_PLAIN: 1,
EVENT_TYPE_HOMEWORK: 2,
EVENT_TYPE_SCHEDULE: 3,
EVENT_TAG_RESERVED: 0,
EVENT_TAG_DESCRIPTION: 1,
EVENT_T... | JavaScript | 0.000028 | @@ -768,16 +768,51 @@
END: 19,
+%0A%09EVENT_TAG_HIDE_BUILDING_NAME: 20,
%0A%0A%09CALEN
|
cf8625f53de804512571b1010844e090dae1044b | remove interceptors | app/js/app.js | app/js/app.js | 'use strict';
define(['angular', 'angular-sanitize', 'angular-loading-bar', 'angular-animate',
'text-angular'
/*,'angular-form-controls','angular-storage', 'angular-route', 'angular-cookies', */
],
function(angular) {
var dependencies = ['ngRoute', 'ngCookies', 'chieffancypants.loading... | JavaScript | 0 | @@ -2471,162 +2471,8 @@
%7D;%0A%0A
- $httpProvider.interceptors.push('authenticationHttpIntercepter');%0A $httpProvider.interceptors.push('realmHttpIntercepter');
%0A%0A
|
182463ba57f89b3242298998f7e26c34fc325431 | Set multivalue arguments as comma separated lists | plugins/item_tasks/web_client/views/TaskRunView.js | plugins/item_tasks/web_client/views/TaskRunView.js | import _ from 'underscore';
import WidgetCollection from '../collections/WidgetCollection';
import ControlsPanel from './ControlsPanel';
import View from 'girder/views/View';
import FolderModel from 'girder/models/FolderModel';
import ItemModel from 'girder/models/ItemModel';
import router from 'girder/router';
impor... | JavaScript | 0.000008 | @@ -4593,20 +4593,18 @@
-cons
+le
t val =
@@ -5550,16 +5550,127 @@
efault:%0A
+ if (model.isVector()) %7B%0A val = val.join(',');%0A %7D%0A
@@ -5760,29 +5760,19 @@
data:
-model.value()
+val
%0A
|
ae06d181d42b0d50e888ed16ef0eb499623e759c | Fix double fetching | src/Administration/Users/UsersList/UsersList.js | src/Administration/Users/UsersList/UsersList.js | import React, { useEffect, useState } from 'react'
// import PropTypes from 'prop-types'
import Grid from '@material-ui/core/Grid'
import {
makeStyles,
Paper,
Table,
TableCell,
TableRow,
TableHead,
TableBody,
TableFooter,
TableContainer,
TableSortLabel,
} from '@material-ui/core'
import { Alert, A... | JavaScript | 0.000775 | @@ -2416,25 +2416,8 @@
Page
-, usersData.count
%5D)%0A%0A
|
cc5295da298371bd7d5e1f2a0ad760d83f56655d | Fix string conversion problems | libraries/Native/JavaScript.js | libraries/Native/JavaScript.js | Elm.Native.JavaScript = {};
Elm.Native.JavaScript.make = function(elm) {
elm.Native = elm.Native || {};
elm.Native.JavaScript = elm.Native.JavaScript || {};
if (elm.Native.JavaScript.values) return elm.Native.JavaScript.values;
var List = Elm.Native.List.make(elm);
var Render = ElmRuntime.use(ElmRuntime.Rend... | JavaScript | 0.000088 | @@ -498,25 +498,9 @@
urn
-List.fromArray(v)
+v
;%0A
@@ -1433,115 +1433,8 @@
v);%0A
- if (typeof array%5B0%5D === 'string') %7B%0A array = array.join('');%0A %7D else %7B%0A
@@ -1489,20 +1489,16 @@
-
array%5Bi%5D
@@ -1520,24 +1520,8 @@
%5D);%0A
- ... |
e1bf3cb629c9f36c7c25d05f0fdb562d4c50aeeb | rename argument passed into removeBodyClass in NameController | app/assets/javascripts/app/controllers/NameController.js | app/assets/javascripts/app/controllers/NameController.js | function NameController($window, $timeout, ShareBandNameService, FormDataService, SocialMediaShareService) {
var ctrl = this;
ctrl.loadingPage = true;
ctrl.bandName = ShareBandNameService;
ctrl.removeBodyClass = (className) => {
let body = angular.element(document.querySelector('body'));
body.removeCl... | JavaScript | 0.000001 | @@ -400,16 +400,22 @@
ass('bg-
+color-
loading'
|
74bd3a1a6cb9a8e36e80d61aba984f6a231cf3fd | Update retrieveRegistrationStatus.js | app/cloud/server/functions/retrieveRegistrationStatus.js | app/cloud/server/functions/retrieveRegistrationStatus.js | import { settings } from '../../../settings';
import { Users } from '../../../models';
export function retrieveRegistrationStatus() {
const info = {
connectToCloud: settings.get('Register_Server'),
workspaceRegistered: (settings.get('Cloud_Workspace_Client_Id')) ? true : false,
workspaceId: settings.get('Cloud_... | JavaScript | 0.000001 | @@ -475,16 +475,36 @@
tUser &&
+ firstUser.emails &&
firstUs
|
84af768ebed6561e47cd4aded0f3925764bbbd2c | add demo-index.html | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var plumber = require('gulp-plumber');
var clean = require('gulp-clean');
var concat = require('gulp-concat');
var header = require('gulp-header');
var imagemin = require('gulp-imagemin');
var zip = require('gulp-zip')... | JavaScript | 0.000001 | @@ -3082,32 +3082,298 @@
%22html/%22));%0A%7D);%0A%0A
+gulp.task('demo-replace-move', function () %7B%0A return gulp.src(%5B%22index.html%22%5D)%0A .pipe(replace('src=%22../js/crysyan.js%22', 'src=%22crysyan-core-min.js%22'))%0A .pipe(plumber())%0A .pipe(rename(%7Bprefix: 'demo-'%7D))%0A ... |
0c5273a54e32968ba4a859a8c9f26bee3d047b70 | Fix condition, load url_path | geotrek/core/static/core/geotrek.forms.snap.js | geotrek/core/static/core/geotrek.forms.snap.js | L.FieldStore.LineSnapStore = L.FieldStore.extend({
_deserialize: function (value) {
console.debug("Deserialize " + value);
value = JSON.parse(value);
value = value['geom'];
return L.FieldStore.prototype._deserialize.call(this, value);
},
_serialize: function (layer) {
... | JavaScript | 0.000001 | @@ -1606,17 +1606,16 @@
'path')
-%7B
%0A
@@ -1619,32 +1619,16 @@
-pathsLayer.load(
url_path
@@ -1629,16 +1629,17 @@
l_path +
+=
'?no_dr
@@ -1651,46 +1651,10 @@
rue'
-, true)
;%0A
- %7D%0A else %7B%0A
@@ -1689,26 +1689,16 @@
, true);
-%0A %7D
%0A%0A
|
b1d9be368b688d9dfa7f2e02c44f421fc70347a6 | Remove strip-debug task. Manually removing console.logs. Resolves #62. | gulpfile.js | gulpfile.js | // Include gulp
var gulp = require('gulp');
// Include plugins
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var stripDebug = require('gulp-strip-debug');
var sass = require('gulp-sass');
var optipng = require('gulp-optipng');
var options = ['-o2'];
/*... | JavaScript | 0 | @@ -1736,269 +1736,8 @@
;%0A%0A%0A
-/**%0A *%09TASK: stripdebug%0A *%09USES: gulp-strip-debug%0A * DESCRIPTION: Removes all console.log and debugging messages from js files%0A */%0Agulp.task('stripdebug', function() %7B%0A%09return gulp.src('assets/js/*.js')%0A%09.pipe(stripDebug())%0A%09.pipe(gulp.dest('dist/js/'));... |
3b418bf82ca093d014f6520dd3dbe04ca6d71b5b | Fix requirejs configuration so dagre-d3 is not minified. | alien4cloud-ui/src/main/build/config/requirejs.js | alien4cloud-ui/src/main/build/config/requirejs.js | 'use strict';
// Require js optimizer configuration
module.exports = function (grunt) {
var config = {
dist: {
options: {
appDir: '<%= yeoman.app %>',
dir: '<%= yeoman.dist %>',
mainConfigFile:'./src/main/webapp/scripts/require.config.js',
modules:[
{
n... | JavaScript | 0 | @@ -1135,16 +1135,17 @@
'd3-pie'
+,
%0A
@@ -1150,19 +1150,16 @@
- //
'dagre-
|
48347141c93695483670726e5c8d49245d9285ea | 添加app中的watch命令:gulp watch_self 只监听app中的scss变化 | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
sh = require('shelljs'),
del = require('del'),
sass = require('gulp-sass'),
minifyCss = require('gulp-minify-css'),
uglify = require('gulp-uglify'),
gulpif = require('gulp-if'),
useref = require('gulp-useref'),
connect = requi... | JavaScript | 0 | @@ -1446,24 +1446,56 @@
ipe(sass())%0A
+ .pipe(gulp.dest('app/css'))%0A
.pipe(gu
@@ -1577,16 +1577,27 @@
, '.tmp'
+, 'app/css'
%5D, done)
@@ -1928,12 +1928,114 @@
:dev'%5D);%0A%7D);
+%0A%0Agulp.task('watch_self', %5B'sass'%5D, function() %7B%0A return gulp.watch(%5B'app/scss/**/*'%5D, %5B'sass'%5D);%0A%7D)... |
e1df03f9deaa93560ad7da944d7376d1a427353e | add linux as target platform for builds | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var del = require('del');
var runSequence = require('run-sequence');
var sass = require('gulp-sass');
var concat = require('gulp-concat');
var minifyCss = require('gulp-minify-css');
var uglify = require('gulp-uglify');
var typescript = require('gulp-typescript');
var sourcemaps = require('g... | JavaScript | 0 | @@ -5211,16 +5211,25 @@
'darwin'
+, 'linux'
%5D,%0A%09%09arc
|
c735e6d082c175cb53b94e1a15ea41326c6337c7 | use callback to allow correct task dep definition | gulpfile.js | gulpfile.js | 'use strict';
// generated on 2014-07-15 using generator-gulp-webapp 0.1.0
var gulp = require('gulp');
var critical = require('critical');
// load plugins
var $ = require('gulp-load-plugins')();
gulp.task('styles', function () {
return gulp.src('app/styles/main.css')
.pipe($.autoprefixer('last 1 version'... | JavaScript | 0.000237 | @@ -3052,24 +3052,26 @@
, function (
+cb
) %7B%0A%0A //
@@ -3570,24 +3570,27 @@
: true%0A %7D
+,cb
);%0A%7D);%0A%0A%0A//
|
61e93434174cf3a203a2367a2116d426c2cee5a1 | Fix page title | gulpfile.js | gulpfile.js |
var gulp = require('gulp');
var opts = {
paths: ['node_modules/lucify-commons'],
publishFromFolder: 'dist',
assetContext: process.env.MINARD ? '' : 'embed/the-flow-towards-europe-updating/'
};
var builder = require('lucify-component-builder');
builder(gulp, opts);
| JavaScript | 0.000003 | @@ -107,16 +107,80 @@
'dist',%0A
+ pageDef: %7B%0A title: 'The Flow Towards Europe - Lucify'%0A %7D,%0A
assetC
|
073c345e8ed1ba0d09f33acd8b7d84005c0902e8 | Change gulpfile dev dependencies to only be required in server mode | gulpfile.js | gulpfile.js | // inspired by https://gist.github.com/dmitruksergey/8441752
var gulp = require('gulp'),
jade = require('gulp-jade'),
sass = require('gulp-sass'),
gulpif = require('gulp-if'),
autoprefixer = require('gulp-autoprefixer'),
minifyCSS = require('gulp-minify-css'),
imagemin = require('gulp-imagemin'... | JavaScript | 0 | @@ -320,27 +320,19 @@
'),%0A
-browsersync
+del
= requi
@@ -339,55 +339,50 @@
re('
-browser-sync').create(),%0A del = require('del
+del'),%0A replace = require('gulp-replace
'),%0A
@@ -432,41 +432,42 @@
-nodemon = require('gulp-
+browsersync = '',%0A
nodemon
+ = '
'
-)
,%0A
@@ -482,71 +482,... |
119650c9f7c0553a64638dce7f3f4603edf96b88 | Fix font path issue in gulpfile | gulpfile.js | gulpfile.js | /*!
* gulp
* $ npm install gulp-ruby-sass gulp-autoprefixer gulp-minify-css gulp-jshint gulp-concat gulp-uglify gulp-imagemin gulp-notify gulp-rename gulp-livereload gulp-cache del --save-dev
*/
// Load plugins
var gulp = require('gulp'),
sass = require('gulp-ruby-sass'),
autoprefixer = require('gulp-autopr... | JavaScript | 0.000001 | @@ -1142,37 +1142,35 @@
rc('
-bower_components/font-awesome
+themes/barricade/static/src
/fon
|
45b954de5c9a87ebf808746947d21d703c046a76 | Complete the functionality. | gulpfile.js | gulpfile.js | 'use strict';
var gulp = require('gulp');
var _ = require('lodash');
var browserify = require('browserify');
var reactify = require('reactify');
var File = require('vinyl');
var source = require('vinyl-source-stream');
var path = require('path');
var buildPath = './build/';
var indexFileName = '__index.js';
var file... | JavaScript | 0.000805 | @@ -389,16 +389,50 @@
st2.jsx'
+,%0A 'test3': './folder1/test3.jsx'
%0A%7D;%0A%0Agul
@@ -563,16 +563,70 @@
lias) %7B%0A
+ // path.resolve expose the real path for the user%0A
var
@@ -629,16 +629,17 @@
var p =
+(
file%5B0%5D
@@ -649,24 +649,21 @@
'.'
+)
?
-path.resolve(
+('../' +
file
|
1acdcffadbe8ef9a4e9e19b3323fd9aa18660ba6 | change path with pcss on pss | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
postcss = require('gulp-postcss'),
rename = require('gulp-rename'),
ghPages = require('gulp-gh-pages'),
shell = require('gulp-shell')
require('gulp-release-tasks')(gulp);
var pkg = require('./package.json'),
slim_banner = [
'*',
'* Copyright (c) ' + ... | JavaScript | 0 | @@ -812,17 +812,16 @@
.task('p
-c
ss', fun
@@ -858,17 +858,16 @@
'./app/p
-c
ss/' + p
@@ -879,17 +879,16 @@
me + '.p
-c
ss')%0A
|
6f973e9ddf8e2567284b41bf7692dbb7c213bece | Add single component build style. #2 | gulpfile.js | gulpfile.js | var gulp = require('gulp');
//Build the JavaScript source.
var babelify = require("babelify"); //es6
var browserify = require('browserify'); //build the source
var source = require('vinyl-source-stream');
/****************************
JS BUILD
**********************/
/**
* Build a js file from a given source.
... | JavaScript | 0.000002 | @@ -1314,16 +1314,19 @@
onentify
+-js
', funct
@@ -1674,16 +1674,931 @@
******/%0A
+function styleBuild(directory, options)%7B%0A%09options = options %7C%7C %7B%7D;%0A%09var sass = require('gulp-sass');%0A%09var concat = require('gulp-concat');%0A%09var generatedFile = (options.generatedFile %7C%7C %22component.css%... |
ca45e372381a181d80982b97a0376cd5f18088fc | Change globbing pattern | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var gutil = require('gulp-util');
var bower = require('bower');
var concat = require('gulp-concat');
var sass = require('gulp-sass');
var minifyCss = require('gulp-minify-css');
var rename = require('gulp-rename');
var sh = require('shelljs');
var paths = {
sass: ['./scss/**/*.scss']
};
... | JavaScript | 0 | @@ -301,11 +301,13 @@
css/
-*
+%7B,
*/
+%7D
*.sc
|
833a4b28f74d1104b7a8fbc74a778222c3d49da6 | upgrade to Flow v0.30.0 | tcomb-validation/3.2.0+.js | tcomb-validation/3.2.0+.js | import type { $Type, Struct } from 'tcomb'
declare module 'tcomb-validation' {
declare type Path = Array<string | number>;
declare type ValidationErrorT = Struct<{
actual: any,
expected: $Type,
path: Path,
message: string
}>;
declare type ValidationResultT = Struct<{
errors: Array<Valida... | JavaScript | 0 | @@ -7,21 +7,21 @@
type %7B
-$
Type
+T
, Struct
@@ -195,21 +195,24 @@
pected:
-$
Type
+T%3C*%3E
,%0A pa
@@ -365,15 +365,160 @@
are
-module.
+type ValidationOptions = %7B%0A path?: Path,%0A context?: any%0A %7D;%0A%0A declare type ExtendedValidationOptions = Path %7C ValidationOptions;%0A%0A declar... |
dbb4272eeca972bb3716623d2f9c79d67cd0bdaa | reorder imports | gulpfile.js | gulpfile.js | #!/usr/bin/env node
const less = require('gulp-less');
const tweakdom = require('gulp-tweakdom');
const gulp = require('gulp');
const sourcemaps = require('gulp-sourcemaps');
const rollup = require('gulp-better-rollup')
const babel = require('rollup-plugin-babel')
const uglify = require('rollup-plugin-uglify');
const ... | JavaScript | 0.000009 | @@ -24,33 +24,140 @@
nst
-less = require('gulp-less
+del = require('del');%0Aconst gulp = require('gulp');%0Aconst rollup = require('gulp-better-rollup')%0Aconst concat = require('gulp-concat
');%0A
@@ -162,24 +162,24 @@
;%0Aconst
-tweakdom
+cleanCSS
= requi
@@ -187,24 +187,25 @@
e('gulp-
-tweakdom
+clean-css
... |
31eaf507511899b8ba4bc906f9d519979adb8143 | remove erroneous gulp-notify | gulpfile.js | gulpfile.js | (function() {
'use strict';
var gulp = require('gulp');
var fork = require('./lib/fork');
var jscs = require('gulp-jscs');
var notify = require('gulp-notify');
var buildPath = '_site';
gulp.task('build', ['lintStyle', 'copySCSS']);
gulp.task('lintStyle', lintStyle);
gulp.task('copySCSS', ['lintStyle... | JavaScript | 0.999992 | @@ -129,47 +129,8 @@
');%0A
- var notify = require('gulp-notify');%0A
va
|
6365e76a764ba0bb0f7a72e772bc8203fbffdaf1 | Move variable declarations and add section headers | lib/node_modules/@stdlib/math/base/special/acosh/scripts/accuracy.js | lib/node_modules/@stdlib/math/base/special/acosh/scripts/accuracy.js | 'use strict';
// TODO: clean-up
var abs = require( '@stdlib/math/base/special/abs' );
var divide = require( 'compute-divide' );
var mean = require( 'compute-mean' );
var subtract = require( 'compute-subtract' );
var acosh = require( './../lib' );
var data = require( './fixtures/julia/data.json' );
var x = data.x;
v... | JavaScript | 0 | @@ -27,16 +27,31 @@
ean-up%0A%0A
+// MODULES //%0A%0A
var abs
@@ -254,24 +254,41 @@
../lib' );%0A%0A
+%0A// FIXTURES //%0A%0A
var data = r
@@ -332,28 +332,121 @@
);%0A%0A
-var x = data.x;%0Avar
+%0A// MAIN //%0A%0Avar customErrs;%0Avar nativeErrs;%0Avar yexpected;%0Avar ynative;%0Avar ycustom;%0Avar x;%0Avar i;%... |
d490758d097d38f5a4231e61ffc384c0b4de26d2 | Add `userStarredApp` task to `build` step in gulpfile | gulpfile.js | gulpfile.js | const gulp = require('gulp');
const less = require('gulp-less');
const dest = require('gulp-dest');
const watch = require('gulp-watch');
const uglify = require('gulp-uglify');
const concat = require('gulp-concat');
const rename = require('gulp-rename');
const gutil = require('gulp-util');
const proxy = require('http... | JavaScript | 0.000001 | @@ -4335,24 +4335,29 @@
k('build', %5B
+%0A
'less', 'acc
@@ -4389,16 +4389,20 @@
ailApp',
+%0A
'explor
@@ -4439,12 +4439,31 @@
atusApp'
+, 'userStarredApp'%0A
%5D);%0A
|
e474402372d241a9c01675e67a447a5eccf2c711 | fix fonts url | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
autoprefixer = require('gulp-autoprefixer'),
concat = require('gulp-concat'),
cssmin = require('gulp-cssmin'),
del = require('del'),
eslint = require('gulp-eslint'),
eventStream = require('event-stream'),
inject = require('gulp-inject'),
less = require('gulp-less'),
plumber... | JavaScript | 0.009169 | @@ -4489,32 +4489,33 @@
phiconsRegex, '.
+.
/bower_component
@@ -4590,16 +4590,17 @@
egex, '.
+.
/bower_c
|
02cf45a3ee0061097bbfe74f6567c38ca871d3bc | Clarify plugin loading in server. | app/server.js | app/server.js | exports = module.exports = function(container, store, logger) {
var oauth2orize = require('oauth2orize');
var server = oauth2orize.createServer({
store: store
});
var paramDecls = container.components('http://schemas.authnomicon.org/js/aaa/oauth2/request/parameters')
, grantDecls = container.co... | JavaScript | 0 | @@ -181,100 +181,94 @@
%0A
-var paramDecls = container.components('http://schemas.authnomicon.org/js/aaa/oauth2/
+return Promise.resolve(server)%0A .then(function(server) %7B%0A // Register
request
-/
+
para
@@ -276,120 +276,62 @@
eter
-s')%0A , grantDecls = container.components('http://schemas.auth... |
c47bd191dbef6feb7be843a0c021b176d8c087b2 | Add /api suffix to kube gulp proxy | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
wiredep = require('wiredep').stream,
eventStream = require('event-stream'),
gulpLoadPlugins = require('gulp-load-plugins'),
map = require('vinyl-map'),
fs = require('fs'),
path = require('path'),
url = require('url'),
uri = require('URIjs'),
s = require('u... | JavaScript | 0 | @@ -3486,16 +3486,17 @@
e = uri(
+(
process.
@@ -3544,16 +3544,26 @@
t:8080')
+ + '/api')
;%0A cons
@@ -3994,16 +3994,20 @@
bernetes
+/api
',%0A t
|
d55770188e521c6b368af75550a39a57dc4934c5 | remove redundancies in gulp file | gulpfile.js | gulpfile.js | // Sass configuration
var gulp = require('gulp');
var sass = require('gulp-sass');
'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
gulp.task('sass', function () {
gulp.src('public/css/**/*.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest(f => f.base));
});
gulp.ta... | JavaScript | 0.000002 | @@ -1,88 +1,4 @@
-// Sass configuration%0Avar gulp = require('gulp');%0Avar sass = require('gulp-sass');%0A%0A
'use
@@ -7,17 +7,16 @@
trict';%0A
-%0A
var gulp
|
811db5b0e18a546242cbf0e4f9b6a56481938509 | Add release tab -- bare-bones for later | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
jshint = require('gulp-jshint'),
bump = require('gulp-bump'),
git = require('gulp-git'),
concat = require('gulp-concat'),
rename = require('gulp-rename'),
uglify = require('gulp-uglify'),
size = require('gulp-size'),
pkg = require('./package.json');
var path... | JavaScript | 0 | @@ -1419,20 +1419,51 @@
ault', %5B'package'%5D);
+%0Agulp.task('release', %5B'tag'%5D);
|
9e23b99a987972456ec65c19e7ee4d76007af180 | Fix bug in games_list.view.js | app/scripts/views/games_list.view.js | app/scripts/views/games_list.view.js |
(function () {
'use strict';
var countPrisoners = function (board, player1IsMe) {
var i, j,
freeMenCount = 0;
board.forEach(function (row) {
row.forEach(function (cell) {
if (player1IsMe) {
if (cell === 'M' || cell === 'K') {
freeMenCount++;
}
... | JavaScript | 0.000001 | @@ -2587,31 +2587,16 @@
NoMoves(
-game.attributes
));%0A
|
f9006997bda076e7ed5201c26a2b07ec85369b90 | update gulpfile | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var gutil = require('gulp-util');
var clean = require('gulp-clean');
var rename = require('gulp-rename');
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var qunit = require('gulp-qunit')... | JavaScript | 0.000001 | @@ -1471,16 +1471,17 @@
;%0A%0A// js
+-
hint%0Agul
|
cfb349edabbd6507a834fa483065ab5ee4da72e0 | Add back required include to gulpfile | gulpfile.js | gulpfile.js | var browserify = require('browserify'),
concat = require('gulp-concat'),
gulp = require('gulp'),
insert = require('gulp-insert'),
jshint = require('gulp-jshint'),
karma = require('karma'),
package = require('./package.json'),
replace = require('gulp-replace'),
source = require('vinyl-source-stream');
... | JavaScript | 0 | @@ -350,16 +350,51 @@
eamify')
+,%0A uglify = require('gulp-uglify')
;%0A%0Avar s
|
e77c773b8c7006d5427006e83fa4986aff6b26fd | build demos on html change in components | gulpfile.js | gulpfile.js | /////
// Mostly stolen from https://github.com/pkozlowski-opensource/ng2-play
/////
var gulp = require('gulp');
var karma = require('karma').server;
var buildConfig = require('./scripts/build/config');
var concat = require('gulp-concat');
var debug = require('gulp-debug');
var del = require('del');
var exec = require... | JavaScript | 0.000002 | @@ -898,16 +898,24 @@
%5B'html'
+, 'demo'
%5D);%0A gu
|
b98d8f30ecc1f995ed57a1a1691d39ceaae8aa4f | fix gulp publish | gulpfile.js | gulpfile.js | 'use strict';
/* ---------- */
/* variables */
var srcFile = 'html.sortable.src.js';
/* ---------- */
/* setup */
var gulp = require('gulp');
var log = require('gulp-util').log;
var rename = require('gulp-rename');
var del = require('del');
var bump = require('gulp-bump');
var semver = require('semver');
var shell = re... | JavaScript | 0.000001 | @@ -2821,24 +2821,178 @@
rsion: v%7D))%0A
+ .pipe(gulp.dest('./'));%0A%7D);%0A%0Agulp.task('add-files', %5B'bump-version'%5D, function() %7B%0A var v = require('./package.json').version;%0A return gulp.src(%5B%5D)%0A
.pipe(sh
@@ -3134,16 +3134,25 @@
wer.json
+ ./dist/*
&& git
@@ -3199,36 +3199,8 @@
%5D)... |
c2bb10380f5e551bba74f4b7fb0dce1ad05625ac | Add events db data into event scope | app/shared/teamform_db/teamformDb.js | app/shared/teamform_db/teamformDb.js | angular.module('teamform-db', ['firebase'])
.factory('teamformDb', ['$firebaseObject', '$firebaseArray', TeamformDb]);
function TeamformDb($firebaseObject, $firebaseArray) {
initalizeFirebase();
var service = {
loginWithFacebook: loginWithFacebook,
saveNewFBUser: saveNewFBUser,
getUser: getUser,
get... | JavaScript | 0.000002 | @@ -190,16 +190,48 @@
base();%0A
+%0A var eventScope = 'events/';%0A%0A
var se
@@ -1484,32 +1484,45 @@
%09var refPath =
+ eventScope +
eventName + %22/a
@@ -1705,16 +1705,29 @@
fPath =
+ eventScope +
eventNa
@@ -1844,32 +1844,45 @@
%09var refPath =
+ eventScope +
eventName + '/t
@@ -2011,32 +2011,45 ... |
9a89d011e855bbdce746e4ee4da024b786acd9ce | Remove unreachable rule from eslint | gulpfile.js | gulpfile.js | 'use strict';
/////////////////////////////////////////////////////////////////////////
// PLUGINS & MODULES //
/////////////////////////////////////////////////////////////////////////
let gulp = require('gulp'),
autoprefixer = require('gulp-autopr... | JavaScript | 0.000013 | @@ -3339,33 +3339,8 @@
2,%0A
-%09%09%09%09'no-unreachable': 2,%0A
%09%09%09%09
|
2cfd5199c59ca84d479f00b4c95a15238dc225c3 | use font awesome version 4.2 instead of 4.3 | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var notify = require('gulp-notify');
var htmlreplace = require('gulp-html-replace');
var minifiy_css = require('gulp-minify-css');
var main_bower = require('main-bower-files');
var ... | JavaScript | 0.00001 | @@ -1481,9 +1481,9 @@
e/4.
-3
+2
.0/c
|
23ed122a85fa2f941d1b2ade075b4a2a6c925307 | add build task and point default task to build task | gulpfile.js | gulpfile.js | 'use strict';
//node modules
var path = require('path');
// node_modules modules
var _ = require('lodash');
var browserify = require("browserify");
var browserSync = require("browser-sync");
var bsreload = browserSync.reload;
var del = require('del');
var mergeStream = require('merge-stream');
var q = require('q');
v... | JavaScript | 0 | @@ -5113,23 +5113,21 @@
p.task('
-default
+build
', %5B'cle
@@ -5316,10 +5316,44 @@
);%0A%7D);%0A%0A
+gulp.task('default', %5B'build'%5D);%0A%0A
%0A%0A
|
cbddbf7dfe02d8260b0b5376c2ee5bb114337a83 | Add flipper dude | fliptext.js | fliptext.js | (function() {
var flippedCharacterSet = {
a: "\u0250",
b: "q",
c: "\u0254",
d: "p",
e: "\u01DD",
f: "\u025F",
g: "\u0183",
h: "\u0265",
i: "\u0131",
j: "\u027E",
k: "\u029E",
l: "l",
m: "\u026F",
n: "u",
o: "o",
p: "d",
q: "b",
r: "\u0279",
s... | JavaScript | 0 | @@ -900,16 +900,50 @@
%22%0A %7D;%0A%0A
+ var flipperDude = %22(%E2%95%AF%C2%B0%E2%96%A1%C2%B0)%E2%95%AF%EF%B8%B5 %22;%0A%0A
var fl
@@ -1155,16 +1155,64 @@
%0A %7D;%0A
+%0A if (emoji) output = flipperDude + output;%0A%0A
retu
|
4ab2da15f727949b45ce8751df041fb3295d5ae0 | Change template spec to passing so that test works on first run | template/src/index.spec.js | template/src/index.spec.js | describe('<%= projectName %>', function () {
xit('should work', function () {
})
})
| JavaScript | 0 | @@ -44,9 +44,8 @@
%7B%0A
-x
it('
|
ac30303dcb82304e2d48d5c258e3870a88e0781b | Clean up comments | index.ios.js | index.ios.js | /**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
import React, {
AppRegistry,
Component,
StyleSheet,
Text,
View
} from 'react-native';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import rootReducer from './app/reduce... | JavaScript | 0 | @@ -1,83 +1,4 @@
-/**%0A * Sample React Native App%0A * https://github.com/facebook/react-native%0A */%0A
'use
|
6865625d185fdbf89355428874e879f4c9bc66a9 | Fix typo | gulpfile.js | gulpfile.js | 'use strict';
var gulp = require('gulp'),
runSequence = require('run-sequence'),
karma = require('gulp-karma'),
protractor = require('gulp-protractor').protractor,
webdriver = require('gulp-protractor').webdriver,
webdriverUpdate = require('gulp-protractor').webd... | JavaScript | 0.999999 | @@ -4047,18 +4047,16 @@
es liste
-ne
d in kar
|
36753ee9b4666548566eaa58403ada204a601610 | Add gulp watch | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var browserify = require('gulp-browserify');
var jscs = require('gulp-jscs');
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');
gulp.task('default', ['lint', 'style']);
gulp.task('lint', function() {
gulp.src(['*.js', 'app/**/*.js', 'config/*.js', 'test/*.js']... | JavaScript | 0.000001 | @@ -182,50 +182,8 @@
);%0A%0A
-gulp.task('default', %5B'lint', 'style'%5D);%0A%0A
gulp
@@ -680,16 +680,167 @@
e(jscs());%0A%7D);%0A%0A
+gulp.task('watch', function() %7B%0A gulp.watch(%5B'app/*.js', 'app/components/*.js'%5D, %5B'scripts'%5D);%0A%7D);%0A%0Agulp.task('default', %5B'lint', 'style', 'watch'%5D);%0A
|
7bc0327770f2cfa9179c6a7515233672a562aedb | use gulp-unused | gulpfile.js | gulpfile.js | 'use strict';
var gulp = require('gulp');
var mocha = require('gulp-mocha');
var istanbul = require('gulp-istanbul');
var eslint = require('gulp-eslint');
var through = require('through2');
gulp.task('coverage', function() {
return gulp.src(['index.js', 'lib/**/*.js'])
.pipe(istanbul())
.pipe(istanbul.hookR... | JavaScript | 0.000002 | @@ -153,23 +153,22 @@
');%0Avar
-through
+unused
= requi
@@ -175,16 +175,19 @@
re('
-through2
+gulp-unused
');%0A
@@ -640,12 +640,14 @@
sk('
-vars
+unused
', f
@@ -664,558 +664,76 @@
%7B%0A
-var utils = require('./lib/utils');%0A var keys = Object.keys(utils);%0A var report = %7B%7D;%0A var cache = %7B%7D... |
bd1ce753b3c558e27ef1d8b3186ec7418db2f33d | Change the buildin action of the refernece. | reference/built-in-action.js | reference/built-in-action.js | var loadManyReferenceList = require('./builder').loadMany;
var dispatcher = require('../dispatcher');
module.exports =
function(referenceNames){
return function(){
return Promise.all(loadManyReferenceList(referenceNames))
.then(function successReferenceLoading(data){
dispatcher.handleVi... | JavaScript | 0 | @@ -99,193 +99,641 @@
');%0A
-module.exports =%0Afunction(referenceNames)%7B%0A return function()%7B%0A return Promise.all(loadManyReferenceList(referenceNames))%0A .then(function successReferenceLoading(data)%7B
+%0A/**%0A * Focus reference action.%0A * @param %7Barray%7D referenceNames - An array wh... |
5099ca19843a9fc91ae9c868bf5dda91c396c321 | update gulpfile settings | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
gutil = require('gulp-util'),
sass = require('gulp-sass'),
coffee = require('gulp-coffee'),
watch = require('gulp-watch'),
uglify = require('gulp-uglify'),
concat = require('gulp-concat'),
browserify = require('gulp-browserify'),
rename = require('gulp-rename'... | JavaScript | 0 | @@ -1097,24 +1097,16 @@
Path: %22/
-podigee-
podcast-
@@ -1611,18 +1611,16 @@
%7D))%0A
-//
.pipe(ug
@@ -3008,16 +3008,37 @@
erver(%7B%0A
+ host: '0.0.0.0',%0A
root
|
85ea5905ffa9c650f91fc706d164cb00ebd2d668 | work on comments in the gulpfile | gulpfile.js | gulpfile.js | // GULP DEPENDENCIES
// ----------------------------------------------------------------------------
var gulp = require('gulp');
var sass = require('gulp-ruby-sass');
var autoprefixer = require('gulp-autoprefixer');
var minifycss = require('gulp-minify-css');
var jshint = require('gulp-jshint')... | JavaScript | 0 | @@ -751,16 +751,63 @@
-------%0A
+// TODO: need to set up a help command shell.%0A%0A
gulp.tas
@@ -1689,16 +1689,38 @@
);%0A%7D);%0A%0A
+// Watch for changes.%0A
gulp.tas
|
9f90fc3002b3f895092c736e3ef1982c8f23e46e | Copy CSS manually | gulpfile.js | gulpfile.js | var gulp = require('gulp')
, notify = require("gulp-notify")
, csso = require('gulp-csso')
, uglify = require('gulp-uglify')
, connect = require('gulp-connect')
, compass = require('gulp-for-compass')
, concat = require('gulp-concat')
, autoprefi... | JavaScript | 0 | @@ -3050,16 +3050,50 @@
-static'
+, 'compress-css', 'compress-image'
%5D,functi
@@ -3099,16 +3099,16 @@
ion() %7B%0A
-
gulp.s
@@ -3240,24 +3240,92 @@
lib/font'))%0A
+ gulp.src(%5B'./lib/css/*'%5D)%0A .pipe(gulp.dest('./build/lib/css'))%0A
gulp.src(%5B
@@ -3518,24 +3518,24 @@
'watch'%5D);%0A
+
gulp.task... |
1fd47d0bb5bad71b41f30575dc551b6284aab2c3 | update extjs 5.0.1 | app/assets/javascripts/fast_ext/app/view/VMenu.js | app/assets/javascripts/fast_ext/app/view/VMenu.js | Ext.define('FastExt.view.VMenu', {
extend:'Ext.tree.Panel',
requires:['FastExt.store.MWindowMgr'],
alias: 'widget.vMenu',
title:'Menu',
animate:false,
collapseMode:"mini",
collapsible:true,
iconCls:"fast-ext-menu",
lines:false,
rootVisible:false,
split:true,
dockedItems:[... | JavaScript | 0.000001 | @@ -892,12 +892,12 @@
me:'
-text
+name
', m
@@ -1278,18 +1278,18 @@
id:
-''
+ 1
,%0A
|
5f8d42bace0f904fa851de93571c417faf899ed7 | switch from bower vendor folder to node-mnodules | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var sass = require('gulp-sass');
var nunjucks = require('gulp-nunjucks-html');
var spritesmith = require('gulp.spritesmith');
var merge = require('merge-stream');
var sourcemaps = require('gulp-sourcemaps');
var cleanCSS = require('gulp-clean-css');
var concat = require('gulp-concat');
var u... | JavaScript | 0 | @@ -1635,25 +1635,28 @@
(%5B%0A%09%09'./
-m/_vendor
+node_modules
/jquery/
@@ -1681,25 +1681,28 @@
',%0A%09%09'./
-m/_vendor
+node_modules
/bootstr
@@ -1756,24 +1756,21 @@
%09'./
-m/_vendor/helix.
+node_modules/
jque
@@ -1821,25 +1821,28 @@
',%0A%09%09'./
-m/_vendor
+node_modules
/undersc
@@ -3675,49 +3675,8 @@... |
773c7fcd32dcb6df2df3eba145ac887fdf53d327 | Add library option | gulpfile.js | gulpfile.js | const path = require('path')
const gulp = require('gulp')
const webpack = require('webpack-stream')
const gutil = require('gulp-util')
const gzip = require('gulp-gzip')
const rename = require('gulp-rename')
const uglify = require('gulp-uglify')
const sourcemaps = require('gulp-sourcemaps')
const webpackConfig = require... | JavaScript | 0.000001 | @@ -522,16 +522,73 @@
ress.js'
+,%0A library: 'InProgress',%0A libraryTarget: 'umd'
%0A %7D%0A
|
5c12c77b82a5f170fb0882ec30e0b034e88dc06a | Use dist instead | gulpfile.js | gulpfile.js | /**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Gulp tasks.
*/
const execSync = require('child_process').execSync;
const fs = require('fs');
const jsgl = require('js-green-licenses');
const path = require('path');
const rimraf = require('rimraf');
/**
*... | JavaScript | 0 | @@ -1446,50 +1446,14 @@
r =
-path.join('..', 'blockly-samples-release')
+'dist'
;%0A
|
9d38a23712fe1924a875d188b62a85b3fcf280e9 | Refactor plugin variable name into something shorter | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var plugins = require('gulp-load-plugins')();
var templatecache = require('gulp-angular-templatecache');
var karma = require('karma').server;
var _ = require('lodash');
var browserSync = require('browser-sync');
var at = require('gulp-asset-tra... | JavaScript | 0.000002 | @@ -34,23 +34,23 @@
');%0Avar
-plugins
+$
=
@@ -979,39 +979,33 @@
ages)%0A .pipe(
-plugins
+$
.plumber())%0A
@@ -1010,23 +1010,17 @@
.pipe(
-plugins
+$
.imagemi
@@ -1087,39 +1087,33 @@
e %7D))%0A .pipe(
-plugins
+$
.size(%7B title: '
@@ -1256,39 +1256,33 @@
onts)%0A .pipe(
-plugins... |
f1ac1e1c1668aba0613df508e9907f2bb8abad9d | Print stacktrace on error while watching | gulpfile.js | gulpfile.js | const path = require('path');
const gulp = require('gulp');
const babel = require('gulp-babel');
const glob = require('glob');
const Mocha = require('mocha');
const eslint = require('eslint');
const gutil = require('gulp-util');
const colors = gutil.colors;
const PATH = {
src: path.join(__dirname, 'src'),
... | JavaScript | 0 | @@ -1272,29 +1272,137 @@
ved
-if all the tests pass
+after running all tests.%0A * The argument is an exit code. If any runtime errors occured,%0A * this promise will be rejected
.%0A *
@@ -1687,59 +1687,79 @@
-mocha.run(failed =%3E failed ? reject() : resolve());
+try %7B%0A mocha.run(resolve);%0... |
80a27d19d39cb2105059145f38d037e968a9c267 | Fix issues with not using dots reporter on travis | gulpfile.js | gulpfile.js | /*globals require, __dirname */
/* jshint node:true */
'use strict';
var gulp = require('gulp');
var jshint = require('gulp-jshint');
var karma = require('karma').server;
var lodash = require('lodash');
var plato = require('gulp-plato');
var karmaConfig = __dirname + '/karma.conf.js';
var paths = require('./paths');
... | JavaScript | 0 | @@ -536,16 +536,68 @@
irefox'%5D
+,%0A reporters: %5B'dots', 'coverage', 'threshold'%5D
%0A %7D;%0A
|
327ac142b4267d1607060d7b1e41dc468005accb | Update Gulp production task | gulpfile.js | gulpfile.js | 'use strict'; // http://www.w3schools.com/js/js_strict.asp
// 1. LOAD PLUGINS
var gulp = require('gulp');
var bourbon = require('bourbon').includePaths;
var neat = require('bourbon-neat').includePaths;
var p = require('gulp-load-plugins')({ // This loads all the other plugins.
DEBUG: false,
pattern: ['gulp-*', '... | JavaScript | 0.000001 | @@ -2603,39 +2603,19 @@
n',
-function(done) %7B%0A%09p.runSequence
+gulp.series
('cl
@@ -2659,18 +2659,9 @@
ort'
-, done);%0A%7D
+)
);%0A%0A
|
284eabf7603decc88c9444fdecfe01af46834ef4 | update gulpfile | gulpfile.js | gulpfile.js | // gulpfile.js
'use strict';
// ----------------------------------
// available tasks:
// 'gulp'
// 'gulp clean'
// clean:cache
// 'gulp bower'
// bower:clean - bower:scss - bower:js
// 'gulp sass'
// sass:doc
// 'gulp html'
// html:nunjucks - html:inject
// 'gulp... | JavaScript | 0.000001 | @@ -240,19 +240,51 @@
sass:
-doc
+compile - sass:doc - sass:minifycss
%0A// '
|
e81b45114657f66c774313a4b0a1e385d7a9c59a | Fix path join | gulpfile.js | gulpfile.js | 'use strict';
const gulp = require('gulp');
const sass = require('gulp-sass');
const webpack = require('webpack');
const RestoreDirname = require('./webpack/restoredirname.webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
gulp.task('default', ['webpack', 'sass']);
gulp.task('sass', ['webpa... | JavaScript | 0.000001 | @@ -105,24 +105,54 @@
'webpack');%0A
+const path = require('path');%0A
const Restor
@@ -751,16 +751,26 @@
ontext:
+path.join(
__dirnam
@@ -774,17 +774,16 @@
name
- +
+,
'
-/
src'
+)
,%0A
@@ -1167,16 +1167,26 @@
path:
+path.join(
__dirnam
@@ -1190,13 +1190,11 @@
name
- +
+,
'
-/
src/
@@ -1203,16 +12... |
2228001c9867afb520fa3904b49058448284fe23 | update of gulpfile.js - commit. | gulpfile.js | gulpfile.js | /*!
* rose-normalize-sass [v0.0.1]
* ___________________________________________________
* Gulp: The streaming build system.
* https://github.com/gulpjs/gulp | http://gulpjs.com/
* @author : Prabhat Kumar, http://prabhatkumar.org/
* @date : 11-July-2015
* ___________________________________________________
... | JavaScript | 0.000002 | @@ -1487,16 +1487,47 @@
**** //%0A
+var paths = %7B%0A root: %5B''%5D%0A%7D;%0A%0A
var AUTO
@@ -1696,8 +1696,253 @@
10'%0A%5D;%0A
+%0A// ***** TASKS ***** //%0A// Rerun the task when a file changes.%0Agulp.task('watch', function()%7B%0A gulp.watch(paths.root, %5B'rose-sass'%5D);%0A%7D);%0A%0A// The default task (... |
19525392459542864523ad0db2583d683cb85811 | tidy gulp processes | gulpfile.js | gulpfile.js | "use strict";
const gulp = require("gulp"),
concat = require("gulp-concat"),
cssmin = require("gulp-cssmin"),
htmlmin = require("gulp-htmlmin"),
uglify = require("gulp-uglify"),
merge = require("merge-stream"),
pipeline = require('readable-stream').pipeline,
del = require("del"),
bundl... | JavaScript | 0 | @@ -1667,57 +1667,8 @@
e) %7B
-%0A console.log(%22Start ProcessName: %22 + nsname);
%0A%0A
@@ -1710,24 +1710,27 @@
g, %22%22);%0A%0A
+ //
console.log
@@ -2407,16 +2407,17 @@
sDocs2',
+
'Process
@@ -2447,25 +2447,88 @@
);%0A%0A
-exports.b
+gulp.task('BuildDocs', gulp.series(cleanDocs,'MakeDocs'));%0A%0A... |
5c18b745b148b4dbc4dc04732caa30fb50f95efa | add updateUrl for non-AMO releases. resolves #46 | gulpfile.js | gulpfile.js | var fs = require('fs');
var path = require('path');
var mime = require('mime');
var gulp = require('gulp');
var clean = require('gulp-clean');
var concat = require('gulp-concat');
var footer = require('gulp-footer');
var header = require('gulp-header');
var jade = require('gulp-jade');
var run ... | JavaScript | 0.000001 | @@ -5193,16 +5193,104 @@
cfx xpi
+'%0A%09+ ' --update-url https://9inevolt.github.io/betterdgg/firefox/update.rdf'%0A + '
--outpu
|
34b0f8715b2bfe6bcdca05f5b30fb01374e3ec14 | Stop copying fonts around | gulpfile.js | gulpfile.js | // generated on 2014-09-19 using generator-gulp-webapp 0.1.0
'use strict';
var autoprefixer = require('gulp-autoprefixer');
var clean = require('gulp-clean');
var flatten = require('gulp-flatten');
var gulp = require('gulp');
var gutil = require('gulp-util');
var jshint = require('gulp... | JavaScript | 0 | @@ -1193,210 +1193,8 @@
);%0A%0A
-gulp.task('fonts', function () %7B%0A%09// Copy fonts to dist%0A%09return gulp.src(%5B'app/fonts/**/*.woff', 'bower_components/**/*.woff'%5D)%0A%09%09.pipe(flatten())%0A%09%09.pipe(gulp.dest('dist/fonts'))%0A%09%09.pipe(size());%0A%7D);%0A%0A
gulp
|
cf6d3c23fb8321a20a896f3af5656b0fe20ba46f | build everything before watching | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var less = require('gulp-less');
var expect = require('gulp-expect-file');
var del = require('del');
var paths = {
vendor_styles: [
'bower_components/bootstrap/dist/css/bootstrap.min.css',
... | JavaScript | 0 | @@ -3390,16 +3390,29 @@
'watch',
+ %5B'default'%5D,
functio
|
458b9d1689e403167cc2797828fedadb4f17d929 | Remove gulp-coveralls | gulpfile.js | gulpfile.js | const gulp = require('gulp');
const path = require('path');
const webpack = require('webpack');
const webpackConfig = require('./webpack.config');
const webpackStream = require('webpack-stream');
const babel = require('gulp-babel');
const coveralls = require('gulp-coveralls');
const eslint = require('gulp-eslint');
con... | JavaScript | 0.000004 | @@ -230,53 +230,8 @@
');%0A
-const coveralls = require('gulp-coveralls');%0A
cons
|
77417916a9b62a525ab2b17c30e6d694cc421104 | Fix style | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var clean = require('gulp-clean');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var minify = require('gulp-minify-css');
var autoprefixer = require('gulp-autoprefixer');
var rename = require('gulp-rename');
var sourcemaps = require('gulp-sourcemaps');
var stylus ... | JavaScript | 0.000001 | @@ -496,25 +496,24 @@
p = function
-
() %7B%7D;%0Avar s
|
775384f128dafadc0ac5e48942c9e87bc628d2de | Create an unminified and minified version of the scripts | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var nodemon = require('gulp-nodemon');
var watch = require('gulp-watch');
var rename = require('gulp-rename');
var karma = require('gulp-karma');
var mocha = require('gulp-mocha');
var publicDir = 'public/**/*.js';
/... | JavaScript | 0 | @@ -785,24 +785,69 @@
ripts.js'))%0A
+ .pipe(gulp.dest('./public/dist/'))%0A
.p
@@ -1126,17 +1126,16 @@
odemon(%7B
-
%0A scr
@@ -1840,12 +1840,13 @@
%0A %7D);%0A%7D);
+%0A
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.