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
fbd5f3cb308fb2328e5f8199783726c5e49329d2
Add support for receiving pressure data via nRF radio
server/nrf-receiver.js
server/nrf-receiver.js
var nrf = require('nrf') var reverse = require('reverse-string') var Bacon = require('baconjs') var config = { spiDevice: "/dev/spidev0.1", cePin: 25, // GPIO_25 irqPin: 24, // GPIO_24 channel: 76, // 76 is the default channel for RF24 Arduino library ...
JavaScript
0
@@ -1324,16 +1324,80 @@ break;%0A + case 'p':%0A fillPressureData(buffer, data)%0A break;%0A defa @@ -1738,16 +1738,136 @@ E(6)%0A%7D%0A%0A +function fillPressureData(buffer, data) %7B%0A data.pressure = buffer.readFloatLE(2)%0A data.vcc = buffer.readInt16LE(6)%0A%7D%0A%0A module.e
feb7eff3a8be9882a134ca94ebdb6dec7a344ce2
Remove flow check
server/routes/index.js
server/routes/index.js
/* @flow */ 'use babel'; 'use strict'; var moment = require('moment'); var app = require('../../package.json'); import type { Post, PostCreated } from '../core/types.js'; import { compile } from '../core/compile'; import { savePost } from '../db.js'; exports.default = (req, res) => { res.render('index', { ...
JavaScript
0
@@ -1,16 +1,4 @@ -/* @flow */%0A 'use @@ -622,34 +622,8 @@ %22),%0A - %22title%22: 'Title',%0A
e2c8ff5751f411df05139db9ed4127df534f759c
remove route protection method from routes
server/routes/index.js
server/routes/index.js
import express from 'express'; import controller from '../controllers/controller'; const router = express.Router(); // Home page route router.get('/', (req, res) => { res.send('Hello, welcome'); }); // Route for user signup router.post('/signup', controller.signup); // Route for signin router.post('/signin', con...
JavaScript
0
@@ -135,74 +135,8 @@ te%0A%0A -router.get('/', (req, res) =%3E %7B%0A res.send('Hello, welcome');%0A%7D);%0A %0A// @@ -272,38 +272,82 @@ %0A// -R +r oute - to create group by users +r.use(controller.sessionHandler);%0A%0A// Route to post group create info %0Arou @@ -611,24 +611,24 @@ d to groups%0A - router.g...
4a3e3bb15f04e87c91584dfb61216d3cd386cf4c
Fix multiple connections issue
server/routes/memos.js
server/routes/memos.js
'use strict'; var fs = require('fs'); var MEMO_DIR = './memos/'; function getMemos (dir) { var files = []; var dirs = []; dir = dir || ''; var fileNames = fs.readdirSync(MEMO_DIR + dir); var length = fileNames.length; for (var i = 0; i < length; i++) { var fileName = fileNames[i]; // Check if t...
JavaScript
0.000023
@@ -720,29 +720,8 @@ %0A%7D%0A%0A -var watcher = null;%0A%0A func @@ -740,16 +740,25 @@ tching ( +watcher, socket, @@ -784,16 +784,23 @@ atching( +watcher );%0A%0A // @@ -981,32 +981,41 @@ startWatching( +watcher, socket, fileName @@ -1076,16 +1076,23 @@ tching ( +watcher ) %7B%0A if @@ -1572,24 +1572,...
6da42590749264135be9cfa93263bdf49fe239ae
Add email test
tests/chat_tests.js
tests/chat_tests.js
var helpers = require('./../helpers.js') module.exports = { 'Test Sending Message' : function (browser) { helpers.setupTest(browser) helpers.enterText('textarea._1eY_aSnr3MDhZqacV8fugZ', 'test', browser) browser.end(); }, 'Check Sent Message' : function (browser) { helpers.setupTest(browser) ...
JavaScript
0.000036
@@ -487,14 +487,477 @@ .end();%0A + %7D,%0A 'Check Email Message' : function (browser) %7B%0A helpers.setupTest(browser)%0A helpers.enterText('textarea._1eY_aSnr3MDhZqacV8fugZ', 'test', browser)%0A browser%0A .pause(1000)%0A .verify.elementPresent('form._1Gtju_Jekx_uqFMJML29ZR')%0A .verify.elementP...
e07ded50253fb3bc7d3be8b0cdc621259d068936
add missing id for well fed
ui/oopsyraidsy/data/00-misc/general.js
ui/oopsyraidsy/data/00-misc/general.js
'use strict'; // General mistakes; these apply everywhere. [{ zoneRegex: /.*/, triggers: [ { // Trigger id for internally generated early pull warning. id: 'General Early Pull', }, { id: 'General Food Buff', losesEffectRegex: gLang.kEffect.WellFed, condition: function(e, d...
JavaScript
0.000001
@@ -1070,24 +1070,54 @@ %7D,%0A %7B%0A + id: 'General Well Fed',%0A gainsE
24484f352cd9014a5720da9395589700c5bd5f65
Set button text from EveScene commands
ui5/eve7/controller/Main.controller.js
ui5/eve7/controller/Main.controller.js
sap.ui.define(['sap/ui/core/Component', 'sap/ui/core/UIComponent', 'sap/ui/core/mvc/Controller', 'sap/ui/layout/Splitter', 'sap/ui/layout/SplitterLayoutData', 'sap/m/library', 'sap/m/Button', 'sap/m/MenuItem', ...
JavaScript
0
@@ -1697,22 +1697,19 @@ t -ooltip +ext : cmds%5Bk
a608ac1216f66f56718f766375e9efcba9c39275
Build runtime as separate file
Gulpfile.js
Gulpfile.js
var gulp = require('gulp'), browserify = require('gulp-browserify'), uglify = require('gulp-uglify'), gzip = require('gulp-gzip'), size = require('gulp-size'), concat = require('gulp-concat'); gulp.task('default', ['test']); gulp.task('test', function(cb) { var spawn = require('child_process').s...
JavaScript
0.000001
@@ -517,16 +517,57 @@ 'build', + %5B'full', 'runtime'%5D);%0A%0Agulp.task('full', functio @@ -894,12 +894,388 @@ dist'))%0A%7D);%0A +%0Agulp.task('runtime', function() %7B%0A gulp.src('lib/runtime.js')%0A .pipe(browserify())%0A .pipe(concat('slm-runtime.js'))%0A .pipe(size(%7BshowFiles: true%7D))%0A .pipe(gulp...
8eea0fca0a67b94651fa84151f6a44c8fd543318
make angular-fastclick work with jQLite
lib/angular-fastclick.js
lib/angular-fastclick.js
(function(window, angular, undefined) {'use strict'; // define ngTouch module /* global -ngTouch */ var ngTouch = angular.module('ngTouch'); /** * @ngdoc directive * @name ngClick * * @description * A more powerful replacement for the default ngClick designed to be used on touchscreen * devices. Most mobile bro...
JavaScript
0
@@ -2028,23 +2028,19 @@ (element -.get(0) +%5B0%5D );%0A @@ -2153,15 +2153,11 @@ ment -.get(0) +%5B0%5D .cla
0c0a9c09c597a9297160b0c1c0b7a20affc2cc44
Add plus sign
s3upload.js
s3upload.js
/** * Taken, CommonJS-ified, and heavily modified from: * https://github.com/flyingsparx/NodeDirectUploader */ S3Upload.prototype.signingUrl = '/sign-s3'; S3Upload.prototype.fileElement = null; S3Upload.prototype.onFinishS3Put = function(signResult) { return console.log('base.onFinishS3Put()', signResult.publi...
JavaScript
0.000002
@@ -1721,16 +1721,18 @@ ntType=' + + file.ty
78481386c624a154ecaf2dafeb4ae3a0f5a12528
Fix choppy TPS graph.
web/js/voltdb-dashboard.js
web/js/voltdb-dashboard.js
/* This file is part of VoltDB. Copyright (C) 2008-2013 VoltDB Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version...
JavaScript
0
@@ -2989,23 +2989,51 @@ %5B%5D;%0Avar -tcount0 +prevTime = null;%0Avar tcount0 = null ;%0Afuncti @@ -3128,24 +3128,24 @@ tables%5B0%5D;%0A - //var co @@ -3171,24 +3171,178 @@ ema.length;%0A +%0A if (prevTime != null && table0.data%5B0%5D%5B0%5D == prevTime) %7B%0A // Skip cached old results%0A ...
76a0feece2b45419a99138940833651504b0eb12
update tcp transports to http
web/options.development.js
web/options.development.js
var _ = require('lodash'); var path = require('path'); var base = require('./options.base.js'); module.exports = _.defaults({ 'agreement-version' : 2, auth: { restrict: function (req, res, next) { var profileUrl = '/dashboard/profile'; var restrictedRoutesWhenLoggedIn = ['/', '/register', '/login'...
JavaScript
0
@@ -2551,36 +2551,35 @@ : %5B%0A %7Btype: ' -http +web ', port: 10301, @@ -2612,36 +2612,35 @@ '%7D,%0A %7Btype: ' -http +web ', port: 10303, @@ -2673,36 +2673,35 @@ '%7D,%0A %7Btype: ' -http +web ', port: 10303, @@ -2739,36 +2739,35 @@ '%7D,%0A %7Btype: ' -http +web ', port: 10303, @@ -2803,36 ...
3a901465449f6985627bd2a4bb487e26f4f8e1b9
Update shortcut keys for new signature
crits/core/static/js/key_nav.js
crits/core/static/js/key_nav.js
$(document).ready(function() { $(document).keyup(function(e) { var tag = e.target.tagName.toLowerCase(); if (tag != 'input' && tag != 'textarea' && tag != 'select' && !e.ctrlKey) { if (e.keyCode==78 || e.keyCode==77) { $('.nav-menu-icon').trigger('click'); } e...
JavaScript
0
@@ -963,16 +963,30 @@ Code==83 + && e.shiftKey ) %7B%0A @@ -1011,12 +1011,15 @@ ew-s -ampl +ignatur e%22 ) @@ -1066,10 +1066,10 @@ de== -71 +83 ) %7B%0A @@ -1086,39 +1086,36 @@ $( %22#new-s -ignatur +ampl e%22 ).click();%0A
800de91b509f832688bb4d2e5a7dc7ea2e9e7033
Add message url slugging
models/message.js
models/message.js
var neo4j = require('../io/neo4j'); var random = require('../lib/random'); var stripIndent = require('common-tags/lib/stripIndent'); var get = require('lodash/get'); var markdown = require('../lib/markdown'); var QUERY_MESSAGE_TOPIC = stripIndent` MATCH (u:User { username: {username} }) CREATE...
JavaScript
0.000005
@@ -638,16 +638,20 @@ orts.get +ById = funct @@ -848,16 +848,247 @@ ));%0A%7D;%0A%0A +exports.getBySlug = function (slug) %7B%0A%09var query = stripIndent%60%0A%09%09MATCH (m:Message %7B slug: %7Bslug%7D %7D)%0A%09%09RETURN m%0A%09%60;%0A%0A%09var data = %7B slug %7D;%0A%0A%09return neo4j.run(query, data)%0A%09%09....
ce9446b8be5956bdcfe832fbec59068707dbeac2
Fix embarassing typo
modules/helper.js
modules/helper.js
(function(root) { var gtp = null var shell = null if (typeof require != 'undefined') { gtp = require('./gtp') shell = require('shell') } var context = typeof module != 'undefined' ? module.exports : (window.helper = {}) var id = 0 context.getId = function() { return ++id } context.hash = function(str)...
JavaScript
0.999999
@@ -1666,17 +1666,17 @@ /%3E/g, '& -r +g t;')%0A%0A
d49df2781a60013db61d94e265e3f82feb5cb978
Add missing var
lib/commands/droplets.js
lib/commands/droplets.js
var api = require('digio-api') , print = require('../print') , tools = require('../tools') var droplets = function (cmd, _config) { api = new api(tools.get_active_key(_config)) cmd.register( 'droplets', 'list', [], 'List all droplets', function () { api.droplets.list(function (err, data)...
JavaScript
0.005444
@@ -3376,16 +3376,20 @@ )%0A +var ssh_keys
4bb3f031314b8476c58e5f7866e9168f68f28a2c
Remove unnecessary import
lib/components/routes.js
lib/components/routes.js
import React from 'react'; module routeStore from '../stores/route-store'; module urlStore from '../stores/url-store'; import Route from './route'; var Routes = React.createClass({ propTypes: { handler: React.PropTypes.component.isRequired, location: React.PropTypes.string }, getInitialState: function(...
JavaScript
0.000011
@@ -115,37 +115,8 @@ re'; -%0Aimport Route from './route'; %0A%0Ava
6c810c343d08ad2c7465b971a9f8f020c40a2403
Fix production config
lib/config/production.js
lib/config/production.js
/* * Copyright 2014-2015 Fabian Tollenaar <fabian@starting-point.nl> * * 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 req...
JavaScript
0.000003
@@ -65,17 +65,16 @@ t.nl%3E%0A * - %0A * Lice @@ -246,17 +246,16 @@ se at%0A * - %0A * @@ -1072,25 +1072,25 @@ pp.use(error -h +H andler());%0A @@ -1094,8 +1094,9 @@ ;%0A %7D%0A%7D; +%0A
ec1014201afd1506a6bec7966f886275a7103127
add for, while, for
examples/JavaScript.js
examples/JavaScript.js
import React, {Component} from 'react' import {areCannonsReady} from './x-wing-arsenal' let Endor var Lasers const c1code = /\hbzzz-brrr$/ const foo = function bar() { return 'baz' } function foo(str, done) { console.log(str) done() } async function foo () { return 'bar' } const xWing = async () => { ...
JavaScript
0.000004
@@ -1997,16 +1997,158 @@ %0A %7D%0A%7D%0A%0A +while (true) %7B%0A%0A%7D%0A%0Afor (var i = 0; i %3C array.length; i++) %7B%0A array%5Bi%5D%0A%7D%0A%0Aswitch (expression) %7B%0A case expression:%0A%0A break;%0A default:%0A%0A%7D%0A%0A export d
c631a075399ebffd5d6c52a78ee074a1a9491a45
update controller example
examples/controller.js
examples/controller.js
var LedController = require('../lib/ledcontroller'); var leds = new LedController({ port: 8899, host: '192.168.1.144' }); var count = 0; var max = 100; function cool(){ count++; console.log('COOL', count); if(count === max) return done('cool'); leds.coolerColor(cool); } function warm(){ ...
JavaScript
0.000004
@@ -257,24 +257,55 @@ ne('cool');%0A + setTimeout(function()%7B%0A leds.coo @@ -320,16 +320,29 @@ (cool);%0A + %7D, 100);%0A %7D%0A%0Afunct @@ -437,24 +437,55 @@ ne('warm');%0A + setTimeout(function()%7B%0A leds.war @@ -500,16 +500,30 @@ (warm);%0A + %7D, 100);%0A%0A %7D%0A%0Afunct
5df2f346ea9cc5bc554b77b74bd8103f9ce9c559
Stop using jsonp for world light borders
examples/rastersync.js
examples/rastersync.js
var view = new ol.View({ center: ol.proj.transform([-112.2, 36.06], 'EPSG:4326', 'EPSG:3857'), zoom: 11 }); var layer0 = new ol.layer.Tile({ source: new ol.source.MapQuest({layer: 'sat'}) }); var layer1 = new ol.layer.Tile({ source: new ol.source.TileJSON({ url: 'http://tileserver.maptiler.com/grandcanyon....
JavaScript
0
@@ -475,17 +475,16 @@ ght.json -p ',%0A cro
7bfd3a37c53006b26e5782bba876509fc08b1b45
Comment around inViewport function
readthedocs/core/static-src/core/js/readthedocs-doc-embed.js
readthedocs/core/static-src/core/js/readthedocs-doc-embed.js
var sponsorship = require('./doc-embed/sponsorship'); var footer = require('./doc-embed/footer.js'); // grokthedocs = require('./doc-embed/grokthedocs-client'), // mkdocs = require('./doc-embed/mkdocs'), var rtddata = require('./doc-embed/rtd-data'); var sphinx = require('./doc-embed/sphinx'); var search = require('./d...
JavaScript
0
@@ -333,16 +333,50 @@ rch');%0A%0A +// Adds the $.inViewport function%0A $.extend
2fcd7c1c6c689f17c401f5adaed26de69dca19a0
Rearrange buttons
recipe-server/client/control/components/RecipeFormActions.js
recipe-server/client/control/components/RecipeFormActions.js
import React, { PropTypes as pt, } from 'react'; import { Link } from 'react-router'; import cx from 'classnames'; export const FormButton = ({ className, label, element = 'button', type = 'button', onClick, display, ...props, }) => { if (!display) { return null; } // need titlecase for JSX ...
JavaScript
0.000009
@@ -1445,547 +1445,8 @@ n %5B%0A - // enable%0A %3CFormButton%0A display=%7B!isUserViewingOutdated && !isEnabled%7D%0A disabled=%7B!isApproved%7D%0A className=%22action-enable submit%22%0A label=%22Enable%22%0A element=%7BisApproved ? Link : 'button'%7D%0A to=%7B%60/...
b3538ec5d29911af7de3d4bc30846eab3d5cb1cb
implement file removal
lib/filesystem-helper.js
lib/filesystem-helper.js
var fs = require('fs'), path = require('path'), async = require('async'), ru = require('./reed-util'); function FilesystemHelper(directory) { this.dir = directory; } FilesystemHelper.prototype.exists = function(filename, callback) { fs.exists(this.dir + filename, callback); } FilesystemHelper.prototype.readMark...
JavaScript
0.000001
@@ -959,82 +959,299 @@ name -) %7B%0A%09//...?%0A%7D%0A%0AFilesystemHelper.prototype.removeAll = function() %7B%0A%09//...? +, callback) %7B%0A%09fs.unlink(filename, function(err) %7B%0A%09%09if (typeof callback !== 'undefined') callback(unlinkErr);%0A%09%7D);%0A%7D%0A%0AFilesystemHelper.prototype.removeAll = function...
0056af8b105802e60fcdadcb1be1f5fe7a35ed92
Move comments into issue and ref comment
lib/flows/credentials.js
lib/flows/credentials.js
'use strict'; const invoke = require('./invoke'); const credentials = exports; credentials.acquire = function (params) { var toProcess = params.list.map((toCreate) => { switch (toCreate.type) { case 'copy': return credentials._copy(params, toCreate); case 'generated': return creden...
JavaScript
0
@@ -4946,350 +4946,8 @@ %7B%0A%0A - // shared & sourced from hierarchy (generated) -global value%0A // shared & sourced from hierarchy (manual) - globl value%0A // shared & no hierarchy (manual) - spans env type%0A // shared & no hierarchy (generated) - spans env typ%0A // shared & no hierachy (manual) - specifi...
bd346b6231330e5314a371cb4efbe57c63991c98
Fix bug where config variables are not available for emulator (#693)
lib/functionsEmulator.js
lib/functionsEmulator.js
'use strict'; var _ = require('lodash'); var chalk = require('chalk'); var path = require('path'); var RSVP = require('rsvp'); var getProjectId = require('./getProjectId'); var utils = require('./utils'); var parseTriggers = require('./parseTriggers'); var functionsConfig = require('./functionsConfig'); var ensureDefa...
JavaScript
0
@@ -1326,16 +1326,55 @@ CONFIG;%0A + delete process.env.FIREBASE_PROJECT;%0A delete @@ -3729,61 +3729,196 @@ -process.env.FIREBASE_CONFIG = JSON.stringify(result); +firebaseConfig = JSON.stringify(result);%0A process.env.FIREBASE_CONFIG = firebaseConfig;%0A process.env.FIREBASE_PROJECT = firebaseConfig...
f9160e14f4990a44ca60e6b1744cc9b95de98042
Create all the data for timeline.
api/controllers/MatchController.js
api/controllers/MatchController.js
const SequelizeToJson = require('sequelize-to-json'); const MatchSerializer = require('serializers/MatchSerializer'); const Match = require('models').Match; const MatchPlayer = require('models').MatchPlayer; const SequelizeTokenify = require('sequelize-tokenify'); const serializer = new SequelizeToJson(Match, MatchSeri...
JavaScript
0.000005
@@ -107,24 +107,61 @@ rializer');%0A +const User = require('models').User;%0A const Match @@ -657,16 +657,189 @@ findAll( +%7B%0A include: %7B%0A model: MatchPlayer,%0A include: %5B%7B%0A model: Player,%0A include: %5BUser%5D%0A %7D%5D%0A %7D,%0A order: %5B%0A %5B'playedAt...
c8aa8f3d7d3eba6027ed0d2c5548d6aa0600666b
Check whether we're dealing with a model vs. collection to know to debounce
react.backbone.js
react.backbone.js
(function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['backbone', 'react'], factory); } else { // Browser globals root.amdWeb = factory(root.Backbone, root.React); } }(this, function (Backbone, React) { ...
JavaScript
0
@@ -682,41 +682,23 @@ ar t -hrottledForceUpdate = _.debounce( +riggerRender = func @@ -703,16 +703,17 @@ nction() + %7B%0A @@ -726,10 +726,8 @@ if ( -! comp @@ -748,49 +748,13 @@ d()) - %7B%0A +%0A - return;%0A %7D%0A @@ -842,15 +842,305 @@ %7D +;%0A%0A if (m...
1ca560d23f2cfe9dd70b5e7f97d3470cbf11f5b4
Clear prevCallbacks on detach()
extras/synchronizer.js
extras/synchronizer.js
/** * Synchronize zooming and/or selections between a set of dygraphs. * * Usage: * * var g1 = new Dygraph(...), * g2 = new Dygraph(...), * ...; * var sync = Dygraph.synchronize(g1, g2, ...); * // charts are now synchronized * sync.detach(); * // charts are no longer synchronized * * ...
JavaScript
0
@@ -3701,24 +3701,52 @@ pts = null;%0A + prevCallbacks = null;%0A %7D%0A %7D;%0A%7D
4315855af1fb21655fb7d50528bb9ee49ad971d9
Check the message in advice
services/Advice/app.js
services/Advice/app.js
var express = require('express'); var app = express(); var request = require('request'); var adviceArray = ["I am God's vessel. But my greatest pain in life is that I will never be able to see myself perform live.", "Would you believe in what you believe in if you were the only one who believed it?"]; var currentAdvic...
JavaScript
0
@@ -628,24 +628,106 @@ req, res) %7B%0A +%09if (req.query.message.toLowerCase() != %22advice%22) %7B%0A%09%09res.status(400).end();%0A%09%7D%0A%09%0A var mess
d150f85045c2346fba71eba4c3020cb44828f452
clear additional storage types in clearStorageData (#1779)
main/remoteActions.js
main/remoteActions.js
/* Wraps APIs that are only available in the main process in IPC messages, so that the BrowserWindow can use them */ ipc.handle('test-invoke', function () { return 1 }) ipc.handle('reloadWindow', function () { mainWindow.webContents.reload() }) ipc.handle('startFileDrag', function (e, path) { app.getFileIcon(p...
JavaScript
0
@@ -1481,16 +1481,88 @@ on () %7B%0A + return session.fromPartition('persist:webcontent').clearStorageData()%0A /* It' @@ -1609,12 +1609,34 @@ :// -here +from the default partition , si @@ -1707,64 +1707,303 @@ rks) - */%0A return session.fromPartition('persist:webcontent') +. However, HTTP data does need to ...
f0ea62b37771dab1a0dc04b085ae4cc7edc8814a
send maximize/minimize/unmaximize events to work around electron issue (#1672)
main/remoteActions.js
main/remoteActions.js
/* Wraps APIs that are only available in the main process in IPC messages, so that the BrowserWindow can use them */ ipc.handle('test-invoke', function () { return 1 }) ipc.handle('reloadWindow', function () { mainWindow.webContents.reload() }) ipc.handle('startFileDrag', function (e, path) { app.getFileIcon(p...
JavaScript
0
@@ -1837,142 +1837,468 @@ e()%0A -%7D)%0A%0Aipc.handle('maximize', function (e) %7B%0A mainWindow.maximize()%0A%7D)%0A%0Aipc.handle('unmaximize', function (e) %7B%0A mainWindow.unmaximize( + // workaround for https://github.com/minbrowser/min/issues/1662%0A mainWindow.webContents.send('minimize')%0A%7D)%0A%0Aipc.h...
1a5247aa4425efd5906326bc2e07638b35ec2840
Remove attributes that are null or undefined
lib/BaseModel.js
lib/BaseModel.js
/*jshint esversion:6, node:true*/ 'use strict'; const extend = require('gextend'); const Waterline = require('waterline'); var uuid = require('random-uuid-v4'); var BaseModel = Waterline.Collection.extend({ persistence: null, connection: process.env.NODE_ENV || 'default', attributes: { displayName...
JavaScript
0.000003
@@ -1582,24 +1582,33 @@ late, cb) %7B%0A + %0A if(t @@ -4061,24 +4061,196 @@ ttributes);%0A +%0A Object.keys(protoProps.attributes).forEach((key)=%3E%7B%0A if(protoProps.attributes%5Bkey%5D == null) %7B%0A delete protoProps.attributes%5Bkey%5D;%0A %7D%0A %7D);%0A%0A ...
99356f4afb70e54928767f3504cfcfb43c6b222c
Remove 'Join' from nav bar
src/scenes/home/header/header.js
src/scenes/home/header/header.js
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import commonUrl from 'shared/constants/commonLinks'; import styles from './header.css'; import NavItem from './navItem/navItem'; import TopNav from './topNav/topNav'; import SideNav from './sideNav/sideNa...
JavaScript
0.000001
@@ -998,34 +998,24 @@ %3CNavItem -%0A to=%7BcommonU @@ -1028,26 +1028,16 @@ ateLink%7D -%0A text=%22D @@ -1042,26 +1042,16 @@ %22Donate%22 -%0A onClick @@ -1060,26 +1060,16 @@ onClick%7D -%0A isExter @@ -1071,24 +1071,16 @@ External -%0A /%3E%0A @@ -1091...
e118055b4317f6f58f571070ba18d1612e5ac862
Make eslint happy
migrations/v8.js
migrations/v8.js
'use strict'; var ref = require('../reference/v8'), parseCSSColor = require('csscolorparser').parseCSSColor; function getProperty(prop) { for (var i = 0; i < ref.layout.length; i++) { for (var key in ref[ref.layout[i]]) { if (key === prop) return ref[ref.layout[i]][key]; } } ...
JavaScript
0.000034
@@ -3410,27 +3410,45 @@ -for (var key in obj +Object.keys(obj).forEach(function(key ) %7B%0A @@ -3727,32 +3727,34 @@ back);%0A %7D +); %0A %7D%0A%0A each
066ae664ff25bbc24a4eb72ab86706223cb8f178
Set baseURL
dashboard/config/environment.js
dashboard/config/environment.js
/* jshint node: true */ module.exports = function(environment) { var ENV = { environment: environment, baseURL: '/', locationType: 'auto', EmberENV: { FEATURES: { // Here you can enable experimental features on an ember canary build // e.g. 'with-controller': true } },...
JavaScript
0.000001
@@ -118,16 +118,25 @@ eURL: '/ +dashboard ',%0A l @@ -534,24 +534,27 @@ re-1.6.0%0A + // ENV.LOG_MOD @@ -574,24 +574,27 @@ = true;%0A%0A + // ENV.APP.LOG @@ -606,32 +606,35 @@ LVER = true;%0A + // ENV.APP.LOG_ACT @@ -651,32 +651,35 @@ TION = true;%0A + // ENV.APP.LOG_MOD @@ -789,16 +789,19 ...
0188930234ff511c0650a34076e996a4b1ba3e20
remove console log while processing nightwave
lib/Nightwave.js
lib/Nightwave.js
'use strict'; const WorldstateObject = require('./WorldstateObject.js'); const NightwaveChallenge = require('./NightwaveChallenge'); /** * Represents an alert * @extends {WorldstateObject} */ class Nightwave extends WorldstateObject { /** * @param {Object} data The alert data * @pa...
JavaScript
0.000001
@@ -2183,101 +2183,8 @@ );%0A%0A -%0A // eslint-disable-next-line%0A console.log(JSON.stringify(this.activeChallenges, 2));%0A%0A
daca6512b9e0d66d3a0d3ea8f473a71074539d45
use tag to clone and test application
test/workflow.deploy.js
test/workflow.deploy.js
const package = require("../package.json"); exports.config = { default: { commands: { local: [ "echo 'Local command'" ], remote: [ "echo 'Remote command'" ], postDeploy: [ "echo 'Post deploy command'" ] }, ignores: [ ], shared: { files: [ "file_to_share" ], folder...
JavaScript
0
@@ -700,14 +700,11 @@ %0A%09%09%09 -branch +tag : pa
17b6d196870217909c0f6a903ca0251970f26df6
convert possible ints to str
src/Reports/Entities/Splitter.js
src/Reports/Entities/Splitter.js
'use strict' const group_delimiter = '::'; let Splitter = { compose(type, groups) { let names = _.map(groups, 'method'); let fields = _.map(groups, 'field'); let functions = _.map(names, name => this.discover(type, name)); return this.build(functions, fields); }, discover(type, name) { //@TODO: discover...
JavaScript
1
@@ -985,17 +985,17 @@ ormat('D -D +o ');%0A%09%7D,%0A
8a040ab541355bda89e37a28f966757b536fd101
Add additional .performs() test
tests/unit/task-test.js
tests/unit/task-test.js
import Ember from 'ember'; import { task, interval } from 'ember-concurrency'; module('Unit: task'); test("task init", function(assert) { assert.expect(3); let Obj = Ember.Object.extend({ oldschool: task(function() { assert.ok(this instanceof Obj); }).on('init'), newschool: task(function * () ...
JavaScript
0.000003
@@ -4073,20 +4073,754 @@ rform();%0A %7D);%0A%7D);%0A%0A +test(%22.performs() allows caller's perform to succeed when maxConcurrency isn't constraining%22, function(assert) %7B%0A assert.expect(4);%0A%0A let defer;%0A let Obj = Ember.Object.extend(%7B%0A foo: task(function * () %7B%0A defer = defer %7C%7C ...
14a92f46042085a8c0a3ea79e21a2b7346156804
Comment procedural code
lib/apparatus.js
lib/apparatus.js
const crawler = require('./crawler'); const chalk = require('chalk'); const greeter = require('./greeter'); const shelljs = require('shelljs'); module.exports = () => { require('dotenv').config(); const results = { start: '', end: '' }; greeter(); const url = process.env.WP_HOME; if (!url) { console....
JavaScript
0
@@ -243,19 +243,54 @@ %0A%0A -greeter();%0A +// Greet user%0A greeter();%0A%0A // Determine URL %0A c @@ -572,24 +572,56 @@ (url)%7D%60));%0A%0A + // Confirm dependency updates%0A console.lo @@ -758,24 +758,44 @@ : true %7D);%0A%0A + // Start crawling%0A console.lo
8fc9077b5a718aeb51ee3a61ef97fa30c62663d7
fix array error
database.js
database.js
var config = require(__dirname + '/config.js'); var utils = require(__dirname + '/utils.js'); /* * get one or all posoitions */ var getPositions = function(pid, connection, callback) { var q = 'SELECT * FROM positions'; if(pid !== 'all') { pid = parseInt(pid, 10); q += ' WHERE pid = ' + pid; }...
JavaScript
0.000026
@@ -1560,16 +1560,17 @@ sertId%7D%5D +) ;%0A
514d5c240915efaa81e22c5240b7d8b8d94aadc6
Solve day 11
day11/11.js
day11/11.js
var input = 'cqjxjnds'; // test if the string contains two different pairs of matching characters var contains2Pairs = function(string) { var pairs = string.match(/(.)\1+/g); if (pairs) { return pairs.length > 1; } else { return false; } } // test if the string contains the characters 'i', 'o', ...
JavaScript
0.999999
@@ -17,10 +17,310 @@ xjnd -s' +z';%0A%0A// add a method to the String prototype to %22replace%22 a character in a string%0A// at a given index. Strings are immutable, so actually return a new string.%0AString.prototype.replaceAt = function(index, character) %7B%0A return this.substr(0, index) + character + this.sub...
4f9f94dfba47919ecb0a4ea5cc64bda57f274fd8
Use the new View url to make the Search function. Add the Vimeo User ID for LHS.
javascripts/custom/application.js
javascripts/custom/application.js
// Define Kiosk var Kiosk = (function($, window, document, undefined) { return { init: function() { var template = Handlebars.getTemplate('header'); $("#header").html(template()); var template = Handlebars.getTemplate('home'); Kiosk.util.updateScreen('#main-content', template()); v...
JavaScript
0
@@ -1039,21 +1039,16 @@ : %22 -Station CMAN4 +Cape May %22 %7D%0A @@ -6268,95 +6268,14 @@ _id= -block_4'%0A %7D,%0A%0A rssFeeds: %7B%0A cnn_us: 'http://rss.cnn.com/rss/cnn_us.rss +page_1 '%0A @@ -6345,14 +6345,15 @@ ser1 -949213 +8747085 '%0A
fc423a9a85cf83f4065341356bf7f0abced0e248
use string concat instead of StringUtils.fillIn for coordinates, #82
js/common/view/CoordinatesNode.js
js/common/view/CoordinatesNode.js
// Copyright 2018, University of Colorado Boulder /** * Displays '(x, y)' coordinates. If the coordinates are null, this displays '(?, ?)'. * Performance is optimized to update only when visible. * * @author Chris Malley (PixelZoom, Inc.) */ define( require => { 'use strict'; // modules const graphingQuad...
JavaScript
0
@@ -540,72 +540,8 @@ );%0A - const StringUtils = require( 'PHETCOMMON/util/StringUtils' );%0A co @@ -3166,85 +3166,17 @@ -this.foregroundNode.text = StringUtils.fillIn( '(%7B%7Bx%7D%7D, %7B%7By%7D%7D)', %7B%0A x: +const x = coo @@ -3266,20 +3266,25 @@ ring -, +; %0A - y: +const y = coo @...
2cbbeac4e551f20c74061ce023f6f95e4c247bef
fix verbose
lib/cataloger.js
lib/cataloger.js
var N3 = require('n3'); var spotlight = require('dbpedia-spotlight'); var colors = require('colors'); var SparqlClient = require('sparql-client'); var sparqlEndpoint = 'http://dbpedia.org/sparql'; var Q = require('q'); var maxTimeout = 10000.00; var store = N3.Store(); var prefixes = { dcat : "http://www.w3.org/ns/d...
JavaScript
0.999999
@@ -3807,16 +3807,43 @@ +if (global.verbose) %7B%0A%09%09%09%09%09 var str @@ -3938,16 +3938,17 @@ %0A%09%09 %09 +%09 console. @@ -3957,24 +3957,31 @@ g(str.red);%0A +%09%09%09%09%7D%0A%0A %09%09%09%09rDeferre
ec2888f9a90dc95b150f4d8d1274d1e9f1761a07
Refactor entity access.
js/filters/cells-from-entities.js
js/filters/cells-from-entities.js
angular.module('arachne.filters') .filter('cellsFromEntities', ['arachneSettings', 'categoryService', function (arachneSettings, categoryService) { return function (entities, query) { for (var i in entities) { entities[i].label = categoryService.getSingular(ent...
JavaScript
0
@@ -225,24 +225,25 @@ entities) %7B%0A +%0A @@ -250,36 +250,87 @@ -%0A entities%5Bi%5D +var currentEntity = entities%5Bi%5D;%0A %0A currentEntity .lab @@ -362,27 +362,29 @@ ingular( -entities%5Bi%5D +currentEntity .type);%0A @@ -395,35 +395,37 @@ ...
6864d8930f790feef3ddaba30c9dddc1d515c465
use `append` instead of `appendChild` in `parentNode` and `parentElement` setters
lib/childnode.js
lib/childnode.js
import { NO_PARENT_INDEX, flatten } from './common' import { NodeAssembler } from './node' const { prototype : { indexOf } } = Array const { Attr } = window const { getNodeOf } = NodeAssembler /** * @see https://www.w3.org/TR/dom/#interface-childnode * @abstract */ export class ChildNodeAssembler extends NodeAssem...
JavaScript
0.000001
@@ -2199,29 +2199,24 @@ ement.append -Child (this.node)%0A @@ -2535,21 +2535,16 @@ e.append -Child (this.no
f674497a49cbd318a70ecfc10942794598c10197
remove comment
js/src/bootstrapMaterialDesign.js
js/src/bootstrapMaterialDesign.js
//import 'babel-polyfill' // necessary for firefox /** * $.bootstrapMaterialDesign(config) is a macro class to configure the components generally * used in Material Design for Bootstrap. You may pass overrides to the configurations * which will be passed into each component, or you may omit use of this class and...
JavaScript
0
@@ -1,56 +1,4 @@ -//import 'babel-polyfill' // necessary for firefox%0A%0A /**%0A
a758275cb636da592337ff1e3780c4f4f4c57316
Update live command
lib/cmds/live.js
lib/cmds/live.js
'use strict'; exports.info = { desc: 'Posts who is currently live on Twitch.', usage: '', aliases: ['whatnow'], }; exports.run = (client, msg, [num]) => new Promise((resolve, reject) => { if (msg.channel.type === 'dm') { client.utils.dmDenied(msg).then(resolve).catch(reject); return; } const users ...
JavaScript
0.000001
@@ -145,15 +145,8 @@ msg -, %5Bnum%5D ) =%3E @@ -394,16 +394,18 @@ eaming)%0A + .map(m @@ -410,17 +410,20 @@ (m =%3E %7B%0A -%09 + const @@ -460,17 +460,20 @@ ername;%0A -%09 + return @@ -474,16 +474,17 @@ return %7B + name: na @@ -553,19 +553,22 @@ e.name%7D%60 + %7D;%0A + %7D);%0A...
4e778aa9415b36def223fdb9330ad5e3e507d1e3
Fix #119
lib/cmds/repo.js
lib/cmds/repo.js
/* * Copyright 2013, All Rights Reserved. * * Code licensed under the BSD License: * https://github.com/eduardolundgren/blob/master/LICENSE.md * * @author Henrique Vicente <henriquevicente@gmail.com> */ // -- Requires ----------------------------------------------------------------- var async = require('async')...
JavaScript
0.000001
@@ -2440,24 +2440,104 @@ ions.new) %7B%0A + options.user = options.loggedUser;%0A options.repo = options.new;%0A%0A logg
5395a027d7b40ee6ac18bfcafb080692b98071c6
fix another gallery bug
js/views/thumbnails/selectable.js
js/views/thumbnails/selectable.js
module.exports = Backbone.View.extend({ tagName: 'div', className: 'gallery-item inactive', initialize: function (opts) { opts = opts || {}; this.annotator = opts.annotator; this.metadataView = opts.metadataView; }, render: function() { this.$el.html(JST['gallery/sele...
JavaScript
0
@@ -357,19 +357,19 @@ el.get(' -url +src '),%0A
a546b99e8508d14dc5d26627caa82dabe973b075
Fix git clone directory name error.
lib/cmds/repo.js
lib/cmds/repo.js
/* * Copyright 2013, All Rights Reserved. * * Code licensed under the BSD License: * https://github.com/node-gh/gh/blob/master/LICENSE.md * * @author Henrique Vicente <henriquevicente@gmail.com> * @author Eduardo Lundgren <eduardo.lundgren@gmail.com> * @author Zeno Rocha <zno.rocha@gmail.com> */ 'use strict';...
JavaScript
0
@@ -5273,20 +5273,27 @@ -null +options.new ,%0A
209f609b7b0b33d0de0e8f56f76742128e30af96
Refactor resource declaration context.
lib/component.js
lib/component.js
/** * Module dependencies. */ var path = require('path') , fs = require('fs') , existsSync = fs.existsSync || path.existsSync // 0.6 compat , utils = require('./utils') , debug = require('debug')('baton') , debugl = require('debug')('baton:load'); /** * `Component` constructor. * * A component represent...
JavaScript
0
@@ -2640,16 +2640,117 @@ %5Btype%5D = + declareResource(type, fac).bind(this);%0A %7D%0A%7D%0A%0Afunction declareResource(type, facility) %7B%0A %0A return functio @@ -2765,26 +2765,24 @@ opts) %7B%0A - - var def = %7B @@ -2805,17 +2805,20 @@ - if (fac +ility .com @@ -2827,26 +2827,24 @@ le) %...
f8deb3446fba7af57478b7114a2eddbaa8c2ad51
Fix setRequestHeader called too soon.
lib/core/cors.js
lib/core/cors.js
/*global XMLHttpRequest, XDomainRequest*/ var ArgumentInvalidException = require('../helpers/custom_exception').ArgumentInvalidException; /** * Create a cors http request. * @param method - Type of method yopu want to reach. * @param url - Url to reach. * @param options - The cors options. * @returns {XMLHttpReque...
JavaScript
0
@@ -774,68 +774,8 @@ ();%0A - xhr.setRequestHeader(%22Content-Type%22, %22application/json%22);%0A // @@ -895,17 +895,16 @@ true);%0A -%0A %7D else @@ -1243,17 +1243,75 @@ %7D%0A %7D%0A -%0A + xhr.setRequestHeader(%22Content-Type%22, %22application/json%22); %0A retur @@ -1318,8 +1318,9 @@ n xhr;%0A%7...
d282e3010a6d350df2f0291dcabf402ad54c5613
Remove '../' before join
lib/doc-links.js
lib/doc-links.js
#!/usr/bin/env node var fs = require('fs') var glob = require('glob') var path = require('path') // We are parsing the doc files for links // to other pages within the docs (relative links, // rather than external). // // We're looking for these patterns: // - [words](../abc/abc.md) // - [words](../abc/abc) // - [wor...
JavaScript
0.000018
@@ -1822,32 +1822,51 @@ baseUrl, newLink +.replace('../', '') )%0A var
5d93eddbc660d2fd565cbfef28491a47cb1aec6b
Improve configurability of print view
view/print-business-processes-table.js
view/print-business-processes-table.js
'use strict'; var ensureArray = require('es5-ext/array/valid-array') , ensureCallable = require('es5-ext/object/valid-callable') , ensureObject = require('es5-ext/object/valid-object') , ensureString = require('es5-ext/object/validate-stringifiable-value') , uncapitalize = require('es5-ext/string/#/un...
JavaScript
0.000001
@@ -1308,16 +1308,78 @@ sPerPage +,%0A%09%09canItemBeApplicable: exports._getCanItemBeApplicable(this) %0A%09%7D);%0A%09s @@ -3551,28 +3551,82 @@ yPath = Function.prototype;%0A +exports._getCanItemBeApplicable = Function.prototype;%0A
6eb0d603eaa4222dc99dce8d0a37ef2424c2e2ff
make prompt work for differnt modals
lib/functions.js
lib/functions.js
/******** Project - Final ********************************* Authors: Eric Wooley, Tandra Felly, Lauryn Loudermilk Description: Javascript automata engine. **********************************************************/ function calculate_distance(point1, point2){ var xs = 0; var ys = 0; xs = point2.x - point1.x; xs = ...
JavaScript
0.000001
@@ -988,36 +988,107 @@ %7C%7C %7B%7D;%0A -$( %22#dialog%22 +if(!options.modal) throw new Error(%22A modal div is required%22);%0A $( options.modal ).dialog(%7B%0A @@ -1883,18 +1883,21 @@ $( - %22#dialog%22 +options.modal ).d
12f6381e8085ea78aeb6912c2500ddec4dc2c91e
Add two spaces before the integrate spinner message
lib/integrate.js
lib/integrate.js
/** * Copyright 2015 Mozilla * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
JavaScript
0.000007
@@ -833,24 +833,31 @@ cli.spinner( +' ' + message);%0A%7D%0A
9fa4c84f2311e0711c3ace7664b3bfb42ca2b82d
trim is a no-op for now if it doesnt exist
lib/js/common.js
lib/js/common.js
var COMMON = (function(){ var urlPrefix = window.location.protocol + '//' + window.location.host; var sessionRegExp = /.*session=([\-0-9a-zA-Z]+).*/; var validateLoginInfo = function(username, password) { var allLegal = function(s) { var i = 0, len = s.length; for (; i < len; ++i) { if ((...
JavaScript
0
@@ -640,16 +640,128 @@ html';%0A%0A + if(typeof String.prototype.trim === 'undefined') %7B%0A String.prototype.trim = function(s) %7B return s; %7D%0A %7D%0A%0A return
171738e593d20c4053e1e7dd67b2b33b924a2d8e
Introduce some rules map validation
lib/map-rules.js
lib/map-rules.js
'use strict'; var forEach = require('es5-ext/object/for-each') , memoize = require('memoizee/weak') , create = Object.create; module.exports = memoize(function (rules) { var map = {}; forEach(rules, function (rule, key) { var currentMap = map, tokens, token; if (key === '/') { map.rule = rule; retur...
JavaScript
0
@@ -96,16 +96,17 @@ /weak')%0A +%0A , crea @@ -124,16 +124,44 @@ t.create +, stringify = JSON.stringify ;%0A%0Amodul @@ -409,19 +409,108 @@ shift()) -) %7B + !== undefined) %7B%0A%09%09%09if (!token) throw new Error(%22Invalid rules map key %22 + stringify(key)); %0A%09%09%09if (
0004657b030c33f2e9bffe1623a6ffa89437686d
add country gallery
www/app/scripts/controllers/country.js
www/app/scripts/controllers/country.js
'use strict'; angular.module('wwwApp') .controller('CountryCtrl', function ($scope, $stateParams, Country, Gallery) { $scope.country = Country.get({id: $stateParams.id}, function(country) { $scope.rootItem = country.id; }); $scope.galleries = Gallery.query({country: $statePar...
JavaScript
0
@@ -248,25 +248,24 @@ %7D);%0A -%0A $sco @@ -283,30 +283,29 @@ s = -Gallery.query(%7Bcountry +Country.galleries(%7Bid : $s @@ -334,26 +334,24 @@ on (data) %7B%0A - an @@ -399,20 +399,16 @@ - row.date @@ -431,24 +431,85 @@ created);%0A + row.icons = Gallery.i...
50abde23cbb0d3ad312c3dcb8765b70da47e6078
fix canvas autoscaling
lib/muybridge.js
lib/muybridge.js
var Muybridge = (function() { /** * Create and run an animation. */ function run(opts) { console.log('running sketch', opts); var draw = opts.draw; var setup = opts.setup || function() {}; var update = opts.update || function(state) { return state; } var canvas...
JavaScript
0
@@ -649,38 +649,84 @@ -if (opts.scaleCanvas %7C%7C opts.s +// Autoscale the canvas for hi-dpi screens by default%0A if (opts.autoS cale @@ -736,25 +736,21 @@ vas !== -undefined +false ) %7B%0A @@ -757,21 +757,25 @@ -setup +autoScale Canvas(c @@ -1062,21 +1062,25 @@ unction -setup +auto...
1af6730f3da71fb60273121dad5c0d63e1a4a3c6
Configure the parser to allow ES2017 features (async/await)
.eslintrc.js
.eslintrc.js
module.exports = { extends: [ 'onelint' ], env: { es6: true }, parserOptions: null };
JavaScript
0
@@ -111,12 +111,41 @@ ns: -null +%7B%0A ecmaVersion: 2017%0A %7D %0A%7D;%0A
f804044ae1541f6cf0bbec89a46523cc2136dd2c
Disable linter for indentation of chained methods.
.eslintrc.js
.eslintrc.js
module.exports = { "parserOptions": { "sourceType": "module", "ecmaVersion": 6, "ecmaFeatures": { "jsxnec": true, }, }, "extends": "eslint:recommended", "globals": [ // browser "window", "document", "URL", "XMLHttpRequest", // browser / nodejs "console", "setTimeout", "setI...
JavaScript
0
@@ -632,16 +632,43 @@ Case%22: 1 +, %22MemberExpression%22: %22off%22 %7D%5D,%0A
3a66c5a0f85f2c06f88c0d560a29e9020c01d096
Add rules to eslint config
.eslintrc.js
.eslintrc.js
// http://eslint.org/ module.exports = { "extends": "eslint:recommended", // http://eslint.org/docs/user-guide/configuring#specifying-environments "env": { "browser": true, }, // http://eslint.org/docs/user-guide/configuring#specifying-globals "globals": { // false means it sho...
JavaScript
0
@@ -1094,21 +1094,181 @@ %22always%22%5D,%0A + %22no-new-object%22: %5B%22error%22%5D,%0A %22no-unneeded-ternary%22: %5B%22error%22%5D,%0A %22no-throw-literal%22: %5B%22error%22%5D,%0A %22no-use-before-define%22: %5B%22error%22%5D,%0A %7D%0A%7D;%0A
16f232d7eccbf909f4f9c9746eb801b93c3f71e6
fix eslintrc (overrides position)
.eslintrc.js
.eslintrc.js
/* 👋 Hi! This file was autogenerated by tslint-to-eslint-config. https://github.com/typescript-eslint/tslint-to-eslint-config It represents the closest reasonable ESLint configuration to this project's original TSLint configuration. We recommend eventually switching this configuration to extend from the recommended ...
JavaScript
0
@@ -849,24 +849,262 @@ int%22%0A %5D,%0A + %22overrides%22: %5B%0A %7B%0A %22files%22: %5B%22test/Util/*.js%22%5D,%0A %22rules%22: %7B%0A %22@typescript-eslint/explicit-function-return-type%22: %22off%22,%0A %22@typescript-eslint/typedef%22: %22off%22,%0A %...
eadf465cf22d56f8b0a39662b5211102e91d8498
Enable "indent" rule
.eslintrc.js
.eslintrc.js
module.exports = { root: true, plugins: [ 'chai-expect', ], extends: 'eslint:recommended', env: { browser: false, node: true, }, globals: { }, rules: { // JSHint "expr" 'no-unused-expressions': [2, { allowShortCircuit: true, allowTernary: true, }], // JSHint "p...
JavaScript
0.000004
@@ -482,17 +482,17 @@ dent': %5B -0 +2 , 2, %7B%0A @@ -506,25 +506,25 @@ witchCase': -0 +1 ,%0A 'Var
2c78b4e56c18e033858c3f8e1abbbb7f53c1783e
Add new line at EOF
.eslintrc.js
.eslintrc.js
module.exports = { env: { 'jest/globals': true, }, root: true, extends: ['@react-native-community'], plugins: ['jest'], rules: { "array-bracket-spacing": 0, "no-console": 0, 'comma-dangle': 0, 'object-curly-spacing': 0, 'no-unused-vars': 2, "semi": 0, "quotes": [2, "single", ...
JavaScript
0
@@ -536,8 +536,9 @@ 0%0A %7D%0A%7D +%0A
57b32698ee31abc809cbf1c5981ae7bba70d9126
Add more logging in metrics temporarily for content-negotiation
lib/content_negotiation_filter.js
lib/content_negotiation_filter.js
"use strict"; const HyperSwitch = require('hyperswitch'); const semver = require('semver'); const HTTPError = HyperSwitch.HTTPError; const URI = HyperSwitch.URI; const mwUtil = require('./mwUtil'); module.exports = (hyper, req, next, options, specInfo) => { const rp = req.params; if (!mwUtil.isHTMLRoute(specI...
JavaScript
0.000001
@@ -1595,24 +1595,240 @@ n our side.%0A + hyper.logger.log('error/negotiation', %7B%0A msg: 'Failed to find out stored Parsoid version',%0A request: req,%0A requested_version: requestedVersion%0A %7D);%0A @@ -1835,32 +1835,32 @@ return h...
f0c92a5d7f90b97141ac406eaaad28a1d002cefe
Add no-else-return rule
.eslintrc.js
.eslintrc.js
const OFF = 0; const WARNING = 1; const ERROR = 2; module.exports = { env: { browser: true, es6: true, node: true, jest: true, jasmine: true }, root: true, // stop ESLint from looking for a configuration file in parent folders parser: "babel-eslint", parserOptions: { sourceType: "modu...
JavaScript
0.000425
@@ -668,24 +668,53 @@ %0A rules: %7B%0A + %22no-else-return%22: ERROR,%0A %22react/n
0399263d648fca5103f3067ad0dcd84ae6cb71a8
Fix eslint config (copied babel conf on accident)
.eslintrc.js
.eslintrc.js
module.exports = { presets: [ ['env', { targets: { node: 'current' } }] ]; }
JavaScript
0
@@ -19,91 +19,102 @@ %0A p -resets: %5B +arserOptions: %7B %0A -%5B'env', %7B%0A targets: %7B%0A node: 'current'%0A %7D%0A %7D%5D%0A %5D +ecmaVersion: 8,%0A sourceType: 'module'%0A %7D,%0A env: %7B%0A node: true%0A %7D%0A%7D ;%0A -%7D %0A
d199238673dc6fa993dba7613c8a2dee08c07b5c
update .eslintrc.js
.eslintrc.js
.eslintrc.js
module.exports = { 'extends': [ 'eslint:recommended', 'plugin:react/recommended', ], 'root': true, 'parser': 'babel-eslint', 'parserOptions': { 'ecmaFeatures': { 'jsx': true, }, }, 'env': { 'es6': true, 'node': true, 'browser': true, 'jest': true, }, 'plugins': [ 'react', ], 'globals': {...
JavaScript
0
@@ -1421,17 +1421,17 @@ Depth': -1 +2 ,%0A%09%09%09%7D,%0A
661a7a21a19b11ac8df390b19463c44ebe25fb8b
upgrade no-restricted-globals lint rule from warn to error
.eslintrc.js
.eslintrc.js
var path = require('path') const downgraded = [ 'array-callback-return', 'class-methods-use-this', 'consistent-return', 'eqeqeq', 'no-async-promise-executor', 'no-await-in-loop', 'no-restricted-globals', 'no-restricted-syntax', 'no-return-assign', 'no-self-compare', 'no-shadow', 'no-underscore-...
JavaScript
0
@@ -189,35 +189,8 @@ p',%0A - 'no-restricted-globals',%0A 'n
4a64ae7e90fa21211403d51ee6b0b6b1802d66de
Add `no-new-object` eslint rule
.eslintrc.js
.eslintrc.js
module.exports = { "extends": "react-app", "rules": { // https://github.com/airbnb/javascript#commas--dangling "comma-dangle": ["warn", "always-multiline"], // Semicolons: 'no-extra-semi': 'warn', // https://github.com/airbnb/javascript#semicolons--required semi: ['warn', 'always'], 'se...
JavaScript
0.000082
@@ -159,24 +159,129 @@ ltiline%22%5D,%0A%0A + // Objects%0A // https://github.com/airbnb/javascript#objects--no-new%0A 'no-new-object': 'warn',%0A%0A // Semic
2e80b78b3710fb1340d65007a0c7949e35b215db
Add a createTable function to the common test code.
tests/lib/common.js
tests/lib/common.js
exports.insertMany = function (db, table, fields, rows, callback) { var columns_fragment = fields.join(","); var placeholders_fragment = []; var i = fields.length; while (i--) { placeholders_fragment.push('?'); } placeholders_fragment = placeholders_fragment.join(", "); var sql = 'INSERT INTO ' + ta...
JavaScript
0
@@ -1384,16 +1384,476 @@ Step();%0A %7D);%0A%7D%0A +%0Aexports.createTable = function (db, name, columns, callback) %7B%0A var columnFragment%0A = '(' +%0A columns.map(function (i) %7B%0A return i.name + %22 %22 + i.type%0A %7D).join(', ') +%0A ')';%0A%0A db.prepare('CREATE TABLE ' + ...
dbf6112551d31418b54a113abb5c009caa6f8cbe
Remove unclear comment
app/assets/javascripts/contacts.js
app/assets/javascripts/contacts.js
var Renalware = typeof Renalware === 'undefined' ? {} : Renalware; Renalware.Contacts = { Modal: function(el, callback) { this.el = el, this.form = this.el.find("form"), this.errorsContainer = this.form.find(".errors-container"), this.errorsList = this.errorsContainer.find("ul.error-messages"), t...
JavaScript
0
@@ -951,85 +951,8 @@ ON%22, - // you want a difference between normal and ajax-calls, and json is standard %0A @@ -2132,8 +2132,9 @@ %7D)%0A%7D); +%0A
ce796bda434713a87635133781ff3e5df9e5e6a0
Change validation of inputs
app/assets/javascripts/lib/form.js
app/assets/javascripts/lib/form.js
Skull.Form = { checkInput: function(event){ if(event.currentTarget.checkValidity()){ var $target = this.$(event.currentTarget); $target.removeClass("error"); this.$('[data-error-for=' + $target.prop('id') + ']').hide(); } }, setupForm: function(){ this.$('input').on('invalid', this....
JavaScript
0
@@ -35,24 +35,468 @@ ion(event)%7B%0A + var $this = $(event.currentTarget);%0A var validInput = true;%0A var mask = $this.data('mask');%0A if(mask)%7B%0A // just numbers%0A if(!/.*%5C?.*/gi.test(mask) && /.*_.*/gi.test($this.val()))%7B%0A validInput = false;%0A %7D%0A // with opt...
6348b0ab53f7d80f3154053ae54f3498a04e31ef
add a 1/2 second delay to tooltips
app/assets/javascripts/tooltips.js
app/assets/javascripts/tooltips.js
$j(document).ready(function () { bindTooltips('body') }); function bindTooltips(root_tag) { $j(root_tag + ' [data-tooltip]').popover({ html: false, animation: false, trigger: 'hover', placement: 'auto right', container: 'body', content: function () { ...
JavaScript
0
@@ -270,16 +270,36 @@ 'body',%0A + delay: 500,%0A
ea0f69ac4187706c26b52c6748fd94a84e0e2ac8
Change label for initial status
app/assets/scripts/views/status.js
app/assets/scripts/views/status.js
'use strict'; var React = require('react/addons'); var Router = require('react-router'); var RouteHandler = Router.RouteHandler; var moment = require('moment'); var titlecase = require('titlecase'); var turfCentroid = require('turf-centroid'); var util = require('util'); var url = require('url'); var nets = require('n...
JavaScript
0
@@ -3799,24 +3799,179 @@ tus + ' ';%0A%0A + var imgStatusMatrix = %7B%0A 'initial': 'Pending',%0A 'processing': 'Processing',%0A 'finished': 'Finished',%0A 'errored': 'Errored'%0A %7D;%0A%0A return ( @@ -3963,32 +3963,32 @@ ;%0A%0A return (%0A - %3Cdiv class @@ -4121,18 +4121,...
17e6dff4ae31811fffd9461d5957c6dcb295406f
fix NormalShader blendNormals precision
shader/NormalShader.js
shader/NormalShader.js
export default class NormalShader { // https://blog.selfshadow.com/publications/blending-in-detail/ static blendNormals() { return ` vec3 blendNormals(vec3 n1, vec3 n2) { vec3 t = n1.xyz + vec3( 0, 0, 1); vec3 u = n2.xyz * vec3(-1, -1, 1); vec3 r = (t/t.z)*dot(t, u) - ...
JavaScript
0
@@ -222,16 +222,18 @@ ec3( - 0 +. , 0 +. , 1 +. );%0A @@ -270,15 +270,18 @@ 3(-1 +. , -1 +. , 1 +. );%0A
87a752a10851811e37c332782fc9d2ee664bcf62
Make the workload worker request the top products endpoint
.workload.js
.workload.js
'use strict' var opbeat = require('opbeat').start({ appId: process.env.WORKLOAD_OPBEAT_APP_ID, organizationId: process.env.WORKLOAD_OPBEAT_ORG_ID, secretToken: process.env.WORKLOAD_OPBEAT_SECRET_TOKEN, active: process.env.NODE_ENV === 'production' }) var Workload = require('workload') var conf = require('./se...
JavaScript
0.00019
@@ -643,24 +643,64 @@ 'OPTIONS'%7D,%0A + %7Bweight: 7, url: api + 'products'%7D,%0A %7Bweight: @@ -715,32 +715,36 @@ api + 'products +/top '%7D,%0A %7Bweight:
d1384137594ad42e249f50ada7b69b27744a644d
make ingredients update properly
app/components/RecipeSearchView.js
app/components/RecipeSearchView.js
/* * Copyright 2017-present, Hippothesis, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * * @flow */ 'use strict'; import React, { Component } from 'react'; import { View, ScrollView, Image, Statu...
JavaScript
0
@@ -872,16 +872,156 @@ ch() %7B%0A%0A + let ingredientString = this.props.ingredients.map((elem) =%3E elem.name).join(%22,%22);%0A console.log(%22ingredientString%22, ingredientString); %0A%0A th @@ -1136,23 +1136,25 @@ ts: -%22chicken, rice%22 +ingredientString, %0A @@ -1219,24 +1219,66 @@ s.recipes)...
de5e7ce49318d14ab907461000730835a58273ae
Change sending of the logout request
app/components/header-component.js
app/components/header-component.js
import Ember from "ember"; import config from '../config/environment'; export default Ember.Component.extend({ didInsertElement: function() { this._super(); this.set("error_message", undefined); this.resizeBody(); var self = this; Ember.$(window).on("window:resize", function() { self.re...
JavaScript
0
@@ -377,16 +377,37 @@ on() %7B%0D%0A +%09%09%09var self = this;%0D%0A %09%09%09Ember @@ -417,16 +417,16 @@ ajax(%7B%0D%0A - @@ -571,16 +571,17 @@ e: 'GET' +, %0D%0A @@ -590,34 +590,179 @@ -%7D);%0D%0A%09%09%09this + success: function() %7B%0D%0A %09self.get(%22session%22).in...
9b3b5b98259747200bc781468c5b323ec5f509a6
fix #637
src/admin/controller/api/cate.js
src/admin/controller/api/cate.js
const Base = require('./base'); module.exports = class extends Base { async getAction() { let result; if(this.get('pid')) { this.modelInstance.where({pid: this.get('pid')}); } if(this.id) { result = await this.modelInstance.where({id: this.id}).find(); result.post_cate = result.post...
JavaScript
0.000001
@@ -104,24 +104,25 @@ sult;%0A if + (this.get('p @@ -161,16 +161,17 @@ .where(%7B + pid: thi @@ -182,16 +182,17 @@ t('pid') + %7D);%0A @@ -199,16 +199,17 @@ %7D%0A if + (this.id @@ -259,16 +259,17 @@ .where(%7B + id: this @@ -271,16 +271,17 @@ this.id + %7D).find( @@ -667,16 +667,17 @@ ;%0...
856188906a1483e89f7c317b21a129a06ccc0d7f
update sw.conf.js
app/conf/service-worker/sw.conf.js
app/conf/service-worker/sw.conf.js
exports.conf = function(project, target){ var env = project.env; var root = env.root; var prefix = { "default": "/" }; var _urlPrefix = prefix[target || "default"] || "/"; return { "importWorkboxFrom": "local", "skipWaiting": true, "clientsClaim": true, "ignoreURLParametersMatching": [/./...
JavaScript
0.000001
@@ -414,61 +414,187 @@ %22: %22 -Network +Cache First%22 +, %0A%09 -%7D%5D,%0A%09 %22globDirectory%22: root.doc + %22options%22: %7B%0A%09 %09%22cacheName%22: %22iconfont%22,%0A %22fetchOptions%22: %7B%0A %22mode%22: 'no-cors',%0A %7D%0A%09 %7D...
920900ce1609082923839b59d78cba94a5a33980
Exclude flex-grow/-shrink in zeroUnit (#467)
lib/linters/zero_unit.js
lib/linters/zero_unit.js
'use strict'; const parseValue = require('../utils/parse-value'); const util = require('util'); module.exports = { name: 'zeroUnit', nodeTypes: ['decl'], message: 'Unit should %sbe omitted on zero values.', lint: function zeroUnitLinter (config, node) { // Units to check for const uni...
JavaScript
0
@@ -463,16 +463,44 @@ z-index' +, 'flex-shrink', 'flex-grow' %5D;%0A
a8a87afa6193ae4ad43c7057f5f54ac9f1ba6a3d
Update person.js
models/person.js
models/person.js
// person.js // Person model logic. var neo4j = require('neo4j'); var db = new neo4j.GraphDatabase( process.env['NEO4J_URL'] || process.env['GRAPHENEDB_URL'] || 'http://localhost:7474' ); // private constructor: var Person = module.exports = function Person(_node) { // all we'll really store is the n...
JavaScript
0.000001
@@ -30,16 +30,18 @@ logic.%0A%0A +// var neo4 @@ -62,16 +62,18 @@ eo4j');%0A +// var db = @@ -98,16 +98,18 @@ tabase(%0A +// proc @@ -128,24 +128,26 @@ 4J_URL'%5D %7C%7C%0A +// process. @@ -171,16 +171,18 @@ RL'%5D %7C%7C%0A +// 'htt @@ -201,16 +201,243 @@ t:7474'%0A +//);%0A// https://github.com...
88e5f69013a53bea9fde92f5f842e3ac0b343800
Fix UrlNormalizer declaration
lib/net/UrlNormalizer.js
lib/net/UrlNormalizer.js
"use strict"; var UrlNormalizer = function () { this.normalizeJsonp = function (url) { if (url.indexOf("?") === -1) url += "?"; else if (url.indexOf("&") > -1) url += "&"; if (url.indexOf("callback=JSON_CALLBACK") === -1) url += "callback=JSON_CALLBACK"; ...
JavaScript
0.000005
@@ -28,16 +28,21 @@ lizer = +new ( function @@ -346,17 +346,16 @@ %7D;%0A%7D -( );%0A%0Amodu
c3a667f080be93a14c24d474e931b6a3e36e75cd
Add deprecated RoutingContext export to index
modules/index.js
modules/index.js
/* components */ export Router from './Router' export Link from './Link' export IndexLink from './IndexLink' /* components (configuration) */ export IndexRedirect from './IndexRedirect' export IndexRoute from './IndexRoute' export Redirect from './Redirect' export Route from './Route' /* mixins */ export History from...
JavaScript
0
@@ -541,16 +541,62 @@ ontext'%0A +export RoutingContext from './RoutingContext'%0A export P
0b4849da6af9dae0033c9cbd2f150a15674421fe
Convert sound module
modules/sound.js
modules/sound.js
(function(root) { var context = typeof module != 'undefined' ? module.exports : (window.sound = {}) var lastPachiIndex = -1 var lastCaptureIndex = -1 var captureSounds = Object.keys(new Int8Array(5)).map(function(x) { return new Audio('../sound/capture' + x + '.mp3') }) var pachiSounds = Object.keys(new Int8Arra...
JavaScript
0.000388
@@ -1,108 +1,7 @@ -(function(root) %7B%0A%0Avar context = typeof module != 'undefined' ? module.exports : (window.sound = %7B%7D)%0Avar +let las @@ -17,19 +17,19 @@ ex = -1%0A -var +let lastCap @@ -44,19 +44,19 @@ x = -1%0A%0A -var +let capture @@ -102,32 +102,12 @@ map( -function(x) %7B%0A return +x =%3E ...
0508f6e115be19bd94973398971d00cc2542aad5
Refactor runTest
tests/util/index.js
tests/util/index.js
var WebVTTParser = require("../..").WebVTTParser, tape = require("tape"), fs = require("fs"); // Add some things to tape. tape.Test.prototype.expect = function(n) { return tape.Test.prototype.plan(n); }; tape.Test.prototype.assertCue = function(a, b, msg, extra) { return tape.Test.prototype.deepEqual(a, b,...
JavaScript
0.000001
@@ -331,16 +331,118 @@ a);%0A%7D;%0A%0A +function runTest(name, assertions, vtt) %7B%0A tape(name, function(t) %7B%0A assertions(vtt, t);%0A %7D);%0A%7D%0A%0A function @@ -473,24 +473,24 @@ sertions) %7B%0A - var result @@ -734,20 +734,23 @@ h();%0A%0A -tape +runTest (filenam @@ -751,34 +751,16 @@ ilena...
feb9d47b91711c5d1be2be9c6aa57b384d38bea2
set some defaults when opening a new window
lib/scripts/newWindow.js
lib/scripts/newWindow.js
/** * opens new window via window.open * @param {String} url The URL to be loaded in the newly opened window. * @param {String} windowName A string name for the new window. * @param {String} windowFeatures An optional parameter listing the features (size, position, scrollbars, etc.) of the new wi...
JavaScript
0.000002
@@ -462,32 +462,47 @@ (url, windowName + = 'new window' , windowFeatures @@ -501,16 +501,21 @@ Features + = '' ) %7B%0A
3391e8fd863477ad6ca863eae36d32119aebf33d
Fix Invite constructor
lib/structures/Invite.js
lib/structures/Invite.js
"use strict"; const Base = require("./Base"); /** * Represents an invite. The nullable properties will be null if the bot user does not have manage channel or manage server permissions for the invite's channel/server. * @prop {String} code The invite code * @prop {Object} channel Info on the invite channel * @prop {S...
JavaScript
0.000001
@@ -2425,16 +2425,17 @@ this. +_ createdA
b7f5486f9f39fe9d3788530b569cd79079bff994
fix swsElasticEmitter putOptions on init
lib/swsElasticEmitter.js
lib/swsElasticEmitter.js
/** * ElasticSearch Emitter. Store Request/Response records in Elasticsearch */ 'use strict'; var os = require('os'); var util = require('util'); var http = require('http'); var url = require('url'); var request = require('request'); var debug = require('debug')('sws:elastic'); var swsUtil = require('./swsUtil'); ...
JavaScript
0
@@ -2654,17 +2654,8 @@ ns = - null; // %7Bur @@ -3356,16 +3356,17 @@ if( +! that.es7 @@ -3399,125 +3399,16 @@ ions - = %7Burl:templateURL, json:indexTemplate7X%7D;%0A %7D else %7B%0A putOptions = %7Burl:templateURL, json: +.json = inde @@ -3416,17 +3416,16 @@ Template -%7D ;%0A ...
8e760f5fa2dd3435994760b19992f3367e20cfe9
Ensure all assertions return
lib/unexpected-moment.js
lib/unexpected-moment.js
(function (root, factory) { if (typeof exports === 'object') { module.exports = factory(require('moment')); } else if (typeof define === 'function' && define.amd) { define(['moment'], factory); } else { // TODO: global moment object is deprecated and will be removed in v3 roo...
JavaScript
0.999999
@@ -1528,24 +1528,31 @@ +return expect(momen @@ -1723,32 +1723,39 @@ +return expect(subject.i @@ -1920,32 +1920,39 @@ +return expect(subject.i @@ -2127,32 +2127,39 @@ // +return expect(subject.i @@ -2209,32 +2209,39 @@ +return ...
b4678badad04305739d9c0ee55413411daec1cc7
Update lib/util/searchcursor.js
lib/util/searchcursor.js
lib/util/searchcursor.js
(function(){ function SearchCursor(cm, query, pos, caseFold) { this.atOccurrence = false; this.cm = cm; if (caseFold == null && typeof query == "string") caseFold = false; pos = pos ? cm.clipPos(pos) : {line: 0, ch: 0}; this.pos = {from: pos, to: pos}; // The matches method is filled in based on...
JavaScript
0.000001
@@ -894,26 +894,23 @@ ch.index -;%0A + + 1;%0A%09 line @@ -923,27 +923,21 @@ e.slice( -match.index +start );%0A @@ -1091,18 +1091,9 @@ - start++; +%7D %0A @@ -1091,33 +1091,40 @@ %7D%0A -%7D +start--; %0A %7D else
f4690feb473a2b8a29c8a2e777cfacc295e1610e
Revert "Added check for youtube destroy method in beforeDestroy"
lib/vue-youtube-embed.js
lib/vue-youtube-embed.js
/*! * Vue YouTube Embed version 2.1.1 * under MIT License copyright 2017 kaorun343 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.VueYouTubeEmbed = gl...
JavaScript
0
@@ -4822,31 +4822,8 @@ null - && this.player.destroy ) %7B%0A
4f4f173626802ef1ddade1d166bf700f5216791c
create a new scope to preserve the value of method
lawg.js
lawg.js
/** * Global development and debugging helper * Author: Marc Diethelm */ ;(function() { var w = window ,c ,isElement ,isjQuery ,isArray ,fn = 'function' ,cMethods = ['log', 'info', 'debug', 'error', 'dir', 'table'] ,method ,i ,len ; function concatArgs(args, nestedCall) { var aStr = [] ...
JavaScript
0.000001
@@ -201,16 +201,24 @@ 'debug', + 'warn', 'error' @@ -2825,16 +2825,94 @@ fn && ( +function(method) %7B // create a new scope to preserve the value of method%0A%09%09%09%09%09 w%5Bmethod @@ -2959,17 +2959,31 @@ ments) %7D - +%0A%09%09%09%09%7D )(method );%0A%09%09%09%7D%0A
90ce6717f594870a80c9189d001a7e5531fe6a0b
change loading position
app/containers/MentionsTimeline.js
app/containers/MentionsTimeline.js
import React, { Component } from 'react'; import { connect } from 'react-redux'; import storage from 'electron-json-storage'; import TwitterClient from '../utils/twitterClient'; import Tweet from '../components/Tweet'; import { requestGetMentionsTimeline } from '../actions/mentionsTimeline'; class MentionsTimeline ext...
JavaScript
0.000001
@@ -767,17 +767,83 @@ e=%22L -oading%22 / +ist%22%3E%0A %3Cdiv className=%22Loading%22 /%3E%0A %3C/div %3E%0A