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
edb63ec9c3b43c2c6f184f636138fe405406d14c
add params
Algorithms/JS/arrays/intersectionTwoSortedArrays.js
Algorithms/JS/arrays/intersectionTwoSortedArrays.js
// Intersection Of Sorted ArraysBookmark Suggest Edit // Find the intersection of two sorted arrays. // OR in other words, // Given 2 sorted arrays, find all the elements which occur in both the arrays. // Example : // Input : // A : [1 2 3 3 4 5 6] // B : [3 3 5] // Output : [3 3 5] // Input : // A : ...
JavaScript
0.000002
@@ -357,16 +357,84 @@ Output : %5B3 5%5D%0A +%0A/**%0A * @param %7Barr%5B%5D%7D A%0A * @param %7Barr%5B%5D%7D B%0A * @return %7Barr%5B%5D%7D%0A */%0A
a3fc549f503b47d866ee1bfed6164df923f4dbc2
update example
docs/example/example.js
docs/example/example.js
/*global console: false */ (function () { var $title = $('#title'); var $message = $('#message'); var $button = $('.btn'); $title.val('Example Notification'); $message.val('This is some notification text.'); $button.on('click', function onClick() { webNotification.showNotification($ti...
JavaScript
0.000001
@@ -21,16 +21,17 @@ lse */%0A%0A +$ (functio @@ -32,16 +32,22 @@ unction +onLoad () %7B%0A @@ -1125,12 +1125,10 @@ %7D);%0A%7D) -() ;%0A
b797ab224b14c5f496f928e87efa953e7cb39f19
use datasource status as loaded check
MovieList.js
MovieList.js
'use strict'; var React = require('react-native'); var { AppRegistry, StyleSheet, Image, Text, View, ListView, TouchableHighlight, AlertIOS, VibrationIOS, } = React; var API_KEY = '7waqfqbprs7pajbz28mqf6vz'; var API_URL = 'http://api.rottentomatoes.com/api/public/v1.0/lists/movies/in_theaters.json';...
JavaScript
0
@@ -748,29 +748,8 @@ %7D),%0A - loaded: false,%0A @@ -1013,32 +1013,8 @@ ),%0A - loaded: true,%0A @@ -1998,17 +1998,16 @@ if ( -! this.sta @@ -2013,14 +2013,38 @@ ate. -loaded +dataSource.getRowCount() === 0 ) %7B%0A
acf0c1ebac8e4d85b14f5270c01a9dd60492625b
Disable `removeViewBox` plugin
ember/ember-cli-build.js
ember/ember-cli-build.js
'use strict'; /* eslint-env node */ let EmberApp = require('ember-cli/lib/broccoli/ember-app'); module.exports = function(defaults) { let environment = process.env.EMBER_ENV; let pluginsToBlacklist = []; if (environment === 'production') { pluginsToBlacklist.push('ember-freestyle', 'freestyle'); } else ...
JavaScript
0
@@ -914,24 +914,97 @@ blic/svg'%5D,%0A + optimizer: %7B%0A plugins: %5B%7B removeViewBox: false %7D%5D,%0A %7D,%0A %7D,%0A%0A
e27a021771d9943b4cc015bb75fc38be9b11616d
Add support for https://twitter.com/user/statuses/id/ urls
modules/twitter/index.js
modules/twitter/index.js
var Twit = require('twit'); var ent = require('ent'); var t = null; var tConf = null; var bot = null; var twitRegex = /^(https?\:\/\/)?(www\.)?twitter\.com\/([a-zA-Z0-9_]+)(\/status\/(\d+))?/; module.exports.init = function(b) { bot = b; bot.getConfig("twitter.json", function(err, conf) { tConf = conf; i...
JavaScript
0.000006
@@ -176,16 +176,21 @@ %5C/status +(es)? %5C/(%5Cd+)) @@ -685,17 +685,17 @@ %5D && !m%5B -5 +6 %5D) %7B%0A @@ -1039,9 +1039,9 @@ = m%5B -5 +6 %5D;%0A
872df9d9dee4e9ffc8ff38dd1b5ec9ee022eafda
Add views to Race state
src/client/react/user/stages/Race/Dashboard.js
src/client/react/user/stages/Race/Dashboard.js
import React from 'react'; import { Route } from 'react-router-dom'; import { connect } from 'react-redux'; import { Switch, Redirect } from 'react-router-dom'; import Base from '../../components/Base'; import HelpMenu from '../../components/HelpMenu'; import Home from '../../views/Home'; import Help from '../../views/...
JavaScript
0
@@ -380,33 +380,63 @@ %0Aimport -ImageUploaderT +Feed from '../../views/Feed';%0Aimport Challeng es -t from '. @@ -446,33 +446,73 @@ ./views/ -ImageUploaderTest +Challenges';%0Aimport Challenge from '../../views/Challenge ';%0Aimpor @@ -1041,19 +1041,12 @@ nt=%7B -()=%3E%3C Home -/%3E %7D/%3E%0A @@ -1049,32 +...
ec9ece84c4c2b17b4403997bd136c85dd8216591
fix get jobs
WeWorkRemotelyGetJobs.js
WeWorkRemotelyGetJobs.js
var express = require('express'); var request = require('request'); var cheerio = require('cheerio'); var mongoose = require('mongoose'); mongoose.connect('mongodb://localhost/nodescrap'); var app = express(); var Category = mongoose.model('categories', { title: String, link: String, source: {web: String, ...
JavaScript
0.000001
@@ -1567,24 +1567,25 @@ tr('href');%0A +%0A @@ -1604,151 +1604,81 @@ var -dtTitle = $(this).text();%0A%0A // replace %5Cn to space%0A var replaceSpace = dtTitle.replace(/%5Cn/g, ' ' +today = new Date();%0A var year = today.getFullYear...
0560f46221fd94aff3095ef4d2a4bcb156229fba
remove date helpers
docs/helpers/package.js
docs/helpers/package.js
var path = require('path') var extend = require('extend-basic') var time = require('o-clock') var config = require(path.resolve(process.cwd(), 'package.json')) exports.pkg = function (key) { var options = Array.prototype.pop.call(arguments) var opts = extend(options, config) return opts[key] || '' } exports.au...
JavaScript
0.999955
@@ -607,281 +607,4 @@ '%0A%7D%0A -%0Aexports.year = function (startYear) %7B%0A if (typeof startYear === 'object') startYear = ''%0A var thisyear = new Date().getFullYear().toString() + ' '%0A var date = startYear ? startYear + '-' + thisyear : thisyear%0A return date%0A%7D%0A%0Aexports.time = function () %7B%0A ...
ac5008eb9f64e7e62ccb94cadb8490c8a2033ea8
make sure UsageRightsIndicator button always have a title
ui/shared/files/react/components/UsageRightsIndicator.js
ui/shared/files/react/components/UsageRightsIndicator.js
/* * Copyright (C) 2015 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas 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, version 3 of the License. * * Canvas is distribut...
JavaScript
0.000037
@@ -3438,20 +3438,45 @@ rning ? -null +I18n.t('Manage usage rights') : this.
926fc5a122a666d62bdf36153891cb3150744ab1
Add Null Check Count In Sockets
routes/sockets/sockets.js
routes/sockets/sockets.js
/** * socket.io Start Point. * Loads all necessary event and connection listeners. */ import socketio from "socket.io"; import log4js from "log4js"; import fs from "fs"; import CameraOperatorSocket from "./CameraOperatorSocket"; import ShotCallerSocket from "./ShotCallerSocket"; import ProjectManager from "../../obj...
JavaScript
0
@@ -1337,32 +1337,63 @@ ewMaxCount =%3E %7B%0A + if (newMaxCount) %7B%0A maxCount @@ -1404,24 +1404,34 @@ ewMaxCount;%0A + %7D%0A %7D);%0A%0A
82808d13dfae04dd6cd91190ca3228211f3e37a4
Fix missing semi-colon error
client/app/scripts/controllers/users/userEdit.js
client/app/scripts/controllers/users/userEdit.js
angular .module('app') .controller('userEditController', [ '$rootScope', '$scope', '$location', '$routeParams', 'authService', 'userService', 'vendorService', 'FormHelper', 'CommonInterface', function($rootScope, $scope, $location, ...
JavaScript
0.999999
@@ -2685,32 +2685,33 @@ %7D +; %0A %0A
fee8f80b7e6c45e224f40bfa69cc54c24bd3417f
Change exit code if a cli operation failed
cli/index.js
cli/index.js
#!/usr/bin/env node "use strict"; const account = require('./account'); const deploy = require('./deploy'); const download = require('./download'); const schema = require('./schema'); const typings = require('./typings'); const starter = require('./starter'); if (!module.parent) { const program = require('commander...
JavaScript
0.000004
@@ -4224,16 +4224,39 @@ %7C%7C e));%0A + process.exit(1);%0A %7D%0A
7c9746e2022dc8b2fae8416ed57f8ea0607d29ef
Change option long name
src/dongnelibrary_cli.js
src/dongnelibrary_cli.js
#!/usr/bin/env node const Configstore = require('configstore'); const _ = require('lodash'); const colors = require('colors'); const figlet = require('figlet'); const fp = require('lodash/fp'); const inquirer = require('inquirer'); const program = require('commander'); const dl = require('./dongnelibrary'); const util ...
JavaScript
0.000349
@@ -935,19 +935,20 @@ , -- -all- library +-list ', '
adaafbd17a5ed17c4d0ed0616e6d05f862dce43d
check environment done right
src/util.js
src/util.js
'use strict' const fs = require('fs') const path = require('path') const chalk = require('chalk') const homedir = require('homedir') const isProduction = !fs.existsSync(path.join(__dirname, '../src')) let configPath = '' isProduction ? configPath = '/.nofan/' : configPath = '/.nofan-dev/' function createNofanDir ()...
JavaScript
0
@@ -36,37 +36,8 @@ s')%0A -const path = require('path')%0A cons @@ -109,144 +109,72 @@ nst -isProduction = !fs.existsSync(path.join(__dirname, '../src'))%0A%0Alet configPath = ''%0AisProduction ? configPath = '/.nofan/' : configPath = +configPath = process.env.NODE_ENV === 'test' ? '/.nofan-test/' : '/. @@ -182,1...
9ef11771085420857f07765744a471d340bc5bf0
Fix bug where hitting Enter would set and then wipe username
src/components/FitbitPage/SteamUsernameForm.js
src/components/FitbitPage/SteamUsernameForm.js
import React, { Component, PropTypes } from 'react'; import ReactDOM from 'react-dom' import _ from 'underscore'; import s from './FitbitPage.scss'; class SteamUsernameForm extends Component { constructor(props, context) { super(props, context); this.onInputChange = _.debounce(this.onInputChange.bind(this), ...
JavaScript
0
@@ -438,24 +438,91 @@ rname).value +;%0A if (typeof username === 'string') %7B%0A username = username .trim();%0A @@ -510,32 +510,38 @@ sername.trim();%0A + %7D%0A this.props.o @@ -597,40 +597,172 @@ -var username = event.target.valu +if (event.target.nodeName !== 'INPUT') %7B%0A return...
8a2ce07b6e6e0947eec1e3693608489616017f51
test cloud9 environment
docs/public/App/main.js
docs/public/App/main.js
requirejs.config({ paths: { 'text': 'durandal/amd/text', 'stashy' : 'stashy', 'lib' : 'lib', }, shim : { 'stashy/Stashy.OffCanvas': { deps: ['stashy/Stashy.Events'], exports: 'Stashy.OffCanvas' }, 'stashy/Stashy.Flyout': { exports: '...
JavaScript
0
@@ -1,8 +1,32 @@ +// Config require paths%0A requirej @@ -901,16 +901,38 @@ %7D%0A%7D);%0A%0A +// Config application%0A define(%5B @@ -1364,16 +1364,54 @@ vice();%0A + %0A // set root to shell%0A
c3be044d560069a9822bc830c76ae57eed923c95
Modify the hasDate function to check if an actual end date exists on the project as well
client/app/scripts/directive/projectQuickView.js
client/app/scripts/directive/projectQuickView.js
angular .module('app') .directive('projectQuickView', function() { return { restrict: 'E', replace: false, templateUrl: 'app/templates/partials/projectQuickView.html', link: function(scope, element, attrs) { scope.completed = attrs.completed; scope.hasDate = function() {...
JavaScript
0.000001
@@ -322,32 +322,55 @@ return + scope.item.end_date && scope.item.end_
25b37554fa5ff1f0c92db789362db9130b01a5a6
Use react addons export inside bundle #87
wrapper-header.js
wrapper-header.js
(function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module define(['react', 'lodash', 'jquery'], factory); } else if (typeof exports === 'object') { // Node. Does not work with strict CommonJS, but only CommonJS-like // environments that sup...
JavaScript
0
@@ -387,16 +387,23 @@ e('react +/addons '),%0A
c3d4b208b9a1b1116b81396927ae24364764af0a
annotate todo
web-client/public/js/setup-load-and-import-handlers.js
web-client/public/js/setup-load-and-import-handlers.js
import { updateApp } from "./update-app"; import { DEMO_INFORMATION, UNWEIGHTED_DEMO_PATH, WEIGHTED_DEMO_PATH, SCHADE_INPUT_PATH, SCHADE_OUTPUT_PATH } from "./constants"; const submittedFilename = $upload => { let path = $upload.val(); let fakePathCheck = path.search("\\\\") + 1; whil...
JavaScript
0.000103
@@ -1245,57 +1245,59 @@ ad); -%0A console.log(submittedFilename($upload)); + // TODO: remove before master release (beta@4.0.6) %0A
26963cc9b2eadfb9903ce6ea7a8a665ffcbdd311
Update icons.js
chat-plugins/icons.js
chat-plugins/icons.js
'use strict'; let icons = {}; const fs = require('fs'); function load() { fs.readFile('config/icons.json', 'utf8', function (err, file) { if (err) return; icons = JSON.parse(file); }); } load(); function updateIcons() { fs.writeFileSync('config/icons.json', JSON.stringify(icons)); let newCss = '/* ICONS STA...
JavaScript
0.000001
@@ -2131,16 +2131,85 @@ ).popup( +%22%7Cmodal%7C%7Chtml%7C%3Cb%3E%3Cfont color='%22 + Wisp.hashColor(user.name) + %22'%3E%22 + user.nam @@ -2205,32 +2205,43 @@ + user.name + %22 +%3C/font%3E%3C/b%3E removed your ic @@ -2427,16 +2427,264 @@ con.%22);%0A +%09%09if (Users(target%5B0%5D) && Users(target%5B0%5D).con...
689187af42c38f3b0d6d4bc4af30e67b87093864
add simpleValue prop to dropdown (default true)
src/dropdown/Dropdown.js
src/dropdown/Dropdown.js
import React from 'react'; import { props, t, skinnable } from '../utils'; import Select from 'react-select'; import find from 'lodash/find'; import omit from 'lodash/omit'; import cx from 'classnames'; import { warn } from '../utils/log'; const isEmptyArray = x => t.Array.is(x) && x.length === 0; export const Props ...
JavaScript
0
@@ -873,16 +873,51 @@ olean),%0A + simpleValue: t.maybe(t.Boolean),%0A id: t. @@ -1873,16 +1873,169 @@ a value%0A + * @param simpleValue - if true, selected values will be passed to onChange as comma-separated string of values (eg %221,2,3%22) instead of array of objects%0A */%0A@ski @@ -2313,16 +2313,39 @@ ut...
1a46361e0ae54f4d6dabd3683ea054bad68dba84
fix build error
public/js/p3/widget/SubSystemsMemoryGrid.js
public/js/p3/widget/SubSystemsMemoryGrid.js
define([ "dojo/_base/declare", "dijit/layout/BorderContainer", "dojo/on", "dojo/_base/Deferred", "dojo/dom-class", "dijit/layout/ContentPane", "dojo/dom-construct", "dojo/_base/xhr", "dojo/_base/lang", "./PageGrid", "./formatter", "../store/SubSystemMemoryStore", "dojo/request", "dojo/aspect", "./GridSelector", "do...
JavaScript
0.000001
@@ -935,21 +935,23 @@ e%7D),%0A%09%09%09 +%22 class +%22 : %09%09%09%09%7Bl
fa5396ea9afce5e6cbbe3c9b137d3b67cdf42bbb
Disable logging
src/app/index.config.js
src/app/index.config.js
export function config ($locationProvider, $logProvider, toastrConfig) { 'ngInject'; // Enable log $logProvider.debugEnabled(true); // Set options third-party lib toastrConfig.allowHtml = true; toastrConfig.timeOut = 3000; toastrConfig.positionClass = 'toast-top-right'; toastrConfig.preventDuplicates =...
JavaScript
0.000002
@@ -124,19 +124,20 @@ Enabled( -tru +fals e);%0A%0A /
4c63f065e40ead1a38e8b542e1994e49095ee628
test type conversion in the back-end auth logs list
tests/unit/server/controllers/auth-logs.spec.js
tests/unit/server/controllers/auth-logs.spec.js
'use strict'; var expect = require('chai').expect, rewire = require('rewire'), sinon = require('sinon'); var utils = require('../utils'); utils.stubModel(); var authLogsModule = rewire(utils.getControllerPath('auth-logs')); utils.restoreModel(); describe('`auth-logs` module', function() { var spies...
JavaScript
0
@@ -1520,20 +1520,69 @@ E = -20, PAGE = 1 +50, PAGE = 1, ITEMS_PER_PAGE_STRING = '50', PAGE_STRING = '1' ;%0A%0A @@ -1747,16 +1747,23 @@ PER_PAGE +_STRING , page: @@ -1766,16 +1766,23 @@ ge: PAGE +_STRING %7D%7D,%0A
9043630034aaffe0538a1dfca06efa406a3b55d5
check if hasOwnProperty when extending only if extending non-native class
build-artifacts/project-template-gradle/src/main/assets/internal/ts_helpers.js
build-artifacts/project-template-gradle/src/main/assets/internal/ts_helpers.js
(function() { var __extends_ts = function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { ...
JavaScript
0.000001
@@ -46,20 +46,37 @@ , b) %7B%0A%09 - +%09if (!b.extend) %7B%0A%09%09%09 for (var @@ -122,16 +122,21 @@ = b%5Bp%5D;%0A +%09%09%7D%0A%0A %09 fun
a1168cbd2cf8040865eb030dd4af7ee85aca8a19
make sure the given cipher suites are supported
test/unit/tedious-test.js
test/unit/tedious-test.js
const Connection = require('../../src/tedious').Connection; const ISOLATION_LEVEL = require('../../src/tedious').ISOLATION_LEVEL; const TYPES = require('../../src/tedious').TYPES; exports.types = function(test) { test.ok(TYPES); test.ok(TYPES.VarChar); test.done(); }; exports.isolationLevel = function(test) { ...
JavaScript
0.00019
@@ -746,15 +746,15 @@ s: ' -RC4-MD5 +DEFAULT '%0A
0690ef95c6fc06e02819ecc54e108c1cdc4c85d2
add open gallery
scripts/plugins/bar/element/bar.content.element.js
scripts/plugins/bar/element/bar.content.element.js
/** * Created with JetBrains RubyMine. * User: teamco * Date: 5/9/13 * Time: 11:48 AM */ define([ 'modules/element' ], function defineBarContentElement(BaseElement) { /** * Define Bar Content Element * @param view * @param opts * @returns {BarContentElement} * @constructor *...
JavaScript
0
@@ -657,16 +657,41 @@ tend(%7B%0A%0A + // TODO Redesign%0A @@ -729,24 +729,465 @@ nt(path) %7B%0A%0A + /**%0A * Define panel instance%0A */%0A var panel = this.view.scope.containment;%0A%0A this.$.on('click.toggle', function () %7B%0A ...
35df997effcee539fda88e67045c0f9a7d750115
Update UDPefef
udp.js
udp.js
var d = require ('dequeue'); var redis = require("redis"); var rClient = redis.createClient(); var dgram = require("dgram"); var FIFO = new d(); var index =0; fetcher(); var udpserver = dgram.createSocket("udp4"); udpserver.on("message", function (msg, rinfo) { index++; FIFO.push(msg.toString());...
JavaScript
0
@@ -147,25 +147,27 @@ var -index =0;%0Afetcher +port = 4444;%0A%0A%0Ainit ();%0A @@ -174,17 +174,17 @@ %0Avar udp -s +S erver = @@ -211,25 +211,25 @@ udp4%22);%0A%0Audp -s +S erver.on(%22me @@ -329,13 +329,95 @@ %0A);%0A -%0A udp -s +Server.on('error', function (err) %7B%0A console.log(%22Error server: %22...
e2a7b592ed5bd6a74278f998fab82b34fc5c4cd2
Add notifications on incoming call
src/service-worker/plugins/custom-listeners.js
src/service-worker/plugins/custom-listeners.js
export function CustomListeners () { return (worker) => new CustomListenersImpl(worker) } export class CustomListenersImpl { setup (ops) {} constructor () {} }
JavaScript
0.000001
@@ -82,16 +82,17 @@ (worker) +; %0A%7D%0A%0Aexpo @@ -156,15 +156,1019 @@ ructor ( -) %7B +worker) %7B%0A self.addEventListener('push', function (event) %7B%0A var payload = event.data.json().notification;%0A%0A if ( payload.data.action === 'call-incoming' ) %7B%0A event.waitUntil(%0A ...
baaf0a3ec4f022796e4a56069fcd19c734ec415d
Add empty label and facing
samples/web/js/adapter.js
samples/web/js/adapter.js
/* * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ /* More information about these options at jshint.com/docs/options */ /* global mozRTCIceCandida...
JavaScript
0.000001
@@ -2247,16 +2247,37 @@ default' +, label:'', facing:'' %7D,%0A @@ -2310,16 +2310,37 @@ default' +, label:'', facing:'' %7D%0A @@ -2372,16 +2372,19 @@ );%0A %7D +, 0 );%0A %7D;%0A
39f9b657892ace7d12d15128d6ce77aafa82120e
Change constraint inheritance style
lib/constraint/constraints.js
lib/constraint/constraints.js
var types = require('../domains/types'); var status = require('../domains/status'); var cGen = require('./cGen'); function CSTR() {} CSTR.prototype = Object.create(null); CSTR.prototype.equals = function (other) { return this === other; }; function ReadProp(prop, to) { this.prop = prop; this.to = to; } Re...
JavaScript
0
@@ -332,24 +332,45 @@ otype = -new CSTR +Object.create(CSTR.prototype) ;%0AReadPr @@ -1087,24 +1087,45 @@ otype = -new CSTR +Object.create(CSTR.prototype) ;%0AWriteP @@ -1398,32 +1398,53 @@ prototype = -new CSTR +Object.create(CSTR.prototype) ;%0AIsAdded.pr @@ -1915,32 +1915,53 @@ prototype = -new CSTR +Obje...
ff80811117f655eb6582d6209e4b1f135434594b
Use a Set instead of a Map.
src/environments/Grid.js
src/environments/Grid.js
const directions = ["north", "south", "east", "west"] class Cell { constructor(row, column) { this.row = row this.column = column this.north = this.south = this.east = this.west = null this._links = new Map() } get links() { return [...this._links.keys()] } get neighbors() { const r...
JavaScript
0
@@ -219,11 +219,11 @@ new -Map +Set ()%0A @@ -272,15 +272,8 @@ inks -.keys() %5D%0A @@ -514,22 +514,16 @@ nks. -set +add (cell -, true )%0A
9e54bba7f1d3096dde0720f99fc92b78a55b4ac0
move validation init to form post
client/main.js
client/main.js
var events = require('dom-events'); var domready = require('domready'); domready(function () { initValidate(); initRender(); }); function initValidate(){ var button = document.getElementById('start-validation'); var input = document.getElementById('urlInput'); function handler(){ //...
JavaScript
0
@@ -92,33 +92,8 @@ () %7B -%0A %0A initValidate(); %0A%0A @@ -130,18 +130,17 @@ init -Validate +Render () + %7B%0A @@ -183,24 +183,14 @@ Id(' -start-validation +render ');%0A @@ -251,333 +251,55 @@ -function handler()%7B%0A //console.log('start validation');%0A window.location = '/...
fa9a911dcb601e26b0e81e62f145d9cb413c9aed
fix token form view
src/view.js
src/view.js
import { h } from '@cycle/dom'; import Rx from 'rx'; function renderTokenForm(state) { return h('div', [ h('input.token'), h('button.save-token', ['save token']) ]); } export default function(state$) { const vtree$ = state$ .map(state => { const { issues, user, repo, repos } = state; return h(...
JavaScript
0.000002
@@ -120,16 +120,49 @@ t.token' +, %7B value: state.tokenFormValue %7D ),%0A h @@ -198,16 +198,232 @@ token'%5D) +,%0A h('span.token', %5B%0A state.token.replace(/%5E(.*)(.%7B4%7D)$/, (_, p1, p2) =%3E %7B%0A const masked = new Array(p1.length + 1).join('*');%0A const opened = p2;%0A re...
0343b5654dc2b4b89e12163ddddb852fb186f7a7
Fix TypeError
src/rules/javascript/event_listener_fourth.js
src/rules/javascript/event_listener_fourth.js
import { EVENT_LISTENER_FOURTH } from 'messages/javascript'; import { getNodeReference } from 'utils'; export function event_listener_fourth(context) { return { CallExpression: function(node) { let referenceNode = getNodeReference(context, node.callee); if (typeof referenceNode.property !== 'undefine...
JavaScript
0.000003
@@ -867,28 +867,24 @@ -let referenceNod @@ -1153,17 +1153,16 @@ break;%0A -%0A
c31f4abafd8d1b2b69ce3804811ce07f65c62f6e
Update testsA.js
nodejs_app/testsA.js
nodejs_app/testsA.js
var t = 0; const exec = require('child_process').exec; exec('node nodejs_app/app.js', function(error, stdout, stderr){ if (error) { console.error('exec error: ${error}'); t =1; return 1; } else{ console.log('stdout: ${stdout}'); console.log('stderr: ${stderr}'); return 0; } }); exec('node node...
JavaScript
0.000001
@@ -440,12 +440,12 @@ log( -%22$?%22 +'$?' );%0A%09
831ef2c4da8a147f1f9106c40061f2297020acaa
Change console.log to logError if options file not found.
Nodejs/Product/Nodejs/TestFrameworks/mocha/mocha.js
Nodejs/Product/Nodejs/TestFrameworks/mocha/mocha.js
var fs = require('fs'); var path = require('path'); // Choose 'tap' rather than 'min' or 'xunit'. The reason is that // 'min' produces undisplayable text to stdout and stderr under piped/redirect, // and 'xunit' does not print the stack trace from the test. var defaultMochaOptions = { ui: 'tdd', reporter: 'tap', tim...
JavaScript
0
@@ -3888,27 +3888,18 @@ -console.log(%22NTVS: +logError(%22 moch
61f356281e2638f380e4bfcdc52405d0d56c54b8
use mediaDevices and show alert with error
src/content/getusermedia/resolution/js/main.js
src/content/getusermedia/resolution/js/main.js
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ 'use strict'; var dimensions = document.querySelector('#dimensions'); var video = document.quer...
JavaScript
0
@@ -1015,13 +1015,22 @@ dth: + %7Bexact: 1280 +%7D , he @@ -1038,13 +1038,22 @@ ght: + %7Bexact: 720%7D +%7D %0A%7D;%0A @@ -1147,31 +1147,25 @@ unction -successCallback +gotStream (mediaSt @@ -1274,99 +1274,8 @@ %0A%7D%0A%0A -function errorCallback(error) %7B%0A console.log('navigator.getUserMedia error: '...
61b5711bea99352f5b454633a4e521de1e3f2728
Remove unused function name by changing declaration
lib/controllers/home/index.js
lib/controllers/home/index.js
angular.module('npmalerts', ['ui.bootstrap']); function SignUpCtrl($scope, $http, $location) { $scope.alerts = []; $scope.email = ($location.search()).email; $scope.url = ($location.search()).repo; $scope.isAdding = !($scope.email && $scope.url); $scope.displayAlert = function(msg) { $sco...
JavaScript
0.000007
@@ -1,8 +1,24 @@ +var npmalerts = angular. @@ -60,27 +60,85 @@ %5D);%0A -function SignUpCtrl +npmalerts.controller('SignUpCtrl', %5B'$scope', '$http', '$location', function ($sc @@ -2075,8 +2075,11 @@ %7D;%0A%7D +%5D);
d14138730915c2b1611a1c30ddd7355661bd9b39
Remove logging
src/app/routes/setup.js
src/app/routes/setup.js
/** setup.js * @file: /src/app/routes/setup.js * @description: The first express routes to handles redirect routing and blocking requests when under extreme load * @parameters: Object(app), Object(resources) * @returns: Express routes */ var ObjectID = require('mongodb').ObjectID var striptags = require('striptags') ...
JavaScript
0.000001
@@ -528,46 +528,8 @@ ) %7B%0A - console.log('server too busy!')%0A
6cf894320f3cb69e450d8a529f2856ca8955ad57
Add fourth card to whatWeDo on front page
src/scenes/home/landing/whatWeDo/whatWeDo.js
src/scenes/home/landing/whatWeDo/whatWeDo.js
import React, { Component } from 'react'; import Section from 'shared/components/section/section'; import image1 from 'images/General-Couple-Computer.jpg'; import image2 from 'images/General-Group-Coffee.jpg'; import image3 from 'images/ThinkstockPhotos-489787502.jpg'; import ImageCard from 'shared/components/imageCard...
JavaScript
0
@@ -259,24 +259,71 @@ 87502.jpg';%0A +import image4 from 'images/rhs2017_photo.jpg';%0A import Image @@ -1237,24 +1237,261 @@ %0A /%3E%0A + %3CImageCard%0A image=%7Bimage4%7D%0A title=%7Bcontent.items%5B3%5D.title%7D%0A cardText=%7Bcontent.items%5B3%5D.body%7D%0A // ...
a53d8d9a998906dbd3b239d918c81a078370fd79
Change priority of testHttp.js in config.js
test/www/jxcore/config.js
test/www/jxcore/config.js
'use strict'; module.exports = { env : { BLUEBIRD_DEBUG: false }, // Tests are ordered in the dependency order to avoid testing modules // before all its dependencies have been tested. preferredOrder: [ 'testMakeIntoCloseAllServer.js', 'testPouchDBCheckpointPlugin.js', 'testPouchDBGenerator....
JavaScript
0.000001
@@ -414,27 +414,8 @@ s',%0A - 'testHttp.js',%0A @@ -665,32 +665,51 @@ ersManager.js',%0A + 'testHttp.js',%0A 'testThaliMo
01ca00ec82179f6e423e65ad6f274303963ecb77
disable typedarrays-test.js
script/nan-spec-runner.js
script/nan-spec-runner.js
const cp = require('child_process'); const fs = require('fs'); const path = require('path'); const BASE = path.resolve(__dirname, '../..'); const NAN_DIR = path.resolve(BASE, 'third_party', 'nan'); const NPX_CMD = process.platform === 'win32' ? 'npx.cmd' : 'npx'; const utils = require('./lib/utils'); const { YARN_VER...
JavaScript
0.000001
@@ -1504,16 +1504,21 @@ ESTS = %5B +%0A 'nannew- @@ -1525,16 +1525,115 @@ test.js' +,%0A 'typedarrays-test.js' // TODO(nornagon): https://github.com/electron/electron/issues/28414%0A %5D;%0A con
44694533fa09e23432414a16d06ae4e4315ad62e
Return a value in the invalid case.
website/app/application/filters/todatestring-filter.js
website/app/application/filters/todatestring-filter.js
Application.Filters.filter('toDateString', function () { return function (input) { if (input) { var t = input.epoch_time; return new Date(t * 1000).toDateString(); } }; });
JavaScript
0.001799
@@ -50,17 +50,16 @@ on () %7B%0A -%0A retu @@ -151,22 +151,19 @@ -return +s = new Dat @@ -198,17 +198,58 @@ -%7D + return s;%0A %7D%0A return %22%22; %0A %7D;%0A @@ -251,8 +251,9 @@ %7D;%0A%7D); +%0A
101e6e41d79356e44e78ce1a95a3dd6deb174804
Update graph_example.js
example/graph_example.js
example/graph_example.js
var startData = { entities : [ { name: "Tom", type: "person", age: "28", image: "http://img3.wikia.nocookie.net/__cb20120329233907/alcatraztv/images/2/22/2002_mugshot.jpg"}, { name: "Bob", type: "person", image: "http://images.amcnetworks.com/blogs.amctv.com/wp-content/uploads/2010/04/Krazy-8-Mugshot-760.jpg"...
JavaScript
0.000001
@@ -1245,8 +1245,203 @@ rst());%0A +dashboard.addLayout('place', %7Btype: 'place'%7D, %7B%0A rows: %5B%7B%0A cols: %5B%7B%0A span: 4,%0A component: d3_tree%0A %7D,%7B%0A span: 8,%0A component: Graph.Component.extend(%7B%7D)%0A %7D%5D%0A %7D%5D%0A%7D);%0A
7dd8ffc9ede12cf0de36c881dba512df16e178f0
update collector
collector.js
collector.js
"use strict"; var _ = require('underscore'); var influx = require('influx'); module.exports = function( options ) { var seneca = this var plugin = 'collector' seneca.add({role: plugin, ping: true}, ping); function ping(args, done) { done(null, {now:Date.now()}); }; var client = influx({ //...
JavaScript
0
@@ -1081,16 +1081,54 @@ else %7B%0A +%0A if(args.type === 'normal') %7B%0A qu @@ -1211,16 +1211,202 @@ rn+%22'%22;%0A + %7D else %7B%0A query = %22select count(pattern) from %22 + options.seriesName + %22 where time %3E now() - 2d and pattern='%22+args.pattern+%22' group by time(1m) order a...
567959f1b969c0d5f640f45d7c6877d4c6a9cc77
Add a function for easily getting the top level domain of a URL
url.js
url.js
var Class = require('./Class') var URL = Class(function() { this._extractionRegex = new RegExp([ '^', // start at the beginning of the string '((\\w+:)?//)?', // match a possible protocol, like http://, ftp://, or // for a relative url '(\\w[\\w\\.]+)?', // match a possible domain '(\\/[^\\?#]+)?', ...
JavaScript
0.000002
@@ -994,16 +994,183 @@ %0A %7D%0A %0A + this.getTopLevelDomain = function() %7B%0A if (!this.host) %7B return '' %7D%0A var parts = this.host.split('.')%0A%09%09return parts.slice(parts.length - 2).join('.')%0A %7D%0A %0A %7D)%0A%0Amodu
67f243f408a19a44ebf8eceb2a90f9ac9cd7f8c6
fix initial rendering exception
src/sap.m/src/sap/m/TabStripSelectRenderer.js
src/sap.m/src/sap/m/TabStripSelectRenderer.js
/*! * ${copyright} */ sap.ui.define(['jquery.sap.global', 'sap/ui/core/Renderer', 'sap/m/SelectRenderer', 'sap/ui/core/ValueStateSupport', 'sap/m/TabStripSelect'], function(jQuery, Renderer, SelectRenderer, ValueStateSupport, TabStripSelect) { "use strict"; var TabStripSelectRenderer = Renderer.extend(SelectRe...
JavaScript
0.000003
@@ -674,21 +674,16 @@ %09oRm.add -Style Class(Ta @@ -1898,9 +1898,8 @@ / true); -%0A
fa9b7f8d62cc84d923f4199cf85283557beea8c4
update compass.js
src/firefoxos/compass.js
src/firefoxos/compass.js
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
0.000001
@@ -1462,26 +1462,14 @@ ova/ -firefoxos/commandP +exec/p roxy
26beff0c79f47ed6952bdce0da13993c51918698
Migrate schedule property as well (#137)
scripts/migrate-v1-v2.js
scripts/migrate-v1-v2.js
"use strinct"; const path = require("path"); const fs = require("fs"); const oldConfig = require("../config.json"); const newConfig = { accounts: { github: [], twitter: [], discourse: [] }, boards: [ ] }; const addAccount = (board, type, otherConfig) => { const otherConfigK...
JavaScript
0
@@ -1852,38 +1852,56 @@ -return +const sourceDefinition = %7B%0A @@ -2065,24 +2065,24 @@ twitterName%0A - @@ -2083,32 +2083,227 @@ %7D; +%0A%0A if(s.schedule && s.schedule.length %3E 0) %7B%0A sourceDefinition.sched...
e383ac53dbad9bbccc323f79d0985177160e353f
Use port 443 by default
client/main.js
client/main.js
var myApp = angular.module('myApp', []); // Level 1 - Create a Stellar Address function CreateStellarAddressCtrl($scope) { $scope.generate = function () { // PASTE CODE HERE var keypair = StellarLib.Keypair.random(); $scope.result = angular.toJson({ address: keypair.address(), ...
JavaScript
0.000001
@@ -5354,12 +5354,11 @@ T%22, -8000 +443 )%0A//
bf30e9ea5d3486d426de05218b1f1251b268fdc5
Remove filter option
src/flat-file-adapter.js
src/flat-file-adapter.js
const flatfile = require('flat-file-db') const promise = require('promise') const db = flatfile.sync(process.env.DB_NAME || 'views.db') module.exports = { put: promise.denodeify(db.put.bind(db)), has: (key) => Promise.resolve(db.has(key)), get: (key) => Promise.resolve(db.get(key)), keys: () => Promise.resol...
JavaScript
0.000002
@@ -471,52 +471,8 @@ y =%3E - String(options.filter) === 'false' ? true : key
f171109f64591e2da15deb306bebf90bc3c37230
update Etsy
APIGymnastics/Etsy.js
APIGymnastics/Etsy.js
// Put `items.json` in your `APIGymnastics` directory... var items = require('items.json'); test = require('mocha').it, expect = require('chai').expect; // TODO: Setup mocha and chai... test('this is the easy one', function(){ expect(Array.isArray(items)).to.be.true; // What. // see: https://developer.mozi...
JavaScript
0
@@ -666,137 +666,555 @@ );%0A%0A -function avererageprice()%7B%0A var i = items%0A for (i = 0; i = )%7B%0A return items%0A %7D //I need help%0A%0A%0A%0A%7D + //I need help%0A%0Avar prices = %5B %5D, item;%0A function foreachitem(index, length)%7B%0A items.forEach(function)(item, in...
8675a1ef9d1c37e17630ee0a40276eb9f0578732
Fix can play two music at once
src/app/services/game.service.js
src/app/services/game.service.js
class GameService { constructor(_, $log, $q, $localStorage, ImageFactory, AudioService, audioOn) { 'ngInject'; this._ = _; this.$q = $q; this.$log = $log; this.$storage = $localStorage; this.ImageFactory = ImageFactory; this.AudioService = AudioService; this.audioOn = audioOn; thi...
JavaScript
0.000001
@@ -2923,24 +2923,62 @@ this.audioOn + && !this.AudioService.music.isPlaying ) %7B%0A @@ -3020,24 +3020,100 @@ %7D%0A %7D;%0A%0A + this.$log.log(this.AudioService.music);%0A this.$log.log(this.music);%0A%0A if (this
0f108846c1ca428feb094e49432804c252c720c4
move socket handling into mount/unmount lifecycle
ui/js/components/ShellTerminal/ShellTerminal.js
ui/js/components/ShellTerminal/ShellTerminal.js
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { connect } from 'react-redux'; import Terminal from 'term.js'; import ReduxWebSocketService from 'websocket/ReduxWebSocketService'; import createUuid from 'util/uuid'; const TerminalStates = { CONNECTING: 0, OPEN: 1, CLOSED: 3, ...
JavaScript
0
@@ -1904,17 +1904,16 @@ nOpened( - () =%3E %7B%0A @@ -2275,22 +2275,8 @@ %7D) -%0A .open() ;%0A%0A @@ -3297,24 +3297,54 @@ ate.uuid));%0A + this.state.socket.open();%0A %7D%0A%0A compo @@ -3439,16 +3439,47 @@ this));%0A + this.state.socket.close();%0A %7D%0A%0A u
a2ab36058fb5d8051f01ffe47f53d3e10c25561d
fix comment stripping
gdocs.js
gdocs.js
#!/usr/bin/env node var http = require('http'); var https = require('https'); var fs = require('fs'); var collections = { 'guide': 'http://docs.google.com/feeds/default/private/full/folder%3A0B9PsajIPqzmANGUwMGVhZmYtMTk1ZC00NTdmLWIxMDAtZGI5YWNlZjQ2YjZl/contents', 'api': 'http://docs.google.com/feeds/default/priva...
JavaScript
0
@@ -2512,24 +2512,123 @@ mg, '%5Cn');%0A%0A + // strip out all text annotations%0A data = data.replace(/%5C%5B%5Ba-zA-Z%5D%7B1,2%7D%5C%5D/mg, '');%0A%0A // s
47829074da267eccecbe75221d419a18d67f546b
unbundled is obj not arr
cli/commands/build.js
cli/commands/build.js
'use strict'; const path = require('path'); const spawnSync = require('child_process').spawnSync; const rollup = require('rollup'); const babel = require('rollup-plugin-babel'); const nodeResolve = require('rollup-plugin-node-resolve'); const commonjs = require('rollup-plugin-commonjs'); const ...
JavaScript
0.999999
@@ -2158,24 +2158,104 @@ rguments');%0A + let unbundledKeys = Object.keys(global.config.configuration.unbundled %7C%7C %7B%7D);%0A let defaul @@ -2962,36 +2962,8 @@ ns, -global.config.configuration. unbu @@ -2971,14 +2971,12 @@ dled - %7C%7C %5B%5D +Keys ),%0A @@ -3347,45 +3347,28 @@ if ( -global.config.con...
d81a1d6979f9a234291306a86b3fa41ba7a29ff4
Change to JS event to click buttons
http/assets/js/client.js
http/assets/js/client.js
'use strict'; /** * Class to fetch the feed list and draw the aside */ var Feeds = new Class({ feeds: [], initialize: function () { this.loadFeeds(); }, /** Load feeds from API and trigger the drawing function */ loadFeeds: function () { new Request.JSON({ method: 'g...
JavaScript
0
@@ -782,38 +782,32 @@ t('h -ref', '#!/feeds/' + +tml', template( feed -.id +) );%0A +%0A @@ -820,33 +820,117 @@ a. -set('html', template(feed +addEvent('click', (function () %7B%0A window.ZerobRSS.Router.nav('/feed/' + feed.id)%0A %7D ));%0A
b3497ad69e3c662262bba1b49b3e7dc9fc18c209
Fix for GroupBySearchView.
js/foam/ui/search/GroupBySearchView.js
js/foam/ui/search/GroupBySearchView.js
/** * @license * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
JavaScript
0
@@ -2189,43 +2189,36 @@ if ( + this. -view.floatingLabel$) %7B%0A +model_.FLOATING_LABEL) ret @@ -2240,24 +2240,16 @@ oHTML(); -%0A %7D %0A%0A
1c951c8db265e858ff7fe1784d5df2a75997e4c6
Add comment.
src/article/shared/UploadTool.js
src/article/shared/UploadTool.js
import { domHelpers } from 'substance' import { Tool } from '../../kit' export default class UploadTool extends Tool { // In addition to the regular button a file input is rendered // which is used to trigger the browser's file dialog. render ($$) { let el = super.render($$) const isMultiple = this.canU...
JavaScript
0
@@ -444,16 +444,152 @@ Select)%0A + // ATTENTION: it is important to stop click events on the input%0A // as otherwise Tools click handler will be triggered again%0A .o
1baf43394bd8778a3538ce6698c45f53737536f5
Fix API method sendFile not accepting any body messages
client/app/lib/api.js
client/app/lib/api.js
import { API_URL } from './config'; import { forEach } from 'lodash'; const sendRequest = (url, method, body) => { let data = new FormData(); forEach(body, (value, key) => { data.append(key, value); }); return fetch(`${API_URL}${url}`, { method, body: data, }) .then((value) => { return val...
JavaScript
0.000003
@@ -417,16 +417,22 @@ od, file +, body ) =%3E %7B%0A @@ -492,16 +492,85 @@ ile%5B0%5D); +%0A forEach(body, (value, key) =%3E %7B%0A form.append(key, value);%0A %7D); %0A%0A retu
c64e70ba476e7f482eb2ec48e605dad0a1380a8e
Fix view widget model
Sources/Widgets/Core/AbstractWidgetFactory/index.js
Sources/Widgets/Core/AbstractWidgetFactory/index.js
import macro from 'vtk.js/Sources/macro'; import vtkAbstractWidget from 'vtk.js/Sources/Widgets/Core/AbstractWidget'; import { extractRenderingComponents } from 'vtk.js/Sources/Widgets/Core/WidgetManager'; function NoOp() {} // ---------------------------------------------------------------------------- function vtk...
JavaScript
0
@@ -1053,16 +1053,105 @@ licAPI = + %7B%7D;%0A%0A macro.obj(widgetPublicAPI, widgetModel);%0A Object.assign(widgetPublicAPI, %7B%0A @@ -1198,24 +1198,25 @@ nge,%0A %7D +) ;%0A Obje @@ -1242,16 +1242,89 @@ el, -model, %7B +%7B%0A widgetState: model.widgetState,%0A manipulato...
a6899ffbd65f37d549f303ac71b63a0ec526577b
Fix CollectionView breaks if not content on render
source/Vibrato/views/collections/CollectionView.js
source/Vibrato/views/collections/CollectionView.js
// -------------------------------------------------------------------------- \\ // File: CollectionView.js \\ // Module: View \\ // Requires: Core, Foundation, DOM, View.js ...
JavaScript
0
@@ -768,24 +768,69 @@ t: %7B%7D,%0A %0A + _dirtyStart: -1,%0A _dirtyEnd: -1,%0A %0A init: fu @@ -4663,26 +4663,8 @@ iew, - parent, children, i, @@ -6353,11 +6353,9 @@ art -!== +%3C end
829cea580bfd2bc6fd5f673601e0939939fd8214
change schema structure
modules/haproxy/models/schemas/haproxy-config.js
modules/haproxy/models/schemas/haproxy-config.js
'use strict'; const mongoose = require('mongoose'); const Schema = mongoose.Schema; const schema = require('./haproxy-setting').HAProxySettingSchema; const HAProxyConfigSchema = exports.HAProxyConfigSchema = new Schema({ target_id: String, kind: {type: Number, index: true}, name: {type: String, index: t...
JavaScript
0.000001
@@ -157,32 +157,36 @@ st HAProxyConfig +Item Schema = exports @@ -195,24 +195,28 @@ AProxyConfig +Item Schema = new @@ -229,32 +229,8 @@ a(%7B%0A - target_id: String,%0A%0A @@ -349,65 +349,175 @@ er,%0A +%0A -order_num: %7Btype: Number, index +meta: %5Bschema%5D%0A%7D, %7B_id: false%7D);%0A%0Aconst...
c0301665fcf3f786109cdcb8d795814759fa4d48
Disable scroll-wheel zoom
viz.js
viz.js
$(document).ready(function() { current_station_id = 38 // FIX ME: Hard coded what station to look at for now! current_hour_selected = 17 // FIX ME: This should be based on user input too. How to handle aggregate? stations = _(stations).filter(function(station) { return !station.temporary }); // C...
JavaScript
0.000002
@@ -369,19 +369,60 @@ ap('map' +, %7B%0A scrollWheelZoom: false%0A %7D );%0A +%0A map.
17aa4c2eb3a0cefe708881db768125f40f2408a7
Add function in Ghost to handle pellet count
ghost.js
ghost.js
var Ghost = function(args) { this.x = args.startX; this.y = args.startY; this.direction = args.direction ? args.direction : "left"; this.speed = GHOST_MOVE_DELAY; this.context = args.context; this.name = args.name; this.color = nameToColor[args.name]; this.movementMode = args.mode ? args.mode : "scatter...
JavaScript
0.000001
@@ -362,16 +362,66 @@ .name%5D;%0A + this.pelletLimit = args.limit ? args.limit : 0;%0A %7D%0AGhost. @@ -2318,16 +2318,153 @@ odeName;%0A %7D%0A%7D;%0A +Ghost.prototype.handlePelletCount = function(pelletCount) %7B%0A if(pelletCount %3E= this.pelletLimit) %7B%0A this.setMode(%22exitting%22);%0A %7D%0A%7D;%0A
8363be5a156af7eb85dc342a941920f12e4ec084
Update listening port from localhost to 0.0.0.0
web.js
web.js
var express = require('express'); var packageInfo = require('./package.json'); var bodyParser = require('body-parser'); var app = express(); app.use(bodyParser.json()); app.get('/', function (req, res) { res.json({ version: packageInfo.version }); }); var server = app.listen(process.env.PORT, "localhost", function...
JavaScript
0.000001
@@ -297,17 +297,15 @@ T, %22 -localhost +0.0.0.0 %22, f
4dc08e93075963059fb1262d4de8d9399a09cc71
Add utensils object (#351)
client/src/index.js
client/src/index.js
const { Observable } = require('rxjs/Observable') import { from } from 'rxjs/observable/from' import { _catch } from 'rxjs/operator/catch' import { concatMap } from 'rxjs/operator/concatMap' import { filter } from 'rxjs/operator/filter' const { Collection } = require('./ast.js') const HorizonSocket = require('./socket...
JavaScript
0.000185
@@ -2880,16 +2880,113 @@ ror'))%0A%0A + horizon.utensils = %7B%0A sendRequest,%0A tokenStorage,%0A %7D%0A Object.freeze(horizon.utensils)%0A%0A horizo
0db3fdb09928e46e0656b81deb5bb89d4956161b
change past company color
_static/my.js
_static/my.js
$(document).ready(function() { // Remove the last updated $('p').last().detach(); // Hide the search. CSS wouldn't do it... $('.navbar-form').hide(); $('.navbar-toggle').detach(); // Turn the first header section into a hero var first_section = $('.section').first(); first_section.addC...
JavaScript
0.00026
@@ -1535,16 +1535,39 @@ e = -'success +i_job === 0 ? 'success' : 'info ';%0A
426a672efeb00f99962f495d270ac101c9617d0a
Fix settings to schemas
editor/core/settings.js
editor/core/settings.js
define([ "hr/utils", "hr/promise", "hr/hr", "core/rpc", "models/file", "models/schema" ], function(_, Q, hr, rpc, File, Schema) { var Manager = hr.Class.extend({ initialize: function() { Manager.__super__.initialize.apply(this, arguments); this.settings = {};...
JavaScript
0.000003
@@ -2717,13 +2717,14 @@ e: %22 -array +object %22,%0A @@ -2742,34 +2742,242 @@ -items: this.schemas.toJSON +properties: _.chain(this.schemas.models)%0A .map(function(sch) %7B%0A sch = sch.toJSON();%0A return %5Bsch.id, sch.schema%5D;%0A %7D)%0...
d85c5c64529077e4d5b630a3fdf13834979d0d14
remove fast exit
connected.js
connected.js
var Tinkerforge = require('tinkerforge'); var get_name = require('./get_name.js'); var ipcon; console.log(''); /* istanbul ignore next */ function tfinit(HOST, PORT) { ipcon = new Tinkerforge.IPConnection(); ipcon.connect(HOST, PORT, function(error) { switch (error) { case 11: console.lo...
JavaScript
0.000006
@@ -2378,115 +2378,7 @@ 0);%0A - process.stdin.on('data',%0A function(data) %7B%0A ipcon.disconnect();%0A process.exit(0);%0A %7D%0A );%0A %7D;%0A
6b20f468074833f3148b7223d4a8f57cce236e9d
change image in story (#5169)
src/js/components/Carousel/stories/Multiple.js
src/js/components/Carousel/stories/Multiple.js
import React from 'react'; import { Grommet, Box, Carousel, Image } from 'grommet'; const data = [ '//v2.grommet.io/assets/Wilderpeople_Ricky.jpg', '//v2.grommet.io/assets/IMG_4245.jpg', '//v2.grommet.io/assets/IMG_4210.jpg', 'https://avatars1.githubusercontent.com/u/14203820?s=280&v=4', 'https://developer....
JavaScript
0
@@ -94,16 +94,57 @@ ata = %5B%0A + '//v2.grommet.io/assets/IMG_4210.jpg',%0A '//v2. @@ -337,85 +337,8 @@ 4',%0A - 'https://developer.hpe.com/img/hpe-dev-grommet-gremlin-rockin-static.svg',%0A '/
95a789763b67989f6c2dd04a8db796e7dc353ec6
disable link events in customize mode
frappe/public/js/frappe/widgets/links_widget.js
frappe/public/js/frappe/widgets/links_widget.js
import Widget from "./base_widget.js"; import { generate_route } from "./utils"; export default class LinksWidget extends Widget { constructor(opts) { super(opts); } get_config() { return { name: this.name, links: JSON.stringify(this.links), label: this.label, hidden: this.hidden, } } set_body...
JavaScript
0
@@ -2399,24 +2399,64 @@ ver(() =%3E %7B%0A +%09%09%09%09%09if (this.in_customize_mode) return%0A %09%09%09%09%09popover @@ -2464,16 +2464,16 @@ show();%0A - %09%09%09%09%7D);%0A @@ -2527,24 +2527,98 @@ %09%09%09%7D else %7B%0A +%09%09%09%09link_label.click(event =%3E %7B%0A%09%09%09%09%09if (this.in_customize_mode...
5885f7c6fdd720df807e4a858cd10e863dc7f11c
Change relative link folder to partials
subprojects/playpens/angular-playpen/script.js
subprojects/playpens/angular-playpen/script.js
// create the module and name it angularPlaypenApp var angularPlaypenApp = angular.module('angularPlaypenApp', ['ngRoute']); // configure our routes angularPlaypenApp.config(function($routeProvider) { $routeProvider // route for the home page .when('/', { templateUrl : 'pages/home.html', contr...
JavaScript
0
@@ -288,18 +288,21 @@ rl : 'pa -ge +rtial s/home.h @@ -422,18 +422,21 @@ rl : 'pa -ge +rtial s/about. @@ -562,18 +562,21 @@ rl : 'pa -ge +rtial s/contac @@ -1168,38 +1168,8 @@ %22);%0A -%09%09$scope.theRoute = %22bollox%22;%0A %09%7D);
018c53e0667bb157ac6da59d9ea22ed1f0613636
Fix erros
cosmoz-theme-switcher.js
cosmoz-theme-switcher.js
/*global Polymer, document */ (function () { "use strict"; Polymer({ is: 'cosmoz-theme-switcher', properties: { theme: { type: String }, themeDirectory: { type: String, value: 'themes' }, _importElement: { type: Object } }, observers: [ '_createImportElement(themeDirect...
JavaScript
0.000002
@@ -40,17 +40,17 @@ () %7B%0A%0A%09 -%22 +' use stri @@ -55,9 +55,9 @@ rict -%22 +' ;%0A%0A%09 @@ -1461,8 +1461,9 @@ );%0A%7D()); +%0A
55196b3e61b2ac94ae553d8e8c4d3c6ecfd9ca68
refactor constants file
constants.js
constants.js
module.exports = { LINKEDIN_CLIENT_ID: process.env.LINKEDIN_CLIENT_ID || "insert key here", LINKEDIN_CLIENT_SECRET: process.env.LINKEDIN_CLIENT_SECRET || "inser key here", API_URL: process.env.API_URL || "http://127.0.0.1:8000", MONGOLAB_URI: process.env.MONGOLAB_URI || "mongodb://localhost/urna" };
JavaScript
0.000001
@@ -68,29 +68,8 @@ T_ID - %7C%7C %22insert key here%22 ,%0A @@ -130,28 +130,8 @@ CRET - %7C%7C %22inser key here%22 ,%0A
b96a5a7c059b65bf2188666dfd9f20ad86a2a339
Add constant for fast drop delay
constants.js
constants.js
var CHEMICAL_ELEMENTS = { 0: {'background-color': '#F1EEFA', 'border-color': '#AAA', 'color': '#F1EEFA', 'name': 'n/a', 'symbol': ''}, 1: {'background-color': '#dde', 'border-color': '#888', 'color': 'black', 'name': 'hydrogen', 'symbol': 'H'}, 2: {'background-col...
JavaScript
0.000001
@@ -486,16 +486,37 @@ = 300;%0A +var FAST_DROP = 100;%0A var INPU
9e7e518b820f90fc75b93851127fbe6ee5e163ff
fix tests
packages/app-extensions/src/actions/modules/prepare/initialFormHandler.spec.js
packages/app-extensions/src/actions/modules/prepare/initialFormHandler.spec.js
import {expectSaga} from 'redux-saga-test-plan' import {channel} from 'redux-saga' import initialFormHandler from './initialFormHandler' import {MODAL_COMPONENT} from '../../../notifier/modules/actions' describe('app-extensions', () => { describe('actions', () => { describe('prepare', () => { describe('in...
JavaScript
0
@@ -543,32 +543,45 @@ ormDefinition: %7B +model: 'User' %7D,%0A @@ -1238,16 +1238,39 @@ ormData: + %7Bmodel: 'User', paths: %7Bfirstn @@ -1282,16 +1282,17 @@ 'test'%7D%7D +%7D %0A
962d0e1fbc88537478fdc129269e20123fedce2c
Increase button height slightly
src/widgets/modalChildren/MultiSelectList.js
src/widgets/modalChildren/MultiSelectList.js
/* eslint-disable react/require-default-props */ /** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2016 */ import React, { useCallback, useState } from 'react'; import PropTypes from 'prop-types'; import { FlatList, StyleSheet, View } from 'react-native'; import globalStyles, { APP_FONT_FAMILY, SUSSOL_ORANGE ...
JavaScript
0.000001
@@ -4114,16 +4114,28 @@ L_ORANGE +, height: 50 %7D,%0A co
1661d6e12e53a58c8c8dae903f700288ce05a579
Add support for urlWithExtensions in tags
lib/plugins/decorator/tags.js
lib/plugins/decorator/tags.js
'use strict'; function init({ processorConfig, processorCommonConfig, commonConfig, }) { const config = Object.assign({}, commonConfig, processorCommonConfig, processorConfig); function templateVariables(tags, helperFns, db) { const createTagsFor = config.createTagsFor; return createTagsFor.re...
JavaScript
0
@@ -766,32 +766,73 @@ url: %60tags +$%7Bconfig.urlWithExtension ? '.html' : ''%7D #$%7Btag.replace(' @@ -1081,16 +1081,57 @@ l: %60tags +$%7Bconfig.urlWithExtension ? '.html' : ''%7D #$%7Btag.r
9646f57fe1988e8e1cf820bd9e632342a35a938b
Fix layertree example
examples/layertree.js
examples/layertree.js
/** * @fileoverview This example shows how to create a layer tree tree based * on ngeo's ngeoLayertree directive. */ goog.provide('layertree'); goog.require('ngeo.CreatePopup'); goog.require('ngeo.layertreeDirective'); goog.require('ngeo.layertreenodeDirective'); goog.require('ngeo.mapDirective'); goog.require('ng...
JavaScript
0
@@ -2201,16 +2201,26 @@ %7BObject +%7Cundefined %7D%0A * @ @@ -2246,20 +2246,25 @@ .tree = -null +undefined ;%0A%0A $ht
9e212c6b0a98e00f50ba302d91e00e26eaeed345
correct badges scroll in popup
src/Bundle/MainBundle/Resources/public/js/badge.js
src/Bundle/MainBundle/Resources/public/js/badge.js
(function($){ $.fn.app.badge = function(method) { var sandbox; var methods = { init: function(options) { sandbox = $.extend(true, {}, this.app.badge.defaults, options); return this.each(function() { var $this = $(this); ...
JavaScript
0.000001
@@ -670,18 +670,17 @@ -beforeShow +afterLoad : fu
508777c05a96743223ac6368c0ad23f533a871cb
update ChapterForm unit test
admin/src/chapters/CreateOrEdit/ChapterForm.test.js
admin/src/chapters/CreateOrEdit/ChapterForm.test.js
import React from 'react'; import { mount } from 'enzyme'; import ChapterForm from './ChapterForm'; const releases = global.rfMocks.releases.getReleases; const handleOnSubmit = jest.fn(); const userStorage = { email: 'admin@weeabo.com', id: 1, name: 'The Admin', role: 'ADMIN' }; let chapterEmpty = {}; befor...
JavaScript
0
@@ -2237,32 +2237,37 @@ wrapper = mount( +%0A %3CChapterForm cha @@ -2264,32 +2264,37 @@ erForm chapter=%7B +%7B ... chapterEmpty%7D /%3E @@ -2281,36 +2281,54 @@ ...chapterEmpty +, chapter: -1 %7D %7D /%3E +%0A );%0A wrapper.fin
43a2f8ae4d2bb13bd261745b013e8e5f48ff8db6
Call blur on all inputs under a form component when validation completes
addon/form.js
addon/form.js
import Em from 'ember'; import Utils from 'ember-idx-forms/utils/utils'; /* Form View A component for rendering a form element. Syntax: {{em-form //The layout of the form form_layout="form|inline|horizontal" //The model bound to the form if any model="some_model_instance" //The action to be invo...
JavaScript
0
@@ -1926,24 +1926,108 @@ %7D%0A + %7D)%0A .finally(function() %7B%0A _this.$('input, select').blur();%0A %7D);%0A
d53b9006b6e695fc808e7d29c6bca4ee1befa0c4
Fix missing mongoose variable bug.
employees/middleware.js
employees/middleware.js
var mw = { formatQuery: require('epiphany/middleware/format-query'), paginate: require('epiphany/middleware/paginate') }; var Employee = require('./model'); module.exports = { create: function(req, res, next) { Employee.create(req.body, function(err, employee) { if(err) return next(err); res.status(201).js...
JavaScript
0.000001
@@ -118,16 +118,53 @@ e')%0A%7D;%0A%0A +var mongoose = require('mongoose');%0A%0A var Empl
bf02b16b15e5bcf764f8113f1596fda1f584eafb
Make containers list table refresh faster
static/application/dashboard/dashboardCtrl.js
static/application/dashboard/dashboardCtrl.js
angular.module('manager.dashboard',[]) .controller('dashboardCtrl',['$scope','Image','Container','Popover','ContainerStatus', function($scope,Image,Container,Popover,ContainerStatus) { /* Populate the Images creation trend chart */ Image.query(function(d) { var images_chart_data = []; var agg...
JavaScript
0
@@ -1916,16 +1916,43 @@ able */%0A + $scope.containers = %5B%5D; %0A fun @@ -1986,35 +1986,8 @@ - $scope.containers = %5B%5D; %0A @@ -2089,16 +2089,52 @@ = %5B%5D;%0A%0A + $scope.containers = %5B%5D;%0A
15b92f2cb1c81983d567a1e4c1080d6c5178de72
remove print
static/js/task/controllers/task.controller.js
static/js/task/controllers/task.controller.js
(function () { 'use strict'; angular .module('crowdsource.task.controllers', []) .controller('TaskController', TaskController); TaskController.$inject = ['$scope', '$location', '$mdToast', '$log', '$http', '$routeParams', 'Task', 'Authentication', 'Template', '$sce', '$filter', 'Da...
JavaScript
0.000793
@@ -5144,78 +5144,8 @@ %7D%0A - console.log($rootScope.account.worker_experiment_fields);%0A
90bc1cc38c2b613b56f1a5d2e6db8e0d67a8c1d6
Fix main fn to not rethrow
copromise.js
copromise.js
// Core coroutine runner function run(coroutine) { return new Promise(function (resolve, reject) { (function next(value, exception) { var result; try { result = exception ? coroutine.throw(value) : coroutine.next(value); } catch (error) { return reject(error); } if (result.done) return reso...
JavaScript
0.00022
@@ -858,39 +858,16 @@ routine) -.catch(copromise.raise) ;%0A%7D%0A%0Acop
8558ff77abc85fc5025b723c766e7ba26ff1b2b8
Change browser action icon on chrome startup
src/background/index.js
src/background/index.js
import SettingsFactory from '../common/settings_factory'; import { setBrowserActionIcon } from '../common/functions'; import initialiseOmniboxBookmarksSearch from './omnibox'; const settings = SettingsFactory.create(); if (settings.get('icon') !== null) { setBrowserActionIcon(settings.get('icon')); } initialiseOmn...
JavaScript
0
@@ -1,12 +1,32 @@ +/* global window */%0A import Setti @@ -190,16 +190,70 @@ ibox';%0A%0A +window.chrome.runtime.onStartup.addListener(() =%3E %7B%0A const se @@ -288,16 +288,18 @@ ate();%0A%0A + if (sett @@ -327,16 +327,18 @@ null) %7B%0A + setBro @@ -375,17 +375,23 @@ con'));%0A -%7D + %7D%0A%7D); %...
fdb466a586fc14da8ddbe5354a3e761d68a1d4a1
Remove localStorage boxClosed for testing
copyright.js
copyright.js
function hideBox() { $("#copyright-campaign-box").hide(); if(typeof(Storage)!=="undefined") { localStorage.boxClosed = true; } } $(document).ready(function (e) { if(typeof(Storage)!=="undefined" && localStorage.boxClosed) { hideBox(); } $("#close-copyright-campaign-box").click(...
JavaScript
0
@@ -103,16 +103,18 @@ +// localSto @@ -135,16 +135,39 @@ = true; + // removed for testing %0A %7D%0A%7D
bd84b49c3a89c147f8025058925083598c32a542
Set profile name only when empty
accounts-merge-server.js
accounts-merge-server.js
AccountsMerge = {}; Meteor.methods({ // The newAccount will be merged into the oldAccount and the newAccount will // be marked as merged. mergeAccounts: function (oldAccountId) { check(oldAccountId, String); // This method (mergeAccounts) is sometimes called an extra time (twice) if // the losing u...
JavaScript
0.000001
@@ -1577,32 +1577,86 @@ ces%5Bi%5D%5D;%0A + if( !oldAccount.profile %7C%7C !oldAccount.profile.name ) query%5B'profile.
0c2de8a72d165c1515b1381500d8e880227e5d66
make test clearer
scripts/test-examples.js
scripts/test-examples.js
const path = require('path'); const glob = require('glob'); const execSync = require('child_process').execSync; const examples = glob.sync( path.join( __dirname, '..', 'examples', '!(default-theme|e-commerce|media|tourism|hooks)' ) ); examples.forEach((example) => { execSync(`cd ${example} && ya...
JavaScript
0.000003
@@ -293,16 +293,21 @@ xecSync( +%0A %60cd $%7Bex @@ -315,16 +315,51 @@ mple%7D && + echo testing $(basename $(pwd)) && yarn && @@ -388,15 +388,21 @@ st%60, +%0A %7B%0A + + stdi @@ -417,16 +417,21 @@ rit',%0A -%7D + %7D%0A );%0A%7D);%0A
0166ba58cc2856f62cc131b5c891cd68f3137fe0
Add cache
endpoints/imageProxy.js
endpoints/imageProxy.js
var request = require('request'), url = require('url'); module.exports = function(req, res) { var queryData = url.parse(req.url, true).query; if (queryData.url) { request({ url: queryData.url }).on('error', function(e) { res.end(e); }).on('response', function...
JavaScript
0
@@ -35,45 +35,281 @@ -url = require('url');%0A%0Amodule.exports +log4js = require('log4js'),%0A fs = require('fs'),%0A url = require('url');%0A%0Alog4js.loadAppender('file');%0Alog4js.addAppender(log4js.appenders.file('logs/mp3stream.log'), 'image-proxy');%0Avar logger = log4js.getLogger('image-proxy');%0Al...
9108d8b33ed21912c774e3409237ed69a494d794
Resolve stickydiv first mount invisibility by firing scroll event
app/assets/javascripts/components/ElementDetails.js
app/assets/javascripts/components/ElementDetails.js
import React, {Component} from 'react'; import StickyDiv from 'react-stickydiv' import {Tabs, Tab, Label} from 'react-bootstrap'; import SampleDetails from './SampleDetails'; import ReactionDetails from './ReactionDetails'; import WellplateDetails from './WellplateDetails'; import ScreenDetails from './ScreenDetails'; ...
JavaScript
0
@@ -1261,32 +1261,163 @@ urrentElement);%0A + // imitate scroll event to make StickyDiv element visible in current area%0A window.scrollTo(window.scrollX, window.scrollY);%0A %7D%0A%0A component
83c6a51cf11b350bf9a2e01df11c8e8fec5075d5
Add missing space to function declaration
addon/helpers/pikaday.js
addon/helpers/pikaday.js
import Ember from 'ember'; var $ = Ember.$; var openDatepicker =function(element) { $(element).click(); return PikadayInteractor; }; var PikadayInteractor = { selectorForMonthSelect: '.pika-select-month', selectorForYearSelect: '.pika-select-year', selectDate: function(date) { var day = date.getDate()...
JavaScript
0.000162
@@ -59,16 +59,17 @@ picker = + function
e1bf6810fe2022294c4bf4eb1b255179074fe7e5
Fix MetalComponent context
addon/metal-component.js
addon/metal-component.js
import Ember from "ember"; import MetalView from "./metal-view"; import { extend } from "./utils"; var MetalComponent = MetalView.extend(); var MethodsFromEmberComponent = { _yield: Ember.Component.proto()._yield }; extend(MetalComponent.prototype, MethodsFromEmberComponent); export default MetalComponent;
JavaScript
0.000004
@@ -212,16 +212,253 @@ yield%0A%7D; +%0A%0Avar ComponentMixin = Ember.Mixin.create(%7B%0A init: function(props) %7B%0A props.context = this;%0A props.controller = this;%0A this._super(props);%0A this._keywords.view = this;%0A %7D%0A%7D);%0A%0AComponentMixin.apply(MetalComponent.prototype); %0Aextend( @@...
414b67d38a6f370f3b65bb5fc9b20b8a62a1e500
Add classes to facts-list
app/assets/scripts/components/dimensions/general.js
app/assets/scripts/components/dimensions/general.js
'use strict'; var Reflux = require('reflux'); var React = require('react/addons'); var d3 = require('d3'); var _ = require('lodash'); var numeral = require('numeral'); var LineChart = require('../charts/line_chart'); var utils = require('../../utils/utils'); var IndGeneral = module.exports = React.createClass({ pro...
JavaScript
0.000001
@@ -4787,42 +4787,156 @@ -return %5B(%3Cdt%3E%7Bd.label%7D%3C/dt%3E), (%3Cdd +var statClass = _.kebabCase(d.label);%0A return %5B(%3Cdt className=%7B statClass %7D%3E%7Bd.label%7D%3C/dt%3E),%0A (%3Cdd className=%7B statClass %7D %3E%7Bd.
436aa20c3de33ed9a5f2931ea34b16b4e0ed5198
Remove unused singularize function
addon/utils/normalize.js
addon/utils/normalize.js
import Ember from 'ember'; var classify = Ember.String.classify; // singularize comes with Ember Inflector / Ember Data var singularize = Ember.String.singularize || function(str) { return str.replace(/s$/, ''); }; var stopwords = [ "of", "in", "for", "to", "from" ]; export function normalizeCombined(ability...
JavaScript
0.000037
@@ -67,161 +67,8 @@ y;%0A%0A -// singularize comes with Ember Inflector / Ember Data%0Avar singularize = Ember.String.singularize %7C%7C function(str) %7B%0A return str.replace(/s$/, '');%0A%7D;%0A%0A var
61ca6f7ff33752e50a74710daa6f3e59e016a93b
Fix sdgs feach coming from ndcs
app/javascript/app/pages/ndc-sdg/ndc-sdg-actions.js
app/javascript/app/pages/ndc-sdg/ndc-sdg-actions.js
import { createAction } from 'redux-actions'; import { createThunkAction } from 'utils/redux'; import isEmpty from 'lodash/isEmpty'; const fetchSdgGoalsInit = createAction('fetchSdgGoalsInit'); const fetchSdgGoalsReady = createAction('fetchSdgGoalsReady'); const fetchSdgGoalsFail = createAction('fetchSdgGoalsFail'); ...
JavaScript
0.000001
@@ -419,17 +419,19 @@ st %7B ndc -s +Sdg %7D = sta @@ -447,17 +447,19 @@ if (ndc -s +Sdg && isEm @@ -465,17 +465,19 @@ mpty(ndc -s +Sdg .data))
a6ad34f0029f6c8abde9c482e3f13d7b68790bfc
Add primitive for `math_angle`, fixing point in direction
src/blocks/scratch3_operators.js
src/blocks/scratch3_operators.js
function Scratch3OperatorsBlocks(runtime) { /** * The runtime instantiating this block package. * @type {Runtime} */ this.runtime = runtime; } /** * Retrieve the block primitives implemented by this package. * @return {Object.<string, Function>} Mapping of opcode to Function. */ Scratch3Opera...
JavaScript
0.000144
@@ -491,32 +491,67 @@ ': this.number,%0A + 'math_angle': this.number,%0A 'text':