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 |
|---|---|---|---|---|---|---|---|
8e62f0718b8fa9e3dcf2b5b9fc1a6034507e98f9 | Create component nodes | plugins/AppImporter/AppImporter.js | plugins/AppImporter/AppImporter.js | define(['plugin/PluginBase', 'plugin/PluginConfig', 'path',
'../utils/WebgmeUtils', '../utils/NescUtils'],
function (PluginBase, PluginConfig, path, wgme_utils, nesc_utils) {
'use strict';
var AppImporter = function () {
PluginBase.call(this);
};
AppImporter.prototype = Object.create(PluginBase.prototype);
... | JavaScript | 0.000001 | @@ -1134,16 +1134,42 @@
p%0A %7D;%0A%0A
+ log.info('', reg_obj);%0A%0A
async.
@@ -2001,16 +2001,40 @@
= this;%0A
+ var core = self.core;%0A
// Cre
@@ -2380,24 +2380,39 @@
son));%0A
+ var new_node =
self.create
@@ -2447,198 +2447,689 @@
-%7D%0A %7D%0A self.core.setRegistry(self.rootNode, 'fold... |
3623a9129743857de241167d633bdb18c9bbe75c | Use KeyboardEvent.key instead of code | buttons.js | buttons.js |
import { Mixin, InitialRender } from './ce';
import { triggerEvent } from './events';
import { DisableBehavior } from './disabled';
import { FocusableBehavior } from './focus';
/**
* Mixin that provides the behavior of a button. This set the role of the
* element to `button`, add support for disabling it and normal... | JavaScript | 0.000002 | @@ -777,12 +777,11 @@
h(e.
-code
+key
) %7B%0A
|
f78f3b55e241220d934047cd9326deea2a9c1ef8 | add satellite layer | corehq/apps/reports_core/static/reports_core/js/maps.js | corehq/apps/reports_core/static/reports_core/js/maps.js | var maps = (function() {
var fn = {};
fn.init_map = function (config, mapContainer) {
if (!fn.hasOwnProperty('map')) {
mapContainer.show();
mapContainer.empty();
fn.map = L.map(mapContainer[0], {trackResize: false}).setView([0, 0], 3);
var mapId = 'mapbox... | JavaScript | 0 | @@ -44,385 +44,593 @@
-fn.init_map = function (config, mapContainer) %7B%0A if (!fn.hasOwnProperty('map')) %7B%0A mapContainer.show();%0A mapContainer.empty();%0A fn.map = L.map(mapContainer%5B0%5D, %7BtrackResize: false%7D).setView(%5B0, 0%5D, 3);%0A var mapId =... |
47ff052c22f721b72f98243440f7f8a2531d85cb | fix close and unclose link via ajax | openslides/agenda/static/javascript/agenda.js | openslides/agenda/static/javascript/agenda.js | /**
* OpenSlides agenda functions
*
* :copyright: 2011, 2012 by OpenSlides team, see AUTHORS.
* :license: GNU GPL, see LICENSE for more details.
*/
function hideLine(object) {
if (object == []) {
return;
}
object.hide();
id = object.children('td.tabledrag-hide').children('input.menu-mlid')... | JavaScript | 0 | @@ -1091,16 +1091,18 @@
ose_link
+ a
').click
@@ -1504,16 +1504,25 @@
slide.
+parent().
removeCl
|
0a6cadec2f1280ed4c4fca88a226d9c6a16fb081 | Check if maxResults is defined | src/bestResults.js | src/bestResults.js | 'use strict';
module.exports = bestResults;
/* we have 2 criteria to find the best results
1. best match per zone based on the bestOf parameter
2. maxResults : maximal number of results
*/
function bestResults(results, bestOf, maxResults, minSimilarity) {
var newResults = [];
// in order to find the bestO... | JavaScript | 0.000002 | @@ -815,42 +815,8 @@
ngth
- && newResults.length %3C maxResults
; i+
@@ -1183,28 +1183,97 @@
newResults
- = r
+=results.slice(0);%0A %7D%0A%0A if (maxResults) %7B%0A newResults = newR
esults.slice
|
6435f9280a163f3fd3dd76a1ec40473ad6d6927b | Improve idagio connector (#2648) | src/connectors/idagio.js | src/connectors/idagio.js | 'use strict';
const symphonySelector = '.player-PlayerInfo__infoEl--2jhHY span:nth-child(3) span:first-child';
const commonNameSelector = '.player-PlayerInfo__infoEl--2jhHY span:nth-child(3) span:nth-child(2)';
const directorSelector = '.player-PlayerInfo__recordingInfo--15VMv>span:first-child span';
const trackSelect... | JavaScript | 0 | @@ -1113,88 +1113,1522 @@
%7B%0A%09
-return Util.getTextFromSelectors(trackSelector).split('%C2%A0%E2%80%93%C2%A0').slice(1).join(': ')
+/*%0A%09 * Idagio puts composer and piece all in the same div element, so we have to undo this.%0A%09 * First split the tag by dashes. Include spaces to avoid issues with names cont... |
20c108ddc20b70da45f686bfe2235f964f321197 | simplify each | lib/api/traversing.js | lib/api/traversing.js | var _ = require('underscore'),
select = require('cheerio-select'),
utils = require('../utils'),
isTag = utils.isTag;
var find = exports.find = function(selector) {
try {
var elem = select(selector, [].slice.call(this.children()));
return this.make(elem);
} catch(e) {
return this.make([]);
... | JavaScript | 0.999999 | @@ -1410,22 +1410,26 @@
%7B%0A var
+i = 0,
len
-gth
= this.
@@ -1438,114 +1438,71 @@
ngth
-,%0A el, i;%0A%0A for (i = 0; i %3C length; ++i) %7B%0A el = this%5Bi%5D;%0A if (fn.call(this.make(el), i, el) =
+;%0A while (i %3C len && fn.call(this.make(this%5Bi%5D), i, this%5Bi%5D) !
== f
@@ -1511,33 +... |
50b7efd57b6565776f2922ab35a46cbba7af78b4 | Remove hard code from language binary name in args | lib/atom-julia-run.js | lib/atom-julia-run.js | /* global atom */
"use strict";
const CompositeDisposable = require("atom").CompositeDisposable;
const path = require("path");
const child_process = require("child_process");
var user_os = process.platform;
var os_defaults = {
"linux":{terminal:"gnome-terminal", default_command:"julia \"{file}\""},
"win3... | JavaScript | 0.002853 | @@ -696,24 +696,57 @@
erminal%22) %7B%0A
+ var language_binary = ca%5B0%5D;%0A
var file
@@ -829,16 +829,34 @@
-c '
-julia '%22
+%22 + language_binary + %22 %22
+ fi
@@ -867,10 +867,10 @@
me +
+
%22
-'
;exe
@@ -882,16 +882,47 @@
ELL'%22%5D;%0A
+ console.log(%22args:%22, args)%0A
%7D;%0A r
|
2de5908648b82acba4d4183df483a58e6ebb7d66 | Update path reference | lib/client-context.js | lib/client-context.js | var dom = require('./dom'),
exec = require('./client-exec').exec,
rewriteStack = require('./client-exec').rewriteStack,
fs = require('fs'),
jQuery = require('./fruit-loops'),
path = require('path'),
vm = require('vm');
module.exports = exports = function(options) {
var host = options.host || ... | JavaScript | 0 | @@ -173,19 +173,14 @@
('./
-fruit-loops
+jquery
'),%0A
|
1af561dfec7868fc3566a67aa334c4c531278f7c | Change rootDirectories to getPaths & remove lowerCase function | lib/codealike-atom.js | lib/codealike-atom.js | 'use babel';
import { CompositeDisposable, Disposable } from 'atom';
import { Codealike } from '@codealike/codealike-core';
import smalltalk from 'smalltalk';
import CodealikeStatusBarView from './statusBarView';
const AtomCodealikePlugin = {
subscriptions: null,
statusBar: null,
statusBarView: null,
initial... | JavaScript | 0.000001 | @@ -1803,24 +1803,66 @@
Project() %7B%0A
+ let paths = atom.project.getPaths();%0A%0A
// verif
@@ -1916,35 +1916,12 @@
if (
-atom.project.rootDirectorie
+path
s.le
@@ -2008,17 +2008,16 @@
racking%0A
-%0A
le
@@ -2022,246 +2022,69 @@
let
-atomProject = atom.project.rootDirectories%5B%220%22%5D.lowerC... |
4a8e13af0e00915180dfe87239e94744b2e37c16 | enable proxy knowledge | lib/config/express.js | lib/config/express.js | /**
* config/express.js
*
* Defines all express related configurations for the server
*/
'use strict';
var express = require('express');
var path = require('path');
// var jwt = require('express-jwt');
var modelsImport = require('../models/');
var mongoose = require('mongoose');
var cookieParser = require('cookie... | JavaScript | 0 | @@ -1710,16 +1710,47 @@
rser());
+%0A app.enable('trust proxy');
%0A%0A //
|
18198752b1b5de7c84c27600738441cf4121c55e | Change frequency | lib/counter_device.js | lib/counter_device.js | var stream = require('stream');
var util = require('util');
var sun_calc = require('suncalc');
util.inherits(counter_device,stream);
module.exports=counter_device;
function diff(from, to){
return (to.getHours() - from.getHours()) * 60 + to.getMinutes() - from.getMinutes();
}
function counter_device(opts, app, s... | JavaScript | 0.000001 | @@ -1593,9 +1593,10 @@
%7D,
-5
+60
000)
|
3f0551232925ef1115f357ff94014a970c35ddb3 | Improve readability | lib/createExplorer.js | lib/createExplorer.js | 'use strict';
const path = require('path');
const fs = require('graceful-fs');
const loadPackageProp = require('./loadPackageProp');
const loadRc = require('./loadRc');
const loadJs = require('./loadJs');
const loadDefinedFile = require('./loadDefinedFile');
module.exports = function (options) {
// These cache Prom... | JavaScript | 0.000673 | @@ -2297,32 +2297,80 @@
return result;%0A
+%0A const nextDirectory = (function () %7B%0A
if (!spl
@@ -2432,24 +2432,26 @@
p);%0A
+
if (splitSea
@@ -2469,12 +2469,154 @@
gth
-%3C= 1
+%3E 1) %7B%0A splitSearchPath.pop();%0A return splitSearchPath.join(path.sep);%0A ... |
2c8f565ed81ed4aca02363e00d5c3206953c560a | add network and indivdual set results to cross-validation stats | lib/cross-validate.js | lib/cross-validate.js | var _ = require("underscore")._;
function testPartition(classifierConst, opts, trainOpts, trainSet, testSet) {
var classifier = new classifierConst(opts);
var beginTrain = Date.now();
var trainingStats = classifier.train(trainSet, trainOpts);
var beginTest = Date.now();
var testStats = classifier.test(te... | JavaScript | 0 | @@ -619,23 +619,58 @@
denSizes
+,%0A network: classifier.toJSON()
%0A %7D);%0A
+%0A
return
@@ -1571,16 +1571,36 @@
lasses);
+%0A%0A return result;
%0A %7D);%0A%0A
@@ -1978,16 +1978,35 @@
stats,%0A
+ sets: results,%0A
misc
|
9440350a6e34999a820dc6091cdf09d41f6c7e9d | Format data | lib/deploy.command.js | lib/deploy.command.js | const path = require('path')
const fs = require('fs')
const { readFile } = require('./fs.utils')
const { log } = require('./log.utils')
module.exports = exports = configFilename => {
return (modules, options) => {
readFile(configFilename)
.then(data => JSON.parse(data).folder_path)
.then(processModu... | JavaScript | 0.000008 | @@ -966,14 +966,457 @@
th %3E 0)%0A
+ .map(moduleConf =%3E %7B%0A return moduleConf.settings%0A .filter(file =%3E file.global)%0A .map(file =%3E (%7B%0A from: path.resolve(moduleConf.folder, file.filename),%0A to: path.resolve(file%5B'target-path'%5D.replace('~', pro... |
74bb870f0d4aebbd819dca09a3229e4286480c25 | Simplify error raising on storage | lib/domain/storage.js | lib/domain/storage.js | /*
* Storage Class is a interface to create storage with the following contracts
* lint comment is applied to prevent `class-method-use-this` for this case
*/
/* eslint class-methods-use-this: [
'error', { "exceptMethods": ['ping', 'listNamespaces', 'postCode', 'putCode', 'getCode',
... | JavaScript | 0.000001 | @@ -395,16 +395,26 @@
ETHOD =
+new Error(
'unimple
@@ -449,16 +449,17 @@
terface'
+)
;%0A%0Aclass
@@ -531,34 +531,24 @@
g() %7B throw
-new Error(
ERR_UNIMPLEM
@@ -559,22 +559,20 @@
D_METHOD
-)
; %7D%0A
-%0A
listNa
@@ -586,34 +586,24 @@
s() %7B throw
-new Error(
ERR_UNIMPLEM
@@ -614,22 +614,20 @@
D_METH... |
6ae55f60d0be5c1ae21361a9b885a60e90ad0183 | Update module1.js | sample_modules/module1.js | sample_modules/module1.js | console.log('module1!);
| JavaScript | 0.000001 | @@ -14,11 +14,12 @@
module1!
+'
);%0A
|
73a4496bedc0c5113c4fa972d895c0f07536b0e4 | Fix docs: heartbeat methods are instance methods | src/effects/heartbeat.js | src/effects/heartbeat.js | /** section: scripty2 fx
* class s2.fx.Heartbeat
*
* The heartbeat class provides for effects timing. An instance of this class
* is automatically created when the first effect on a page is instantiated.
*
* This class can be extended and replaced by your own implementation:
*
* // call before effects ... | JavaScript | 0.999869 | @@ -968,17 +968,17 @@
eartbeat
-.
+#
start()
@@ -1547,17 +1547,17 @@
eartbeat
-.
+#
stop() -
@@ -1831,25 +1831,25 @@
fx.Heartbeat
-.
+#
beat() -%3E un
@@ -2155,17 +2155,17 @@
eartbeat
-.
+#
getTimes
@@ -2346,17 +2346,17 @@
eartbeat
-.
+#
generate
@@ -2531,17 +2531,17 @@
eartbeat
-.
+#
updateTi
|
061cebc5b57fa8a13ab50ea97db8e4837bc23343 | Make sure we fill the correct service types | tools/sapi-backfill-service-type.js | tools/sapi-backfill-service-type.js | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*
* Copyright (c) 2014, Joyent, Inc.
*/
/*
* Backfill sapi_services bucket after adding index type field
... | JavaScript | 0 | @@ -3055,32 +3055,164 @@
== undefined) %7B%0A
+ if (service.name === 'vm-agent' %7C%7C service.name === 'net-agent') %7B%0A service.type = 'agent';%0A %7D else %7B%0A
service.
@@ -3224,16 +3224,27 @@
= 'vm';%0A
+ %7D%0A%0A
@@ -3296,16 +3296,53 @@
service,
+%0A ... |
e5c9390083938d2d02ea067b3fc7f7d0d9fae575 | fix NaN in estimateGas | src/store/contractActions.js | src/store/contractActions.js | import { rpc } from 'lib/rpcapi';
import log from 'loglevel';
export function loadContractList() {
return (dispatch) => {
dispatch({
type: 'CONTRACT/LOADING',
});
rpc('emerald_contracts', []).then((json) => {
if (json.error) {
log.error(`emerald_contr... | JavaScript | 0.000008 | @@ -1219,16 +1219,51 @@
return
+ isNaN(parseInt(json.result)) ? 0 :
parseIn
|
0287e7fcec02805cfd0582a9fa837d6abd39e556 | Implement PullApi.show | lib/github/PullApi.js | lib/github/PullApi.js | /**
* Copyright 2010 Ajax.org B.V.
*
* This product includes software developed by
* Ajax.org B.V. (http://www.ajax.org/).
*
* Author: Ryan Funduk <ryan.funduk@gmail.com>
*/
var sys = require("sys");
var AbstractApi = require("./AbstractApi").AbstractApi;
var PullApi = exports.PullApi = function(api) {
thi... | JavaScript | 0.000001 | @@ -1118,16 +1118,552 @@
%7D;%0A%0A
+ /**%0A * Show a pull by username, repo, and number.%0A * http://develop.github.com/p/pulls.html%0A *%0A * @param %7BString%7D username the username%0A * @param %7BString%7D repo the repo%0A * @param %7BInt%7D num t... |
55adf51b020b013a436f443122f320a9773a0c33 | add workaround comment | src/stores/CandidateStore.js | src/stores/CandidateStore.js | "use strict";
var AppDispatcher = require('../dispatcher/AppDispatcher');
var AppConstants = require('../constants/AppConstants');
var {EventEmitter} = require('events');
var assign = require('object-assign');
var WebAPIUtils = require("../utils/WebAPIUtils");
var {ActionTypes} = AppConstants;
var CHANGE_EVENT = 'chan... | JavaScript | 0 | @@ -2166,16 +2166,38 @@
lStatus)
+//this is a workaround
%0A
|
f64b212f68368e45d0a57ee7a97f1e06adfc3561 | Add items to the list component after they are put into the DOM, such that the itemFocus finds the dom correctly when positioning itself | js/browser/panels/ListPanel.js | js/browser/panels/ListPanel.js | jsio('from common.javascript import Class, bind');
jsio('import browser.events as events');
jsio('import browser.dom as dom');
jsio('import browser.css as css');
jsio('import browser.ItemView');
jsio('import browser.ListComponent');
jsio('import .Panel');
css.loadStyles(jsio.__path);
exports = Class(Panel, function(... | JavaScript | 0 | @@ -680,45 +680,8 @@
is._
-listComponent.addItem(item);%0A%09%09this._
cont
@@ -713,16 +713,53 @@
lement()
+);%0A%09%09this._listComponent.addItem(item
);%0A%09%09thi
|
22968f7f735bba9fb79f7dce62cc42e4d47a872f | Replace twitter with github link for Katie | static/js/components/about.js | static/js/components/about.js | const html = require('choo/html');
module.exports = (state, prev, send) => {
return html`
<main role="main" class="layout__main" onload=${(e) => send('startup')}>
<section class="about">
<h2 class="about__title">About 5 Calls</h2>
<h3 class="about__subtitle">Why Calling Works</h3>
<p>Call... | JavaScript | 0.999988 | @@ -3971,31 +3971,30 @@
ef=%22https://
-twitter
+github
.com/dekthed
@@ -3994,25 +3994,18 @@
dekt
-hedek
+ar
%22%3E
-@
dekt
-hedek
+ar
%3C/a%3E
|
dd67a7c64b351c8879dc2679f6ef13d08bb9a4e3 | make sandbox-mode callbacks be async | js/communicate-with-sandbox.js | js/communicate-with-sandbox.js | (function(){
"use strict";
hilarious.use_sandbox = (location.search === '?sandbox' || location.hash === '#sandbox');
var files = hilarious.sandbox_files = {
"foo": "rgb is great!\n",
"bar": "no\n it is\n not\n\t! :)\n",
"baz/quux": "hello world\n\nlorem ipsum dolor sit amet\n"
};
var ops = {
save: func... | JavaScript | 0 | @@ -289,16 +289,166 @@
%5Cn%22%0A%7D;%0A%0A
+// Using setTimeout(_, 0) just in case any other code depends on%0A// the callbacks being asynchronous (all the other saving modes%0A// do it that way).%0A%0A
var ops
@@ -513,24 +513,54 @@
failure) %7B%0A
+ setTimeout(function() %7B%0A
files%5Bfi
@@ -579,24 +5... |
7b2fc95c6a6d618c94e44c69a9abd263a2f7c058 | Remove ensure_i18n from display settings. | static/js/settings_display.js | static/js/settings_display.js | var settings_display = (function () {
var exports = {};
var meta = {
loaded: false,
};
function change_display_setting(data, status_element, success_msg, sticky) {
var $status_el = $(status_element);
var status_is_sticky = $status_el.data('is_sticky');
var display_message = (status_is_sticky) ? $stat... | JavaScript | 0 | @@ -5954,18 +5954,16 @@
%7D;%0A%0A
-function _
+exports.
upda
@@ -5969,16 +5969,28 @@
ate_page
+ = function
() %7B%0A
@@ -6465,83 +6465,8 @@
ion%0A
-%7D%0A%0Aexports.update_page = function () %7B%0A i18n.ensure_i18n(_update_page);%0A
%7D;%0A%0A
|
d88902a7185430a4d0b1a1ec40ba656e85a19a98 | Fix find so that it calls sink.error on error, not sink.eof. | js/foam/core/dao/CloningDAO.js | js/foam/core/dao/CloningDAO.js | /**
* @license
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | JavaScript | 0 | @@ -1610,26 +1610,28 @@
nk && sink.e
-of
+rror
&& sink.eof
@@ -1628,18 +1628,20 @@
& sink.e
-of
+rror
.bind(si
|
82c422a3b9d96319cfc499a505e0514ceb50c8c0 | add qualcomm to client list | assets/js/components/ecosystems/ClientsSection.js | assets/js/components/ecosystems/ClientsSection.js | import React, { Component } from 'react'
export default class ClientsSection extends Component {
render () {
return (
<div className="client-section">
<div className="section flexMiddle">
<h1>Our Clients</h1>
<div className="client-logos">
<img src="//cdn.langa.io/3... | JavaScript | 0 | @@ -394,11 +394,16 @@
rty/
-mco
+qualcomm
-log
@@ -539,32 +539,95 @@
up-logo.png%22 /%3E%0A
+ %3Cimg src=%22//cdn.langa.io/3rdparty/mco-logo.png%22 /%3E%0A
%3Cimg
@@ -735,32 +735,32 @@
ar-logo.png%22 /%3E%0A
+
%3Cimg
@@ -817,71 +817,8 @@
/%3E%0A
- %3Cimg src=%22//cd... |
aeadb1264565704f43b4f421f1c53341666e20aa | Update check failure should no longer bother the user unless they manually initiated the check | discord/addon/updates.js | discord/addon/updates.js | /**
* BPM for Discord
* (c) 2015-2016 ByzantineFailure
*
* Updates panel handlers. Version number inserted
* during the build process (see Makefile). Also creates
* updates notification span and checker
**/
var BPM_updatesSubpanel = {
init: null,
teardown: null
};
(function() {
var UPDATE_INTERVAL_HO... | JavaScript | 0 | @@ -667,24 +667,59 @@
!== 304) %7B%0A
+ if(createAlert) %7B%0A
a
@@ -806,16 +806,31 @@
wn?'); %0A
+ %7D%0A
|
a499ec36152aa91813e732481237e8af4c97da87 | Update TestResponseHandler.js | src/responseHandlers/TestResponseHandler.js | src/responseHandlers/TestResponseHandler.js | var jsface = require('jsface'),
_und = require('underscore'),
vm = require('vm'),
ErrorHandler = require('../utilities/ErrorHandler'),
AbstractResponseHandler = require('./AbstractResponseHandler'),
window = require("jsdom-nogyp")... | JavaScript | 0.000001 | @@ -4476,26 +4476,26 @@
prototype%5Bp%5D
-%7D
;
+%7D
);%0A%09%09Object.
@@ -4591,18 +4591,18 @@
otype%5Bp%5D
-%7D
;
+%7D
);%0A%09%09ret
|
6bca7672f0014b1090c60fa103f9d02d59c8a8f2 | Update cleanup script. | cleanup.js | cleanup.js | #!/user/bin/env nodejs
'use strict';
const fs = require('fs');
try {
fs.unlinkSync('dist/umd/PNotifyBrightTheme.js');
fs.unlinkSync('dist/umd/PNotifyMaterial.js');
} catch (e) {}
| JavaScript | 0 | @@ -82,28 +82,24 @@
kSync('dist/
-umd/
PNotifyBrigh
@@ -137,12 +137,8 @@
ist/
-umd/
PNot
|
57278e92ff6f4231e556cf60fa38e18d8edda795 | Fix geogw API | lib/models/dataset.js | lib/models/dataset.js | var mongoose = require('mongoose');
var async = require('async');
var _ = require('lodash');
var dgv = require('../dgv');
var geogw = require('../geogw');
var map = require('../mapping').map;
var Schema = mongoose.Schema;
var ObjectId = Schema.Types.ObjectId;
var DatasetSchema = new Schema({
_id: { type: String ... | JavaScript | 0.00004 | @@ -1508,28 +1508,29 @@
ication.
-organization
+sourceCatalog
, functi
|
417ab07d9dffcc383960ff12fbd3cf5ef25980ba | Fix app base block handler being prematurely resolved when immediately shown after a click. | src/standard-xp-app/standard-xp-app-base.js | src/standard-xp-app/standard-xp-app-base.js | import './templates/base.scss';
import crashTemplate from './templates/crash.pug';
import './templates/crash.scss';
import blockInitTemplate from './templates/block-init.pug';
import './templates/block-init.scss';
import endTemplate from './templates/end.pug';
import './templates/end.scss';
import waitTemplate from './... | JavaScript | 0 | @@ -367,16 +367,62 @@
scss';%0A%0A
+const XP_APP_BASE_CLASSNAME = 'xp-app-base';%0A%0A
/**%0A * S
@@ -2027,22 +2027,35 @@
tor(
-'.xp-app-base'
+%60.$%7BXP_APP_BASE_CLASSNAME%7D%60
).cl
@@ -2381,16 +2381,92 @@
kInfo);%0A
+ const appNode = this.node.querySelector(%60.$%7BXP_APP_BASE_CLASSNAME%7D%60);%0A
... |
f9f8b1b4a8c38a21361cb20a4ffb8889ee36fb2c | remove obsolete property from primitive complex type | src/sulfur/schema/type/complex/primitive.js | src/sulfur/schema/type/complex/primitive.js | /* Copyright (c) 2013, Erik Wienhold
* All rights reserved.
*
* Licensed under the BSD 3-Clause License.
*/
/* global define */
define([
'sulfur/schema/validator/all',
'sulfur/schema/validator/property',
'sulfur/schema/validator/prototype',
'sulfur/util/factory'
], function (AllValidator, PropertyValidato... | JavaScript | 0.000001 | @@ -468,51 +468,8 @@
me;%0A
- this._namespace = options.namespace;%0A
|
7852353b06bbdc66440d71ec6331240e73940fae | Normalize namespace handling in collections | src/collections.js | src/collections.js | exports.sortByName = (a, b) => {
const aName = (a.properties != null ? a.properties.name : undefined) || a.name || a.id || 'Unknown';
const bName = (b.properties != null ? b.properties.name : undefined) || b.name || b.id || 'Unknown';
return aName.localeCompare(bName);
};
exports.sortBySeen = (ain, bin) => {
c... | JavaScript | 0.000001 | @@ -1,24 +1,63 @@
+const %7B basename %7D = require('path');%0A%0A
exports.sortByName = (a,
@@ -85,94 +85,196 @@
e =
-(a.properties != null ? a.properties.name : undefined) %7C%7C a.name %7C%7C a.id %7C%7C 'Unknown';
+exports.unnamespace(exports.getName(a));%0A const bName = exports.unnamespace(exports.getName(b));... |
f91bbc11eb5959cb95145f281dc89c99a7101bad | update the noConflict function on d3ma, and update the d3.assert for customing the error log | src/common/core.js | src/common/core.js | var d3 = window.d3;
d3.ma = {};
d3.ma.version = '0.1.0';
| JavaScript | 0.000001 | @@ -18,18 +18,390 @@
3;%0A%0A
-d3.ma = %7B%7D
+var previousD3ma = window.d3.ma;%0A%0Avar d3ma = d3.ma = %7B%7D;%0A%0Ad3ma.noConflict = function() %7B%0A%09window.d3ma= previousD3ma;%0A%09return d3ma;%0A%7D;%0A%0Ad3ma.assert = function(test, message) %7B%0A%09if(test) %7B return; %7D%0A%09throw new Error('%5Bd3.ma%5D '... |
e7bb1f3d786babb4c5255ae14725ccaf2e4bd6b9 | Update custom_funct.js | leaflet/JS-CSS/custom_funct.js | leaflet/JS-CSS/custom_funct.js | function leaflet_alert() {
alert("Clicking OK the user takes full responsibility of using this map.");
}
function leaflet_alert2() {
var txt;
var r = confirm("Clicking OK the user takes full responsibility of using this map.");
if (r != true) {
txt = "You pressed Cancel";
}
}
| JavaScript | 0.000001 | @@ -161,17 +161,20 @@
onfirm(%22
-C
+By c
licking
@@ -232,64 +232,151 @@
map
-.%22);%0A if (r != true) %7B%0A txt = %22You pressed Cancel%22
+ and absolves the map developper of any responsibility.%22);%0A if (r != true) %7B%0A window.open('https://edrap.github.io/abruzzomap', '_blank')
;%0A
|
719900d8b561fcb080ccffa760ca917a57de7473 | rename variables and use new baseDirectory variable | lib/npmrc-switcher.js | lib/npmrc-switcher.js | #! /usr/bin/env node
'use strict';
var findup = require("findup-sync");
var fs = require("fs");
var shell = require("child_process").execFile;
// Only check the value once
var baseDirectory = (function(){
return process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE;
}());
var npmrcUserPath = g... | JavaScript | 0 | @@ -300,37 +300,38 @@
var
-npmrcUser
+baseFile
Path
+
=
-getUserHome()
+baseDirectory
+ '
@@ -344,25 +344,20 @@
c';%0Avar
-npmrcU
+ba
se
-r
BackupPa
@@ -365,21 +365,21 @@
h =
-getUserHome()
+baseDirectory
+ '
@@ -499,25 +499,24 @@
ath !==
-npmrcUser
+baseFile
Path) %7B%0A
@@ -1082,25 +1082,20 @@
a... |
e6900103f44df4faae9b0a6e6e4d9873fb002d0e | Fix repo URL | lib/parseReposToMd.js | lib/parseReposToMd.js | 'use strict';
const _ = require('underscore');
const moment = require('moment');
module.exports = (repos) => {
let reposInMd = ``;
let years = [];
let months = []
_.each(repos, (repo) => {
let year = moment(repo.created_at).year();
let month = moment(repo.created_at).month();
let monthText = mo... | JavaScript | 0.000002 | @@ -611,16 +611,24 @@
%5C%60%5D(
+$%7B
repo.
+html_
url
+%7D
) $%7B
|
8c15d4d0111777290169f8f3afe3544df2c9ee37 | Refactor transanctional | lib/processor_base.js | lib/processor_base.js | var parse5 = require('parse5'),
request = require('request'),
EnvironmentOperator = require('./operators/control_flow/environment');
//Monad-inspired control flow: rollback to the previous value if the new one is undefined.
function transanctional(currentValue, newValue) {
if (newValue !== undefined)
... | JavaScript | 0.00001 | @@ -251,23 +251,19 @@
ctional(
-current
+old
Value, n
@@ -277,20 +277,23 @@
) %7B%0A
-if (
+return
newValue
@@ -297,11 +297,11 @@
lue
-!
==
+=
und
@@ -310,54 +310,25 @@
ined
-)%0A return newValue;%0A%0A return current
+ ? oldValue : new
Valu
|
7905d1467fa9d8977b5a8205bb06f0c0dc92779e | Add function 'getTimeToken' | lib/requests/query.js | lib/requests/query.js | const request = require('./promise-request')
const Url = require('./url')
/**
* 获取楼层状态的状态
* @param {Number} floor 楼层的编号
*/
async function getFloorStatus(floor = 3) {
let { response, body } = await request(Url.Floor(floor), {
json: true
})
if (response.statusCode !== 200) {
throw new Error(`Bad status... | JavaScript | 0.001389 | @@ -730,232 +730,767 @@
%0A *
-%E9%A2%84%E7%BA%A6%E5%BA%A7%E4%BD%8D%0A * @param %7BSeat%7D seat %E5%BA%A7%E4%BD%8D%0A * @param %7BUserInfo%7D userInfo %E7%94%A8%E6%88%B7%E4%BF%A1%E6%81%AF%0A * @param %7BJar%7D jar Cookie %E7%BD%90%0A * @return%0A */%0Aasync function book(seat, userInfo, jar) %7B%0A const url = 'http... |
2fe415f7e87c598904c347c56d447fb14f4ecd11 | Fix typo | lib/starts-with-so.js | lib/starts-with-so.js |
// Opinion: I think it's gross to start written English independant clauses with "so"
// most of the time. Maybe it's okay in spoken English.
//
// More on "so:"
// * http://www.nytimes.com/2010/05/22/us/22iht-currents.html?_r=0
// * http://comminfo.rutgers.edu/images/comprofiler/plug_profilegallery/84/pg_210... | JavaScript | 0.999999 | @@ -58,17 +58,17 @@
independ
-a
+e
nt claus
|
244a0dcedcc3a714d3420c2dc348763e1d916ad7 | Fix node port in home module | src/app/modules/home/home.controller.js | src/app/modules/home/home.controller.js | import nem from 'nem-sdk';
class HomeCtrl {
/**
* Initialize dependencies and properties
*
* @params {services} - Angular services to inject
*/
constructor(AppConstants, $localStorage, $http) {
'ngInject';
//// Module dependencies region ////
this._storage = $loca... | JavaScript | 0 | @@ -2150,35 +2150,35 @@
p://%22+node.ip, 7
-778
+890
);%0A
@@ -2794,11 +2794,11 @@
p, 7
-778
+890
);%0A
|
cf17a93bee7ab3aae508b70bba61aafd5b84f7f4 | Use HTTPS for gravatar (#24) | lib/utils/gravatar.js | lib/utils/gravatar.js | var md5Hex = require('md5-hex');
// Get gravatar url
function gravatarUrl(email) {
return 'http://www.gravatar.com/avatar/'+md5Hex(email)+'?s=200&d='+encodeURIComponent('https://www.gitbook.com/assets/images/avatars/user.png');
}
module.exports = {
url: gravatarUrl
};
| JavaScript | 0 | @@ -93,16 +93,17 @@
rn 'http
+s
://www.g
|
0d0ef9294c8bacdbaa76c131517e63340073bd58 | fix for language == html | lib/utils/markdown.js | lib/utils/markdown.js | var aug = require('aug');
var fs = require('fs');
var hl = require('highlight.js');
var marked = require('marked');
module.exports = function(text, highlight, callback) {
marked.setOptions({
// callback for code highlighter
gfm: true,
pedantic: false,
sanitize: false,
highlight: function(code, ... | JavaScript | 0.000748 | @@ -322,16 +322,74 @@
ang) %7B%0A%0A
+ if (lang == 'html') %7B%0A lang = 'xml';%0A %7D%0A
va
|
7bb0c46f853af7130dd3cabe84ce63c972c1cd4f | fix jsonparser | lib/data-manager/jsonparser.js | lib/data-manager/jsonparser.js | /*jshint esversion:6, node:true*/
'use strict';
class JSONParser {
constructor(manager) {
manager.parser('json', this.parse.bind(this));
}
/**
* Parse JSON into an array of results. Assumes top-level is array, unless
* opts.key is provided to pick a top-level key from parsed object as r... | JavaScript | 0.000148 | @@ -416,24 +416,82 @@
ts, opts) %7B%0A
+ if(typeof contents === 'object') return contents;%0A
let
|
2deb5c48c6643faf4aa244d772dee6d075ffdc49 | remove recursive blocking | lib/workflows/load.js | lib/workflows/load.js | 'use strict';
const dir = require('node-dir');
const yaml = require('js-yaml');
const globalConfig = require('config');
const path = require('path');
const utils = require('./utils');
/**
* Gets all Workflows
*
* @param {string} wfpath path to workflow directory
*
* @returns {Promise} - An {Array} containing {Ob... | JavaScript | 0 | @@ -923,32 +923,8 @@
./,%0A
- recursive: false,%0A
|
d33b174e19f3aaf0f5ebf69cd30dfdc632da1ebf | Fix team search (#2573) | app/assets/javascripts/admin/team/team_list_view.js | app/assets/javascripts/admin/team/team_list_view.js | // @flow
/* eslint-disable jsx-a11y/href-no-hash */
import _ from "lodash";
import * as React from "react";
import { Table, Icon, Spin, Button, Input, Modal } from "antd";
import Utils from "libs/utils";
import messages from "messages";
import CreateTeamModal from "admin/team/create_team_modal_view.js";
import { getEd... | JavaScript | 0 | @@ -3330,27 +3330,8 @@
ame%22
-, %22owner%22, %22parent%22
%5D,%0A
|
66219ea9a8e0705a35544a670c20cd75a8d9ca72 | remove ckeditor override, as the latest version doesn't require it | app/assets/javascripts/content_block/application.js | app/assets/javascripts/content_block/application.js | // This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | JavaScript | 0 | @@ -577,38 +577,8 @@
%0A//%0A
-//= require ckeditor/override%0A
//=
|
257bde6349d6ca8a93f634474576e3ad95cebfb1 | Send connect message. | conduit.js | conduit.js | // Control-flow utilities.
var cadence = require('cadence')
var assert = require('assert')
// An evented message queue.
var Procession = require('procession')
// Evented stream reading and writing.
var Staccato = require('staccato')
// JSON for use in packets.
var Jacket = require('nascent.jacket')
// Orderly destr... | JavaScript | 0 | @@ -5870,24 +5870,95 @@
callback) %7B%0A
+ this.receiver.write.push(%7B module: 'conduit', method: 'connect' %7D)%0A
this._qu
|
538560fc32ab7cd2bfbaf26e08b89f873bb30a72 | fix cookie | libs/cookie/cookie.js | libs/cookie/cookie.js | /**
* Aifang Javascript Framework.
* Copyright 2012 ANJUKE Inc. All rights reserved.
*
*
* 这是cookie核心文件,
*
*
* @path: cookie/cookie.js
* @author: Jock
* @version: 1.0.0
* @date: 2012/02/10
*
*/
(function(J){
var D = document,
millisecond = 24 * 60 * 60 * 1000,
encode = encodeURICompone... | JavaScript | 0.000002 | @@ -864,18 +864,16 @@
*/%0A
-/*
function
@@ -1234,16 +1234,16 @@
%7D
-*/
%0A%0A
+/*
func
@@ -1776,24 +1776,26 @@
: %22%22);%0A %7D
+*/
%0A%0A var co
|
035b24d1d1b8f57027fc5d552fdc7208d7068f7f | remove unnecessary key prop | app/components/library/ListItemRadioButton/index.js | app/components/library/ListItemRadioButton/index.js | import { ListItem } from 'react-native-elements';
import RadioButton from 'react-native-radio-button';
import React from 'react';
import PropTypes from 'prop-types';
import { grey, primaryColor } from '../../../globals/colors';
import styles from './styles';
const ListItemRadioButton = ({ key, title, onSwitch, switch... | JavaScript | 0.000008 | @@ -288,13 +288,8 @@
= (%7B
- key,
tit
@@ -335,22 +335,8 @@
tem%0A
- key=%7Bkey%7D%0A
@@ -711,44 +711,8 @@
= %7B%0A
- key: PropTypes.string.isRequired,%0A
ti
|
34f7a93e18f16aceb69d4ff555f1bd30b5ca6d84 | add basic plus sign | lib/features/add-row/AddRow.js | lib/features/add-row/AddRow.js | 'use strict';
var domify = require('min-dom/lib/domify');
// document wide unique overlay ids
var ids = new (require('diagram-js/lib/util/IdGenerator'))('row');
/**
* Adds a control to the table to add more rows
*
* @param {EventBus} eventBus
*/
function AddRow(eventBus, sheet, elementRegistry, modeling) {
th... | JavaScript | 0.000005 | @@ -600,31 +600,39 @@
ss=%22
-icon-dmn dmn-icon-plus%22
+table-js-add-row%22%3E%3Cspan%3E+%3C/span
%3E%3C/a
|
a2323c20d4d5233ce7d17e620da1ad77def2ed3e | fix node 0.8 compatibility | lib/geocoder/googlegeocoder.js | lib/geocoder/googlegeocoder.js | 'use strict';
(function () {
var net = require('net'),
crypto = require('crypto'),
url = require('url');
/**
* Constructor
* @param <object> httpAdapter Http Adapter
* @param <string> clientId Google client id
* @param <string> apiKey Google Api Key
*/
... | JavaScript | 0 | @@ -2824,23 +2824,19 @@
rse(
-request
+url
.format(
));%0A
@@ -2831,16 +2831,23 @@
.format(
+request
));%0A
|
2e1a3db7971f98f601c11eb04f976098e80b7d36 | Set stripHash to true | lib/http/analyzers/index-of.js | lib/http/analyzers/index-of.js | 'use strict'
const url = require('url')
const {is} = require('type-is')
const {pipe} = require('mississippi')
const htmlparser = require('htmlparser2')
const normalize = require('normalize-url')
const bufferize = require('../bufferize')
function stripQuery(location) {
const parsed = new url.URL(location)
parsed.... | JavaScript | 0.999985 | @@ -431,16 +431,39 @@
h: false
+,%0A stripHash: true
%0A %7D)%0A
|
531c6fe9baaea438a9a822737c54e1d6b615d1b5 | Update model.js | Unordered-javascript-examples/deeplearnjs-examples/mnist-eager/model.js | Unordered-javascript-examples/deeplearnjs-examples/mnist-eager/model.js | //import * as dl from 'deeplearn';
//import {MnistData} from './data';
// Hyperparameters.
const LEARNING_RATE = .05;
const BATCH_SIZE = 64;
const TRAIN_STEPS = 100;
// Data constants.
const IMAGE_SIZE = 784;
const LABELS_SIZE = 10;
//const math = dl.ENV.math;
const optimizer = new dl.SGDOptimizer(LEARNING_RATE);
... | JavaScript | 0.000001 | @@ -229,18 +229,16 @@
= 10;%0A%0A
-//
const ma
@@ -239,16 +239,22 @@
nst math
+Model2
= dl.EN
@@ -357,19 +357,21 @@
ction.%0A%0A
-var
+const
weights
@@ -478,19 +478,44 @@
32'));%0A%0A
-var
+%0A%0A%0A// Train the model.%0Aconst
model =
@@ -527,26 +527,24 @@
tion (xs) %7B%0A
-
return mat
@@ -544,16 +544... |
e9ea61fee4a0f78d5d9e9614e1e06b209f7adbcd | make linkBankOperation work | linkBankOperations.js | linkBankOperations.js | const moment = require('moment')
const bluebird = require('bluebird')
const cozyClient = require('./cozyclient')
const DOCTYPE = 'io.cozy.bank.operations'
const log = require('./logger')
module.exports = (entries, doctype, options = {}) => {
if (typeof options.identifiers === 'string') {
options.identifiers = [o... | JavaScript | 0.000001 | @@ -179,16 +179,68 @@
logger')
+%0Aconst debug = require('debug')('linkBankOperation')
%0A%0Amodule
@@ -1585,24 +1585,88 @@
ations =%3E %7B%0A
+ debug(operations.length, 'Number of operations to check')%0A
// fin
@@ -3709,19 +3709,20 @@
& entry.
-_id
+file
) %7B%0A
@@ -3812,18 +3812,21 @@
= %60
-... |
3aac9980fddc2871f540da0a723d592de5f3fbc1 | Update hover text for RecommendedBadge component (#7994) | src/ui/components/RecommendedBadge/index.js | src/ui/components/RecommendedBadge/index.js | /* @flow */
import * as React from 'react';
import { compose } from 'redux';
import translate from 'core/i18n/translate';
import Icon from 'ui/components/Icon';
import type { I18nType } from 'core/types/i18n';
import './styles.scss';
type Props = {};
type InternalProps = {|
i18n: I18nType,
|};
export const Recom... | JavaScript | 0 | @@ -674,25 +674,38 @@
'
-R
+Firefox only r
ecommend
ed exten
@@ -696,18 +696,17 @@
ecommend
-ed
+s
extensi
@@ -713,34 +713,35 @@
ons
-are vetted for exceptional
+that meet our standards for
sec
|
5d4d4d33c751ca1823dcdf26dae5b4b3c1c81061 | Add Surat Jalan | src/surat-jalan/surat-jalan-product-item.js | src/surat-jalan/surat-jalan-product-item.js | 'use strict'
module.exports = class SuratJalanProductItem {
constructor(source) {
this.code = '';
this.name = '';
this.description = '';
this.totalPO = 0;
this.totalSJ = 0;
this.unit = '';
this.price = '';
}
} | JavaScript | 0.000003 | @@ -252,23 +252,22 @@
his.price =
-''
+0
;%0A %7D%0A%7D
|
e1e2ca082a4ac155d2eecb810304bfa461e69954 | fix deprecation warning | compile.js | compile.js | #!/usr/bin/nodejs
'use strict';
global.DOMParser = require('xmldom').DOMParser;
//require('../closure-library/closure/goog/bootstrap/nodejs')
global.Blockly = require('./blockly_wrapped.js');
//require('./blocks_compressed.js');
//require('./javascript_compressed.js');
//require('./msg/js/en.js');
Blockly.Events.Cr... | JavaScript | 0.000019 | @@ -698,16 +698,21 @@
rkspace(
+xml,
workspac
@@ -716,13 +716,8 @@
pace
-, xml
);%0Av
|
9b693271c4adf9fba94f9c962910d9629dc029f3 | Swap xbbcode.js build out for symlinked bbcode.js | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var concat = require('gulp-concat');
var rev = require('gulp-rev');
var minifyCSS = require('gulp-minify-css');
var uglifyJS = require('gulp-uglify');
gulp.task('copy-fonts', function() {
var fontPaths = [
'./public/vendor/bootstrap/fonts/**',
'./public/vendor/font-awesome/fonts/*... | JavaScript | 0.000001 | @@ -1280,25 +1280,24 @@
ode/xbbcode/
-x
bbcode.js',%0A
@@ -1291,24 +1291,57 @@
/bbcode.js',
+ // Symlinked to server/bbcode.js
%0A 'public
|
266a705ba2e938e1e08e73ae11687a4093fc9f33 | Fix path to "main.css" | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
sourcemaps = require('gulp-sourcemaps'),
concat = require('gulp-concat'),
watch = require('gulp-watch'),
cleanCSS = require('gulp-clean-css'),
uglify = require('gulp-uglify'),
stylus = require('gulp-stylus'),
nib = r... | JavaScript | 0.000222 | @@ -3428,16 +3428,20 @@
'./css/
+css/
main.css
|
50374502ad2004e99ca4eb0b02736632d936b824 | add date to deply commit line | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
less = require('gulp-less'),
minify = require("gulp-mini-css"),
autoprfixer = require('gulp-autoprefixer'),
jshint = require('gulp-jshint'),
jsuglify = require('gulp-uglify'),
plumber = require('gulp-plumber'),
connect = require('gulp-connect'),
rename = require('gulp-rename'... | JavaScript | 0 | @@ -927,16 +927,35 @@
ployment
+ ' + new Date() + '
%22; git p
|
206e56c1f757f7f464a945e0ab2697afa648eadc | fix gulpfile | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var less = require('gulp-less');
var coffee = require('gulp-coffee');
var uglify = require('gulp-uglify');
var path = require('path');
lessPath = './core/static/style';
coffeePath = './core/static/script';
gulp.task('less', function() {
return gulp.src(lessPath + "/**/*.less").pipe(less(... | JavaScript | 0.000065 | @@ -508,16 +508,17 @@
uglify()
+)
.pipe(gu
@@ -537,17 +537,16 @@
eePath))
-)
;%0A%7D);%0A%0Ag
@@ -559,36 +559,14 @@
sk('
-default', %5B'less', 'coffee'%5D
+watch'
, fu
@@ -569,25 +569,24 @@
, function()
-
%7B%0A gulp.wat
@@ -588,20 +588,22 @@
p.watch(
-less
+coffee
Path + %22
@@ -612,71 +612,30 @@
*/*.
-le... |
837cdd29bb2a155953cbc3687d34e48b8678401b | update gulpfile | gulpfile.js | gulpfile.js | 'use strict'
const gulp = require('gulp')
gulp.task('generate-service-worker', (callback) => {
let path = require('path')
let swPrecache = require('sw-precache')
let rootDir = 'app'
swPrecache.write(path.join(rootDir, 'service-worker.js'), {
staticFileGlobs: [ rootDir + '/*.{html, png}', rootDir + '/eleme... | JavaScript | 0.000001 | @@ -267,16 +267,22 @@
Globs: %5B
+%0A
rootDir
@@ -297,24 +297,30 @@
html, png%7D',
+%0A
rootDir + '
@@ -346,16 +346,22 @@
l,png%7D',
+%0A
rootDir
@@ -401,16 +401,22 @@
l,png%7D',
+%0A
'/bower
@@ -516,17 +516,16 @@
ymer/app
-/
'%0A %7D, c
|
765242987558b0577dd1b490f8be1fe2724caf21 | Fix typo in validation rule comments (#472) | src/validation/rules/FieldsOnCorrectType.js | src/validation/rules/FieldsOnCorrectType.js | /* @flow */
/**
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
i... | JavaScript | 0 | @@ -1525,18 +1525,18 @@
_typenam
-m
e
+.
%0A */%0Aexp
|
47bea7ce21059c3c4105bad1983067ec2c4b6c5c | Make sure test runs have the most up to date assets | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var source = require('vinyl-source-stream');
var del = require('del');
var compass = require('gulp-compass');
var browserify = require('browserify');
var hologram = require('gulp-hologram');
var connect = require('gulp-connect');
var open = require('gulp-open');
var ejs = require('gulp-ejs')... | JavaScript | 0 | @@ -539,32 +539,51 @@
atch', %5B'assets'
+, '_copyTestAssets'
%5D, function() %7B%0A
@@ -612,24 +612,43 @@
%22, %5B'assets'
+, '_copyTestAssets'
%5D);%0A%7D);%0A%0Agul
@@ -1051,24 +1051,25 @@
andomAssets'
+%0A
%5D);%0A%0Agulp.ta
@@ -1254,32 +1254,39 @@
function() %7B%0A
+return
gulp.src(%5B'src/p
@@ -1561,3... |
917c073f2436c12ac840e0a9473c1ae1394b19ca | update change value | packages/api-generator/src/maps/v-chip-group.js | packages/api-generator/src/maps/v-chip-group.js | module.exports = {
'v-chip-group': {
events: [
{
name: 'change',
value: 'number',
},
],
},
}
| JavaScript | 0.000003 | @@ -100,16 +100,24 @@
'number
+ %7C array
',%0A
|
87656b259e9161214747a62454b04474198d47b7 | Remove auto scroll past native url bar | src/www/js/app/ui/pageviews/BasePageView.js | src/www/js/app/ui/pageviews/BasePageView.js | define(function(require) {
var Detection = require('lavaca/env/Detection'),
PageView = require('lavaca/mvc/PageView'),
Promise = require('lavaca/util/Promise'),
viewManager = require('lavaca/mvc/ViewManager'),
common = require('app/ui/common'),
$ = require('$'),
History = require(... | JavaScript | 0 | @@ -1176,777 +1176,8 @@
/**%0A
- * Executes when the template renders successfully. This implementation%0A * adds support for animations between views, based off of the animation%0A * property on the prototype.%0A * @method onRenderSuccess%0A *%0A * @param %7BEvent%7D e The render event. This ... |
f882df24bcf5de1939b4210cfd690a283bd6dd16 | Fix error loading updated preset | src/components/Budgets/PresetBudgets.js | src/components/Budgets/PresetBudgets.js | import nanoid from 'nanoid';
import React, { Component } from 'react';
import Select from 'react-select';
import { addPreset, removePreset, subscribePresets, updatePreset } from '../../actions/budgets';
import { connect } from 'react-redux';
import { convertToList } from '../../helpers/reformat';
class PresetBudgets e... | JavaScript | 0.000001 | @@ -1,12 +1,40 @@
+import flatten from 'flat';%0A
import nanoi
@@ -991,17 +991,16 @@
%0A %7D;%0A
-%0A
this
@@ -1021,31 +1021,57 @@
h(addPreset(
+flatten.unflatten(%7B ...
payload
+ %7D)
));%0A%0A thi
@@ -1489,34 +1489,8 @@
%7D;%0A
- console.log(payload);%0A
@@ -1715,72 +1715,445 @@
-thi... |
c2507e8168ea6f41f18416e940fcda750edbc4c5 | add json file extension on jest | src/jest/create-config.js | src/jest/create-config.js | import fs from 'fs';
import path from 'path';
import appRootDir from 'app-root-dir';
export default (noCoverage) => {
const rootDir = appRootDir.get();
const setupTestFilePath = path.resolve(rootDir, 'stanza', 'setup-test.js');
const setupTestsFile = fs.existsSync(setupTestFilePath)
? setupTestFilePath
:... | JavaScript | 0.000001 | @@ -500,16 +500,24 @@
', 'jsx'
+, 'json'
%5D,%0A m
|
a224f78ac6c16b2b8fb0a57c0046586066d4e501 | Add container | tasks/config/admin/release.js | tasks/config/admin/release.js | /*******************************
Release Settings
*******************************/
// release settings
module.exports = {
// path to components for repos
source : './dist/components/',
// modified asset paths for component repos
paths: {
source : '../themes/default/assets/',
output : 'ass... | JavaScript | 0.000005 | @@ -1703,24 +1703,41 @@
'comment',%0A
+ 'container',%0A
'dimmer'
|
723f00f21ed3d6578dbb1460aeddc480d53f841b | Fix operator evaluation skip bug upon signal update. | src/dataflow/on.js | src/dataflow/on.js | import Operator from '../Operator';
import {isChangeSet} from '../ChangeSet';
import {constant, extend, isFunction} from 'vega-util';
var SKIP = {skip: true};
/**
* Perform operator updates in response to events. Applies an
* update function to compute a new operator value. If the update function
* returns a {@lin... | JavaScript | 0 | @@ -2868,23 +2868,21 @@
;%0A
-return
+if (!
target.s
@@ -2890,24 +2890,11 @@
ip()
-%0A ? value
+) %7B
%0A
@@ -2902,11 +2902,8 @@
-: (
targ
@@ -2914,28 +2914,71 @@
kip(
-true).value = value)
+value !== this.value).value = value;%0A %7D%0A return value
;%0A
|
9f1310c5bf6d225dafe6626ae53e6e7fc09e7fcf | Add clean task | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var sass = require('gulp-sass');
//var watch = require('gulp-watch');
var bower = require('gulp-bower');
var childTheme = 'leo';
var parentTheme = '/theme-open-ent/**/*';
var themePath = './assets/themes';
var localcsslib = '../entcore-css-lib/**/*';
var localparentTheme = '../theme-open... | JavaScript | 0.000429 | @@ -126,17 +126,42 @@
ower');%0A
+var del = require('del');
%0A
-
%0A%0Avar ch
@@ -379,16 +379,213 @@
= %5B%5D;%0A%0A
+gulp.task('clean', function()%7B%0A return del(%5BthemePath + '/*', '!' + themePath + '/' + childTheme, themePath + '/' + childTheme + '/*', '!' + themePath + '/' + childTheme + '/override*'%5... |
80b2aee93cfdd661ba0d4d69b13c78689aa84f77 | Fix results | diveSync.js | diveSync.js | var fs = require('fs'),
append = require('append');
// general function
var diveSync = function(dir, opt, action) {
// default options
var defaultOpt = {
recursive: true,
all: false,
directories: false,
filter: function filter() {
return true;
}
};
// action is the last argument
... | JavaScript | 0.000001 | @@ -1061,24 +1061,38 @@
= false)
+%0A
return
false;%0A%0A
@@ -1083,20 +1083,19 @@
return
-fals
+tru
e;%0A%0A
@@ -1279,23 +1279,41 @@
false))
+%0A
return
+ false
;%0A%0A
|
44be4f37dee756bb08603c108b78f5bfdd279da4 | refactor variables for use in multiple steps | tasks/grunt-release.js | tasks/grunt-release.js | /*
* grunt-release
* https://github.com/geddski/grunt-release
*
* Copyright (c) 2013 Dave Geddes
* Licensed under the MIT license.
*/
var shell = require('shelljs');
var semver = require('semver');
module.exports = function(grunt){
grunt.registerTask('release', 'bump version, git tag, git push, npm publish', ... | JavaScript | 0.000001 | @@ -325,24 +325,29 @@
tion(type)%7B%0A
+ %0A
//defaul
@@ -587,18 +587,177 @@
var
-tagName =
+config = setup(options.file, type);%0A var templateOptions = %7B%0A data: %7B%0A version: config.newVersion%0A %7D%0A %7D;%0A var tagName = grunt.template.process(
grun
@@ -810,32 +810,50 ... |
ab7a677aea1c18b55f297c4331e073562c55a284 | Fix width of the TrelloCards' row with points and members | src/components/TrelloCard/TrelloCard.js | src/components/TrelloCard/TrelloCard.js | // @flow
import React, { Component } from 'react';
import { View, StyleSheet, Linking } from 'react-native';
import { isEqual } from 'lodash';
import ActionSheet from '@yfuks/react-native-action-sheet';
import { Text, Card, Button } from '../../components';
import appStyle from '../../appStyle';
import MemberIcon from ... | JavaScript | 0.000008 | @@ -3271,16 +3271,53 @@
'row',%0A
+ justifyContent: 'space-between',%0A
%7D,%0A t
@@ -3396,62 +3396,17 @@
-flex: 5,%0A alignSelf: 'flex-end',%0A justifyContent
+alignSelf
: 'f
@@ -4092,21 +4092,8 @@
: %7B%0A
- flex: 1,%0A
@@ -4118,27 +4118,8 @@
w',%0A
- flexShrink: 1,%0A
|
ab18eb32d844f264cf0573f6c9d5379885f8ca49 | fix build | gulpfile.js | gulpfile.js | "use strict";
// Include gulp
var fs = require("fs");
var gulp = require("gulp");
var sourcemaps = require("gulp-sourcemaps")
var path = require("path");
var browserSync = require("browser-sync").create();
var sass = require('gulp-sass');
var babelify = require('babelify');
var gutil = require('gulp-util');
var replace... | JavaScript | 0.000001 | @@ -3287,22 +3287,16 @@
'replace
-_phone
',%0A '
|
35a6c201558eaa8e704b5b07f88aeab3d9eef119 | Add back a missing comment | tasks/inline-images.js | tasks/inline-images.js | /**
* grunt-inline-images
* https://github.com/EE/grunt-inline-images
*
* Author Michał Gołębiowski <michal.golebiowski@laboratorium.ee>
* Licensed under the MIT license.
*/
'use strict';
// Gruntfile.js & tasks/*.js are the only non-transpiled files.
/* eslint-disable no-var, no-eval */
var assert = require('... | JavaScript | 0.000002 | @@ -189,16 +189,68 @@
rict';%0A%0A
+// Disable options that don't work in Node.js 0.10.%0A
// Grunt
|
527518ef54ec7348b83781fa86563f21a9fb6de9 | Fix javascript path | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var browserSync = require('browser-sync');
var reload = browserSync.reload;
gulp.task('serve-dev', function() {
browserSync({
server: {
baseDir: '.'
}
});
gulp.watch(['*.html', 'scripts/**/*.js'], reload);
});
| JavaScript | 0.001215 | @@ -221,16 +221,20 @@
html', '
+java
scripts/
|
f451e7a97778ccb020954199f16d9117558e6ebb | Implement gulpfile | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var browserify = require('gulp-browserify');
var jade = require('gulp-jade');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var browserSync = require('browser-sync').create();
var dist = './dist';... | JavaScript | 0.000296 | @@ -110,24 +110,70 @@
ulp-jade');%0A
+var minifyCss = require('gulp-minify-css');%0A
var uglify
@@ -1035,33 +1035,221 @@
%0A//
-concat css%0A%0A// minify css
+minify and concat css%0Agulp.task('css', function() %7B%0A gulp.src(%5B%0A './node_modules/bootflat/bootflat/css/bootflat.min.css'%0A %5D)%0A .pipe... |
2269f49841689b86431249f04b266f0575f74c8a | make port and https configurable via process.env | gulpfile.js | gulpfile.js | 'use strict';
const gulp = require('gulp');
const eslint = require('gulp-eslint');
const browserSync = require('browser-sync').create();
const concat = require('gulp-concat');
const sass = require('gulp-sass');
const runSequence = require('run-sequence');
const addSrc = require('gulp-add-src');
const gutil = require('... | JavaScript | 0 | @@ -4302,12 +4302,32 @@
ort:
+ process.env.PORT %7C%7C
30
-3
+0
0,%0A
@@ -4336,20 +4336,35 @@
https:
-true
+!!process.env.HTTPS
,%0A op
|
3a46ff7af7469503110dec07816c2a9efc030002 | Fix issue in item details route | src/js/components/root.js | src/js/components/root.js |
import React, { Component } from 'react'
import { Router, Route, browserHistory, } from 'react-router'
import { Provider } from 'react-redux'
import configureStore from '../store/configure-store'
import ClassificationExplorer from './classification-explorer'
import ClassificationDetails from './classification-details'... | JavaScript | 0.000001 | @@ -786,16 +786,8 @@
ails
-.pattern
%7D%0A
|
b56ac41012b4597f40843a06e6063c82aed08252 | add source | gulpfile.js | gulpfile.js | /**
* Created by nuintun on 2015/5/5.
*/
'use strict';
var path = require('path');
var gulp = require('gulp');
var rimraf = require('del');
var transport = require('gulp-cmd');
var uglify = require('gulp-uglify');
var css = require('gulp-minify-css');
var plumber = require('gulp-plumber');
var colors = transport.co... | JavaScript | 0 | @@ -2536,29 +2536,41 @@
elf',%0A
-on
css
+: %7B%0A on
path: functi
@@ -2572,32 +2572,34 @@
unction (path)%7B%0A
+
return p
@@ -2628,24 +2628,34 @@
'online/')%0A
+ %7D%0A
%7D%0A
@@ -3321,13 +3321,29 @@
-on
css
+: %7B%0A on
path
@@ -3353,32 +3353,34 @@
u... |
e410b175f90ac1069335d11ab0bbb3cb80354cdb | Fix build behavior by returning streams. | gulpfile.js | gulpfile.js | 'use strict';
var gulp = require('gulp');
var jscs = require('gulp-jscs');
var jshint = require('gulp-jshint');
var gulpMocha = require('gulp-mocha');
var javascriptGlobs = ['*.js', 'src/**/*.js', 'test/**/*.js'];
gulp.task('style', function () {
gulp.src(javascriptGlobs)
.pipe(jscs())
.pipe(jscs.reporter(... | JavaScript | 0 | @@ -237,32 +237,39 @@
function () %7B%0A
+return
gulp.src(javascr
@@ -270,32 +270,32 @@
avascriptGlobs)%0A
-
.pipe(jscs()
@@ -388,32 +388,39 @@
function () %7B%0A
+return
gulp.src(javascr
@@ -561,32 +561,39 @@
function () %7B%0A
+return
gulp.src('test/u
@@ -673,32 +673,39 @@
function () %7B%0A
+... |
e7baf2deda7f6a6f318df93f7a120ecfb4708fd6 | Remove some blank lines | src/js/markovGenerator.js | src/js/markovGenerator.js | 'use strict';
var markovGenerator = (function() {
var EOS = /[!?.]/;
function getDictItemByKey(dict, key) {
for (var i = 0, len = dict.length; i < len; i++) {
if (dict[i].key === key) return dict[i];
}
return null;
}
function getSeed(dict, chainSize) {
// find a seed that starts with a capital lett... | JavaScript | 0.999999 | @@ -458,17 +458,16 @@
.words;%0A
-%0A
%09%09%09var f
@@ -560,17 +560,16 @@
k;%0A%09%09%09%7D%0A
-%0A
%09%09%09// to
@@ -882,17 +882,16 @@
break;%0A
-%0A
%09%09%09var n
@@ -989,17 +989,16 @@
ngth)%5D;%0A
-%0A
%09%09%09if (t
@@ -1038,17 +1038,16 @@
break;%0A
-%0A
%09%09%09words
@@ -1207,17 +1207,16 @@
ence%2... |
f15f36d746b8ed1d2845f8e278bf4f0b20073ed5 | Remove Safari 8 from tests | gulpfile.js | gulpfile.js | 'use strict';
var metal = require('gulp-metal');
var options = {
bundleCssFileName: 'ajax.css',
bundleFileName: 'ajax.js',
globalName: 'metal',
mainBuildJsTasks: ['build:globals'],
moduleName: 'metal-ajax',
testBrowsers: ['Chrome', 'Firefox', 'Safari', 'IE10 - Win7', 'IE11 - Win7'],
testSaucelabsBrowsers: {
... | JavaScript | 0 | @@ -470,94 +470,8 @@
%09%7D,%0A
-%09%09sl_safari_8: %7B%0A%09%09%09base: 'SauceLabs',%0A%09%09%09browserName: 'safari',%0A%09%09%09version: '8'%0A%09%09%7D,%0A
%09%09sl
|
be2904662eafee990cc73ec048f92f3f49c97325 | 更新gulpfile.js | gulpfile.js | gulpfile.js | const outputDir = 'build';
//https://github.com/mafintosh/pump
const pump = require('pump');
//https://github.com/gulpjs/gulp
const gulp = require('gulp');
//https://github.com/terinjokes/gulp-uglify
const uglify = require('gulp-uglify');
//https://github.com/scniro/gulp-clean-css
const cleanCSS ... | JavaScript | 0 | @@ -9,22 +9,16 @@
tputDir
-
= 'build
|
2d758b7623a28807d762103331008a69514c1e26 | Remove last bits of gulp-bg | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var bg = require('gulp-bg');
var docs = require('./gulp/docs');
gulp.task('docs', docs({
cwd: __dirname,
src: './src/docs',
dest: './dist/docs'
}));
gulp.task('watch-docs', function (cb) {
gulp.watch('./src/docs/**', ['docs']);
});
gulp.task('default', []);
| JavaScript | 0.00002 | @@ -25,37 +25,8 @@
');%0A
-var bg = require('gulp-bg');%0A
var
|
907c6ecd1e45f6cf9a95b5351aa6625cf6963f00 | Add build task | gulpfile.js | gulpfile.js | // Copyright 2016 underdolphin(masato sueda)
//
// 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 require... | JavaScript | 0.000388 | @@ -1016,17 +1016,132 @@
%0A%0Aconst
-p
+mainProject = typescript.createProject('tsconfig.json', %7B%0A typescript: require('typescript')%0A%7D);%0A%0Aconst rendererP
roject =
@@ -1692,33 +1692,37 @@
)%0A .pipe(
-p
+mainP
roject())%0A
@@ -1963,17 +1963,25 @@
.pipe(
-p
+rendererP
roject()
@@ -27... |
ce7b7ab4d2a9cac0cc378c1a810b70f3b32dcdab | Update deps | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var initGulpTasks = require('react-component-gulp-tasks');
/**
* Tasks are added by the react-component-gulp-tasks package
*
* See https://github.com/JedWatson/react-component-gulp-tasks
* for documentation.
*
* You can also add your own additional gulp tasks if you like.
*/
// Read... | JavaScript | 0 | @@ -502,24 +502,53 @@
ndencies: %5B%0A
+ 'browserify-optional',%0A
'class
|
5c4e196c0e270ee5147843aa3756045c90aa77db | Disable 'es6.classes' transform for server. | gulpfile.js | gulpfile.js | /**
* @license MIT License
*
* Copyright (c) 2015 Tetsuharu OHZEKI <saneyuki.snyk@gmail.com>
* Copyright (c) 2015 Yusuke Suzuki <utatane.tea@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... | JavaScript | 0 | @@ -4192,16 +4192,47 @@
oping',%0A
+ 'es6.classes',%0A
|
e181e4b8ba97c2a7b431995a70bcd4c9a3c01df9 | Fix lib issue | gulpfile.js | gulpfile.js | (function(){
'use strict';
var gulp = require('gulp'),
Merge = require('streamqueue'),
argv = require('yargs').argv,
$ = require('gulp-load-plugins')({
rename: {
'gulp-sass': 'sass',
'gulp-minify-css': 'minifycss'
},
lazy: false
});
/* Combine Sass / Libraries */
gulp.task('styles', function() {
... | JavaScript | 0.000001 | @@ -721,23 +721,16 @@
r libs =
- libs =
gulp.sr
|
8400394e4af99241d597f2ea69d3a1f9f2c1ef86 | Remove integration test, because it run too long in CI | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var path = require('path');
var fs = require('fs');
gulp.task('cases', function () {
var jsonify = require('./jsonify');
var postcss = require('postcss');
var cases = path.join(__dirname, 'cases');
var extra = require('./extra-cases');
fs.readdirSync(cases).forEach... | JavaScript | 0.000004 | @@ -884,207 +884,8 @@
);%0A%0A
-gulp.task('integration', function (done) %7B%0A var real = require('./real');%0A real(done, %5B%5B'Browserhacks', 'http://browserhacks.com/'%5D%5D, function (css) %7B%0A return %7B css: css %7D;%0A %7D);%0A%7D);%0A%0A
gulp
|
21fcb3ccdd2b676ea7f4ec3cc341f00c89977357 | Update gulp tasks | gulpfile.js | gulpfile.js | 'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
var sassLint = require('gulp-sass-lint');
var concat = require('gulp-concat');
var sourcemaps = require('gulp-sourcemaps');
var babel = require('gulp-babel');
require('babel-core/register');
// testing
var mocha = require('gulp-mocha');
/**
*... | JavaScript | 0.000001 | @@ -1054,32 +1054,136 @@
details');%0A%7D);%0A%0A
+gulp.task('babel-project-helpers', function() %7B%0A return runBabelOnFolder('project', 'helpers');%0A%7D);%0A%0A
gulp.task('babel
@@ -2177,32 +2177,61 @@
oject-details',%0A
+ 'babel-project-helpers',%0A
'babel-proje
|
2a79dab7b36f706e3e4580848c844c6b16e64faa | Add gulp build and serve tasks | gulpfile.js | gulpfile.js | 'use strict';
var gulp = require('gulp'),
iif = require('gulp-if'),
sass = require('gulp-sass'),
cssbeautify = require('gulp-cssbeautify'),
del = require('del');
gulp.task('build', ['clean'], function() {
return gulp.src('apps/**')
.pipe(iif('*.scss', sass()))
.pipe(iif('*.css', cssbeautify(... | JavaScript | 0 | @@ -170,18 +170,93 @@
e('del')
-;%0A
+,%0A browserSync = require('browser-sync');%0A%0A// Process app templates folder
%0Agulp.ta
@@ -264,16 +264,25 @@
k('build
+Templates
', %5B'cle
@@ -313,16 +313,21 @@
urn gulp
+%0A
.src('ap
@@ -461,85 +461,374 @@
);%0A%0A
-gulp.task('clean', function(cb) %7B%0A del('... |
a1f148a3da3544fb63a34bf4ca96bad53eced00d | Change output file name | gulpfile.js | gulpfile.js | 'use strict'
const gulp = require('gulp');
const plumber = require('gulp-plumber');
const gulpts = require('gulp-typescript');
const uglify = require('gulp-uglify');
const browserify = require('browserify');
const source = require('vinyl-source-stream');
const buffer = require('vinyl-buffer');
const tsProject = gulpts... | JavaScript | 0.000007 | @@ -746,11 +746,16 @@
ce('
-lib
+parseley
.min
|
456c184d7172bdfe7ff515eb7a279d0947dbbb5e | Fix watch paths | gulpfile.js | gulpfile.js | // Requires
var pkg = require('./package.json');
var gulp = require('gulp');
var autoprefixer = require('autoprefixer');
var browserSync = require('browser-sync').create();
var changed = require('gulp-changed');
var concat = require('gulp-concat');
var cssnano = require('cssnano');
var data = require('gulp-data');
var ... | JavaScript | 0.000016 | @@ -2987,16 +2987,20 @@
g.paths.
+src.
sprites
@@ -3061,16 +3061,20 @@
g.paths.
+src.
fonts +
|
cfc9c3c862cb6456eb2ad1845b30746f515111c6 | optimize style task | gulpfile.js | gulpfile.js | /*
gulpfile.js
===========
Rather than manage one giant configuration file responsible
for creating multiple tasks, each task has been broken out into
its own file in gulp/tasks. Any files in that directory get
automatically required below.
To add a new task, simply add a new task file that directory.
... | JavaScript | 0.999895 | @@ -1682,16 +1682,17 @@
equence(
+%5B
'scsslin
@@ -1701,27 +1701,17 @@
, 'scss'
-, 'csslint'
+%5D
, cb);%0A
@@ -1772,19 +1772,8 @@
us',
- 'csslint',
cb)
|
5aec5cebcfac4ffa1f4f7a682dffab335cc5853c | Fix JS bundling in live mode. | gulpfile.js | gulpfile.js | 'use strict';
var watchify = require('watchify');
var browserify = require('browserify');
var gulp = require('gulp');
var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var gutil = require('gulp-util');
var sourcemaps = require('gulp-sourcemaps');
var assign = require('lodash.a... | JavaScript | 0 | @@ -2282,13 +2282,19 @@
'watch'
+, 'js'
%5D);%0D%0A
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.