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
4537e98e039b5e26952bd2ebf6072897046c9d6e
Improve sentence formatting
app/components/audit_log/row.js
app/components/audit_log/row.js
import React from 'react'; import PropTypes from 'prop-types'; import Relay from 'react-relay/classic'; import styled from 'styled-components'; import FriendlyTime from '../shared/FriendlyTime'; import Icon from '../shared/Icon'; import Panel from '../shared/Panel'; import Spinner from '../shared/Spinner'; const rend...
JavaScript
0.999999
@@ -1996,100 +1996,8 @@ 2%22%3E%0A - %3CFriendlyTime value=%7Bthis.props.auditEvent.occurredAt%7D /%3E%0A %7B%60 %60%7D%0A @@ -2991,20 +2991,25 @@ st event -Verb +TypeSplit = event @@ -3133,41 +3133,115 @@ s+/) +;%0A %0A - .pop()%0A .toLowerCase( +const eventVerb = eventT...
1b2246fb6b255a7c63b1a04825f7c9ed454642ee
Remove unused import from error-display
app/components/error-display.js
app/components/error-display.js
import Ember from 'ember'; const { Component, computed, isPresent } = Ember; export default Component.extend({ classNames: ['error-display'], content: null, revisedContent: computed('content.[]', { get() { const content = this.get('content'); return content.map((error) => { let errorO...
JavaScript
0
@@ -52,19 +52,8 @@ uted -, isPresent %7D =
e8166227617e3836d3207bae854bb0d06bd58353
fix #789
app/controllers/activityMask.js
app/controllers/activityMask.js
$.attrs = arguments[0] || {}; var activityIndicator; $.open = function(msg) { var style; if (OS_IOS) { style = Ti.UI.iPhone.ActivityIndicatorStyle.BIG; } else { style = Ti.UI.ActivityIndicatorStyle.BIG; } activityIndicator = Ti.UI.createActivityIndicator({ color : 'white', font : { fontSize : 16, fo...
JavaScript
0.000002
@@ -23,16 +23,98 @@ %7C%7C %7B%7D;%0A +%0Aif (OS_ANDROID) %7B%0A%09$.getView().addEventListener('androidback', function()%7B%7D);%0A%7D%0A%0A var acti
ad52ff266bdd8dd32eded55902cba94adfc0004b
Create product order api
app/routes/ProductOrderRoutes.js
app/routes/ProductOrderRoutes.js
'use strict'; var productOrder = require('../../app/controllers/ProductOrderControllers'); module.exports = function (app) { app.route('/productorder/:productOrderId') .get(productOrder.show) .put(productOrder.update); app.route('/productorder/:profileId') .get(productOrder.show) ...
JavaScript
0.000005
@@ -260,24 +260,32 @@ roductorder/ +profile/ :profileId')
e9157eec27773629cc64f3dd21bf1fc7a56d028f
use objectMode, because fuck buffers
code-blocks.js
code-blocks.js
var arrayify = require('arrayify') var duplexer = require('duplexer') var split = require('split') var through = require('through2') var FENCE = /^\`\`\`([\w_-]+)?\s*$/ module.exports = function createTransform (types) { var last = "" var types = arrayify(types) var block = false; var collector = through(func...
JavaScript
0.000001
@@ -309,16 +309,36 @@ through( +%7BobjectMode: true%7D, function
60b11e817a36088f7209dce9e874b68a6b019980
Fix to work with new edinburghcityscope-utils version
cityscope-data-starter.js
cityscope-data-starter.js
var insertLoopbackData = require('./cityscope-data-importer').insertLoopbackData; var edinburghcityscopeUtils = require('edinburghcityscope-utils'); var getModelUrlFromDcatInfo = edinburghcityscopeUtils.getModelUrlFromDcatInfo; var getDataFromURL = edinburghcityscopeUtils.getDataFromURL; var featureCollectionToFeatureA...
JavaScript
0
@@ -749,32 +749,38 @@ ataUrl,function( +error, callback)%7B%0A co @@ -774,16 +774,70 @@ lback)%7B%0A + if (error)%0A %7B%0A throw error;%0A %7D%0A else %7B%0A conso @@ -861,16 +861,18 @@ data');%0A + conso @@ -921,16 +921,18 @@ .');%0A + getModel @@ -972,24 +972,26 @@ (callback)%7B...
7b0f049b4fc75d6265ca7115e6c90c0b075ce358
Fix API example of fetching profile info
client/FxaRelierClient.js
client/FxaRelierClient.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/. */ /** * The Firefox Accounts Relier Client. * * @module FxaRelierClient */ define([ 'client/auth/api', 'cl...
JavaScript
0
@@ -3002,16 +3002,24 @@ rClient. +profile. fetch(to
7d113a9af137bd938893560312883e96f1c22206
add Object key deep search function
components/Deck/ContentModulesPanel/ContentDiffviewPanel/diff_funcs.js
components/Deck/ContentModulesPanel/ContentDiffviewPanel/diff_funcs.js
import createElement from 'virtual-dom/create-element'; import VNode from 'virtual-dom/vnode/vnode'; import VText from 'virtual-dom/vnode/vtext'; const convertHTML = require('html-to-vdom')({ VNode: VNode, VText: VText }); import $ from 'jquery'; //TODO FUnction that takes a string and returns a FUnction apply...
JavaScript
0.000001
@@ -247,16 +247,40 @@ jquery'; +%0Aimport _ from 'lodash'; %0A%0A//TODO @@ -372,16 +372,464 @@ ML());%0A%0A +const deepSearch = (obj, key) =%3E %7B%0A if (_.has(obj, key)) // or just (key in obj)%0A return %5Bobj%5D;%0A // elegant:%0A // return _.flatten(_.map(obj, function(v) %7B%0A // return...
83fe3ee679848908516b28c9f8f9164afb4f6fd7
add template-options to schema-form directive, where the value is a JSON.parse()-able object that overrides computed templateOptions. The object takes the form { '<field name>': { '<template option>': optionValue, ... }, ... } This is useful for changing label/input classes, etc, without forcing them in the model.
client/form/schemaForm.js
client/form/schemaForm.js
angular .module('isa.form') .directive('schemaForm', schemaFormDirective); function schemaFormDirective() { return { template: '<formly-form model="model" fields="formlyFields" options="formlyOptions"></formly-form>', require: '^schema', scope: { model: '=', fields: '@', hideLabel: ...
JavaScript
0.000404
@@ -102,20 +102,24 @@ rective( +$log ) %7B%0A - return @@ -316,16 +316,44 @@ deLabel: + '@',%0A templateOptions: '@'%0A @@ -530,16 +530,581 @@ Names);%0A + if (attr.templateOptions) %7B%0A try %7B%0A var overrides = JSON.parse(attr.templateOptions);%0A _.each(overrides, fu...
78406ddbeb90a85c664827c0b990b4864db3617a
Fix and ungodly number of linter errors
client/map-scripts/map.js
client/map-scripts/map.js
navigator.geolocation.getCurrentPosition(function(position) { makeMap({lat: position.coords.latitude, lng: position.coords.longitude}); }, function(err) { console.error(err); }); var map; var marker; var destinationMarker; var makeMap = function(currentLatLngObj) { map = new google.maps.Map(document.getElementB...
JavaScript
0
@@ -42,16 +42,17 @@ function + (positio @@ -62,17 +62,30 @@ %7B%0A -makeMap(%7B +var mapToMake = %7B%0A lat: @@ -110,16 +110,20 @@ atitude, +%0A lng: po @@ -149,13 +149,35 @@ tude -%7D); +%0A %7D;%0A makeMap(mapToMake); %0A%7D, @@ -184,16 +184,17 @@ function + (err) %7B%0A @@ -219,16 +219,17 ...
5c541716df7d50dca393e90f4d280aea6551afce
Remove stray text that got into the js file.
article/static/article/js/article.js
article/static/article/js/article.js
$(function() { $(".lazyload").css("display", "initial"); $(".scrollToTop").hide(); $(".full-row .info a").on("click", function() { $("body").animate({ scrollTop: $(".article-title").offset().top }, 1000); $(".full-row .info").animate({ toggleClass: "hidden" }, 1000); }); $(document)....
JavaScript
0
@@ -342,10 +342,8 @@ () %7B -co %0A%09if
a1d9739f9c4c32b2bea09c2b878d1f8e5939bc53
remove "bad" e2e test.
client/spec/login_spec.js
client/spec/login_spec.js
var Login = require('./../node_modules/superdesk-core/spec/helpers/pages').login; var waitForSuperdesk = require('./../node_modules/superdesk-core/spec/helpers/utils').waitForSuperdesk; describe('login', () => { var modal; beforeEach(() => { browser.ignoreSynchronization = true; modal = new Lo...
JavaScript
0.000005
@@ -1572,24 +1572,106 @@ %7D);%0A%0A + /**%0A * @TODO fix the not displaying error modal just for travis%0A *%0A * it('unknown @@ -1695,32 +1695,35 @@ in', () =%3E %7B%0A + * modal.login @@ -1735,35 +1735,38 @@ ', 'bar');%0A +* + expect(modal.btn @@ -1792,24 +1792,27 @@ e...
7930ee4bcbc56a4b048263fdba84df4729eb2ef7
Return dispatch in the try block.
client/src/actions/app.js
client/src/actions/app.js
import {createAction} from 'redux-actions'; import axios from 'axios'; export const FETCH_APP_REQUEST = 'FETCH_APP_REQUEST'; export const FETCH_APP_SUCCESS = 'FETCH_APP_SUCCESS'; export const FETCH_APP_FAILURE = 'FETCH_APP_FAILURE'; export const RESET_STORE_AT_KEY = 'RESET_STORE_AT_KEY'; const fetchIndexRequest = cr...
JavaScript
0
@@ -555,72 +555,106 @@ %0A%0A -let response;%0A%0A try %7B%0A response = await axios.get('v1/index' +try %7B%0A const %7Bdata%7D = await axios.get('v1/index');%0A%0A return dispatch(fetchIndexSuccess(data) );%0A @@ -823,62 +823,8 @@ %0A %7D -%0A%0A return dispatch(fetchIndexSuccess(response.data)); %...
c142fe82557f82965f1a9884fb62c6854f1ecd25
Create homeId instance variable from route
client/views/home/home.js
client/views/home/home.js
Template.home.helpers({ 'residents': function () { // Get all residents for current home var homeId = this._id; return Residents.find({'homeId': homeId}); } });
JavaScript
0
@@ -46,16 +46,57 @@ on () %7B%0A + var instance = Template.instance();%0A%0A // G @@ -150,18 +150,26 @@ d = -this._i +instance.homeI d;%0A +%0A @@ -215,12 +215,167 @@ %7D);%0A %7D%0A%7D);%0A +%0ATemplate.home.created = function () %7B%0A var instance = this;%0A%0A // Set current Home ID from route...
4eaca8f11758b5ce65364cd39832a41bea8134d2
reset to latest on empty search
clientapp/views/layout.js
clientapp/views/layout.js
var HumanView = require('human-view'); var templates = require('templates'); module.exports = HumanView.extend({ template: templates.layout, events: { 'click .js-login': 'login', 'click .js-logout': 'logout', 'click .js-view-latest': 'landing', 'click .js-view-pathways': 'pathways', 'click .js-...
JavaScript
0
@@ -1677,38 +1677,8 @@ ) %7B%0A - console.log(evt.keyCode);%0A @@ -1707,44 +1707,8 @@ ) %7B%0A - console.log('it was enter!');%0A @@ -1749,24 +1749,51 @@ ut').val();%0A + if (search.trim())%0A window @@ -1860,24 +1860,78 @@ ()) + '/');%0A + else%0A window.app.router.nav...
8e49a54a031689934828dadbf414aa19f36c6e79
Use WeakMap for cache.
src/events.js
src/events.js
import './polyfills'; import { log } from './debug/logger'; import { TamiaError } from './util'; let handlersCache = {}; /** * Attach event handler. * * @param {HTMLElement} elem Element. * @param {string} eventName Event name. * @param {Function} handler Handler function. */ export function on(elem, eventName,...
JavaScript
0
@@ -99,26 +99,29 @@ let -handlersCache = %7B%7D +cache = new WeakMap() ;%0A%0A/ @@ -693,25 +693,17 @@ );%0A%09%7D;%0A%09 -handlersC +c ache%5Bhan @@ -1019,25 +1019,17 @@ ndler = -handlersC +c ache%5Bhan @@ -1101,17 +1101,9 @@ );%0A%09 -handlersC +c ache
74e2db26a3ad2334dbf91324d6fb0af7624bdb33
Fix double whitespace in name (fix only for console output.
src/format.js
src/format.js
'use strict'; const helpers = require('./helpers/helpers.js'); const Table = require('cli-table'); module.exports = format; const FORMATTERS = { 'dataForConsole': formatForConsole, 'updatesForConsole': formatUpdates, 'lastSeenTime': formatLastSeenTime, 'reportMusic': formatReportMusic, 'reportGe...
JavaScript
0
@@ -742,43 +742,22 @@ ame. -split +replace (' + ' -).map(s =%3E s.trim()).join( +, ' ')
9b6f377d55828ca7336eeb6b1918abd1ef158436
delete redundant code
src/global.js
src/global.js
/** * @fileOverview global config * @author huangtonger@aliyun.com */ const version = require('./version'); module.exports = { trackable: true, defaultNodeSize: 40, defaultGuideSize: 100, nodeStyle: { lineWidth: 1 }, guideStyle: { }, labelStyle: { fill: '#595959', textAlign: 'center', ...
JavaScript
0.001743
@@ -170,33 +170,8 @@ 40,%0A - defaultGuideSize: 100,%0A no @@ -207,29 +207,8 @@ %7D,%0A - guideStyle: %7B%0A %7D,%0A la
c76d5882f1e78a4df1727b96cdf430387d631a2f
Add comments to the helper functions
src/helper.js
src/helper.js
'use strict'; function isObject(param) { return Object.prototype.toString.call(param) === '[object Object]'; } function isArray(param) { return Object.prototype.toString.call(param) === '[object Array]'; } function keys(obj) { return Object.keys(obj); } function extend(obj) { if (!isObject(obj)) {...
JavaScript
0
@@ -8,16 +8,116 @@ rict';%0A%0A +/**%0A * Check if param is object%0A * @param %7Bany%7D param Parameter to check%0A * @return %7Bboolean%7D%0A */%0A function @@ -208,24 +208,123 @@ ect%5D'; %0A%7D%0A%0A +/**%0A * Check if param is array%0A * @param %7Bany%7D param Parameter to check%0A * @return %7Bboolean%7D%...
4474a073c539ed3e2a4c04f49580b45c37b3aca8
make debug output optional
src/index.es6
src/index.es6
'use strict' var Leaf = require('./leaf') var utils = require('./utils') class BPlusIndex { constructor (config={}) { this.bf = config.branchingFactor || 3 this.root = new Leaf() } dumpTree (leaf) { leaf = leaf || this.root var struct = { id: leaf.id, keys: leaf.keys, // valu...
JavaScript
0.00002
@@ -157,16 +157,55 @@ or %7C%7C 3%0A + this.debug = config.debug %7C%7C false%0A this @@ -527,34 +527,30 @@ (key) %7B%0A -var leaf = +return this._findL @@ -561,49 +561,8 @@ key) -%0A // console.log(leaf)%0A return leaf .get @@ -663,69 +663,8 @@ al)%0A - // console.log(JSON.stringify(this.du...
96ab8b820d7022a1d770549cefcb037e23d9bff6
Update demo app.js to use Window instead of Stage
src/js/app.js
src/js/app.js
/** * Welcome to Pebble.js! * * This is where you write your app. */ var UI = require('ui'); var Vector2 = require('vector2'); var wind = new UI.Card({ title: 'Pebble.js', icon: 'images/menu_icon.png', body: 'Saying Hello World' }); wind.show(); wind.on('click', 'up', function(e) { var menu = new UI.Men...
JavaScript
0
@@ -130,20 +130,20 @@ );%0A%0Avar -w +ma in -d = new U @@ -239,20 +239,20 @@ d'%0A%7D);%0A%0A -w +ma in -d .show(); @@ -249,28 +249,28 @@ in.show();%0A%0A -w +ma in -d .on('click', @@ -363,16 +363,20 @@ World!', +%0A subtitl @@ -429,16 +429,119 @@ %0A %7D%5D);%0A + menu.on('select', function(e) %7B%...
0d5cf5b22d5ffd3f12fba5a8a86cca78eecf5df4
Remove ES6 constructs
postal-react-mixin.js
postal-react-mixin.js
/** * Copyright 2015-2016, Ludwig Shcubert. * All rights reserved. * * @providesModule PostalReactMixin * @typechecks static-only */ 'use strict'; import Postal from 'postal'; const PostalReactMixin = { _defaultPostalChannel: 'PostalReactMixinChannel', /** * Exposed methods */ subscribe: function(...
JavaScript
0.000003
@@ -84,17 +84,17 @@ sModule -P +p ostalRea @@ -152,35 +152,37 @@ ';%0A%0A -import Postal from +var postal = require( 'postal' ;%0A%0Ac @@ -181,33 +181,26 @@ tal' +) ;%0A%0A -const PostalReactMixin +module.exports = %7B @@ -227,17 +227,17 @@ annel: ' -P +p ostalRea @@ -368,17 +368,17 @@ opic%5D = -P +p o...
c1558463914493141021fa814cea3f2d13c48f57
send feedback on button press
src/js/app.js
src/js/app.js
var UI = require('ui'); var ajax = require('ajax'); var Vibe = require('ui/vibe'); var Voice = require('ui/voice'); var main = new UI.Card({ title: 'Blobs', body: 'Press center to record a new note.', }); main.show(); main.on('click', 'select', function(e) { var card = new UI.Card({ title: 'New Note', ...
JavaScript
0
@@ -608,24 +608,46 @@ nction(e) %7B%0A + Vibe.vibrate();%0A var fe
39ee4d7117bc5f06661190773fb9ad080ac8f572
Check for new interactions before waiting for a timeout
src/js/app.js
src/js/app.js
console.log('app.js'); var App = Backbone.View.extend({ initialize: function() { _.bindAll(this); }, /** * If config and accounts are ready start init */ ready: function() { console.log('app ready'); if (config.ready && accounts.ready) { this.init(); } }, /** * Conf...
JavaScript
0
@@ -505,32 +505,64 @@ false));%0A %7D%0A + interactions.checkForNew();%0A %7D,%0A%0A%0A /**%0A
6023a4dce9083de5445a18caa1c6bd1c16c851ce
refresh stops after settings, real configuration page
src/js/app.js
src/js/app.js
var UI = require('ui'); var ajax = require('ajax'); var Vector2 = require('vector2'); var Accel = require('ui/accel'); var Vibe = require('ui/vibe'); var Settings = require('settings'); // Show splash screen while waiting for data var splashWindow = new UI.Window(); // Text element to inform user var text = new UI.Te...
JavaScript
0
@@ -850,16 +850,49 @@ %5B%5D' )%0A%0A +%0Afunction makeMenu(options)%7B%0A var menu @@ -931,16 +931,20 @@ op, i)%7B%0A + retu @@ -956,16 +956,20 @@ + + subtitle @@ -981,16 +981,20 @@ p.name,%0A + @@ -1037,16 +1037,20 @@ + + stop: st @@ -1066,16 +1066,20 @@ ...
028199561c62a6da719e7e6d317052fd78917c60
Use mousedown instead of click
Leaflet.Sleep.js
Leaflet.Sleep.js
L.Map.mergeOptions({ sleep: true, sleepTime: 750, wakeTime: 750, sleepNote: true, hoverToWake: true }); L.Map.Sleep = L.Handler.extend({ addHooks: function () { this.sleepNote = L.DomUtil.create('p', 'sleep-note', this._map._container); this._sleepMap(); this._enterTimeout = null; this._exi...
JavaScript
0.000001
@@ -1966,21 +1966,25 @@ p.once(' -click +mousedown ', this. @@ -2953,14 +2953,8 @@ down - click ', t
0de541d2e31153a80fe1d314c4e3679601a8b863
Add Links to more XML like tools.
presentation/index.js
presentation/index.js
// Import React import React from "react"; // Import Spectacle Core tags import { Appear, // BlockQuote, // Cite, CodePane, Deck, Fill, Heading, Image, Layout, // Link, ListItem, List, Markdown, // Quote, Slide, Spectacle, Text // Table, // TableRow, // TableHeaderItem, // Tab...
JavaScript
0
@@ -173,19 +173,16 @@ ayout,%0A - // Link,%0A @@ -3561,32 +3561,710 @@ %3C/Slide%3E%0A%0A + %3CSlide bgColor=%22tertiary%22%3E%0A %3CHeading size=%7B4%7D caps lineHeight=%7B1.5%7D textColor=%22primary%22%3E%0A Andere XML-%C3%84hnliche Spracherg%C3%A4nzungen%0A %3C...
377c7759cd0e073376b23fc9dc3c7c2e4fd151e9
Add click handler
priv/static/js/app.js
priv/static/js/app.js
$(function() { $("#clickable td").on("click", function() { console.log(this); }); $("#clickable td[data-coords='0,0']").html("<div class='circle white'></div>"); $("#clickable td[data-coords='0,1']").html("<div class='circle black'></div>"); $("#clickable td[data-coords='0,2']").html("<div class='circle ...
JavaScript
0.000001
@@ -8,16 +8,29 @@ ion() %7B%0A + var i = 0;%0A $(%22#cl @@ -75,24 +75,122 @@ -console.log(this +i++;%0A var color = (i %25 2 == 0) ? 'black' : 'white';%0A $(this).html(%22%3Cdiv class='circle %22 + color + %22'%3E%3C/div%3E%22 );%0A
69379d2336805d57ad6a820fb7becfd390e1585b
add 2px of vertical padding to features in layout
src/JBrowse/View/Layout2.js
src/JBrowse/View/Layout2.js
define( ['dojo/_base/declare'], function( declare ) { return declare( null, { constructor: function( args ) { this.pitchX = args.pitchX || 10; this.pitchY = args.pitchY || 10; this.bitmap = []; this.rectangles = {}; this.maxTop = 0; }, /** * @returns {Nu...
JavaScript
0
@@ -278,16 +278,56 @@ op = 0;%0A + this.vertPadding = 2; // pixels%0A %7D,%0A%0A @@ -796,21 +796,39 @@ ath. -floor +ceil ( +( height ++this.vertPadding) / t
e7b8a3143641c362dca94b358bacc9e900eaf30e
Improve logging for failed scotman log
collect-versions/index.js
collect-versions/index.js
var _ = require('underscore'), bower = require('bower'), childProcess = require('child_process'), fs = require('fs'), request = require('request'), util = require('util'), semver = require('semver'), yeoman = require('yeoman-generator'); var CollectVersions = module.exports = function Colle...
JavaScript
0.000001
@@ -1300,36 +1300,99 @@ r) %7B%0A throw + new Error('Failed to load scotsman url %22' + self.url + '%22 ' + err +) ;%0A %7D%0A%0A var
4c0fe9311d44e867a849bae082f71130553f1004
update TimeItems
src/_TimeItems/TimeItems.js
src/_TimeItems/TimeItems.js
/** * @file TimeItems component * @author sunday(sunday.wei@derbysoft.com) */ import React, {Component} from 'react'; import PropTypes from 'prop-types'; import Event from '../_vendors/Event'; export default class TimeItems extends Component { constructor(props, ...restArgs) { super(props, ...restAr...
JavaScript
0
@@ -240,24 +240,157 @@ omponent %7B%0A%0A + static propTypes = %7B%0A className: PropTypes.string,%0A style: PropTypes.object,%0A data: PropTypes.array%0A %7D;%0A%0A construc @@ -1688,16 +1688,17 @@ * 30, 0) +; %0A @@ -3611,120 +3611,4 @@ %7D%0A%7D -%0A%0ATimeItems.propTypes ...
0f4f791a32973f0f589c6b870a2fe7ab62f180b2
remove .only() test
src/__tests__/index.test.js
src/__tests__/index.test.js
import gitExecAndRestage from "../"; import TestEnvironment from "TestEnvironment"; import path from "path"; describe("git-exec-and-restage", () => { const env = new TestEnvironment(); beforeEach(() => env.setup()); afterEach(() => env.cleanup()); it("no command, no args and no files staged", async () => { ...
JavaScript
0.003284
@@ -1840,13 +1840,8 @@ it -.only (%22wi
9a9eaabf3316172770226a77ff7ba3c19a0b6a95
stop handling error:tile for infobox
lib/assets/core/javascripts/cartodb3/deep-insights-integration/map-integration.js
lib/assets/core/javascripts/cartodb3/deep-insights-integration/map-integration.js
var _ = require('underscore'); var checkAndBuildOpts = require('../helpers/required-opts'); var VisNotifications = require('../vis-notifications'); var AppNotifications = require('../app-notifications'); var REQUIRED_OPTS = [ 'diDashboardHelpers', 'editorModel', 'mapDefinitionModel', 'stateDefinitionModel', ...
JavaScript
0
@@ -144,64 +144,8 @@ s'); -%0Avar AppNotifications = require('../app-notifications'); %0A%0Ava @@ -1579,149 +1579,8 @@ is); -%0A this._vis.on('error:tile', function (error) %7B%0A error.type = 'unknown';%0A AppNotifications.addNotification(error);%0A %7D, this); %0A%0A
21fec19aef95c75c0963d31ba6a79a1b9f3fef38
Add tab-pane-item-view test
lib/assets/core/test/spec/cartodb3/components/tab-pane/tab-pane-item-view.spec.js
lib/assets/core/test/spec/cartodb3/components/tab-pane/tab-pane-item-view.spec.js
var _ = require('underscore'); var TabPaneItemView = require('../../../../../javascripts/cartodb3/components/tab-pane/tab-pane-item-view'); var Backbone = require('backbone'); var CoreView = require('backbone/core-view'); describe('components/tab-pane-item-view', function () { beforeEach(function () { this.model...
JavaScript
0.000001
@@ -1061,16 +1061,372 @@ %0A %7D);%0A%0A + it('should add the disabled class on the start if item is disabled', function () %7B%0A var view = new TabPaneItemView(%7B%0A model: new Backbone.Model(%7B%0A disabled: true,%0A createButtonView: function () %7B%0A return new CoreView();%0A ...
984aaa0156451edb3ab5b6da0115f01e110b898d
Put the most recent learner’s name on the notification
kolibri/plugins/coach/assets/src/modules/coachNotifications/getters.js
kolibri/plugins/coach/assets/src/modules/coachNotifications/getters.js
import groupBy from 'lodash/groupBy'; import get from 'lodash/get'; import find from 'lodash/find'; import maxBy from 'lodash/maxBy'; import { NotificationObjects } from '../../constants/notificationsConstants'; import { partitionCollectionByEvents, getCollectionsForAssignment } from './gettersUtils'; const { LESSON, ...
JavaScript
0
@@ -1,16 +1,54 @@ +import orderBy from 'lodash/orderBy';%0A import groupBy f @@ -3234,16 +3234,24 @@ = find( +orderBy( allEvent @@ -3257,43 +3257,110 @@ ts, -%7B user_id: partitioning.hasEvent%5B0%5D +'timestamp', %5B'desc'%5D), event =%3E %7B%0A return partitioning.hasEvent.includes(event.user_id);%0A ...
dee097081f6bd0ace74f60d53cc3c36379100d56
Remove unused args
lib/assets/javascripts/cartodb3/data/analysis-definition-node-model.js
lib/assets/javascripts/cartodb3/data/analysis-definition-node-model.js
var _ = require('underscore'); var $ = require('jquery'); var cdb = require('cartodb.js'); var camshaftReference = require('./camshaft-reference'); var nodeIds = require('./analysis-definition-node-ids.js'); /** * Base model for an analysis definition node. * May point to one or multiple nodes in turn (referenced by...
JavaScript
0.000011
@@ -394,19 +394,8 @@ on ( -attrs, opts ) %7B%0A
9b4bbd5e66899735afa4571e9788a166c7c9c673
requests query 1
src/main/resources/public/world/worldScript.js
src/main/resources/public/world/worldScript.js
var wwd = new WorldWind.WorldWindow("canvasOne"); wwd.addLayer(new WorldWind.BMNGOneImageLayer()); wwd.addLayer(new WorldWind.BingAerialLayer()); wwd.addLayer(new WorldWind.CompassLayer()); wwd.addLayer(new WorldWind.CoordinatesDisplayLayer(wwd)); wwd.addLayer(new WorldWind.ViewControlsLayer(wwd)); <!--ad...
JavaScript
0.999995
@@ -4012,24 +4012,94 @@ thString)%7B%0D%0A +%09pathString=pathString.replace('%5C%22', '');%0D%0A%09console.log(pathString);%0D%0A %09const path
9e89dc448c44b7f09639923cc20e31b1ac3ef06e
Add DEfault text for max failures of cmd healthchecks
plugins/services/src/js/service-configuration/ServiceHealthChecksConfigSection.js
plugins/services/src/js/service-configuration/ServiceHealthChecksConfigSection.js
import React from 'react'; import {Table} from 'reactjs-components'; import { getColumnClassNameFn, getColumnHeadingFn, getDisplayValue, renderMillisecondsFromSeconds } from '../utils/ServiceConfigDisplayUtil'; import ConfigurationMapEditAction from '../components/ConfigurationMapEditAction'; import ServiceCon...
JavaScript
0.000002
@@ -5763,32 +5763,83 @@ %7B%0A + className: getColumnClassNameFn(),%0A @@ -5951,41 +5951,98 @@ -className: getColumnClassNameFn() +render(prop, row) %7B%0A return getDisplayValue(row%5Bprop%5D);%0A %7D ,%0A
3790a3a44e082d75144914639a095122c43937a8
Add JSDoc comments
lib/node_modules/@stdlib/math/constants/float64-sqrt-half/lib/index.js
lib/node_modules/@stdlib/math/constants/float64-sqrt-half/lib/index.js
'use strict'; // sqrt(1/2) var SQRT_HALF = 7.07106781186547524400844362104849039284835937688474036588339868995366239231053519425193767163820786367506923115e-01; // EXPORTS // module.exports = SQRT_HALF;
JavaScript
0
@@ -13,19 +13,379 @@ ;%0A%0A/ -/ sqrt(1/2) +**%0A* Square root of %601/2%60.%0A*%0A* @module @stdlib/math/constants/float64-sqrt-half%0A* @type %7BNumber%7D%0A*%0A* @example%0A* var SQRT_HALF = require( '@stdlib/math/constants/float64-sqrt-half' );%0A* // returns 0.7071067811865476%0A*/%0A%0A%0A// CONSTANT //%0A%0A/**...
2c92996d599a52ec661787c117a9ff34c3674528
Remove references to BuilderRow
src/main/webapp/components/BuilderDataTable.js
src/main/webapp/components/BuilderDataTable.js
import * as React from 'react'; import {BuilderRow} from './BuilderRow'; const HEADERS = ['no', 'text', 'log']; export const BuilderDataTable = props => { return ( <table className='data-table'> <thead> <tr>{HEADERS.map(header => <th>{header}</th>)}</tr> </thead> <tbody> {props...
JavaScript
0
@@ -28,49 +28,8 @@ ct'; -%0Aimport %7BBuilderRow%7D from './BuilderRow'; %0A%0Aco
2c195c0b0400ee5ed0274283368e52c5c41c3a1c
Add password to the available service buttons if it's included
packages/accounts-password/password_client.js
packages/accounts-password/password_client.js
(function () { Accounts.createUser = function (options, callback) { options = _.clone(options); // we'll be modifying options if (!options.password) throw new Error("Must set options.password"); var verifier = Meteor._srp.generateVerifier(options.password); // strip old password, replacing with...
JavaScript
0
@@ -5388,12 +5388,69 @@ %7D; +%0A%0A Accounts._loginButtons.loginServices.push('password'); %0A%7D)();%0A -%0A
8974e27827c338182b627696bb4d497518351d06
use just the internal logging in drive()
src/plugin/component.plugin.testdrive-drive.js
src/plugin/component.plugin.testdrive-drive.js
/* ** ComponentJS -- Component System for JavaScript <http://componentjs.com> ** Copyright (c) 2009-2014 Ralf S. Engelschall <http://engelschall.com> ** ** This Source Code Form is subject to the terms of the Mozilla Public ** License (MPL), version 2.0. If a copy of the MPL was not distributed ** with this file, ...
JavaScript
0
@@ -3094,111 +3094,72 @@ -/* global console: true */%0A /* eslint no-console: 0 */%0A console.log(%22testdrive: ERROR: %22, +$cs.debug(1, %22drive: usecase %5C%22%22 + params.name + %22%5C%22 failed: %22 + e);
98e6020baf1e8d4904bb3c4a751e3cb030e80e34
Migrate core/interfaces/i_delete_area.js named requires
core/interfaces/i_delete_area.js
core/interfaces/i_delete_area.js
/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview The interface for a component that can delete a block or bubble * that is dropped on top of it. * @author kozbial@google.com (Monica Kozbial) */ 'use strict'; goog.module('Blockly.IDeleteArea'); goog.modul...
JavaScript
0
@@ -338,24 +338,43 @@ mespace();%0A%0A +const IDraggable = goog.require @@ -373,16 +373,20 @@ .require +Type ('Blockl @@ -396,19 +396,37 @@ Drag -Target');%0A%0A +gable');%0Aconst IDragTarget = goog @@ -425,36 +425,32 @@ t = goog.require -Type ('Blockly.IDragg @@ -444,29 +444,30 @@ lockly.IDrag -gable +Targe...
21353d529178558c176f48f305fd7290153132bf
Fix broken spec.
spec/google/lastresortwebkitfontwatchrunner_spec.js
spec/google/lastresortwebkitfontwatchrunner_spec.js
describe('LastResortWebKitFontWatchRunner', function () { var LastResortWebKitFontWatchRunner = webfont.LastResortWebKitFontWatchRunner, BrowserInfo = webfont.BrowserInfo, Size = webfont.Size, DomHelper = webfont.DomHelper, FontRuler = webfont.FontRuler, Font = webfont.Font, FontVa...
JavaScript
0
@@ -2672,22 +2672,16 @@ ith(font -Family );%0A %7D);
13e280911fdde2057364d97c87f303318dc3fd3e
Fix a few bugs in the bindableEnum decorator
src/decorators.js
src/decorators.js
/* -*- javascript -*- */ "use strict"; import {constants} from './constants'; import {bindable, customAttribute, customElement} from 'aurelia-framework'; export function uiElement( component ) { let customElementFn = customElement( `${constants.elementPrefix}${component}` ); let metadata = { component }; return f...
JavaScript
0.000002
@@ -1512,29 +1512,94 @@ ) %7B%0A%09%09%09%09 -if ( newValue +let cssClass = options.cssClass %7C%7C name;%0A%0A%09%09%09%09if ( newValue %7C%7C newValue === '' ) %7B%0A%09%09%09 @@ -1616,28 +1616,32 @@ CssClasses( -name +cssClass );%0A%09%09%09%09%7D el @@ -1668,28 +1668,32 @@ eCssClases( -name +cssClass );%...
c5a0da9b49010de2c61439d00b8756ac636353d6
fix DOM.format
src/dom/format.js
src/dom/format.js
import { DOM } from "../types"; var reVar = /\{([\w\-]+)\}/g; /** * Formats template using a variables map * @memberof DOM * @alias DOM.format * @param {String} tmpl template string * @param {Object} varMap key/value map of variables * @return {String} a resulting string * @example * DOM.format("foo ...
JavaScript
0.000406
@@ -738,16 +738,44 @@ (index); +%0A%0A x = String(x); %0A
0826095bff574578333c86a48d087b4d43ef1716
disable unicorn/no-fn-reference-in-iterator
plugins/unicorn.js
plugins/unicorn.js
'use strict'; module.exports = { plugins: ['unicorn'], rules: { // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/catch-error-name.md 'unicorn/catch-error-name': ['error', { name: 'err' }], // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/ex...
JavaScript
0.000015
@@ -2316,29 +2316,27 @@ iterator': ' -error +off ',%0A%0A // h
4d34c94edb493d1dc40f33171b97a54473f92c61
update the toggle.js work to add/remove the hidden selector
assets/javascripts/modules/toggle.js
assets/javascripts/modules/toggle.js
require('jquery'); /* Helper to enable elements to toggle other elements on the page specified by data attribute Attach event to parent as delegate, open close dependant on triggers id. Toggle markup example: <fieldset class="form-field-group visible-javascript-on js-aria-show js-toggle" id="uk-number" ...
JavaScript
0
@@ -1265,29 +1265,22 @@ class=%22 -toggle-target +hidden %22%3E%0A..... @@ -1868,13 +1868,28 @@ lem. -show( +removeClass('hidden' ).at @@ -2012,13 +2012,25 @@ lem. +addClass(' hid -e( +den' ).at
4819419156ae75e6d6dec4e19efa8058279c34b0
add comment
_tools/createDataFiles.js
_tools/createDataFiles.js
#!/usr/bin/env node /* Writes files for JSON representation of all individuals on tracks with a given individual */ var EventEmitter = require("events").EventEmitter; var argv = require("minimist")(process.argv.slice(2)); var fs = require("graceful-fs"); var logger = new EventEmitter(); if (! argv.q) { logger.on(...
JavaScript
0
@@ -1192,32 +1192,63 @@ rack_id;%0A %7D);%0A%0A + //TODO: get release info too%0A var tracksDeta
e618c72f49fa806ba4b79c2236ca25365069088f
use eventName when available for a gesture
addon/event_dispatcher.js
addon/event_dispatcher.js
import Ember from 'ember'; import defaultHammerEvents from './hammer-events'; import dasherizedToCamel from 'ember-allpurpose/string/dasherized-to-camel'; import jQuery from 'jquery'; import mobileDetection from './utils/is-mobile'; let ROOT_ELEMENT_CLASS = 'ember-application'; let ROOT_ELEMENT_SELECTOR = '.' + ROOT_E...
JavaScript
0.000001
@@ -1304,36 +1304,8 @@ izer - && !recognizer.ignoreEvents ) %7B%0A @@ -1351,16 +1351,40 @@ ognizer, + recognizer.eventName %7C%7C name);%0A
1bb6dc4432e6407244ae9a8171a4bbe917adfbe9
Fix list-form route create & apply filters predicate
addon/routes/list-form.js
addon/routes/list-form.js
/** @module ember-flexberry */ import Ember from 'ember'; import LimitedRouteMixin from '../mixins/limited-route'; import SortableRouteMixin from '../mixins/sortable-route'; import PaginatedRouteMixin from '../mixins/paginated-route'; import ProjectedModelFormRoute from '../routes/projected-model-form'; import Flexb...
JavaScript
0.000003
@@ -2168,24 +2168,77 @@ ojection');%0A + let filtersPredicate = this._filtersPredicate();%0A let limi @@ -4562,16 +4562,53 @@ filter,%0A + filters: filtersPredicate,%0A
09f8da67284f940d5c4cfa8fde27a99a9751aea6
Fix fertilizer
src/fertilizer.js
src/fertilizer.js
'use strict'; var MineralFertilizer = function (name, carbamid, no3, nh4) { var _name = name.toLowerCase() , _vo_Carbamid = carbamid || 0 // [kg (N) kg-1 (N)] , _vo_NO3 = no3 || 0 // [kg (N) kg-1 (N)] , _vo_NH4 = nh4 || 0 // [kg (N) kg-1 (N)] ; if (_name === 'ammonium nitrate'...
JavaScript
0.000256
@@ -1805,19 +1805,20 @@ nction ( -omp +name ) %7B%0A%0A t @@ -1832,10 +1832,26 @@ e = -%22%22 +name.toLowerCase() ;%0A @@ -1884,38 +1884,8 @@ nt = - omp.vo_AOM_DryMatterContent %7C 0.0 @@ -1916,32 +1916,8 @@ nt = - omp.vo_AOM_NH4Content %7C 0.0 @@ -1948,32 +1948,8 @@ nt = - omp.vo_AOM_NO3Content %7C 0....
e073a5bd9e06da67608332a74ea56f7b95078bf9
add comments
src/file-store.js
src/file-store.js
var fs = require( 'fs' ); var path = require( 'path' ); var mkdirp = require( 'mkdirp' ); var Promise = require( 'promise' ); module.exports = function ( filepath ) { filepath = path.resolve( filepath ); var fileObj = { read: function () { var data; var json; try { data = fs.readFil...
JavaScript
0
@@ -219,16 +219,171 @@ Obj = %7B%0A + /**%0A * Synchronously tries to read and parse JSON from the enclosed filepath.%0A * @returns %7BObject%7D - The JSON parsed from the file.%0A */%0A read @@ -770,24 +770,310 @@ on;%0A %7D,%0A%0A + /**%0A * Writes the given data to the enclosed fi...
c6be20438fa0856c21dedab975528d68a1bcb8fb
remove use strict
generators/app/templates/webpack.config.js
generators/app/templates/webpack.config.js
'use strict'; var path = require('path'); var webpack = require('webpack'); module.exports = { entry: { index: './js/index.js' }, output: { path: path.resolve(__dirname, 'build', 'js'), filename: '[hash].[name].bundle.js', chunkFilename: '[hash].[id].bundle.js', pub...
JavaScript
0.000007
@@ -1,19 +1,4 @@ -'use strict';%0A%0A var
9223205d329b182905c733a78addf91aed1383b9
Remove "smart" hex numbering. Improve world gen speed by removing console.log() calls.
src/game/world.js
src/game/world.js
var LandType = { GRASS: 'grass', SAND: 'sand', WATER: 'water' }; var World = { hexes: [], hexCount: 0, hexSize: { HEIGHT: 50, WIDTH: 65, SIDE: 35 }, idGenLetters: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T...
JavaScript
0
@@ -201,159 +201,8 @@ %7D,%0A%0A - idGenLetters: %5B'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'%5D,%0A%0A @@ -213,16 +213,16 @@ hPx: 0,%0A + heig @@ -942,127 +942,24 @@ his. -generateHexId(row, col), x, y);%0A ...
06e5c46c8df784ab8f6e7713ada68bbb011dbb68
Fix typo in option validation.
packages/babel-preset-typescript/src/index.js
packages/babel-preset-typescript/src/index.js
import { declare } from "@babel/helper-plugin-utils"; import transformTypeScript from "@babel/plugin-transform-typescript"; export default declare( (api, { jsxPragma, allExtensions = false, isTSX = false }) => { api.assertVersion(7); if (typeof allExtensions !== "boolean") { throw new Error(".allExten...
JavaScript
0.000001
@@ -418,37 +418,29 @@ new Error(%22. -allExtensions +isTSX must be a b
47eb0b5c6b55805b9cf3ef2932b9d315aa0c3129
Fix deprecation warning
kolibri/core/assets/test/progress-bar.spec.js
kolibri/core/assets/test/progress-bar.spec.js
/* eslint-env mocha */ import Vue from 'vue-test'; // eslint-disable-line import assert from 'assert'; import { shallow } from '@vue/test-utils'; import ProgressBar from '../src/views/progress-bar'; function testProgressBar(wrapper, expected) { const { text, width } = expected; assert.equal(wrapper.find('.progress...
JavaScript
0.000099
@@ -96,16 +96,47 @@ ssert';%0A +import %7B expect %7D from 'chai';%0A import %7B @@ -373,21 +373,21 @@ ext);%0A -asser +expec t(wrappe @@ -423,33 +423,44 @@ e'). -hasS +element.s tyle -(' +. width -', +).to.equal( width) -) ;%0A%7D%0A
e4cb9d860b561b6973400eaca210ea60ef38aa74
add sample service to about core services
src/client/modules/applets/about/modules/reactComponents/AboutCoreServices.js
src/client/modules/applets/about/modules/reactComponents/AboutCoreServices.js
define([ 'preact', 'htm', './AboutService/AboutServiceMain', 'bootstrap' ], ( preact, htm, AboutService ) => { const {h, Component} = preact; const html = htm.bind(h); const SERVICES = [ { title: 'Auth', type: 'rest', module: 'auth2'...
JavaScript
0
@@ -145,16 +145,17 @@ const %7B + h, Compo @@ -158,16 +158,17 @@ omponent + %7D = prea @@ -1028,32 +1028,221 @@ %7D,%0A %7B%0A + title: 'Samples',%0A module: 'SampleService',%0A type: 'jsonrpc11',%0A statusMethod: 'status',%0A versionKey: 'version...
6d6aedb6b6848e5727d51808f13c76740d9d3161
Use single quotes
configurations/default.js
configurations/default.js
module.exports = { "rules": { "accessor-pairs": 2, "array-bracket-spacing": [2, "never"], "block-scoped-var": 2, "block-spacing": [2, "always"], "brace-style": [2, "1tbs"], "camelcase": 2, "comma-dangle": [2, "never"], "comma-spacing": 2, "comma-style": [2, "last"], "computed-p...
JavaScript
0
@@ -2950,20 +2950,20 @@ %22: %5B2, %22 -doub +sing le%22%5D,%0A
d36623cf36fa742251ef1664527adeb05b46fbf6
Update Alert to respect v4 design
packages/components/components/alert/Alert.js
packages/components/components/alert/Alert.js
import React from 'react'; import PropTypes from 'prop-types'; import { LearnMore } from 'react-components'; const CLASSES = { info: 'mb1 block-info', standard: 'mb1 block-info-standard', warning: 'mb1 block-info-error', error: 'mb1 block-info-warning' }; const Alert = ({ type, children, learnMore, cl...
JavaScript
0
@@ -134,40 +134,8 @@ nfo: - 'mb1 block-info',%0A standard: 'mb @@ -187,21 +187,32 @@ ck-info- -error +standard-warning ',%0A e @@ -233,23 +233,30 @@ ck-info- -warning +standard-error '%0A%7D;%0A%0Aco
d5b12798fb613ae89a73764becd46932d8a400c7
Add token refresh method.
org.opent2t.sample.hub.superpopular/com.nest.hub/js/thingTranslator.js
org.opent2t.sample.hub.superpopular/com.nest.hub/js/thingTranslator.js
// This code uses ES2015 syntax that requires at least Node.js v4. // For Node.js ES2015 support details, reference http://node.green/ "use strict"; var OpenT2T = require('opent2t').OpenT2T; var Firebase = require("firebase"); /** * This translator class implements the "Hub" interface. */ class Translator { const...
JavaScript
0
@@ -1326,16 +1326,386 @@ %22off%22 */ +%0A%0A /**%0A * Refreshes the OAuth token for the hub by returning the existing access token. %0A * does not support refresh tokens, because Nest access tokens are effectively non-expiring (about 10 years)%0A * https://developers.nest.com/documentation/cloud/author...
2743ea84de99e02730149413674b928912a023d6
Changed angular 2 to angular
src/containers/home.js
src/containers/home.js
import React from 'react'; import { Link } from 'react-router'; import Card from '../components/card'; import Contact from '../components/contact'; function Home() { return ( <div className="container"> <p className="intro h3"> Hey there! I'm Renee Vrantsidis and I'm a JavaScript Developer in Toro...
JavaScript
0.99922
@@ -866,18 +866,16 @@ %3EAngular - 2 %3C/li%3E%0A
65cfe7d389c743d913051b2d95955f8de721772b
Fix eslint complaints
src/logger.js
src/logger.js
exports.log = (...args) => { if (!process.env.MIGSI_QUIET) { console.log(...args) } } exports.warn = (...args) => { if (!process.env.MIGSI_QUIET) { console.warn(...args) } } exports.error = (...args) => { if (!process.env.MIGSI_QUIET) { console.error(...args) } } exports.write = (...args) => ...
JavaScript
0.000004
@@ -373,18 +373,16 @@ ut.write - (...args
0583fb9758ff5bdbe904c59a91e50dda8b91bad1
Update logger.js
src/logger.js
src/logger.js
import bunyan from 'bunyan'; import chalk from 'chalk'; import moment from 'moment'; import nconf from 'nconf'; import R from 'ramda'; const production = (nconf.get('NODE_ENV') === 'production'); const config = {name: 'furbot'}; if (nconf.get('SHARDING') && nconf.get('SHARD_NUMBER')) config.shard_number = nconf.get('S...
JavaScript
0.000001
@@ -1816,45 +1816,66 @@ msg%7D + ++ %60));%0A -console.log(%60%5BERROR%5D: %25j%60, msg +var str = JSON.stringify(msg);%0A console.log(str );%0A%7D
6f293d806351782c7c63dd537592be6c9c4b6d44
Set level=error on uncaughExceptions logger.
src/logger.js
src/logger.js
'use strict'; const winston = require('winston'); const dailyRotateFile = require('winston-daily-rotate-file'); const logger = new winston.Logger({ transports: [ new (dailyRotateFile)({ name: 'exception-file-daily', handleExceptions: true, humanReadableUnhandledExcepti...
JavaScript
0
@@ -228,32 +228,60 @@ on-file-daily',%0A + level: 'error',%0A hand
673c74971eec8dc7f1ba040a54788f035d576a5a
Fix roleslug to have single double-quotes
app/scripts/controllers/main.js
app/scripts/controllers/main.js
'use strict'; /* * Controller for view Modal * * displays various instance information * depending on which view button the user * selects from the instance table * */ var ModalInstanceCtrl = function ($scope, $modalInstance, items) { $scope.items = items; $scope.selected = { item: $scope.items[0] ...
JavaScript
0
@@ -4480,14 +4480,8 @@ le': - '%22' + rol @@ -4489,14 +4489,8 @@ Slug - + '%22' %7D;%0A
da4f5e3f4e7ba0b832224df3fc48a377a1e83802
remove trailing whitespace
app/scripts/directives/clock.js
app/scripts/directives/clock.js
angular.module('fivefifteenApp.directives', []) .directive('clock', function ($timeout, Data) { return function (scope, element, attrs) { var timeoutId; // timeoutId, so that we can cancel the time updates if (!Data.initTime) { Data.initTime = new Date(); } var init = Data.initTi...
JavaScript
0.999996
@@ -1,8 +1,22 @@ +'use strict'%0A%0A angular. @@ -288,18 +288,16 @@ Date(); - %0A %7D
bd27ccdadb81e5170b7d1a137a1b9ca55cfc1e11
Revert "Choose random column as default"
app/scripts/models/ai-player.js
app/scripts/models/ai-player.js
'use strict'; var Grid = require('./grid'); var Player = require('./player'); var Chip = require('./chip'); // An AI player that can think for itself function AIPlayer(args) { Player.call(this, args); } AIPlayer.prototype = Object.create(Player.prototype); AIPlayer.prototype.type = 'ai'; // The duration to wait (in...
JavaScript
0
@@ -1066,38 +1066,41 @@ ge, -choose a%0A // column at random +default to the%0A // center column %0A i @@ -1177,57 +1177,9 @@ n = -Math.floor(Math.random() * game.grid.columnCount) +3 ;%0A
27929a554d1b2c94d84e130fc07f15108dad2eb4
Fix unhappy PhantomJS with fn.bind(fn)
src/identifier.js
src/identifier.js
import Node from './node'; import Arguments from './arguments'; import { isWriteableObservable, isObservable } from 'tko.observable'; export default function Identifier(parser, token, dereferences) { this.token = token; this.dereferences = dereferences; this.parser = parser; } /** * Return the value of ...
JavaScript
0.000002
@@ -2723,16 +2723,40 @@ && n %3E 0 + && last_value !== value ) %7B%0A
8738d271d2942a5c0c9f1ffe903a3c123d67366f
clean up
src/image-zoom.js
src/image-zoom.js
+function() { /** * The main service. */ function ImageZoomService() { this._scaleBase = 0.9 this._image = null this._overlay = null this._window = window this._document = document this._body = document.body } ImageZoomService.prototype.init = function() { // Add listener for...
JavaScript
0.000001
@@ -12,43 +12,8 @@ %7B%0A%0A - /**%0A * The main service.%0A */%0A fu @@ -36,24 +36,24 @@ Service() %7B%0A + this._sc @@ -259,44 +259,8 @@ ) %7B%0A - // Add listener for click event%0A @@ -329,31 +329,8 @@ is)) -%0A%0A // Create overlay %0A @@ -976,24 +976,49 @@ on(event) %7B%0A + ...
66e19baf548ae8ecc216bbc878d85d9d5766d3bf
Update default Docker image for 12.3.1
src/itk-js-cli.js
src/itk-js-cli.js
#!/usr/bin/env node const fs = require('fs-extra') const path = require('path') const spawnSync = require('child_process').spawnSync const program = require('commander') const build = (sourceDir) => { // Check that the source directory exists and chdir to it. if (!fs.existsSync(sourceDir)) { console.error('T...
JavaScript
0
@@ -1218,17 +1218,17 @@ 0041 -5-fb44ec4 +6-e17aafa '%0A
939119c08be866dfe76f39869821c902d996fe46
Drop likert scale #1 labels below anchors
public/js/settings.js
public/js/settings.js
/** * Settings configuration for jsPASAT */ var jsPASAT = { // Pace of PASAT trial presentation 'TIMING_STIM_DISPLAY': 1000, 'TIMING_POST_STIM': 3000, // Practice block stimuli 'PRACTICE_BLOCK_1_STIMULI': [9, 1, 3, 5, 2, 6], 'PRACTICE_BLOCK_2_STIMULI': [6, 4, 5, 7, 2, 8, 4, 5, 9, 3, 6, 9, 2, 7, 3, 8], ...
JavaScript
0
@@ -373,19 +373,20 @@ _1': %5B%221 - - +%3Cbr%3E None%22, %22 @@ -415,11 +415,12 @@ , %227 - - +%3Cbr%3E A Lo
ec7a3f08bcd0872baaacafb86ce717720dea26c5
Add support for shiftKey in key events
public/src/js/keys.js
public/src/js/keys.js
/* * debugger.io: An interactive web scripting sandbox * * keys.js: key-command handlers */ define(function(require) { 'use strict'; var $ = require('jquery'); var _ = require('underscore'); var bus = require('bus'); var config = require('config'); var utils = require('utils'); // ---...
JavaScript
0
@@ -628,18 +628,20 @@ .on('key -up +down ', funct @@ -822,16 +822,42 @@ + h.shift === e.shiftKey && h.key = @@ -1312,16 +1312,41 @@ back(e); +%0A%0A return false; %0A @@ -1864,16 +1864,23 @@ opts - %7B +%0A * ctrl: B @@ -1900,16 +1900,32 @@ Boolean, + shift: Boolean, key: St @@...
30e3359d1d0433544707ec3a50757cef3b2f5714
Split PaperScope#remove() into #clear() and #remove(), so scopes can be reused.
src/core/PaperScope.js
src/core/PaperScope.js
/* * Paper.js * * This file is part of Paper.js, a JavaScript Vector Graphics Library, * based on Scriptographer.org and designed to be largely API compatible. * http://paperjs.org/ * http://scriptographer.org/ * * Distributed under the MIT license. See LICENSE file for details. * * Copyright (c) 2011, Juerg ...
JavaScript
0
@@ -1262,22 +1262,21 @@ ;%0A%09%7D,%0A%0A%09 -remove +clear : functi @@ -1488,16 +1488,96 @@ );%0A%09%7D,%0A%0A +%09remove: function() %7B%0A%09%09this.clear();%0A%09%09delete PaperScope.scopes%5Bthis.id%5D;%0A%09%7D,%0A%0A %09statics
77b9276f9411186b203cc1e26f7d3be44bf272b1
Change all const to var.
spec/providers/coreIntegration/udpsocket.integration.src.js
spec/providers/coreIntegration/udpsocket.integration.src.js
module.exports = function(provider, setup) { var socket, serverDispatchEvent; const listenPort = 8082, sendPort = 8083; beforeEach(function () { setup(); serverDispatchEvent = jasmine.createSpy("dispatchEvent"); socket = new provider.provider(undefined, serverDispatchEvent); }); it("Connects, has...
JavaScript
0
@@ -75,21 +75,19 @@ vent;%0A -const +var listenP @@ -367,21 +367,19 @@ ) %7B%0A -const +var todo = @@ -441,21 +441,19 @@ )%7C.%0A -const +var markTas @@ -555,21 +555,19 @@ %7D%0A -const +var did = f @@ -916,21 +916,19 @@ ce.%0A -const +var callPoi @@ -1006,21 +1006,19 @@ %7D;%0A%0A ...
a78e6ffc5a1a31e293b62cc67a95e529a61fbf4a
fix missing tailing comma
src/js/helpers.js
src/js/helpers.js
import { CLASS_PICKED, NAMESPACE, } from './constants'; import { addClass, addLeadingZero, getDaysInMonth, isFinite, isFunction, isNumber, setData, tokenToType, } from './utilities'; export default { render(type) { if (!type) { this.format.tokens.forEach(token => this.render(tokenToType...
JavaScript
0.000453
@@ -2213,16 +2213,17 @@ value)) +, %0A
94f8dea8312b52b9c7c51e58d48f3a4f51390b89
fix incorrect quality url
src/js/options.js
src/js/options.js
/* global DPLAYER_VERSION */ import defaultApiBackend from './api.js'; export default (options) => { // default options const defaultOption = { container: options.element || document.getElementsByClassName('dplayer')[0], live: false, autoplay: false, theme: '#b7daff', l...
JavaScript
0.99844
@@ -1447,22 +1447,8 @@ rl = - %5B%0A opt @@ -1503,18 +1503,8 @@ .url -%0A %5D ;%0A
1cb25dda211a02ded7a34d9acc4cab47fcf8ff04
Fix proto lang handler to work minified and to use the type style for types like uint32.
src/lang-proto.js
src/lang-proto.js
// Copyright (C) 2006 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
JavaScript
0
@@ -929,16 +929,17 @@ +' keywords : (%0A @@ -934,16 +934,17 @@ keywords +' : (%0A @@ -956,46 +956,41 @@ ' -bool bytes - +, default - +, double - +, enum - +, extend - +, exte @@ -999,23 +999,15 @@ ions - +, false - fixed32 +, '%0A @@ -1023,66 +1023,40 @@ + ' -fixed64 float group...
8f9abea4199dcd09736fa5fbac46c239469338d2
fix lint
src/lang/index.js
src/lang/index.js
const savedLang = window.localStorage && window.localStorage.getItem('localization'); const lang = require(`./${savedLang || 'en-US'}.json`); export const langs = [ { value: 'en-US', translated: lang.language_en_us, native: 'English (US)', }, { value: 'bg-BG', translated: lang.language_bg, ...
JavaScript
0.000013
@@ -1928,16 +1928,17 @@ t',%0A %7D, + %7B%0A va
b4f75fd7a6f859affac61eaa97732543cc76a930
Add min:0 to templates of Bookshelf DBs. Issue #8436 (#9155)
packages/strapi-connector-bookshelf/lib/knex.js
packages/strapi-connector-bookshelf/lib/knex.js
'use strict'; /** * Module dependencies */ // Node.js core. const fs = require('fs'); const path = require('path'); // Public node modules. const _ = require('lodash'); /* eslint-disable prefer-template */ // Array of supported clients. const CLIENTS = [ 'pg', 'mysql', 'mysql2', 'sqlite3', 'mariasql', ...
JavaScript
0
@@ -2964,32 +2964,122 @@ debug', false),%0A + pool: %7B%0A min: _.get(connection.options.pool, 'min', 0),%0A %7D,%0A %7D,%0A
c48d70c30ada817865fc7f62d7d08b9bca2caae9
Add test for cancel option
src/domain/reservation/manage/action/__tests__/ManageReservationsDropdown.test.js
src/domain/reservation/manage/action/__tests__/ManageReservationsDropdown.test.js
import React from 'react'; import toJSON from 'enzyme-to-json'; import { UntranslatedManageReservationsDropdown as ManageReservationsDropdown } from '../ManageReservationsDropdown'; import { shallowWithIntl } from '../../../../../../app/utils/testUtils'; import reservation from '../../../../../common/data/fixtures/res...
JavaScript
0.000001
@@ -864,25 +864,17 @@ tion -, edit and cancel + and edit but @@ -1835,13 +1835,252 @@ );%0A %7D); +%0A%0A describe('when props.userCanCancel is true', () =%3E %7B%0A test('show cancel button', () =%3E %7B%0A const wrapper = getWrapper(%7B userCanCancel: true %7D);%0A%0A expect(findButtonByLabel(wrapp...
43412f088ab6ef1676eedc2b8770dde79f585f1e
update all examples to gatsby-plugin-mdx; remove old katex patch
packages/gatsby-plugin-mdx/utils/babel-plugin-html-attr-to-jsx-attr.js
packages/gatsby-plugin-mdx/utils/babel-plugin-html-attr-to-jsx-attr.js
const { camelCase } = require("change-case"); const toStyleObject = require("to-style").object; const t = require("@babel/types"); const generate = require("@babel/generator"); var TRANSLATIONS = { class: "className", for: "htmlFor", srcset: "srcSet" }; const valueFromType = value => { switch (typeof value) {...
JavaScript
0
@@ -127,54 +127,8 @@ s%22); -%0Aconst generate = require(%22@babel/generator%22); %0A%0Ava @@ -2012,478 +2012,8 @@ or); -%0A%0A if (%0A path.node.openingElement.name.name ===%0A %22annotation%22 /* && if gatsby-remark-katex is enabled*/%0A ) %7B%0A const genCode = path.node.c...
9c753f33b035810a14e73f298836f6caca91f50e
add includeXHRQueryString to config
src/lib/config.js
src/lib/config.js
var utils = require('./utils') var Subscription = require('../common/subscription') function Config () { this.config = {} this.defaults = { opbeatAgentName: 'opbeat-js', VERSION: '%%VERSION%%', apiHost: 'intake.opbeat.com', isInstalled: false, debug: false, logLevel: 'warn', orgId: null...
JavaScript
0
@@ -683,16 +683,53 @@ o: false +,%0A includeXHRQueryString: false, %0A %7D,%0A
9af73a5924d5483e40b885555f0f144ec619a91a
Make prettify work if goog for some reason exists but doesn't export provide.
prettify.js
prettify.js
// Copyright 2010 Steven Dee. 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 required by applicable...
JavaScript
0
@@ -621,16 +621,54 @@ goog != + 'undefined' && typeof goog.provide != 'undefi
b37604166a75fdddad18e0fa60a198b60df7d4a8
use env variable flag for refreshing models from apis
src/models.js
src/models.js
import mongoose from 'mongoose'; import timestamps from 'mongoose-timestamp'; import riotDataLoader from './utils/riotDataLoader'; import lolproDataLoader from './utils/lolproDataLoader'; const db = mongoose.connection; var models = {}; const uristring = process.env.MONGOLAB_URI || process.env.MONGOHQ_URL || 'mon...
JavaScript
0
@@ -2131,18 +2131,65 @@ ma);%0A%0A -// +if (process.env.REFRESH_MODELS === 'true') %7B%0A riotData @@ -2211,16 +2211,23 @@ pions(). +%0A then(lol @@ -2259,14 +2259,329 @@ ions -)%0A // +()).%0A then(lolproDataLoader.updateChampionGuides()).%0A then(() =%3E %7B%0A models.ChampionGuide....
c229f31e1936a8ab675e58b603d0cd69f917f078
check for log directory prior to adding rolling log appender
lib/controllers/AbstractApplicationFactory.js
lib/controllers/AbstractApplicationFactory.js
/** * @class AbstractApplicationFactory * * @author: darryl.west@roundpeg.com * @created: 8/10/14 4:12 PM */ var dash = require('lodash' ), CommonValidator = require( '../delegates/CommonValidator' ), MiddlewareDelegate = require( '../delegates/MiddlewareDelegate' ), bodyParser = require('body-parser' ...
JavaScript
0
@@ -1268,24 +1268,146 @@ r( opts );%0A%0A + // auto-config with rolling appender%0A if (opts.logDirectory && opts.fileNamePattern) %7B%0A @@ -1444,32 +1444,50 @@ pender( opts );%0A + %7D%0A %7D el
6c8e75c0fdd9ebb48b0e874abc89e0032cc762cd
Update namespace
lib/node_modules/@stdlib/ndarray/lib/index.js
lib/node_modules/@stdlib/ndarray/lib/index.js
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
JavaScript
0.000001
@@ -1850,32 +1850,238 @@ y/dtypes' ) );%0A%0A +/**%0A* @name scalar2ndarray%0A* @memberof ns%0A* @readonly%0A* @type %7BFunction%7D%0A* @see %7B@link module:@stdlib/ndarray/from-scalar%7D%0A*/%0AsetReadOnly( ns, 'scalar2ndarray', require( '@stdlib/ndarray/from-scalar' ) );%0A%0A /**%0A* @name ind2
bba1a1d0bd1bee6c213a22c51ddeafdc14955b6a
Use of _routerMicrolib.currentRouteInfos if available (#88)
addon/helpers/route-action.js
addon/helpers/route-action.js
import { A as emberArray } from '@ember/array'; import Helper from '@ember/component/helper'; import { get, computed } from '@ember/object'; import { getOwner } from '@ember/application'; import { run } from '@ember/runloop'; import { runInDebug, assert } from '@ember/debug'; import { ACTION } from '../-private/interna...
JavaScript
0
@@ -330,39 +330,32 @@ ction getCurrent -Handler Infos(router) %7B%0A @@ -427,38 +427,156 @@ urn -routerLib.currentHandlerInfos; +%7B%0A currentInfos: routerLib.currentRouteInfos %7C%7C routerLib.currentHandlerInfos,%0A mapBy: routerLib.currentRouteInfos && 'route' %7C%7C 'handler'%0A %7D %0A%7D%0A%0A @@ -61...
afa4decb6591e4292e0c979156c7fc4c4f866592
Fix JSCS
addon/mixins/offline-model.js
addon/mixins/offline-model.js
/** @module ember-flexberry-data */ import Ember from 'ember'; import DS from 'ember-data'; import AuditModelMixin from './audit-model'; /** Mixin for Ember models. Adds metadata properties that can be used to resolve synchronization conflicts. Creation and changing date and time of record will be filled with...
JavaScript
0.000223
@@ -2851,16 +2851,17 @@ %7D) +; %0A
c82058ad57dfdab0e8e2505b6f44d7e33398ffb2
add the word "safely" to clarify
src/ng/log.js
src/ng/log.js
'use strict'; /** * @ngdoc object * @name ng.$log * @requires $window * * @description * Simple service for logging. Default implementation writes the message * into the browser's console (if present). * * The main purpose of this service is to simplify debugging and troubleshooting. * * The default is not...
JavaScript
0.999463
@@ -140,16 +140,23 @@ ntation +safely writes t
7610e55781b541498407ee64bd45921ed29e3d98
Support no model
logology-v12/src/www/js/app/views/MenuView.js
logology-v12/src/www/js/app/views/MenuView.js
/* @flow */ "use strict"; import scrollContainer from "$WIDGETS/scrollContainer"; import View from "$LIB/View"; import glyph from "$WIDGETS/glyph"; import list from "$WIDGETS/list"; import listItem from "$WIDGETS/listItem"; import listItemContents from "$WIDGETS/listItemContents"; import listItemActions from "$WIDGETS...
JavaScript
0
@@ -1322,20 +1322,18 @@ -cons +le t model @@ -1401,16 +1401,66 @@ t model%0A + if (!model) %7Bmodel = %7Bdictionaries: %5B%5D%7D%7D;%0A @@ -2598,32 +2598,34 @@ avigate%0A +// GCS.emit(%22APP:DO
d019e3c39d84dcb9037ad804a2c87fddcbb5c972
Fix LiveQuery#willDestroy
addon/-private/live-query.js
addon/-private/live-query.js
import Ember from 'ember'; import ReadOnlyArrayProxy from './system/read-only-array-proxy'; const { get, set, computed, isArray } = Ember; export default ReadOnlyArrayProxy.extend({ _sourceCache: null, _query: null, _identityMap: null, _content: null, init(...args) { this._super(...args); this._sou...
JavaScript
0
@@ -436,16 +436,23 @@ Destroy( +...args ) %7B%0A
630089d54920bf6c6d40e3349ec1efe902ac213a
Remove useless import
addon/utils/truth-convert.js
addon/utils/truth-convert.js
import { isArray } from '@ember/array'; import { get } from '@ember/object'; export default function truthConvert(result) { const truthy = result && result.isTruthy; if (typeof truthy === 'boolean') { return truthy; } if (isArray(result)) { return result.length !== 0; } else { return !!result; ...
JavaScript
0.000004
@@ -36,45 +36,8 @@ ay'; -%0Aimport %7B get %7D from '@ember/object'; %0A%0Aex
aebebb66a674a86ff0a481848e8caf5cc2439f9b
Update store_shard_info_MOD.js (#627)
actions/store_shard_info_MOD.js
actions/store_shard_info_MOD.js
module.exports = { name: 'Store Shard Info', section: 'Bot Client Control', subtitle (data) { const info = ['Total Count of Servers (in All Shards)', 'Total Count of Members (in All Shards)', 'Shard\'s Ping (On The Current Server)', 'Shard\'s ID (On The Current Server)', 'Total Number of Servers (in Cur...
JavaScript
0
@@ -2163,11 +2163,8 @@ =%3E p -rev + g
40d591a2aa057a6ad8121aa0019282d81f1b00a0
fix win devtools and async ready Inspired in https://github.com/electron-react-boilerplate/electron-react-boilerplate/blob/cd786e4580e52cfd596dfb9d36be7e23f6ce88df/app/main.dev.js , fixes errors on win
src/main/index.js
src/main/index.js
import path from 'path'; import { app, Menu } from 'electron'; import { autoUpdater } from 'electron-updater'; import electronDebug from 'electron-debug'; import createWindow from './helpers/window'; import { migrateSettings } from './migrate-settings'; import tray from './tray'; import getMenu from './get-menu'; impor...
JavaScript
0.000001
@@ -312,80 +312,165 @@ u';%0A -import installExtension, %7B REACT_DEVELOPER_TOOLS, REDUX_DEVTOOLS %7D from +%0Aconst settings = require('electron-settings');%0Arequire('electron-dl')(%7BsaveAs: true%7D);%0A%0Aconst installExtensions = async () =%3E %7B%0A const installer = require( 'ele @@ -498,97 +498,242 @@ ler'...
9ee5e4c70e347492d248bcdb3588d2d7b97bd23a
Optional change encode and decode functions
angular-cookie.js
angular-cookie.js
/* * Copyright 2013 Ivan Pusic * Contributors: * Matjaz Lipus */ angular.module('ivpusic.cookie', ['ipCookie']); angular.module('ipCookie', ['ng']). factory('ipCookie', ['$document', function ($document) { 'use strict'; function tryDecodeURIComponent(value) { try { return deco...
JavaScript
0.999999
@@ -690,16 +690,131 @@ s %7C%7C %7B%7D; +%0A var dec = options.decode %7C%7C tryDecodeURIComponent;%0A var enc = options.encode %7C%7C encodeURIComponent; %0A%0A @@ -2113,31 +2113,16 @@ enc -odeURIComponent (key),%0A @@ -2152,31 +2152,16 @@ enc -odeURIComponent (value), @@ -2815,37 ...
9eb2b5de7e79ba2e255bb9f221b6107c34728176
Remove old fix
angular.hammer.js
angular.hammer.js
(function (window, angular, Hammer) { 'use strict'; // ---- Default Hammer Directive Definitions ---- var gestureTypes = [ 'hmPan:pan', 'hmPanstart:panstart', 'hmPanmove:panmove', 'hmPanend:panend', 'hmPancancel:pancancel', 'hmPanleft:panleft', 'hmPanright:panright', 'hmPanup:pan...
JavaScript
0
@@ -4830,54 +4830,8 @@ %0A %7D -%0A hammerCustomDirective.$inject = %5B'$parse'%5D; %0A%0A
ca3b12538c4e98a7368b6f39a69987ed9dc62d95
Extend default options to include parameters needed for the API
src/opbeat.js
src/opbeat.js
require('TraceKit') var exceptionist = require('./lib/exceptionist') var logger = require('./lib/logger') var defaultOptions = { apiHost: 'https://opbeat.com', logger: 'javascript', } function Opbeat () { this.VERSION = '0.0.1' this.isInstalled = false this.options = defaultOptions this.isPlatformSuppor...
JavaScript
0
@@ -180,16 +180,78 @@ cript',%0A + organizationId: 123,%0A appId: 123,%0A clientToken: 'kenneth'%0A %7D%0A%0Afunct
43336a550a01b76bafe7a302d5024db2c4f8bc7b
Fix rollup
packages/veritone-json-schemas/rollup.config.js
packages/veritone-json-schemas/rollup.config.js
import commonjs from 'rollup-plugin-commonjs'; import resolve from 'rollup-plugin-node-resolve'; import babel from 'rollup-plugin-babel'; import json from 'rollup-plugin-json'; import pkg from './package.json'; const extensions = [ '.js' ]; export default { input: './src/index.js', external: [], plugins: [ ...
JavaScript
0.000001
@@ -567,16 +567,38 @@ c/**/*'%5D +, runtimeHelpers: true %7D),%0A %5D
3d2dabb273f306a06dabd2a55944029467f35525
Update RenderNotification particle to skip standard template&model rendering (#3752)
particles/PipeApps/source/RenderNotification.js
particles/PipeApps/source/RenderNotification.js
/** * @license * Copyright (c) 2019 Google Inc. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * Code distributed by Google as part of this project is also * subject to an additional IP rights grant found at * http://polymer.github.io...
JavaScript
0
@@ -399,92 +399,31 @@ %0A%0A -return class extends UiParticle %7B%0A setHandles(handles) %7B%0A this.output(%7B%0A +const notification = %7B%0A @@ -444,36 +444,32 @@ ification',%0A - - title: %60Hello%60,%0A @@ -460,36 +460,32 @@ title: %60Hello%60,%0A - text: %60I'm a @@ -505,2...