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
6354ccd4dd9a7dda72affa665540ac6391314cf0
Add more emoji
cd/src/pipeline-events-handler/etc/execution-emoji.js
cd/src/pipeline-events-handler/etc/execution-emoji.js
// These should be easily identifiable and both visually and conceptually unique // Don't include symbols that could be misconstrued to have some actual meaning // (like a warning sign) const emojis = [ '๐ŸฆŠ', '๐Ÿธ', '๐Ÿฆ‰', '๐Ÿฆ„', '๐Ÿ™', '๐Ÿณ', '๐ŸŒต', '๐Ÿ€', '๐Ÿ', '๐Ÿ„', '๐ŸŒ', 'โญ๏ธ', '๐Ÿ”ฅ', '๐ŸŒˆ', '๏ฟฝ...
JavaScript
0.000034
@@ -239,16 +239,30 @@ %0A '%F0%9F%90%B3',%0A + '%F0%9F%90%9D',%0A '%F0%9F%A6%96',%0A '%F0%9F%8C%B5',%0A @@ -408,16 +408,23 @@ %0A '%F0%9F%8E%A7',%0A + '%F0%9F%91%91',%0A '%F0%9F%8E%BA',%0A @@ -467,16 +467,23 @@ '%E2%9B%BA%EF%B8%8F',%0A + '%F0%9F%8C%80',%0A '%F0%9F%93%BB',%0A @@ -523,16 +523,30 @@...
a1267749cbb5a69000e9415b84c22c1427cb5599
Fix value to 2 digit after comma
723e_web/app/scripts/views/transactions/YearView.js
723e_web/app/scripts/views/transactions/YearView.js
define([ 'jquery', 'underscore', 'backbone', 'mustache', 'moment', 'initView', 'ws', 'storage', 'chartjs', 'text!templates/transactions/dateSelectPage.mustache' ], function( $, _, Backbone, Mustache, moment, InitView, ws, storage, Chart, Da...
JavaScript
0.999996
@@ -3548,32 +3548,303 @@ %7D%0A%0A + // Round to 2 digit after comma%0A stats.global.sum = stats.global.sum.toFixed(2);%0A stats.global.debits = stats.global.debits.toFixed(2);%0A stats.global.credits = stats.global.credits.toFixe...
f92cba9a3c423e3cdf80a34385963a495a0acf1a
Arrange a code
beginning/Object/create/index.js
beginning/Object/create/index.js
#!/usr/bin/env node // // Object.create() // // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create // var assert = require('assert'); function Foo(val) { this.notProtoProp = val; } Foo.prototype.protoProp = 10; var foo = new Foo('a'); assert(foo.protoProp === 10); a...
JavaScript
0.999999
@@ -520,87 +520,220 @@ 0);%0A -assert(bar.__proto__ === Foo.prototype);%0A// %E3%81%93%E3%82%8C%E3%81%AF%E3%81%AA%E3%82%93%E3%81%A7%E3%81%A0%E3%82%8D%E3%81%86..?%0Aassert(bar.prototype ! +%0A%0A// %E3%82%AA%E3%83%9E%E3%82%B1: Foo %E3%81%A8%E5%90%8C%E3%81%98%E5%88%9D%E6%9C%9F%E5%8C%96%E3%82%92%E3%81%97%E3%81%9F%E3%81%9...
1cd2d4d07e475c8a622a8d9de03f0b75f2a6a65f
edit boot file
back/app.js
back/app.js
/** * APP * Your amazing app * http://www.app.app * * Copyright (c) 2014 Thanasis Polychronakis * Licensed under the MIT OSS */ /** * Module dependencies. */ var util = require('util'); var BPromise = require('bluebird'); var log = require('logg').getLogger('app.boot'); var globals = require('./core/globals...
JavaScript
0.000001
@@ -4,11 +4,20 @@ %0A * -APP +wearetech.io %0A * @@ -1178,16 +1178,46 @@ G) %7B%0A + // TODO figure out wtf%0A // logger.
f55d8434c21767dcdc1445381d233c00e2a24384
Update google signin
configure/GoogleAuth.js
configure/GoogleAuth.js
/** * Created by thanhqhc on 3/9/17. */ var passport = require('passport'); var GoogleStrategy = require('passport-google-oauth20').Strategy; passport.use(new GoogleStrategy({ clientID: GOOGLE_CLIENT_ID, clientSecret: GOOGLE_CLIENT_SECRET, callbackURL: "http://localhost:3000/auth/google/callb...
JavaScript
0
@@ -43,357 +43,856 @@ var -passport = require('passport') +auth = new GoogleAuth ;%0A +%0A var -GoogleStrategy = require('passport-google-oauth20').Strategy;%0A%0Apassport.use(new GoogleStrategy(%7B%0A clientID: GOOGLE_CLIENT_ID,%0A clientSecret: GOOGLE_CLIENT_SECRET,%0A callbackURL: %22http:/...
62a8f9564fd5a4728d8fa32dd9d8b897a55447b0
Fix problem causing console error
app/boot.js
app/boot.js
window.name = 'NG_DEFER_BOOTSTRAP!'; require.config({ waitSeconds: 120, baseUrl : '/app', paths: { 'authentication' : 'services/authentication', 'angular' : 'libs/angular-flex/angular-flex', 'ngRoute' : 'libs/angular-route/angular-route.min', 'ngSanitize...
JavaScript
0.000029
@@ -4220,24 +4220,76 @@ mchart3'%5D%7D,%0A + 'ammap-export' : %7B deps: %5B'ammap3'%5D%7D,%0A %7D,%0A%7D);%0A%0A
3f6b6b1db300809bef2540df1c6f05d53e2482af
Remove city 'Other' using removeIfExists
seeds/cities.js
seeds/cities.js
var util = require('../src/util/seeds'); exports.seed = function(knex, Promise) { return util.insertOrUpdate(knex, 'cities', { id: 1, name: 'Otaniemi', }) .then(() => util.insertOrUpdate(knex, 'cities', { id: 2, name: 'Tampere', })); }
JavaScript
0.998837
@@ -85,16 +85,103 @@ return + util.removeIfExists(knex, 'cities', %7B%0A id: 1,%0A name: 'Other',%0A %7D)%0A .then(() =%3E util.in @@ -211,33 +211,33 @@ ies', %7B%0A id: -1 +2 ,%0A name: 'Ota @@ -244,24 +244,25 @@ niemi',%0A %7D) +) %0A .then(() @@ -302,33 +302,33 @@ ies', %7B%0A id: -2 ...
c81c4fe3a5668daedf03abcbc144e2e644281a06
Update ColdHeartEfficiency.js
src/Parser/DeathKnight/Unholy/Modules/Items/ColdHeartEfficiency.js
src/Parser/DeathKnight/Unholy/Modules/Items/ColdHeartEfficiency.js
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import ITEMS from 'common/ITEMS'; import { formatPercentage } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Module...
JavaScript
0
@@ -945,16 +945,20 @@ rt+=1;%0A%09 + if(this. @@ -980,16 +980,22 @@ 20) %7B%0A%09 + this.buf @@ -1010,16 +1010,20 @@ rt=20;%0A%09 + %7D%0A %7D%0A @@ -1113,16 +1113,17 @@ ellId == += SPELLS. @@ -1183,19 +1183,16 @@ ;%0A %09 - if (thi @@ -1253,16 +1253,22 @@ d)) %7B%0A%09%09 + ...
272157dff36618c244269a274a80fdc0fa9a45d2
Fix bug in pam.js
auth/pam.js
auth/pam.js
// Dependencies var auth = require('../lib/auth'); var config = require('../lib/config'); var fs = require('../lib/fs'); var rfs = require('fs'); var _ = require('lodash'); var pam = require('authenticate-pam'); // Variables var users = {}; var groups = {}; // Parse and cache /etc/passwd rfs.readFile...
JavaScript
0.000001
@@ -1649,37 +1649,32 @@ chroot: config. -get(' auth.chroot') == @@ -1668,18 +1668,16 @@ h.chroot -') === '~' @@ -1711,13 +1711,8 @@ fig. -get(' auth @@ -1718,18 +1718,16 @@ h.chroot -') ,%0A
8f17a0d6c3047119e8ed99b5131aad364af421b5
Add opbeat config
config/configuration.js
config/configuration.js
/** * @file Defines the hydrater settings. */ // nodeEnv can either be "development" or "production" var nodeEnv = process.env.NODE_ENV || "development"; var defaultPort = 8000; // Number of instance to run simultaneously per cluster var defaultConcurrency = 1; if(nodeEnv === "production") { defaultPort = 80; }...
JavaScript
0.000001
@@ -567,12 +567,173 @@ EDIS_URL +,%0A%0A opbeat: %7B%0A organizationId: process.env.OPBEAT_ORGANIZATION_ID,%0A appId: process.env.OPBEAT_APP_ID,%0A secretToken: process.env.OPBEAT_SECRET_TOKEN%0A %7D %0A%7D;%0A
24c262442ce990e68ed6f7a8aa98a95fba83379b
Add optional custom log
packages/express/index.js
packages/express/index.js
const express = require('express'); module.exports = async init => { const app = express(); app.disable('x-powered-by'); await init(app, express); const port = process.env.PORT; if (!port) { throw new Error('missing port'); } app.listen(port, () => { console.log(`app listen on port ${port}`); ...
JavaScript
0
@@ -53,20 +53,55 @@ = async +( init +, %7B log: log = console.log %7D = %7B%7D) =%3E %7B%0A @@ -304,24 +304,16 @@ %3E %7B%0A -console. log(%60app
54ad5372e4a67a08ab683a068f8bf33de91a8a26
Remove stray callback
html5/controllers/todo.ctrl.js
html5/controllers/todo.ctrl.js
module.exports = TodoCtrl; var app = require('../app.html5'); var async = require('async'); function TodoCtrl($scope, $routeParams, $filter, Todo, $location, sync) { var todos = $scope.todos = []; $scope.newTodo = ''; $scope.editedTodo = null; // sync the initial data sync(onChange); // the location servic...
JavaScript
0.000001
@@ -2104,12 +2104,8 @@ ync( -diff );%0A
f47ab15e347186bb9d37e96804ceb587f72c54a7
allow to update client with empty ssn
imports/api/hmisApi/clientApi.js
imports/api/hmisApi/clientApi.js
import moment from 'moment'; import querystring from 'querystring'; import { removeEmpty } from '/imports/api/utils'; import { HmisApiRegistry } from './apiRegistry'; import { ApiEndpoint } from './apiEndpoint'; const BASE_URL = 'https://www.hmislynk.com/hmis-clientapi/rest'; const DEFAULT_PROJECT_SCHEMA = 'v2017'; e...
JavaScript
0
@@ -65,58 +65,8 @@ g';%0A -import %7B removeEmpty %7D from '/imports/api/utils';%0A impo @@ -1066,20 +1066,8 @@ nt: -removeEmpty( %7B%0A @@ -1843,17 +1843,16 @@ %0A %7D -) ,%0A %7D;
2be94fb107262c1606fb4c14bef721c240caf1c6
Fix bootstrapping for protractor and selenium
app/boot.js
app/boot.js
window.name = 'NG_DEFER_BOOTSTRAP!'; require.config({ waitSeconds: 120, baseUrl : '/app', paths: { 'authentication' : 'services/authentication', 'angular' : 'libs/angular-flex/angular-flex', 'ngRoute' : 'libs/angular-route/angular-route.min', 'ngSanitize...
JavaScript
0
@@ -4244,17 +4244,16 @@ // BOOT%0A -%0A require( @@ -4338,44 +4338,276 @@ doc) + %7B%0A -%0A ng.bootstrap(doc, %5B'kmApp'%5D); + //this is for spec tests with selenium as it starts angular first%0A // this tests if angualr has been bootstrapped and if it has it resumes%0A ng.bootstrap(doc, %5B'kmApp'%5D);%0A...
926e2bc7cffe4a81cfede2dd658c3f4fa78ed56e
fix config
config/configuration.js
config/configuration.js
/** * @file Defines the hydrater settings. */ // nodeEnv can either be "development" or "production" var nodeEnv = process.env.NODE_ENV || "development"; var defaultPort = 8000; // Number of instance to run simultaneously per cluster var defaultConcurrency = 1; if(nodeEnv === "production") { defaultPort = 80; }...
JavaScript
0.000006
@@ -486,12 +486,103 @@ currency +,%0A appName: process.env.APP_NAME %7C%7C %22markdown-hydrater%22,%0A redisURL: process.env.REDIS_URL %0A%7D;%0A
77ee486d078ceabefbc945d26ee565a14564e1c5
Clean up boot.js
app/boot.js
app/boot.js
"use strict"; var config = require("../config/config"), elasticsearch = require("elasticsearch"), fs = require("fs"), yaml = require('js-yaml'); var featured_path = "config/featured.yaml"; var featured = yaml.safeLoad(fs.readFileSync(featured_path)); module.exports = { es: new elasticsearch.Client({ ...
JavaScript
0.000002
@@ -156,115 +156,8 @@ );%0A%0A -var featured_path = %22config/featured.yaml%22;%0Avar featured = yaml.safeLoad(fs.readFileSync(featured_path));%0A%0A modu @@ -351,32 +351,8 @@ %7D) -,%0A%0A featured: featured%0A %0A%7D;%0A
41c9e019da86359a757fcf1ab0349379ba755381
Add onEnter check to dashboard route
imports/startup/client/routes.js
imports/startup/client/routes.js
import React from 'react'; import { render } from 'react-dom'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import { Meteor } from 'meteor/meteor'; import { App } from '../../ui/layouts/app'; import { Documents } from '../../ui/pages/documents'; import { Index } from '../../ui/pages/index'...
JavaScript
0
@@ -367,16 +367,66 @@ -found'; +%0Aimport %7B Bert %7D from 'meteor/themeteorchef:bert'; %0A%0A// Aut @@ -870,13 +870,8 @@ : '/ -login ',%0A @@ -937,16 +937,300 @@ %7D);%0A + if(nextState.location.pathname === %22/dashboard%22)%7B%0A Meteor.setTimeout(function()%7B%0A Bert.alert(%7B%0A ...
27005c3bf9a2e8170336229fff4a108b1526bd13
update server
example/server.js
example/server.js
'use strict'; var http = require('http'); var WebSocket = require('../lib/websocket'); const chalk = require('chalk') var socketPool = {}; var server = http.createServer(function(request, response) { console.log((new Date()) + ' Received request for ' + request.url); response.writeHead(404); response.end(); })...
JavaScript
0.000001
@@ -329,19 +329,17 @@ .listen( -300 +8 0, funct @@ -496,20 +496,16 @@ cket) %7B%0A - %0A %7D)%0A @@ -1082,16 +1082,23 @@ ool%5Bkey%5D +.socket === soc @@ -1227,16 +1227,17 @@ t: index + + ' has
e5091302eef0a49633378f6ef1c370a22a01e7dd
optimize DataStore
src/stores/DataStore.js
src/stores/DataStore.js
import { observable, computed, toJS } from 'mobx'; import { omit, isString, isNumber } from 'lodash'; import getAsk from 'utils/getAsk'; import showError from 'utils/showError'; import jsxToPlainObject from 'utils/jsxToPlainObject'; const caches = {}; let appConfig = {}; let authStore = {}; export default class Data...
JavaScript
0.000477
@@ -938,250 +938,8 @@ %09%7D%0A%0A -%09@computed get selection() %7B%0A%09%09const %7B selectedKeys, collection, _uniqueKey %7D = this;%0A%09%09if (!collection) %7B return %5B%5D; %7D%0A%09%09return this.collection.filter((item, index) =%3E%0A%09%09%09selectedKeys.includes(_uniqueKey ? item%5B_uniqueKey%5D : index)%0A...
3c18e97198bb642a0514bac5143894fcf599a59f
Make all cells viewable
public/js/main.js
public/js/main.js
/* eslint-env browser, jquery */ /* global io */ const api = (method, endpoint, params = {}) => { const url = `/api${endpoint}`; if (method === 'GET') { return fetch(`${url}?${$.param(params)}`, { method: 'GET', credentials: 'include', }).then(res => res.json()); } else if (method === 'POST'...
JavaScript
0.000018
@@ -2951,31 +2951,8 @@ slug - %7C%7C !language.available ) %7B%0A
58c51a54adc171de13a6a8d0dbbb301425cb8b70
split long string
public/js/main.js
public/js/main.js
$(document).ready(function(){ item = 0 $.getJSON("/list", function(data) { items = data $('#pair').removeAttr("disabled") $('#rand').removeAttr("disabled") $('.button_start').removeAttr("disabled") }) // checkbox menu $('#checkbox_menu_button_go').on('click', function () { ...
JavaScript
0.999999
@@ -3572,16 +3572,22 @@ ck_img%22%3E +%5C%0A %3Cimg src @@ -3640,13 +3640,20 @@ + '%22 + %3E%3C/p%3E + %5C%0A %3Cp @@ -3695,24 +3695,30 @@ nglish+'%3C/p%3E + %5C%0A %3Cp class=%22w @@ -3755,17 +3755,26 @@ + '%3C/p%3E -%3C +%5C%0A %3C!-- p class= @@ -3827,16 +3827,19 @@ n + '%3C/p + -- %3E')...
f3651fbe2ab406197bc878c16357f78c9ec9138a
Check for path_translate and script_Filename
lib/requestHandler.js
lib/requestHandler.js
include('Jst.js'); include('session.js'); /** * Concatenates the values of a variable into an easily readable string * by Matt Hackett [scriptnode.com] * @param {Object} x The variable to debug * @param {Number} max The maximum number of recursions allowed (keep low, around 5 for HTML elements to prevent errors) [...
JavaScript
0.000003
@@ -3469,20 +3469,58 @@ ry %7B%0A%09%09%09 -if ( +var script = system.env.PATH_TRANSLATE %7C%7C system.e @@ -3537,16 +3537,31 @@ FILENAME +;%0A%09%09%09if (script .match(/ @@ -3609,33 +3609,13 @@ ts(s -ystem.env.SCRIPT_FILENAME +cript );%0A%09 @@ -3734,33 +3734,13 @@ de(s -ystem.env.SCRIPT_FILENAME +cript );%0...
692aa1ca5d46206e7e8e360412b545f593e4d355
Fix websocket URL from localhost to the real one
web/client/scripts/controllers/LoginCtrl.js
web/client/scripts/controllers/LoginCtrl.js
'use strict'; angular.module('app').controller('LoginCtrl', function($scope, $uibModal, mafenSession, alertify, PATHS) { 'ngInject'; $scope.mafenSession = mafenSession; $scope.user = {}; $scope.login = function() { $scope.mafenSession.reset(); $scope.mafenSession.connect('ws://127.0.0.1:8000'); ...
JavaScript
0.00003
@@ -295,17 +295,18 @@ s:// -127.0.0.1 +mafen.club :800
f0a00f82522a991973dcd3f784162a8cba213f31
remove title tag, as alt is what we want
public/js/main.js
public/js/main.js
/* global fetch, localStorage */ const form = document.getElementById('form') const region = document.getElementById('region') const summonerName = document.getElementById('summonerName') const result = document.getElementById('result') const savedName = localStorage.getItem('summonerName') if (savedName) summonerName...
JavaScript
0
@@ -2224,102 +2224,8 @@ '%7D%22%0A - title=%22$%7Bchampion.name%7D chest granted: $%7Bchampion.chestGranted ? 'Yes' : 'No'%7D%22%0A
9a1de834165cf5c41922c49db54547328919ba63
fix updater ?
app/main.js
app/main.js
const isDev = require('electron-is-dev'); const {autoUpdater} = require("electron-updater"); const log = require('electron-log'); autoUpdater.logger = log; autoUpdater.logger.transports.file.level = 'info'; log.info('App starting...'); const electron = require('electron'); const app = electron.app; const ipc = electr...
JavaScript
0
@@ -841,71 +841,8 @@ %3E %7B%0A - if (!isDev) %7B%0A autoUpdater.checkForUpdates();%0A %7D%0A @@ -923,16 +923,79 @@ 00,800); +%0A if (!isDev) %7B%0A autoUpdater.checkForUpdates();%0A %7D %0A%0A%7D);%0A%0Ai
e68b13c44366f066f7d175a30faa658dcb4e64d1
remove unused import
src/playbacks/html5_audio/html5_audio.js
src/playbacks/html5_audio/html5_audio.js
// Copyright 2014 Globo.com Player authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. import Playback from 'base/playback' import Events from 'base/events' import find from 'lodash.find' import HTML5Video from 'playbacks/html5_video' e...
JavaScript
0.000006
@@ -167,45 +167,8 @@ e.%0A%0A -import Playback from 'base/playback'%0A impo
c972e32e75904bc830ffb978694583b82bea0eb1
fix for CharField rdata
lib/resourcerecord.js
lib/resourcerecord.js
/* Copyright 2011 Timothy J Fontaine <tjfontaine@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 in the Software without restriction, including without limitation the rights to use, copy, modify, merge...
JavaScript
0
@@ -1799,24 +1799,206 @@ nction () %7B%0A + /* XXX%0A * this presumes that the accessor takes care of packing%0A * could have interesting side effects if you're trying to%0A * reuse full packets%0A */%0A if (!this.rdata) %7B%0A this.rdata @@ -2037,16 +2037,20 @@ ields);%0A + %7D%0A var re
faf30c9b3843610993a1400cdf6a3fa3111dd05e
Fix address not showing
src/frontend/components/survey-renderers/BSDPhonebankRSVPSurvey.js
src/frontend/components/survey-renderers/BSDPhonebankRSVPSurvey.js
import React from 'react'; import Relay from 'react-relay' import BSDSurvey from './BSDSurvey' import {BernieColors, BernieText} from '../styles/bernie-css' import {GoogleMapLoader, GoogleMap, Marker} from 'react-google-maps'; import {FlatButton, Paper} from 'material-ui'; import moment from 'moment'; class BSDPhoneba...
JavaScript
0.000001
@@ -3055,17 +3055,22 @@ : event. -a +venueA ddr1,%0A
cff4aa66a50c1db8058a00aa7734e35393c6cc2b
call the api to push updates when user clicks something
web/static/js/components/coder_estimates.js
web/static/js/components/coder_estimates.js
import React from "react" import CoderEstimateHidden from "./coder_estimate_hidden" import CoderEstimateCompleted from "./coder_estimate_completed" import CoderEstimatePending from "./coder_estimate_pending" let CoderEstimates = React.createClass({ propTypes: { ticketId: React.PropTypes.string }, get...
JavaScript
0
@@ -452,414 +452,38 @@ ount -: function() %7B%0A let url = %60/api/tickets/$%7Bthis.props.ticketId%7D%60%0A%0A $.ajax(%7B%0A url: url,%0A dataType: 'json',%0A success: (response) =%3E %7B%0A var data = response.data%0A console.log('ajax response', response.data);%0A this.setSt...
8491fc0ca81867e9567047b510a358a08165bd62
use hash for filename saved
scripts/deepdream.js
scripts/deepdream.js
// var imgur = require('imgur') var client = require('../lib/client.js') // imgur.setClientId(process.env.IMGUR_ID); // console.log(imgur.getClientId()) // var path = require('path') // // A single image // // imgur.uploadFile('../lib/assets/doge.jpg') // // .then(function (json) { // // console.log(json.data.li...
JavaScript
0.000001
@@ -1509,16 +1509,22 @@ rl, dest +, hash ) %7B%0A re @@ -1620,16 +1620,59 @@ , dest)%0A + .rename(hash+'_'+url.split('/').pop())%0A .run @@ -1985,19 +1985,16 @@ to user%0A -// var doge @@ -2028,19 +2028,16 @@ essage)%0A -// download @@ -2066,21 +2066,38 @@ /assets' -)%0A// +, message.message_id)%0A ...
22314e5faf492de45b827ae4d3bae40659e26285
Fix feed parser bug when parsing an episode item without an enclosures[0].url
src/tasks/feedParser.js
src/tasks/feedParser.js
const FeedParser = require('feedparser'), request = require('request'), {locator} = require('locator.js'), errors = require('feathers-errors'); function parseFeed (feedURL) { return new Promise ((res, rej) => { const feedParser = new FeedParser([]), req = request(feedURL); req.on...
JavaScript
0.000001
@@ -1996,24 +1996,131 @@ e, ep) =%3E %7B%0A +%0A if (!ep.enclosures %7C%7C !ep.enclosures%5B0%5D %7C%7C !ep.enclosures%5B0%5D.url) %7B%0A return promise%0A %7D%0A%0A return @@ -2393,379 +2393,8 @@ t.id -,%0A imageURL: ep.image.url,%0A title: ep.title,%0A summar...
4e9bb42db5492dc50d9b832057dee1ac0cebaf8d
Fix typo
resources/assets/js/mixins/printme.js
resources/assets/js/mixins/printme.js
import { Hub } from '../lib.js' export default { data () { return { printme: false } }, methods: { afterprint () { window.onafterprint = null $(window).off('mousemove', this.afterprint) this.$calendar && this.$calendar.remove() this.printme = false $('#app').show()...
JavaScript
0.999999
@@ -343,30 +343,8 @@ ) %7B%0A - const self = this%0A
24d0c3e7822165e860132d5bcdc1e9c2ed9d9a2e
Fix trailing slashes output app-wide
initializers/trailing-history.js
initializers/trailing-history.js
/*global Ember */ var trailingHistory = Ember.HistoryLocation.extend({ setURL: function (path) { var state = this.getState(); path = this.formatURL(path); path = path.replace(/\/?$/, '/'); if (state && state.path !== path) { this.pushState(path); } } }); va...
JavaScript
0
@@ -73,10 +73,13 @@ -se +forma tURL @@ -90,20 +90,16 @@ nction ( -path ) %7B%0A @@ -106,204 +106,71 @@ -var state = this.getState();%0A path = this.formatURL(path);%0A path = path.replace(/%5C/?$/, '/');%0A%0A if (state && state.path !== path) %7B%0A this.pushState(pat...
b49af39fe41bd4dd972076e703ac739cb2d16bea
Add scan time to doc title in scan js
public/js/scan.js
public/js/scan.js
var scan_timer = 0; var scan_counter = 0; function addTime(time) { scan_timer += parseFloat(time); scan_counter++; $(".time_debug").html("<div>Duration: "+scan_timer.toFixed(2)+"s</div>"); $(".time_debug").append("<div>Average: "+(scan_timer/scan_counter).toFixed(2)+"s</div>"); } function checkStatus...
JavaScript
0
@@ -35,16 +35,31 @@ ter = 0; +%0Avar doc_title; %0A%0Afuncti @@ -133,16 +133,75 @@ nter++;%0A + document.title = scan_timer.toFixed(2)+%22s %22+doc_title;%0A $(%22. @@ -1185,24 +1185,56 @@ unction() %7B%0A + doc_title = document.title;%0A if (!$(%22
548aff14542cc7e5e39d3d7ac2b36353f39b986a
Update example
examples/index.js
examples/index.js
'use strict'; var MAX_SAFE_INTEGER = require( './../lib' ); var max = Math.pow( 2, 55 ), len = 100, val, i; for ( i = 0; i < len; i++ ) { val = Math.round( Math.random() * max ); if ( val > MAX_SAFE_INTEGER ) { console.log( 'Unsafe: %d', val ); } else { console.log( 'Safe: %d', val ); } }
JavaScript
0.000001
@@ -8,16 +8,88 @@ rict';%0A%0A +var round = require( 'math-round' );%0Avar pow = require( 'math-power' );%0A var MAX_ @@ -138,52 +138,44 @@ max - = Math.pow( 2, 55 ),%0A%09len = 100,%0A%09val,%0A%09i;%0A +;%0Avar x;%0Avar i;%0A%0Amax = pow( 2, 55 ); %0Afor @@ -192,11 +192,11 @@ i %3C -len +100 ; i+ @@ -206,19 +...
92350aa75f4550c443e6f1858cbc96a0b10e4e00
Remove unneeded code. (#274)
components/frontend/src/fields/MultipleChoiceInput.js
components/frontend/src/fields/MultipleChoiceInput.js
import React, { Component } from 'react'; import { Form } from 'semantic-ui-react'; class MultipleChoiceInput extends Component { constructor(props) { super(props); this.state = { value: props.value, options: this.options() } } componentDidUpdate(prevProps) { if (prevProps.values !== this.props.value...
JavaScript
0.000047
@@ -630,97 +630,8 @@ %7D);%0A - this.props.value.forEach((val) =%3E %7Boptions.add(%7Bkey: val, text: val, value: val%7D)%7D);%0A
1fe85f37fdc3fe7f7bec90c3553cbd3227ec3c70
Correct AddressTile and ChatInviteDialog styling, and performance tweak to searching
src/components/views/dialogs/ChatInviteDialog.js
src/components/views/dialogs/ChatInviteDialog.js
/* Copyright 2015, 2016 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
JavaScript
0
@@ -2771,31 +2771,239 @@ var -queryList = this._userL +list;%0A // Use the already filtered list if it has been filtered%0A if (query.length %3E 1) %7B%0A list = this.state.queryList;%0A %7D else %7B%0A list = this._userList;%0A %7D%0A var queryList = l ist. @...
227ea5756de986cdc7253dbf8bbe2d118cf8aae9
Change ncc taskr function name (#6471)
packages/next/taskfile.js
packages/next/taskfile.js
const notifier = require('node-notifier') const relative = require('path').relative const babelOpts = { presets: [ ['@babel/preset-env', { modules: 'commonjs', 'targets': { 'browsers': ['IE 11'] } }] ], plugins: [ ['@babel/plugin-transform-runtime', { corejs: 2, ...
JavaScript
0.000001
@@ -389,24 +389,62 @@ %7D%5D%0A %5D%0A%7D%0A%0A +// eslint-disable-next-line camelcase%0A export async @@ -456,16 +456,17 @@ tion ncc +_ unistore @@ -716,16 +716,17 @@ el(%5B'ncc +_ unistore
d8adfda022c3795706737771bfccd6a97f004c7c
remove duplicated default params
src/rough/object/RoughSpriteGenerator.js
src/rough/object/RoughSpriteGenerator.js
class RoughSpriteGenerator { constructor(game) { this.game = game; } getRectangle(bmd, width, height, config, x = 0, y = 0) { let rc = rough.canvas(bmd.canvas); rc.rectangle(x, y, width, height, config); } getCircle(bmd, center, radius, config) { let rc = rough.canvas(bmd.canvas)...
JavaScript
0.000001
@@ -1683,247 +1683,8 @@ );%0D%0A - const defaultConfig = %7B%0D%0A fill: 'orange',%0D%0A stroke: 'black',%0D%0A hachureAngle: 60,%0D%0A hachureGap: 10,%0D%0A fillWeight: 5,%0D%0A strokeWidth: 5%0D%0A %7D;%0D%0A const configs = Object.assign(%7B%7D, defaultConfig, config);%0D%0A ...
02422c5036034ccee0d042eaee32e5b4728899a2
update base diffractionplan with all new fields
client/js/modules/imaging/models/plan.js
client/js/modules/imaging/models/plan.js
define(['backbone'], function(Backbone) { return Backbone.Model.extend({ idAttribute: 'DIFFRACTIONPLANID', urlRoot: '/sample/plan', validation: { COMMENTS: { required: true, pattern: 'wwsdash', }, EXPERIMENTKIND: { ...
JavaScript
0
@@ -672,35 +672,36 @@ required: -tru +fals e,%0A @@ -790,35 +790,36 @@ required: -tru +fals e,%0A @@ -898,35 +898,36 @@ required: -tru +fals e,%0A @@ -1006,35 +1006,36 @@ required: -tru +fals e,%0A @@ -1115,35 +1115,36 @@ req...
a904f9543d2161a8306157af35c362c38d590fe6
Add function openPage() to add functionality to tabs.
portfolio/src/main/webapp/script.js
portfolio/src/main/webapp/script.js
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
JavaScript
0
@@ -581,17 +581,729 @@ icense.%0A + %0Afunction openPage(pageName, elmnt, color) %7B%0A // Hide all elements with class=%22tabcontent%22 by default */%0A var i, tabcontent, tablinks;%0A tabcontent = document.getElementsByClassName(%22tabcontent%22);%0A for (i = 0; i %3C tabcontent.length; i++) %7B%0A tabcontent...
af35cb2656d4b8e8621c0d246a5a75ab02cf96bc
convert max_results to a number from the form before sending to server
client/components/QueryForm.js
client/components/QueryForm.js
"use strict"; var React = require('react'); var moment = require('moment'); var cleanupURLs = require('../../common/cleanupURLs'); var DeleteButton = React.createFactory(require('./DeleteButton')); /* interface QueryFormProps{ query: MyWIQuery oracles: MyWIOracle[] deleteQuery: (q: MyWIQuery) => void }...
JavaScript
0.000001
@@ -3386,32 +3386,172 @@ break;%0A + case 'number':%0A value = Number(el.value);%0A break;%0A
1a94110f83797461340bf46c20638afb653be1bf
Remove StyledFlexContainer import
src/containers/profile/components/ProfileForm.js
src/containers/profile/components/ProfileForm.js
import React, { PropTypes } from 'react'; import { FormGroup, FormControl, ControlLabel } from 'react-bootstrap'; import StyledFlexContainer from '../../../components/flex/StyledFlexContainer'; import styles from '../styles.module.css'; // TODO: Set label on left side // TODO: Style Form const getFormItems = (content,...
JavaScript
0
@@ -111,88 +111,8 @@ p';%0A -import StyledFlexContainer from '../../../components/flex/StyledFlexContainer';%0A impo
4cd81ce798304d0b8dbefb395367e9be13fa47ac
update msg
server-pairs.js
server-pairs.js
/* * Launcher file for nodeGame server with conf. */ var ServerNode = require('nodegame-server').ServerNode; var options = { confDir: './conf', // logDir: './log', // not working at the moment servernode: function (servernode) { // TODO: check if the verbosity property here correctly affects the...
JavaScript
0.000001
@@ -897,16 +897,20 @@ './games +_new /pairs/s
fa833524093c4b305e9b37cac97901b4ab71f046
add test for Parser.postParse()
src/test/parser-test.js
src/test/parser-test.js
/* eslint-disable import/no-unresolved, spaced-comment, no-unused-expressions */ import { expect } from 'chai'; import { describe, it } from 'mocha'; import Parser from '../libs/parser'; describe('Parser', () => { describe('#parseStatus', () => { it('returns the unmodified command if command is falsy', ()...
JavaScript
0
@@ -2114,14 +2114,432 @@ %0A %7D); +%0A%0A describe('#postParse', () =%3E %7B%0A it('should replace placeholders with their original value', () =%3E %7B%0A const parsed = '/reply a1 %5C'This is a &bquot;Test&bquot; reply with %22Quotes%22 and an &bequals; char.%5C'';%0A const postPar...
f6a41116ece20362ff6614a51b7b4e7094d185ce
Set this.userId by default in publication
lib/server/publish.js
lib/server/publish.js
import userService from '../services/user' import comment from '../services/comment' /** * Return user ids by the given comment. * * @param {Object} comment * * @returns {Array} */ function getUserIdsByComment(comment) { var ids = [] ids.push(comment.userId) if (comment.replies) { _.each(comment.repl...
JavaScript
0
@@ -1421,34 +1421,43 @@ %0A let userId = -'' +this.userId %0A%0A try %7B%0A us @@ -1507,35 +1507,62 @@ id)%0A +%0A +if (! userId -= this. +&& anonUserData._id) %7B%0A userId -%7C%7C += ano @@ -1567,32 +1567,38 @@ nonUserData._id%0A + %7D%0A %7D catch(e) %7B%7D%0A
c268d91b4e85df9c25869a852e3de9390638abcb
Access new nick attribute in user object
client/js/socket-events/msg.js
client/js/socket-events/msg.js
"use strict"; const $ = require("jquery"); const socket = require("../socket"); const render = require("../render"); const utils = require("../utils"); const options = require("../options"); const helpers_roundBadgeNumber = require("../libs/handlebars/roundBadgeNumber"); const cleanIrcMessage = require("../libs/handle...
JavaScript
0
@@ -2486,24 +2486,29 @@ ata.msg.from +.nick );%0A%09%09%09if (fi @@ -2578,16 +2578,21 @@ msg.from +.nick );%0A%09%09%09%7D%0A @@ -3341,16 +3341,21 @@ msg.from +.nick + %22 inv @@ -3417,16 +3417,21 @@ msg.from +.nick ;%0A%09%09%09%09%09i
36fc32fe8b1589c1009999252ae45564dae2ff2d
Clean up code
client/src/components/Profile/Profile.js
client/src/components/Profile/Profile.js
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Container, Grid } from 'semantic-ui-react'; import { push } from 'react-router-redux'; import ProfileDashboard from './ProfileDashboard'; import Inbox from './Inbox/Inbox'; import ProfileSettings from './profileSettings'; import P...
JavaScript
0.000004
@@ -685,75 +685,8 @@ s);%0A - // this.componentDidMount = this.componentDidMount.bind(this);%0A
e9de3d6da5e3cfc03b6d5e39fe92ede9c110d712
Revert "style(webpack_config/server): rewrite prod conf in functional style"
webpack_config/server/webpack.prod.babel.js
webpack_config/server/webpack.prod.babel.js
import webpack from 'webpack' import baseWebpackConfig from './webpack.base' import UglifyJSPlugin from 'uglifyjs-webpack-plugin' import {BundleAnalyzerPlugin} from 'webpack-bundle-analyzer' import {Plugin as ShakePlugin} from 'webpack-common-shake' import OptimizeJsPlugin from 'optimize-js-plugin' const analyzePlugin...
JavaScript
0
@@ -298,120 +298,8 @@ n'%0A%0A -const analyzePlugins = process.env.ANALYZE_BUNDLE%0A%09? %5Bnew BundleAnalyzerPlugin(%7BanalyzerMode: 'static'%7D)%5D%0A%09: %5B%5D%0A cons @@ -791,30 +791,152 @@ %0A%09%7D) -,%0A%09...a +%0A%5D%0A%0A// Do you want to use bundle analyzer?%0Aif (process.env.ANALYZE_BUNDLE) %7B%0A%09plu...
48f6834b5de3f0f0169b1a855bd60136d51b5764
update project
auto.js
auto.js
// var cron = require('node-cron'); const git = require('simple-git'); const firebase = require('firebase') const config = require('./config') // const path = __dirname + '/iotos'; // git(path).then etc.. firebase.initializeApp(config); var ref = firebase.database().ref().child("servers") ref.on('value', function (...
JavaScript
0
@@ -326,35 +326,46 @@ %7B%0A%09 -if (data.val(config.device) +console.log(data)%0A%09if (data.val().rpi1 == @@ -728,17 +728,16 @@ ting app - ...');%0A%09
6e115b7623ca8992cffe1d45a9a31630ff2a266e
Use sub-destructible to create sender.
factory/socket.js
factory/socket.js
var Conduit = require('conduit') var Destructible = require('destructible') var cadence = require('cadence') var util = require('util') var Signal = require('signal') var stream = require('stream') var Staccato = require('staccato') var http = require('http') var Downgrader = require('downgrader') var delta = require('...
JavaScript
0.000001
@@ -1416,24 +1416,115 @@ le(through)%0A + var destructible = initializer.destructible(%5B 'sender', message.argv, message.count %5D)%0A var cook @@ -2866,16 +2866,89 @@ n(null, +destructible.monitor('conduit'))%0A destructible.completed.wait( async())
de57d8ca1e5fe596a559ae79cb1757d94dc373e9
Fix testcode
src/parser/core/modules/items/bfa/crafted/DarkmoonDeckBlockades.js
src/parser/core/modules/items/bfa/crafted/DarkmoonDeckBlockades.js
import React from 'react'; import ITEMS from 'common/ITEMS'; import Analyzer from 'parser/core/Analyzer'; import { calculatePrimaryStat } from 'common/stats'; import ExpandableStatisticBox from 'interface/others/ExpandableStatisticBox'; import ItemIcon from 'common/ItemIcon'; import STATISTIC_CATEGORY from 'interface/...
JavaScript
0.003677
@@ -3037,51 +3037,8 @@ 1%5D;%0A - console.log(lastOccurrenceOfThisCard);%0A
8bcad0c360284ffd1eba71d9af1ee1a6b31c35ae
Sanitize IDs on Windows
bake.js
bake.js
var fs = require('fs'); var path = require('path'); var props = require('props'); var dive = require('dive'); var ejs = require('ejs'); var async = require('async'); var clone = require('clone'); var append = require('append'); // Main function var bake = function(conf, hooks, cb) { // File counter var todo = 0; ...
JavaScript
0.999208
@@ -3894,32 +3894,34 @@ == 'undefined') + %7B %0A @@ -3964,16 +3964,91 @@ ir, ''); +%0A prop._id = prop._id.replace(/%5C/, '/');%0A %7D %0A%0A
69664eb7d582ec2a1315d5ddad7fe8200ee9ab1f
Move ajax csrf setup into hq.helpers.js
corehq/apps/hqwebapp/static/hqwebapp/js/hq.helpers.js
corehq/apps/hqwebapp/static/hqwebapp/js/hq.helpers.js
hqDefine("hqwebapp/js/hq.helpers", ['jquery', 'knockout', 'underscore'], function($, ko, _) { var clearAnnouncement = function (announcementID) { $.ajax({ url: '/announcements/clear/' + announcementID }); }; $('.page-level-alert').on('closed', function () { var announcem...
JavaScript
0.000001
@@ -5070,16 +5070,20 @@ %7D%0A %7D, +%0A%7D); %0A%0A //
5f0b9239d560b5fb3ef93f15780a40a4722c0a7f
add optional code to constructor
base.js
base.js
var util = require('util'); module.exports = function (name, defaultMessage, status) { util.inherits(Constructor, Error); return Constructor; function Constructor (message) { Error.call(this); Error.captureStackTrace(this, arguments.callee); this.name = name; this.message = message || defaultM...
JavaScript
0.000001
@@ -174,16 +174,22 @@ (message +, code ) %7B%0A @@ -353,15 +353,61 @@ status;%0A + if (code !== undefined) this.code = code;%0A %7D%0A%0A%7D;
37cf17eeb8853241001ea63aca172a847b99c7e3
Make link to Github source code more prominant (#1210)
www/src/templates/template-docs-packages.js
www/src/templates/template-docs-packages.js
import React from "react" import { rhythm, scale } from "../utils/typography" import presets from "../utils/presets" import Container from "../components/container" const DocsTemplate = React.createClass({ render() { const packageName = this.props.data.markdownRemark.fields.title return ( <Container> ...
JavaScript
0
@@ -326,10 +326,31 @@ %3C -a%0A +strong%3E%0A %3Ca%0A @@ -434,32 +434,34 @@ me%7D%60%7D%0A + css=%7B%7B%0A @@ -457,36 +457,8 @@ %7B%0A - ...scale(-1 / 5),%0A @@ -489,32 +489,34 @@ ute%60,%0A + %7D%7D%0A %3E%0A @@ -510,16 +510,18 @@ ...
5e9b9677c20a0b80566599d5cb967f1a5df3e932
add sequelize.sync to server start
server/index.js
server/index.js
import express from 'express'; import bodyParser from 'body-parser'; import logger from 'morgan'; import passport from 'passport'; import group from './routes/group'; // Get the content of the ./auth/passport file import './auth/passport'; const app = express(); // Middlewares app.use(logger('dev')); app.use(passport....
JavaScript
0
@@ -160,16 +160,48 @@ group';%0A +import models from './models';%0A%0A // Get t @@ -1311,21 +1311,71 @@ %7C 8000;%0A -const +let server = %7B%7D;%0Amodels.sequelize.sync().then(() =%3E %7B%0A server @@ -1403,16 +1403,18 @@ =%3E %7B%0A + + console. @@ -1447,21 +1447,28 @@ ort%7D%60);%0A + %7D);%0A %7D);...
13e827be4ba1384431e62014393d3d74862207ad
remove `Percentile 95` column
lib/ui/profiler-ui.js
lib/ui/profiler-ui.js
var _ = require('lodash'); var prettyMs = require('pretty-ms'); var Table = require('cli-table'); module.exports = { printTechTable: function (printData) { var printTable = new Table({ head: ['Tech', 'Number of calls', 'Time spend (%)', 'Percentile 95'] }); _.map(printData, fun...
JavaScript
0.000001
@@ -257,25 +257,8 @@ (%25)' -, 'Percentile 95' %5D%0A @@ -458,57 +458,8 @@ cent -,%0A prettyMs(techInfo.percentile95) %0A
39b1d6f49ac4436fa32974e10c033649996b9aec
resolve lint error
lib/validators/kml.js
lib/validators/kml.js
var gdal = require('gdal'); module.exports = function (infile) { var ds_kml = ''; var lyr_cnt = ''; function layername_count(ds) { var lyr_name_cnt = {}; ds.layers.forEach(function(lyr) { var lyr_name = lyr.name; if (lyr_name in lyr_name_cnt) { lyr_name_cnt[lyr_name]++; } else...
JavaScript
0.000003
@@ -371,17 +371,16 @@ %7D);%0A %7D -; %0A%0A try
83afe27ec2f3c5532a8821d630f9f96a8f5f45ad
Fix test intermittent
src/test/unit/profile-conversion.test.js
src/test/unit/profile-conversion.test.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/. */ // @flow import { unserializeProfileOfArbitraryFormat } from '../../profile-logic/process-profile'; import { CURRE...
JavaScript
0.000001
@@ -1423,16 +1423,28 @@ ior.%0A + const spy = jest%0A @@ -2097,16 +2097,398 @@ pshot(); +%0A%0A // This is really odd behavior, but this spy was showing up in stack traces in%0A // an intermittent test failure. Adding this manually mock restore made the error%0A // go away. Generally spies should be r...
09757bcd9f341a6934c3b8cb8e56a22c7c35df35
Update Pointwise.js
CNN/Conv/Pointwise.js
CNN/Conv/Pointwise.js
export { PassThrough, AllZeros, ValueBounds } from "./Pointwise/Pointwise_PassThrough.js"; export { Base } from "./Pointwise/Pointwise_Base.js";
JavaScript
0
@@ -23,17 +23,72 @@ AllZeros -, + %7D from %22./Pointwise/Pointwise_PassThrough.js%22;%0Aexport %7B ValueBo @@ -118,35 +118,35 @@ e/Pointwise_ -PassThrough +ValueBounds .js%22;%0Aexport
0d8221abca2a3c429cc5d3208370a4067bd18526
Update node.js
node_modules/mquery/test/collection/node.js
node_modules/mquery/test/collection/node.js
var assert = require('assert') var slice = require('sliced') var mongo = require('mongodb') var utils = require('../../').utils; var uri = process.env.MQUERY_URI || 'mongodb://localhost/mquery'; var db; exports.getCollection = function (cb) { mongo.Db.connect(uri, function (err, db_) { assert.ifError(err); ...
JavaScript
0.000005
@@ -122,16 +122,83 @@ ).utils; +%0Avar client = require('redis').createClient(process.env.REDIS_URL); %0A%0Avar ur
4d06ec4b715845cb986e9d166849bdbef910b9b0
use strict AND remove ValidationUtils
balances.js
balances.js
var db = require('./db'); var ValidationUtils = require("./validation_utils.js"); function readBalance(wallet, handleBalance){ var walletIsAddress = ValidationUtils.isValidAddress(wallet); var join_my_addresses = walletIsAddress ? "" : "JOIN my_addresses USING(address)"; var where_condition = walletIsAddress ? "add...
JavaScript
0
@@ -1,49 +1,47 @@ -var db = require('./db');%0Avar ValidationUtils +/*jslint node: true */%0A%22use strict%22;%0Avar db = r @@ -51,31 +51,14 @@ ire( -%22./validation_utils.js%22 +'./db' );%0A%0A @@ -124,16 +124,71 @@ ddress = + typeof wallet === 'string' && wallet.length === 32; // Validat @@ -214,17 +214,8 @@ ...
489def4403955165dd0efefca6b83d0a8f94e4e8
Fix app modal test
src/test/units/AppModalComponent.test.js
src/test/units/AppModalComponent.test.js
import {expect} from "chai"; import {shallow} from "enzyme"; import React from "react/addons"; import AppModalComponent from "../../js/components/modals/AppModalComponent"; describe("App Modal", function () { describe("default mode", function () { before(function () { this.component = shallow(<AppModalC...
JavaScript
0.000001
@@ -798,16 +798,26 @@ al(%22 -+ Create + Application %22);%0A
454caf4d2d7a138957f9f741d56b2b7c4cba6a9b
Make AppHeader more usable in mobile by shortening it
components/AppHeader.js
components/AppHeader.js
import React from 'react'; import { connect } from 'react-redux'; import Link from 'next/link'; import { showDialog, logout, } from '../redux/auth'; export default connect(({auth}) => ({ user: auth.get('user'), }), { showDialog, logout, })( function AppHeader({ user, showDialog, logout, }) { return (...
JavaScript
0
@@ -1050,23 +1050,138 @@ -margin: 0 16px; +display: none;%0A margin: 0 16px;%0A @media screen and (min-width: 1024px) %7B%0A display: block;%0A %7D %0A
cebd203204ec1bf474c350333c369656ca93fd79
add about button to plugin
saiku-ui/js/saiku/views/AboutModal.js
saiku-ui/js/saiku/views/AboutModal.js
/* * Copyright 2012 OSBI Ltd * * 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 a...
JavaScript
0
@@ -1694,75 +1694,38 @@ ef=%22 -http://sites.fastspring.com/meteoriteconsulting/product/saikusilver +www.meteorite.bi/saiku-pricing %22 ta
3dca90fc60f64a6e92c3616b8e34faa4155284cc
Improve the check for array instance
src/universal/apivis.js
src/universal/apivis.js
import { name as LIB_NAME, version as LIB_VERSION } from '../../package.json'; const { toString } = Object.prototype; function _isBasicObject(val) { return typeof val === 'object' && val !== null && val.__proto__ === undefined; } function _argsStr(count, name = 'arg') { let names = []; for (let ...
JavaScript
0.000016
@@ -3977,16 +3977,41 @@ Array(v) + && v !== Array.prototype ) %7B%0A
09cafc4c81b5453eab52b45578689b15648ccdd0
update throng
server/index.js
server/index.js
import './env'; import os from 'os'; import config from 'config'; import express from 'express'; import throng from 'throng'; import expressLib from './lib/express'; import logger from './lib/logger'; import routes from './routes'; async function start(i) { const expressApp = express(); await expressLib(expres...
JavaScript
0.000001
@@ -229,16 +229,67 @@ utes';%0A%0A +const workers = process.env.WEB_CONCURRENCY %7C%7C 1;%0A%0A async fu @@ -1032,111 +1032,80 @@ env) -) %7B%0A const workers = process.env.WEB_CONCURRENCY %7C%7C 1;%0A throng(%7B workers, lifetime: Infinity %7D, start + && workers && workers %3E 1) %7B%0A throng(%7B worker: start...
b0bcc3b12bc97ec041b510f429c16b0f6605979e
Fix setLastResponse out of a command
src/util/CommandUtil.js
src/util/CommandUtil.js
/** * Extra properties applied to the Discord.js message object. * @typedef {Object} Message * @prop {?CommandUtil} util - Utilities for command responding. * Available on all messages after 'all' inhibitors and built-in inhibitors (bot, client, notSelf). * Not all properties of the util are available, depending o...
JavaScript
0.000017
@@ -1894,24 +1894,59 @@ (message) %7B%0A + if (message.command) %7B%0A if ( @@ -2013,16 +2013,26 @@ return; +%0A %7D %0A%0A
82c2dfc427ad48ccd2672ff2ab5495a6527d7eb8
Add top-level error handling
server/index.js
server/index.js
var app = require('express')(), env = app.get('env'), bodyParser = require('body-parser'), mongoose = require('mongoose'), logger = require('morgan'), getConfigurationValue = require('./config').getValueForEnvironment // TODO: Connect to database here mongoose.connect(getConfigurationValue('/databa...
JavaScript
0.000006
@@ -539,16 +539,394 @@ tes'))%0A%0A +// Error middleware%0Aapp.use(function(err, req, res, next)%7B%0A%09// Handles not found errors from all routes%0A%09// Maybe this should be used only on API calls and views should serve a 404 page%0A%09if(err.status !== 404)%0A%09%09return next()%0A%09res.status(404).json(err)%0A%...
ccdaab7c54fdb0da4057eeaa2648f8fa2feb7199
Fix cover image url
components/Html/Html.js
components/Html/Html.js
/** * React Static Boilerplate * https://github.com/koistya/react-static-boilerplate * Copyright (c) Konstantin Tarkus (@koistya) | MIT license */ import React, { PropTypes } from 'react'; import GoogleAnalytics from '../GoogleAnalytics'; import config from '../../config'; function Html({ title, description, body...
JavaScript
0.000548
@@ -1527,32 +1527,54 @@ image%22 content=%22 +https://www.craftz.dog /cover.jpg%22 /%3E%0A%0A
d7eda5f2b069c0faaf36f4155c90507c04dc03d4
check resource folders exist during build
dev/webpack.config.js
dev/webpack.config.js
const path = require('path'), copyPlugin = require('copy-webpack-plugin'), glob = require('glob'), del = require('del'); module.exports = env => { // Set up let project; const projectPath = `./projects/${env.fdk_project || 'project'}`; try { project = require(projectPath); } catch (ex) { console.error(`Err...
JavaScript
0
@@ -115,16 +115,37 @@ e('del') +,%0A%09fs = require('fs') ;%0A%0Amodul @@ -1203,16 +1203,121 @@ cePath); +%0A%09%09%09if (!fs.existsSync(sourcePath)) %7B%0A%09%09%09%09console.log('FDK: cannot find source folder');%0A%09%09%09%09return;%0A%09%09%09%7D %0A%0A%09%09%09//
becf9db404692122fd1cba24f3db8632e278ddb9
Update 3d object color for design
src/js/graphic/background/geometric/geometric.js
src/js/graphic/background/geometric/geometric.js
export default class Geometric { static draw(p) { Geometric.translateByMouse(p) Geometric.generateGeometric(p) } static generateGeometric(p) { let xMax = 17 let yMax = 17 let geometricSizeMulti = 1 let radius = p.width * 1 let rotateX ...
JavaScript
0
@@ -2320,10 +2320,26 @@ ial( +255, 255, 255, 23 5 -0 )%0A
e382c03e6dd543a910105a098876e3f35e177fb0
use server time for messages
src/webapp/js/services/messageService.js
src/webapp/js/services/messageService.js
angular.module('j.point.me').factory('MessageService', ['$firebase', 'AuthenticationService', function ($firebase, AuthenticationService) { var ref = new Firebase("https://jpointme.firebaseio.com/"); return { /** * Returns all the sessions that are stored in firebase. ...
JavaScript
0.000001
@@ -1157,28 +1157,38 @@ me: -new Date().getTime() +Firebase.ServerValue.TIMESTAMP %0A
e85b0d407adcb44df8eaa0223fbf5dbae4b02997
allow indent attributor to take +1/-1
formats/indent.js
formats/indent.js
import Parchment from 'parchment'; let IndentClass = new Parchment.Attributor.Class('indent', 'ql-indent', { scope: Parchment.Scope.BLOCK, whitelist: [1, 2, 3, 4, 5, 6, 7, 8] }); export { IndentClass };
JavaScript
0.00037
@@ -33,40 +33,319 @@ ';%0A%0A -let IndentClass = new Parchment. +class IdentAttributor extends Parchment.Attributor.Class %7B%0A add(node, value) %7B%0A if (value === '+1' %7C%7C value === '-1') %7B%0A let indent = parseInt(this.value(node) %7C%7C 0);%0A value = value === '+1' ? (indent + 1) : (indent - ...
a02a6aa4104acd2901fa124363208eac970cbb74
Simplify server bootstrap
server/index.js
server/index.js
#!/usr/bin/env node -r bshed-requires import Koa from 'koa' import debug from 'debug' import convert from 'koa-convert' import session from 'koa-session' // import DataLoader from 'dataloader' const log = debug('server:loader') // Server libraries import assets from './lib/assets' import graphiql from './lib/graphiql'...
JavaScript
0.000009
@@ -264,19 +264,26 @@ from './ -lib +middleware /assets' @@ -303,27 +303,34 @@ iql from './ -lib +middleware /graphiql'%0Ai @@ -355,19 +355,26 @@ from './ -lib +middleware /graphql @@ -401,19 +401,26 @@ from './ -lib +middleware /imagePr @@ -449,19 +449,26 @@ from './ -lib +middleware /request @@ -493,19 +493...
5e901fb1fcdbf269af37d2184ddf93f10651c991
Fix QueryParamsMixin linting errors
src/js/mixins/__tests__/QueryParamsMixin-test.js
src/js/mixins/__tests__/QueryParamsMixin-test.js
jest.dontMock('../QueryParamsMixin'); var QueryParamsMixin = require('../QueryParamsMixin'); describe('QueryParamsMixin', function () { beforeEach(function () { this.instance = QueryParamsMixin; this.instance.context = { router: { getCurrentPathname: function () { return '/pathname...
JavaScript
0
@@ -2056,20 +2056,16 @@ params', -%0A functio
e3cea9c521cca26ff27392d7786cfc0fe8f67f23
remove spellchecker(scayt) from ckeditor toolbar (#4539)
public/assets/js/ckeditor/config.js
public/assets/js/ckeditor/config.js
/** * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. // For complete reference see: // https://ckeditor.com/d...
JavaScript
0
@@ -572,24 +572,8 @@ ion' -, 'spellchecker' %5D %7D
b796134536e8eca6514ef6ba6199d0d1894b6e7d
Add group member count
client/src/components/group.js
client/src/components/group.js
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import ContentClear from 'material-ui/svg-icons/content/clear'; import Chip from 'material-ui/Chip'; import IconButton from 'material-ui/IconButton'; import { Card, CardHeader, CardActions } from 'material-ui/Card'; import { ListItem } from ...
JavaScript
0.000001
@@ -1529,16 +1529,67 @@ .idx%7D%60;%0A + const memberCount = this.props.members.length;%0A cons @@ -1907,12 +1907,57 @@ ame%7D -:%60%7D +%60%7D%0A subtitle=%7B%60$%7BmemberCount%7D people%60%7D /%3E%0A
6bf45d425a47caa83eae07113249c414df6c32c4
Fix deprecated warning for ts-jest
jest.config.js
jest.config.js
var semver = require('semver'); function getSupportedTypescriptTarget() { var nodeVersion = process.versions.node; if (semver.gt(nodeVersion, '7.6.0')) { return 'es2017' } else if (semver.gt(nodeVersion, '7.0.0')) { return 'es2016'; } else if (semver.gt(nodeVersion, '6.0.0')) { return 'es2015'; ...
JavaScript
0
@@ -832,25 +832,45 @@ -__TS_CONFIG__ +'ts-jest': %7B%0A tsConfigFile : %7B%0A + @@ -917,16 +917,18 @@ ,%0A + module: @@ -938,16 +938,24 @@ mmonjs'%0A + %7D%0A %7D%0A
03ed1776047ebe316fef8e077a0d62d6b5587da6
Remove unused template helper; add comments
client/views/home/edit/edit.js
client/views/home/edit/edit.js
Template.editHome.helpers({ 'home': function () { // Get Home ID from template data context // convert the 'String' object to a string for the DB query var homeId = this._id; // Get home document var home = Homes.findOne(homeId); return home; } }); Template.editHome.created = function () ...
JavaScript
0
@@ -15,27 +15,17 @@ ome. -helpers(%7B%0A 'home': +created = fun @@ -31,26 +31,24 @@ nction () %7B%0A - // Get Hom @@ -48,406 +48,354 @@ Get -Home ID from template data context%0A // convert the 'String' object to a string for the DB query%0A var homeId +reference to template instance%0A var instance ...
d67246fcadac96e79335c82af765b67d980183be
make it obvious if you forgot to add to assets.yml
public/javascripts/requireConfig.js
public/javascripts/requireConfig.js
require = { baseUrl: '/public/javascripts' };
JavaScript
0
@@ -22,26 +22,44 @@ : '/ -public/javascripts +you_forgot_to_add_this_to_assets_yml '%0A%7D;
375fd5de13d927060b3905be2a99669e15518e7f
Increase max name length to 50
src/validation/index.js
src/validation/index.js
var _ = require('lodash'); var Joi = require('joi'); var common = { team: Joi.number().integer().min(0), userUuid: Joi.string().regex(/^[A-Za-z0-9_-]+$/).min(1, 'utf8').max(128, 'utf8'), primaryKeyId: Joi.number().integer().min(0) }; const schemas = { common: common, action: { user: common.userUuid.req...
JavaScript
0.999999
@@ -715,17 +715,17 @@ 8').max( -3 +5 0, 'utf8
abe3c582db2d9e25d3812e2ce81c6e22380c4eba
fix test
client_test/stats/statsSpec.js
client_test/stats/statsSpec.js
define(["../DataHelper.js","stats/stats"], function(DataHelper) { describe("stats", function() { beforeEach(function() { //Mock google maps modules var dummy1 = angular.module('google-maps', []); var placesDummy = angular.module('ngGPlaces', []); placesDumm...
JavaScript
0.000002
@@ -5002,17 +5002,17 @@ ).toBe(1 -4 +0 );%0A
8c6f5c59220e6da56f7e62d73374ccee64c0f634
Update lead styling
src/views/ClientCard.js
src/views/ClientCard.js
import React from 'react' import { Link } from 'react-router-dom' import styled from 'styled-components' import numeral from 'numeral' const StyledLead = styled.div` width: 31%; text-align: center; padding: 20px; border: 1px solid black; border-radius: 5px; margin: 10px; ` const ClientCard = ({ id, name, ...
JavaScript
0
@@ -278,16 +278,32 @@ : 10px;%0A + color: green;%0A %60%0A%0Aconst @@ -398,16 +398,43 @@ %3CLink + style=%7B%7B color: 'green' %7D%7D to=%7B%60/h @@ -472,14 +472,43 @@ -%7Bname%7D +%3Ch2%3E%0A %7Bname%7D%0A %3C/h2%3E %0A
7c7d533c56393e7d1b895b5d23bc0888050fa629
Use while in CentsGauge.browse.
src/views/centsgauge.js
src/views/centsgauge.js
var CentsGauge = (function (containerID) { function CentsGauge() { ViewContextAndStyle.apply(this,arguments); var _width = 400 , _height = 200 , twoPI = 2 * Math.PI ; this.cvs.width = 400; this.cvs.height = 200; var centerX = this.cvs.width / 2 , centerY ...
JavaScript
0
@@ -2154,16 +2154,41 @@ var arc + = quadrantArc - markStep %0A @@ -2537,69 +2537,22 @@ -for +while (arc -= quadrantArc - markStep ; arc %3E 0 ; arc -= markStep +%3E 0 ) %7B%0A @@ -2979,16 +2979,48 @@ .fill(); +%0A%0A arc -= markStep; %0A
63c76144abfeeaaebc8757b7c8a5f3319704e383
Update config
config/configuration.js
config/configuration.js
/** * @file Defines the provider settings. * * Will set the path to Mongo, and applications id * Most of the configuration can be done using system environment variables. */ // Load environment variables from .env file var dotenv = require('dotenv'); dotenv.load(); // node_env can either be "development" or "pro...
JavaScript
0.000001
@@ -1458,82 +1458,41 @@ %0A%0A -kue: %7B%0A attempts: 2,%0A backoff: %7Bdelay: 20 * 1000, type: 'fixed'%7D%0A %7D +retry: 2,%0A retryDelay: 20 * 1000 ,%0A%0A
890659ee3ce3bd1ee5a270642b4521aee4699b46
Update concurrency params
config/configuration.js
config/configuration.js
/** * @file Defines the provider settings. * * Will set the path to Mongo, and applications id * Most of the configuration can be done using system environment variables. */ // Load environment variables from .env file var dotenv = require('dotenv'); dotenv.load(); // node_env can either be "development" or "pro...
JavaScript
0.000001
@@ -806,16 +806,82 @@ D_URL,%0A%0A + usersConcurrency: process.env.GCONTACTS_USERS_CONCURRENCY %7C%7C 1,%0A concur
0104689c83cfd192c6eec767f674817d28572394
Remove unnecessary style information to fix rendering issues in Firefox
js/containers/bottom-controls.js
js/containers/bottom-controls.js
import React, { Component } from 'react' import pureRender from 'pure-render-decorator' import { connect } from 'react-redux' import * as actions from '../actions' import AnimationButton from '../components/animation-button' import Slider from 'rc-slider' import ccLogoSrc from '../../images/cc-logo.png' import screenfu...
JavaScript
0
@@ -1193,27 +1193,8 @@ = %7B - style: %22tickMark%22, lab @@ -3309,37 +3309,16 @@ %5Bmin%5D: %7B - style: %22dateMarker%22, label: @@ -3363,29 +3363,8 @@ %5D: %7B - style: %22dateMarker%22, lab
faa0958623896b41df370c18e957a422618ddefb
Fix config
config/configuration.js
config/configuration.js
/** * @file Defines the provider settings. * * Will set the path to Mongo, and applications id * Most of the configuration can be done using system environment variables. */ // Load environment variables from .env file var dotenv = require('dotenv'); dotenv.load(); // node_env can either be "development" or "pro...
JavaScript
0.000007
@@ -700,16 +700,118 @@ params%0A%0A + usersConcurrency: process.env.USERS_CONCURRENCY %7C%7C 1,%0A concurrency: process.env.CONCURRENCY %7C%7C 1,%0A%0A provid @@ -956,18 +956,17 @@ nization -_i +I d: proce @@ -1007,10 +1007,9 @@ app -_i +I d: p @@ -1048,10 +1048,9 @@ cret -_t +T oken @@ -1086,26 +1086,8 @@...
39111728dba35a4788213680b6ce15614e8a1cd4
add tests for the signup stage
test/acceptance/test.js
test/acceptance/test.js
var tape = require('tape') var async = require('async') var request = require('request') var routerPort = null function get(host, url, done){ request(host + url, function (error, response, body) { if (!error) { done(null, body, response) } else{ done(error) } }) } function k8surl(path...
JavaScript
0
@@ -2080,32 +2080,98 @@ , function (t) %7B +%0A%0A var emailaddress = 'bob' + (new Date().getTime()) + '@bob.com' %0A request(%7B%0A @@ -2266,21 +2266,20 @@ ail: -'bob@bob.com' +emailaddress ,%0A @@ -2487,16 +2487,16 @@ usCode)%0A - cons @@ -2510,24 +2510,220 @@ (res.body)%0A%0A + t.equal(res.statu...
bb39f4059d5af4e46eb1d679f4797feb80330cc5
move function off of scope
js/controllers/MainController.js
js/controllers/MainController.js
app.controller('MainController', ['$scope', function($scope) { //CONTAINERS $scope.creatures = [{ name: 'Player #1', initiativeModifier: 0, rolledInitiative: 0, category: 'player', }, { name: 'Monster #1', initiativeModifier: 0, rolledInitiative: 0, category: 'monster' } ]...
JavaScript
0.000001
@@ -461,18 +461,16 @@ CTIONS%0D%0A -%0D%0A %09$scope. @@ -1183,34 +1183,25 @@ h%0D%0A%09 -$scope.roll1D20 = function +function roll1D20 () %7B @@ -1708,23 +1708,16 @@ r d20 = -$scope. roll1D20
0f35317651df2bf3e6d4f666a65ffc5dff33d4ac
Update index.js
test/assets/js/index.js
test/assets/js/index.js
var accessToken = "db6b486f323c410a82d597f2e1ad6a5c", subscriptionKey = "878cd060684e45099834389e8de74e63", baseUrl = "https://api.api.ai/v1/", $speechInput, // The input element, the speech box $recBtn, // Toggled recording button value recognition, // Used for accessing the HTML5 Speech ...
JavaScript
0.000002
@@ -3249,16 +3249,25 @@ %0A%0A$( -%22#bu2%22) +document).ready ( func @@ -3330,9 +3330,10 @@ = %22%22;%0A%7D +) %0A
80d07f7e009e3068ca594da40b9d745ad2b5fdac
Update link in comment (#215)
test/automated-suite.js
test/automated-suite.js
/* Copyright 2016 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 required by applicable law or a...
JavaScript
0
@@ -822,69 +822,42 @@ http +s :// -selenium.googlecode.com/git/docs/api/javascript/index.html +github.com/SeleniumHQ/selenium %0A%0Aco
377d2326e9b16a82edc80d9ce76902c659281e60
Fix lint issues for strings in tests.
test/aws-credentials.js
test/aws-credentials.js
'use strict'; const AwsCredentials = require('../lib/aws-credentials'); const should = require('should'); describe('AwsCredentials#saveAsIniFile', function () { it("returns an error if credentials aren't given", function (done) { const aws = new AwsCredentials(); aws.saveAsIniFile(null, 'profile', (error, ...
JavaScript
0
@@ -157,25 +157,25 @@ n () %7B%0A it( -%22 +' returns an e @@ -179,18 +179,20 @@ n error -if +when credent @@ -199,26 +199,22 @@ ials are -n't given%22 + null' , functi @@ -426,33 +426,33 @@ %7D);%0A %7D);%0A%0A it( -%22 +' returns an error @@ -452,20 +452,20 @@ n error -if a +when profile @@ -471,18 +...
4e7b838cd06c445b99380fb80cb2b3e4d4c18762
Order groups of user by desc created datetime
server/users.js
server/users.js
var express = require('express') var router = express.Router() var helper = require('./helper') var parser = require('./parser') /* GET get groups of user * response -> [groups]/error */ //order: [['updatedAt', 'DESC']] router.get('/groups', helper.isAuthenticated, function(req, res) { var source = '[GET /users/gr...
JavaScript
0
@@ -187,41 +187,8 @@ */%0A -//order: %5B%5B'updatedAt', 'DESC'%5D%5D%0A rout @@ -803,16 +803,92 @@ %5D%0A %7D%5D +,%0A order: %5B%5B%7Bmodel: models.Group, as: 'Groupings'%7D, 'createdAt', 'DESC'%5D%5D %0A %7D)%0A
41ecb8af7006508f299b42ba7b2f48699b5957df
fix getSequenceKey when there isn't a key
htdocs/components/15_TextSequence.js
htdocs/components/15_TextSequence.js
// $Revision$ Ensembl.Panel.TextSequence = Ensembl.Panel.Content.extend({ constructor: function () { this.base.apply(this, arguments); Ensembl.EventManager.register('dataTableRedraw', this, this.initPopups); Ensembl.EventManager.register('ajaxComplete', this, this.sequenceKey); Ensembl.EventM...
JavaScript
0.000003
@@ -6780,16 +6780,25 @@ ).html() + %7C%7C false );%0A %7D%0A%7D
11b8f35728a139031af88a642a19fd517430d0eb
Fix a failing test due to random channel name collision
static/js/containers/ChannelPage_test.js
static/js/containers/ChannelPage_test.js
// @flow import { assert } from "chai" import PostList from "../components/PostList" import { makeChannel } from "../factories/channels" import { makeChannelPostList } from "../factories/posts" import { actions } from "../actions" import { SET_POST_DATA } from "../actions/post" import IntegrationTestHelper from "../u...
JavaScript
0.00001
@@ -1406,24 +1406,113 @@ keChannel()%0A + otherChannel.name = 'somenamethatshouldnevercollidebecauseitsaridiculouslylongvalue'%0A let %5Bwra
f925d3cf6bfe66e2f925786d524ccd2a4a31431b
update test use the same template file
tests/func/applications/frameworkapp/common/mojits/ACMojit/controller.common.js
tests/func/applications/frameworkapp/common/mojits/ACMojit/controller.common.js
YUI.add('ActionContextMojit', function(Y, NAME) { Y.namespace('mojito.controllers')[NAME] = { /** * Method corresponding to the 'index' action. * * @param ac {Object} The action context that provides access * to the Mojito API. */ index: function...
JavaScript
0
@@ -2244,32 +2244,40 @@ %7Bview: %7Bname: %22 +testdir/ mytemplate1%22%7D%7D);
6c93a40e7704f4837887d8a08ccfec8041ea19ae
Add the callback when stop_all() is call
soundbox.js
soundbox.js
/** * SoundBox * By Starbeamrainbowlabs * License: MIT License * A super simple JS library for playing sound effects and other audio. * * Note to self: When making a release, remember to update the version number at the bottom of the file! */ "use strict"; class SoundBox { constructor() { this.sounds = {}; /...
JavaScript
0.001637
@@ -1889,16 +1889,69 @@ tances)%0A +%09%09 %09instance.dispatchEvent((new Event('ended')));%0A %09%09%09insta