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
e1ba5f4d38f559bb4fb50eac371e2edb3615c276
Add varaibles
src/config/theme.js
src/config/theme.js
module.exports = module.exports.default = { primary: '#e44a49', primaryLight: '#e44a49', primaryDark: '#e44a49', primaryDarkest: '#e44a49', textPrimary: 'rgba(255,255,255, 1)', textSecondary: 'rgba(255,255,255, 0.7)', textDisabled: 'rgba(255,255,255, 0.5)', divider: 'rgba(255,255,255, 0...
JavaScript
0
@@ -48,26 +48,34 @@ primary -: '#e44a49 +Lightest: '#eca8a7 ',%0A p @@ -86,16 +86,40 @@ ryLight: + '#e77a79',%0A primary: '#e44a4 @@ -138,29 +138,29 @@ aryDark: '#e -44a49 +01b1a ',%0A prima @@ -172,23 +172,169 @@ kest: '# -e44a49' +b71110',%0A%0A greyLightest: %22#45403e%22,%0A greyLight: %2...
2d8b5dc24fdc677d634edb9ae24f35cdcc8d9aa6
Revert "Count filtered r/all as a fake subreddit"
src/lib/isFakeSubreddit.es6.js
src/lib/isFakeSubreddit.es6.js
const randomSubs = ['random', 'randnsfw', 'myrandom']; const fakeSubs = ['all', 'mod', 'friends'].concat(randomSubs); export { fakeSubs, randomSubs }; export default function isFakeSubreddit(subredditName) { return !!subredditName && ( subredditName.indexOf('+') > -1 || subredditName.indexOf('-') > -1 || ...
JavaScript
0
@@ -232,21 +232,16 @@ ame && ( -%0A subreddi @@ -270,51 +270,8 @@ 1 %7C%7C -%0A subredditName.indexOf('-') %3E -1 %7C%7C%0A fak @@ -299,16 +299,13 @@ ditName) -%0A );%0A%7D%0A
e41d9c5a7872772369cf455ba29a84ad8bb5c646
Improve doc warning
src/lib/shadowtree/function.js
src/lib/shadowtree/function.js
import Declaration from "./declaration" import Parameter from "./parameter" import Block from "./block" import Identifier from "./identifier" import {Context, ContextTypes, Doc, ParserStateOption} from "./node" import {PHPSimpleType, PHPFunctionType, PHPTypeUnion, WrongType} from "../phptype" import * as PHPError from ...
JavaScript
0
@@ -4966,16 +4966,41 @@ kipping +unrecognised PHPDoc tag @ $%7Bc.kind
b5dc588e2336a8eaf5313129676b3533d399f985
remove unused property
ui/js/component/common.js
ui/js/component/common.js
import React from "react"; import { formatCredits, formatFullPrice } from "util/formatCredits"; import lbry from "../lbry.js"; //component/icon.js export class Icon extends React.PureComponent { static propTypes = { icon: React.PropTypes.string.isRequired, className: React.PropTypes.string, fixed: React....
JavaScript
0.000001
@@ -1744,39 +1744,8 @@ %5D),%0A - fee: React.PropTypes.bool,%0A %7D; @@ -1902,24 +1902,8 @@ se,%0A - fee: false,%0A %7D;
a27c8c3cc9967944416e8752f54ba64adcfc614b
change rs count
ui/js/controllers/jobs.js
ui/js/controllers/jobs.js
"use strict"; treeherder.controller('JobsCtrl', function JobsCtrl($scope, $http, $rootScope, $routeParams, $log, $cookies, localStorageService, thUrl, thRepos, thSocket, thResultSetModelManager) { // set the default repo to mozilla-inbound if not specified ...
JavaScript
0.000006
@@ -2131,9 +2131,10 @@ ets( -2 +10 );%0A%0A
0dbfa012c579569d1c9040de52b8e013354839a8
fix vat field in transaction form
validators/transaction.js
validators/transaction.js
import Joi from 'joi'; import pluck from 'lodash/collection/pluck'; import dates from '../lib/dates'; import validate from '../lib/validate'; import paymentMethods from '../ui/payment_methods'; /** * New transaction schema */ const schema = Joi.object().keys({ link: Joi.string().uri() .label('Photo'), desc...
JavaScript
0
@@ -482,16 +482,28 @@ ).min(0) +.allow(null) %0A .la
46d1d6065a01defcdf30d3b6b6b9473a1de57b38
correct terminology
sample-simple/src/RealtimeDatabase.js
sample-simple/src/RealtimeDatabase.js
import firebase from 'firebase/app'; import 'firebase/auth'; import 'firebase/database'; import React, { Suspense, useState } from 'react'; import { useDatabaseList, useDatabaseObject, useUser } from 'reactfire'; const Counter = props => { const ref = firebase.database().ref('counter'); const increment = amountTo...
JavaScript
0.99913
@@ -2310,11 +2310,14 @@ ple -Doc +Object Lis @@ -2457,18 +2457,12 @@ ple -Collection +List Lis
39206913539b2b28bdcd65db6a156743906cd9db
use the server side hasTrait function as it works better
client/deck-validator.js
client/deck-validator.js
import _ from 'underscore'; function getDeckCount(deck) { var count = 0; _.each(deck, function(card) { count += card.count; }); return count; } function hasTrait(card, trait) { var traits = card.card.traits; var split = traits.split('.'); return _.any(split, function(t) { ...
JavaScript
0
@@ -206,20 +206,14 @@ -var traits = +return car @@ -229,100 +229,28 @@ aits -;%0A var split = traits.split('.');%0A%0A return _.any(split, function(t) %7B%0A return t + && card.card.traits .toL @@ -259,21 +259,25 @@ erCase() - === +.indexOf( trait.to @@ -287,24 +287,30 @@ erCase() -;%0A %7...
1b1319815780dfd7c3c78b9abbd914cea03e045b
use epic editor autogrow feature
client/helpers/config.js
client/helpers/config.js
Accounts.ui.config({ passwordSignupFields: 'USERNAME_AND_EMAIL' }); EpicEditorOptions={ container: 'editor', basePath: '/editor', clientSideStorage: false, theme: { base:'/themes/base/epiceditor.css', preview:'/themes/preview/github.css', editor:'/themes/editor/epic-light.css' } }; SharrreOptions={ s...
JavaScript
0
@@ -158,16 +158,33 @@ false,%0A +%09autogrow: true,%0A %09theme:
64906365802ed41ba0529f98c8c6d63d0728e98b
Replace sourceMappingURL.
lib/transform-chain.js
lib/transform-chain.js
'use strict'; const fs = require('fs'); const path = require('path'); const async = require('async'); const merge = require('merge'); const sorcery = require('sorcery'); const FileReader = require('./file-reader'); class TransformChain { constructor(transforms, cacheChain) { this.transforms = transforms; this....
JavaScript
0
@@ -3127,16 +3127,18 @@ =%5B.*?%5D%5B +%5C* $%5D/, 'so
e1db0ec174395860967df134c26561db55478bc1
Fix lint
client/js/chart/index.js
client/js/chart/index.js
import {SVG_NS} from '../util.js'; /** * Creates an SVG chart inside of `container` with the given data. * * @param {HTMLElement} container The container element for this chart. * @param {Map<string, number[]>} histories The ranking history for each * track. * @param {Date[]} dates The date of each history entry...
JavaScript
0.000032
@@ -1733,32 +1733,65 @@ a non-null point +, which is the beginning of a run %0A while (star @@ -1918,16 +1918,43 @@ ll point +, which is the end of a run %0A whi @@ -2775,17 +2775,16 @@ SCALE_X, - %0A @@ -2804,16 +2804,17 @@ _SCALE_Y +, %0A %7D @@ -2874,16 +2874,17 @@ %3E %60$%7Bx%7D, + $%...
eee4e7e4e0caca8ced397e16d4c80f2f738b522f
Fix cleanupPackageCache usage
lib/util/repository.js
lib/util/repository.js
/** @module env/repository */ 'use strict'; const fs = require('fs'); const path = require('path'); const semver = require('semver'); const debug = require('debug')('yeoman:environment:repository'); const execa = require('execa'); const REPOSITORY_FOLDER = '.yo-repository'; module.exports = { /** * @private *...
JavaScript
0.000002
@@ -3854,29 +3854,16 @@ geCache( -packagePath, packageN
12c8ceab21fe127105c5a1e4f63f68005f164598
Fix and add additional tests.
test/test_container_token.js
test/test_container_token.js
/* This file is part of the Juju GUI, which lets users view and manage Juju environments within a graphical interface (https://launchpad.net/juju-gui). Copyright (C) 2012-2013 Canonical Ltd. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License...
JavaScript
0
@@ -1587,16 +1587,43 @@ ine = %7B%0A + displayDelete: true,%0A ti @@ -2035,24 +2035,407 @@ ue);%0A %7D);%0A%0A + it('does not have a delete button if it is not supposed to', function() %7B%0A container = utils.makeContainer(this, 'container-token');%0A machine.displayDelete = false;%0A view = n...
89967b9f755121edc931c5713cbf460f27fb96c8
Add logic for checking if other players are in room, add transaction function for giving an object to a player and removing it from other player's inventory.
commands/give.js
commands/give.js
var l10n_file = __dirname + '/../l10n/commands/give.yml'; var l10n = require('../src/l10n')(l10n_file); var CommandUtil = require('../src/command_util').CommandUtil; exports.command = function (rooms, items, players, npcs, Commands) { return function (args, player) { // syntax 'give [target player] [item]' // No...
JavaScript
0
@@ -229,12 +229,15 @@ nds) -%0A%7B%0A%09 + %7B%0A retu @@ -266,15 +266,19 @@ yer) -%0A%09%7B%0A%0A%09%09 + %7B%0A // s @@ -317,42 +317,16 @@ m%5D'%0A -%09%09// No giving stuff in combat%0A%0A%09%09 + if ( @@ -344,27 +344,36 @@ Combat()) %7B%0A -%09%09%09 + player.sayL1 @@ -397,34...
2aee715fd5569ff51304edf5632ebf7c4e876e88
use port 3001 for shell service
commands/init.js
commands/init.js
var fs = require('fs'); var path = require('path'); var child = require('child_process'); var _ = require('lodash'); var exists = require('is-there'); var util = require('heroku-cli-util'); var YAML = require('yamljs'); var camelcase = require('camelcase'); var docker = require('../lib/docker'); var safely = require(...
JavaScript
0
@@ -2509,17 +2509,17 @@ : %5B '300 -0 +1 :3001' %5D @@ -2521,24 +2521,71 @@ 01' %5D%0A %7D);%0A + processes.shell.environment.PORT = '3001';%0A %0A // compil
5d11d5d8272d6e00782bec4eb8bf3df980fc1747
Update mute.js
commands/mute.js
commands/mute.js
const Discord = require('discord.js'); const ms = require('ms'); exports.run = (client, message, args) => { const reason = args.slice(1).join(' '); const user = message.mentions.users.first(); const modlog = client.channels.find('name', 'mod-log'); const muteRole = client.guilds.get(message.guild.id).roles.find...
JavaScript
0.000001
@@ -2012,16 +2012,74 @@ error);%0A + if (message.guild.member(user).roles.has(muteRole.id)) %7B %0A mes @@ -2277,16 +2277,17 @@ %7D);%0A %7D +%7D %0A%0Aexport
eecdf7d12a87de54701d475408433bd1b2676142
Fix reaction buttons for team command.
commands/team.js
commands/team.js
const Discord = require('discord.js'); const app = require('../app'); const vex = require('../vex'); const client = app.client; const addFooter = app.addFooter; const getTeamId = vex.getTeamId; const validTeamId = vex.validTeamId; const getTeam = vex.getTeam; const createTeamEmbed = vex.createTeamEmbed; const pageSi...
JavaScript
0
@@ -305,29 +305,8 @@ d;%0A%0A -const pageSize = 10;%0A cons @@ -323,9 +323,14 @@ = ' -%F0%9F%94%BA +%5Cu25C0 ';%0Ac @@ -346,9 +346,14 @@ = ' -%F0%9F%94%BB +%5Cu25B6 ';%0A%0A @@ -1093,34 +1093,23 @@ next ? +- 1 : -- 1) - * pageSize ;%0A%09%09%09%09%09%09 @@ -1199,33 +1199,24 @@ %09%09%09%09index = -Math...
6a74d12cb068a31b80ee0cb8bd26078434c62845
fix link thing
commands/wiki.js
commands/wiki.js
// const utils = require('../lib/utils.js') const rp = require('request-promise-native'); const txtwiki = require('txtwiki'); const linkRegex = /\[(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)) (.*?)\]/g; const linkNoTextRegex = /\[(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2...
JavaScript
0
@@ -1134,13 +1134,8 @@ -else arr%5B
fddaf1f97e9ec359f320177b17ca771caaabe70c
change [read more] button color
buttons.js
buttons.js
/* Date: 2016-01-05 */ var configMenu = {isVisible:false}; var feedList = {isVisible:true}; var feedInput = {isVisible:false}; var feedContainter = {isVisible:true}; var story = {isVisible:false}; var xfunc = function() { $('#feedContainter').removeClass('hidden'); }; var ifBothFalseFunc ...
JavaScript
0
@@ -4119,13 +4119,14 @@ ton- -royal +action %22 '
f2d412cac0f98e929ec80ef54d72b1ade2d1cd7e
fix public prefix if write to root
api/getPublicPrefix.js
api/getPublicPrefix.js
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ module.exports = "require.valueOf().modules.c";
JavaScript
0.000139
@@ -111,16 +111,17 @@ orts = %22 +( require. @@ -139,10 +139,15 @@ odules.c +%7C%7C'') %22;
02e39b103f525dc742cb9649c04ce66136870133
Tidy LocalStorage class.
source/Vibrato/storage/LocalStorage.js
source/Vibrato/storage/LocalStorage.js
// -------------------------------------------------------------------------- \\ // File: LocalStorage.js \\ // Module: Storage \\ // Requires: Core, Foundation ...
JavaScript
0
@@ -570,22 +570,54 @@ *global -window +location, sessionStorage, localStorage */%0A%0A%22us @@ -1904,23 +1904,16 @@ store = -window. location @@ -1977,23 +1977,16 @@ nOnly ? -window. sessionS @@ -1998,15 +1998,8 @@ e : -window. loca
1bf50fbae64bf7d14aa1805aa19a01a44aa37356
remove unused dependency and update model
api/user/user.model.js
api/user/user.model.js
'use strict'; var mongoose = require('mongoose'); var bcrypt = require('bcrypt-nodejs'); var md5 = require('MD5'); var userSchema = new mongoose.Schema({ email: { type: String, lowercase: true, unique: true, required: true, match: [/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3...
JavaScript
0
@@ -87,32 +87,179 @@ ');%0A -var md5 = require('MD5') +const emailRegex = /%5E((%5B%5E%3C%3E()%5C%5B%5C%5D%5C%5C.,;:%5Cs@%22%5D+(%5C.%5B%5E%3C%3E()%5C%5B%5C%5D%5C%5C.,;:%5Cs@%22%5D+)*)%7C(%22.+%22))@((%5C%5B%5B0-9%5D%7B1,3%7D%5C.%5B0-9%5D%7B1,3%7D%5C.%5B0-9%5D%7B1,3%7D%5C.%5B0-9%5D%7B1,3%7D%5D)%7C((%5Ba-zA-Z%5C-0-9%5D...
7e5bb2069ac3f6a3f42773d52942e53c709b21d5
Create layout for log in page
Users/Login.js
Users/Login.js
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Container, TextInput, Label, Text, View, Button, } from 'react-native'; export default class LoginScreen extends Component { static navigationOptions = { title: 'Login below', }; render() { return ( <View>...
JavaScript
0
@@ -260,19 +260,20 @@ e: ' -Login below +Welcome Back ',%0A @@ -315,30 +315,16 @@ %3CView%3E%0A - %3CView%3E %0A @@ -331,28 +331,24 @@ %3C -Label text=%22 +Text%3E Email -%22 / +%3C/Text %3E%0A @@ -420,39 +420,8 @@ /%3E%0A - %3C/View%3E%0A%0A %3CView%3E %0A @@ -432,28 +43...
7395d1eedaebfcffb1d67f6936123b248e5c7b01
Change playlist background to artwork colour
source/assets/js/modules/soundcloud.js
source/assets/js/modules/soundcloud.js
define([ 'libs/bean', 'libs/bonzo', 'libs/qwery', 'utils/loadJSON', 'sc' ], function( bean, bonzo, qwery, loadJSON ) { var sound; return { init: function() { loadJSON('/soundcloud-keys.json', function(data) { SC.initialize({ ...
JavaScript
0
@@ -2747,24 +2747,139 @@ %5B'color'%5D);%0A + bonzo(qwery('.playlist')).attr(%22style%22, track%5B'color'%5D.replace(')', ', 0.2)').replace('rgb', 'rgba'));%0A
0eca466e6016f5e65c5343c102db7f15bcbef3a3
add method to set an arbitray value
cbuffer.js
cbuffer.js
(function( global ) { function CBuffer() { var i = 0; // handle cases where "new" keyword wasn't used if (!( this instanceof CBuffer )) { if ( arguments.length > 1 || typeof arguments[0] !== 'number' ) { return CBuffer.apply( new CBuffer(), arguments ); } else { return new CBuffer( arguments[0] ); } } ...
JavaScript
0
@@ -3134,16 +3134,146 @@ ngth %5D;%0A +%09%7D,%0A%09// set value at specified index%0A%09set : function( idx, arg ) %7B%0A%09%09return this.data%5B( this.start + idx ) %25 this.length %5D = arg;%0A %09%7D%0A%7D;%0A%0Ag
52014671bf42df73fd8764de2c18c979cad47ff8
Make Flow happy
src/devtools/views/Components/Element.js
src/devtools/views/Components/Element.js
// @flow import React, { Fragment, useCallback, useContext, useLayoutEffect, useMemo, useRef, } from 'react'; import { ElementTypeClass, ElementTypeFunction } from 'src/devtools/types'; import { createRegExp } from '../utils'; import { TreeContext } from './TreeContext'; import { BridgeContext, StoreContex...
JavaScript
0.000001
@@ -2454,16 +2454,30 @@ ererID = + id !== null ? store.g @@ -2503,19 +2503,18 @@ ent( -element.id) +id) : null ;%0A @@ -2683,16 +2683,51 @@ if ( +element !== null && id !== null && renderer @@ -2873,20 +2873,8 @@ -id: element. id,%0A @@ -2936,24 +2936,24 @@ %7D);%0A %7D%0A - %7D, %5Bbridge...
bb53f05d05f357bca5d3a08a9c30319fef2c8905
rework reports so they use the amount of traits rather than a string to decide things
reports/js/totals.js
reports/js/totals.js
var request = new XMLHttpRequest(); request.open('GET', 'totals.json', true); request.responseType = 'text'; request.onload = function() { try { var data = request.response; var json = JSON.parse(data); loadData(json); } catch(e) { console.log('booo when loading data', e); }...
JavaScript
0
@@ -770,291 +770,8 @@ // - If no HTML files are included, there's no way this is an HTML5%0A // app.%0A var hasHTML = false;%0A traits.forEach(function(trait) %7B%0A if (trait.reason === 'HTML files found in code') %7B%0A hasHTML = true;%0A %7D%0A %7D)...
14bb729bccbe95e14ff601c4aed94240be8b33e3
Remove sticky menu for widths <500px
site/static/js/all.js
site/static/js/all.js
$(function() { var share = new Share("#share-button-top", { networks: { facebook: { app_id: "1604147083144211", } } }); var winWidth = $(window).width(); var stickyHeader = function () { winWidth = $(window).width(); if (winWidth >= 768) { $('.navbar').attr('style',...
JavaScript
0
@@ -150,145 +150,90 @@ );%0A%0A -%0A -var winWidth = $(window).width();%0A%0A var stickyHeader = function () %7B%0A winWidth = $(window).width();%0A%0A if (winWidth %3E= 768) %7B%0A +// This is still buggy and just a band-aid%0A $(window).on('resize', function()%7B%0A @@ -286,18 +286,16 @@ ');%0A ...
85bad9bbffa3e45f862194e0f32af8d7ed124d65
Add missing @license headers
js/com/google/drive/FileDAOTest.js
js/com/google/drive/FileDAOTest.js
CLASS({ package: 'com.google.drive', name: 'FileDAOTest', requires: [ 'XHR', 'com.google.drive.FileDAO', 'foam.oauth2.AutoOAuth2', 'foam.demos.olympics.Medal' ], tests: [ { model_: 'UnitTest', name: 'abc', async: true, code: function(ret) { console.log("Test...
JavaScript
0.000001
@@ -1,8 +1,637 @@ +/**%0A * @license%0A * Copyright 2015 Google Inc. All Rights Reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/l...
1441eb95790d23a8aff0e341800ffa16b15734ca
Rename ctor param for clarity; fix PropertySet bugs
js/common/model/ElementFollower.js
js/common/model/ElementFollower.js
// Copyright 2016, University of Colorado Boulder /** * Convenience class for sticking to model elements. * * @author John Blanco * @author Jesse Greenberg * @author Andrew Adare */ define( function( require ) { 'use strict'; // modules var energyFormsAndChanges = require( 'ENERGY_FORMS_AND_CHANGES/energ...
JavaScript
0
@@ -572,24 +572,38 @@ %7C null%7D -follower +initialPositionToTrack %0A * @c @@ -647,24 +647,38 @@ llower( -follower +initialPositionToTrack ) %7B%0A%0A @@ -721,24 +721,38 @@ llower: -follower +initialPositionToTrack === nul @@ -777,24 +777,38 @@ , 0 ) : -follower +initialPositionToTrack ,%0A @@...
77cf537ff4a38dee6fdeb4e84209fc4ea12b83e1
fix small issues
js/services/booleanSearchEngine.js
js/services/booleanSearchEngine.js
define( [ 'underscore' ], function(_) { "use strict"; /* * Boolean search engine. */ var BooleanSearchEngine = function () { var exTree; var searchTextForExTree; var andExpression = 'AND'; var orExpression = 'OR'; var nonePattern = 'NONE'; var patterns = ['TAG:', 'URL:', 'TITLE:']; //...
JavaScript
0.000212
@@ -1548,19 +1548,16 @@ %0A - // var fil @@ -1589,23 +1589,16 @@ ues( -_.pick( bookmark , 't @@ -1597,25 +1597,8 @@ mark -, 'title', 'url') ), f @@ -1625,100 +1625,8 @@ e)%7B%0A - var filteredValue = _.find(%5Bbookmark.title, bookmark.url%5D, function(propertyValue)%7B%0A @@ -1700,32 +1700,...
24a85bb40594bda3fe30d401cdba639a0bccfc25
Set highlightable to false on SVG components
src/dom_components/model/ComponentSvg.js
src/dom_components/model/ComponentSvg.js
var Component = require('./Component'); module.exports = Component.extend({ getName() { let name = this.get('tagName'); let customName = this.get('custom-name'); name = name.charAt(0).toUpperCase() + name.slice(1); return customName || name; }, }, { isComponent(el) { if (SVGElement && el i...
JavaScript
0.000004
@@ -71,16 +71,91 @@ tend(%7B%0A%0A + defaults: %7B ...Component.prototype.defaults,%0A highlightable: 0,%0A %7D,%0A%0A getNam
b3b2ad18ab0586a0095b3e2df7dd20fc977a2743
exclude build/* folder from presubmit checks
build-system/tasks/presubmit-checks.js
build-system/tasks/presubmit-checks.js
/** * Copyright 2015 The AMP HTML Authors. 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 require...
JavaScript
0
@@ -797,16 +797,22 @@ es,dist, +build, dist.3p%7D
ec39baa7eaecbf8e108574b47caba3f8e4b94eef
Use existsRecursive more for clarity
public/app/js/cbus-server-update.js
public/app/js/cbus-server-update.js
if (!cbus.hasOwnProperty("server")) { cbus.server = {} } (function() { const request = require("request"); const x2j = require("xml2js"); const path = require("path"); cbus.server.update = function(feeds, callback) { console.log(feeds); var feedContents = {}; var updatedCount; f...
JavaScript
0
@@ -1487,33 +1487,30 @@ if ( -item%5B%22enclosure%22%5D && +existsRecursive( item +, %5B%22en @@ -1521,89 +1521,25 @@ ure%22 -%5D%5B0%5D &&%0D%0A item%5B%22enclosure%22%5D%5B0%5D.$ && item%5B%22enclosure%22%5D%5B0%5D.$.url +, 0, %22$%22, %22url%22%5D) ) %7B%0D @@ -1634,37 +1634,30 @@ if ( -it...
7d650001018959a342fe94989929d52c8b4236fd
Improve stage confiration message when moving to the action items stage
web/static/js/configs/shared_stage_configs.js
web/static/js/configs/shared_stage_configs.js
import LobbyStage from "../components/lobby_stage" import PrimeDirectiveStage from "../components/prime_directive_stage" import GroupingStage from "../components/grouping_stage" import GroupsContainer from "../components/groups_container" import IdeationInterface from "../components/ideation_interface" import StageChan...
JavaScript
0.000001
@@ -1434,18 +1434,23 @@ ssage: %22 -Ha +Wait! I s everyo @@ -1456,30 +1456,22 @@ one -had a chance to subm +satisfied w it +h the
d0222c376ea75ccf927507b18473908e43ba11aa
Resolve absolute node_modules
webpack/common/modules.js
webpack/common/modules.js
const {resolve} = require('path'); module.exports = [ 'node_modules', resolve(resolve('.'), 'lib/assets/javascripts') ];
JavaScript
0.000004
@@ -49,16 +49,38 @@ ts = %5B%0A + resolve(resolve('.'), 'node_m @@ -86,16 +86,17 @@ modules' +) ,%0A reso
0c8fd42464c4296973503e5c8ed8b45ce557b470
add regex to resolve warnings on build
webpack/webpack.common.js
webpack/webpack.common.js
var webpack = require("webpack"); var HtmlWebpackPlugin = require("html-webpack-plugin"); var ExtractTextPlugin = require("extract-text-webpack-plugin"); var helpers = require("./helpers"); module.exports = { entry: { "polyfills": helpers.root("src") + "/polyfills.ts", "vendor": helpers.root("src") + "/vendor.ts"...
JavaScript
0
@@ -1126,24 +1126,116 @@ lt'%5D%0A%09%09%7D),%0A%0A +%09%09new webpack.ContextReplacementPlugin(/@angular(%5C%5C%7C%5C/)core(%5C%5C%7C%5C/)/, helpers.root(%22src%22)),%0A%0A %09%09new HtmlWe
ef728dcfec791be8691f9c2b3b6a022a382f3d2a
Include form id in error event.
website-guts/assets/js/utils/oform_globals.js
website-guts/assets/js/utils/oform_globals.js
;(function(){ var w, d; w = window; d = document; w.optly = w.optly || {}; w.optly.mrkt = w.optly.mrkt || {}; w.optly.mrkt.Oform = {}; w.optly.mrkt.Oform.before = function(){ d.getElementsByTagName('body')[0].classList.add('oform-processing'); return true; }; w.optly.mrkt.Oform.vali...
JavaScript
0
@@ -369,16 +369,62 @@ s.track( +$(element).closest('form').attr('id') + ' ' + element. @@ -495,32 +495,74 @@ ,%0A%0A label: +window.optly.mrkt.utils.trimTrailingSlash( w.location.pathn @@ -564,16 +564,17 @@ pathname +) %0A%0A %7D,
c15f1cfb59f77ca674fafd4d4eda2e2d772c12b0
add Auth0 badge
website/pages/HomePage.js
website/pages/HomePage.js
view HomePage { view.lock = new Auth0Lock('0cUJF1X5QmrXTsVKdL9CqorbW4SnjbZd', 'aria.auth0.com') <Hexagon> <heading>FormulaGrid</heading> </Hexagon> <input placeholder="Search" type="text" /> <buttons> <button onClick={Motion.router.link('/explore')} class="ui button basic green"> Explore </...
JavaScript
0.000658
@@ -152,16 +152,17 @@ exagon%3E%0A +%0A %3Cinput @@ -198,16 +198,17 @@ ext%22 /%3E%0A +%0A %3Cbutto @@ -438,16 +438,326 @@ ttons%3E%0A%0A + %3Ccredit%3E%0A %3Ch4%3EAuthentication Powered By:%3C/h4%3E%0A %3Ca href=%22https://auth0.com/%22 target=%22_blank%22 alt=%22Single Sign On & Token Based Authentica...
2311a1706ab726013dacae18223f403b67651da8
rename the community_resource tables and code #5578
www/assets/cockpit/js/controllers.resource.js
www/assets/cockpit/js/controllers.resource.js
NGApp.config(['$routeProvider', function($routeProvider) { $routeProvider .when('/community/resources', { action: 'resources', controller: 'CommunityResourcesCtrl', templateUrl: 'assets/view/resources.html', reloadOnSearch: false }) .when('/community/resource/:id?', { action: 'resources', contr...
JavaScript
0.000024
@@ -1261,16 +1261,27 @@ otScope, + $location, Resourc @@ -2061,21 +2061,101 @@ %09%09%09%09 -%7D%0A +%09load();%0A%09%09%09%09%7D else %7B%0A%09 %09%09%09%09 +$ lo -ad(); +cation.path( '/community/resource/' + json.id_resource );%0A%09%09%09%09%7D %0A%09%09%09
c73bb73f674f854ab6b0ff9bfc30114882708fe4
fix event assigning bug
www/js/controller/lecturesWeeklyController.js
www/js/controller/lecturesWeeklyController.js
"use strict"; angular.module("wuw.controllers") .controller("LecturesWeeklyCtrl", function($scope, $ionicHistory, $state, $ionicPopup, $compile, $timeout, $filter, Lectures, Settings, uiCalendarConfig) { $scope.events = []; $scope.eventSource = [$scope.events]; /* config object */ $scope.uiC...
JavaScript
0
@@ -800,82 +800,103 @@ %7D;%0A + %0A $ -scope.loadLectures = function() %7B%0A Lectures.lecturesThisWeek( +ionicPopover.fromTemplateUrl('templates/popover.html', %7B%0A scope: $scope,%0A %7D ).th @@ -911,17 +911,17 @@ ion( -lectures) +popover) %7B%0A @@ -930,59 +930,166 @@ - +...
da68457850fc4401abd9b23487d15568a39c5a8c
fix sticky table header on responsive resize
src/encoded/static/libs/sticky_header.js
src/encoded/static/libs/sticky_header.js
(function($) { // http://stackoverflow.com/a/6625189/199100 // http://css-tricks.com/persistent-headers/ function translate(element, x, y) { var translation = "translate(" + x + "px," + y + "px)"; element.css({ "transform": translation, "-ms-transform": translation, "-webkit-transform":...
JavaScript
0
@@ -674,16 +674,200 @@ +$nb = $('.navbar-fixed-top'),%0A nb_height = 0;%0A%0A if ($nb.css('position') == 'fixed') %7B%0A nb_height = $nb.height();%0A %7D%0A var scrollTo @@ -898,39 +898,17 @@ ) + -$('.navbar-fixed-top'). +nb_ height -() ,%0A...
8c2239838e82a4902c8ab9a20e2ce52e8eaa1bbe
Update addon/-task-group.js
addon/-task-group.js
addon/-task-group.js
import { or, bool } from '@ember/object/computed'; import EmberObject from '@ember/object'; import { objectAssign, _ComputedProperty } from './utils'; import TaskStateMixin from './-task-state-mixin'; import { propertyModifiers } from './-property-modifiers-mixin'; import { gte } from 'ember-compatibility-helpers'; ex...
JavaScript
0
@@ -636,16 +636,24 @@ ('3.10.0 +-alpha.1 ')) %7B%0A
af8136900033fa4de4fc2436df378cbd464faf91
update response for destory game
server/controllers/gamesController.js
server/controllers/gamesController.js
const Game = require('../models').Game; module.exports = { /** * Creates a new Game object on the server * * @route POST /games * * @param {*} req req.body.ATTRIBUTE * @param {*} res res.status */ create(req, res) { return Game .create({ game_number: req.body.game_number, ...
JavaScript
0
@@ -3088,75 +3088,118 @@ -return res.status(400).send(%7B%0A message: 'Game Not F +throw %7B%0A status: 404,%0A message: 'Game not found',%0A errors: %5B'Game not f ound' +%5D ,%0A @@ -3199,33 +3199,32 @@ d'%5D,%0A %7D -) ;%0A %7D%0A @@ -3211,3...
1d72fef270a2f1d683929fa90f7ebd55d848580a
Update QMenu.js
quasar/src/components/menu/QMenu.js
quasar/src/components/menu/QMenu.js
import Vue from 'vue' import AnchorMixin from '../../mixins/anchor.js' import ModelToggleMixin from '../../mixins/model-toggle.js' import PortalMixin from '../../mixins/portal.js' import TransitionMixin from '../../mixins/transition.js' import ClickOutside from './ClickOutside.js' import uid from '../../utils/uid.js'...
JavaScript
0
@@ -2386,17 +2386,17 @@ f (node -= +! == void @@ -2397,18 +2397,18 @@ void 0 -%7C%7C +&& node.co @@ -2438,17 +2438,17 @@ lement) -= +! == true) @@ -2452,38 +2452,16 @@ ue) %7B%0A - return%0A %7D%0A%0A no @@ -2509,24 +2509,26 @@ node%0A + node.focus() @@ -2524,24 +2524,32 @@ o...
7a917f2c19a616721bf818bf48673d4093380baa
Add getContents method to file model
addon/models/file.js
addon/models/file.js
import DS from 'ember-data'; import OsfModel from './osf-model'; import FileItemMixin from 'ember-osf/mixins/file-item'; import { authenticatedAJAX } from 'ember-osf/utils/ajax-helpers'; /** * @module ember-osf * @submodule models */ /** * Model for OSF APIv2 files. This model may be used with one of several API...
JavaScript
0
@@ -2745,12 +2745,206 @@ %0A %7D,%0A + getContents() %7B%0A return authenticatedAJAX(%7B%0A url: this.get('links.download'),%0A type: 'GET',%0A xhrFields: %7B withCredentials: true %7D,%0A %7D);%0A %7D,%0A %7D);%0A
c48136f91d182d849dca8dc891aa767468229652
use routeTo for redirecting after login
client/modules/user/signals/loginFormSubmitted.js
client/modules/user/signals/loginFormSubmitted.js
import {state} from 'cerebral/tags' import {set, when} from 'cerebral/operators' import {isValidForm} from 'cerebral-provider-forms/operators' import {httpPost} from 'cerebral-provider-http/operators' import initUser from '../actions/initUser' import setValidationError from '../factories/setValidationError' export def...
JavaScript
0.000001
@@ -190,24 +190,77 @@ /operators'%0A +import routeTo from '../../common/factories/routeTo'%0A import initU @@ -977,36 +977,16 @@ ue: -set(state%60app.currentPage%60, +routeTo( stat @@ -1029,36 +1029,16 @@ se: -set(state%60app.currentPage%60, +routeTo( 'hom
598b501d1d6118e6bf8036943751c5db99c3e4e8
fix issue with scroll bar positioning (fix #3284) (#3854)
quasar/src/utils/position-engine.js
quasar/src/utils/position-engine.js
import { getScrollbarWidth } from './scroll.js' export function validatePosition (pos) { let parts = pos.split(' ') if (parts.length !== 2) { return false } if (!['top', 'center', 'bottom'].includes(parts[0])) { console.error('Anchor/Self position must start with one of top/center/bottom') return f...
JavaScript
0
@@ -2686,24 +2686,35 @@ Math.max(0, +Math.floor( props.top) + @@ -2711,16 +2711,17 @@ ops.top) +) + 'px'%0A @@ -2750,16 +2750,27 @@ .max(0, +Math.floor( props.le @@ -2772,16 +2772,17 @@ ps.left) +) + 'px'%0A @@ -2843,16 +2843,27 @@ eight = +Math.floor( props.ma @@ -2865,24 +2865,25 @@ ps.maxHeight +) ...
a51bcbf97caced01f38936c46df8b1f9162b8d29
Replace javascript == with ===
client/tests/end2end/test-admin-configure-node.js
client/tests/end2end/test-admin-configure-node.js
var utils = require('./utils.js'); describe('adming configure node', function() { it('should configure node', function(done) { browser.setLocation('admin/advanced_settings'); // simplify the configuration in order to simplfy initial tests element(by.model('admin.node.disable_security_awareness_badge'))....
JavaScript
0.999703
@@ -4801,16 +4801,17 @@ if (j == += 0) %7B%0A
4a06ebd6019ce85f0e018c356b7fe86da5647c32
extend target cardCondition for Lionstar so that only characters with printed cost 4 or lower can be targeted (#2657)
server/game/cards/14-FotS/Lionstar.js
server/game/cards/14-FotS/Lionstar.js
const DrawCard = require('../../drawcard'); class Lionstar extends DrawCard { setupCardAbilities(ability) { this.action({ title: 'Put a character into play', cost: ability.costs.kneelSelf(), target: { cardCondition: card => ( card.loca...
JavaScript
0
@@ -552,16 +552,66 @@ ay(card) + &&%0A card.getPrintedCost() %3C= 4 %0A
2badd65ca949b1704176a97d386b4741fd4468f0
Update http-common.js
l2-frontend/src/api/http-common.js
l2-frontend/src/api/http-common.js
import axios from 'axios' import * as Cookies from 'es-cookie' import {merge, pick} from 'lodash/object' export const HTTP = axios.create({ baseURL: window.location.origin + '/api', headers: { 'X-CSRF-Token': Cookies.get('csrftoken') }, params: { _: Math.floor((new Date().getTime()) / 100000) } }) e...
JavaScript
0.000001
@@ -539,11 +539,11 @@ pick -Thi +Key s%5D),
2e77988923eba585b8b41e9f81ad49b00a5387b3
make background task name specific to app version
src/front/services/backgroundLocation.js
src/front/services/backgroundLocation.js
import * as Linking from 'expo-linking'; import * as Location from 'expo-location'; import { Alert, Platform } from 'react-native'; // got this idea from: https://forums.expo.dev/t/how-to-setstate-from-within-taskmanager/26630/5?u=agrc function BackgroundLocationService() { let subscriber; return { subscribe:...
JavaScript
0.00001
@@ -1,20 +1,70 @@ +import %7B applicationId %7D from 'expo-application';%0A import * as Linking @@ -540,13 +540,25 @@ me: -'wvcr +%60$%7BapplicationId%7D -veh @@ -586,17 +586,17 @@ und-task -' +%60 ,%0A %7D;%0A%7D
4bc9cf2afb557a4d3d5d2dd573b36b5dff1c5715
Change default hide method to mouseleave
inst/htmlwidgets/lib/cytoscape-qtip.js
inst/htmlwidgets/lib/cytoscape-qtip.js
;(function( $, $$ ){ 'use strict'; function register( $$, $ ){ // use a single dummy dom ele as target for every qtip var $qtipContainer = $('<div></div>'); var viewportDebounceRate = 250; function generateOpts( target, passedOpts ){ var qtip = target.scratch().qtip; var opts = $.extend...
JavaScript
0
@@ -1569,15 +1569,18 @@ = ' -unfocus +mouseleave ';%0A
6e6cdddc21530cccc64655eb92eb8245d70b4568
update testing case
plugin/miHome/index.js
plugin/miHome/index.js
var miio = require('./lib'); // var vacuum = python.import('mirobot/protocol'); class MiHome { constructor (name, ip, port, token, model) { this.ip = ip; this.port = port this.token = token; this.name = name this.model = model this.device = null; } load () { ...
JavaScript
0
@@ -5609,68 +5609,17 @@ og(' -ID: ' + subDevice.id + ' Model:' + subDevice.model + ' Type: +Actions: ' + @@ -5620,36 +5620,39 @@ : ' + subDevice. -type +actions );%0D%0A d
17b508c2ebd28975018871f2684b15658fee2c94
Add class names
src/js/WinJS/Controls/ToggleSwitchNew.js
src/js/WinJS/Controls/ToggleSwitchNew.js
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. define([ '../Core/_Global', '../Core/_Base', '../Core/_BaseUtils', '../Core/_Events', '../Core/_Resources', '../Ut...
JavaScript
0.000169
@@ -701,16 +701,654 @@ on() %7B%0A%0A + // Store some class names%0A var classContainer = 'win-toggleswitch-new';%0A var classHeader = 'win-toggleswitch-header-new';%0A var classTrack = 'win-toggleswitch-track-new';%0A var classFill = 'win-togg...
3125bc4c48731f49b2d17f1462e8c2b658c709d5
Test Mark Repo as read store
src/js/__tests__/stores/notifications.js
src/js/__tests__/stores/notifications.js
/*global jest, describe, it, expect, spyOn, beforeEach */ 'use strict'; jest.dontMock('reflux'); jest.dontMock('../../stores/notifications.js'); jest.dontMock('../../utils/api-requests.js'); jest.dontMock('../../actions/actions.js'); describe('Tests for NotificationsStore', function () { var NotificationsStore, A...
JavaScript
0
@@ -4541,12 +4541,764 @@ %0A %7D);%0A%0A + it('should mark a repo as read - remove notifications from store', function () %7B%0A%0A spyOn(NotificationsStore, 'trigger');%0A%0A NotificationsStore._notifications = %5B%0A %7B%0A 'id': '1',%0A 'repository': %7B%0A 'full_name': 'ekonstan...
c337a0c224426c0f5e5b9c360e1b5e3b8a2cd29a
add index for rate slider
src/js/containers/Market/RateSliderV2.js
src/js/containers/Market/RateSliderV2.js
import React from "react" import { connect } from "react-redux" // import Slider from "react-slick" import { toT, roundingNumber } from "../../utils/converter" import constants from "../../services/constants" function getPriceToken(token) { if (token.ETH.buyPrice == 0 || token.ETH.sellPrice == 0) { retu...
JavaScript
0
@@ -2976,21 +2976,30 @@ lay.map( +( value +, index) =%3E %7B%0A @@ -3183,16 +3183,22 @@ =%7Bsymbol ++index %7D%3E%0A
3582fd3ba979aba3bd241b5df1fb4ddba6504628
Make flashing cursor behave like MSWord
src/mixins/itext_click_behavior.mixin.js
src/mixins/itext_click_behavior.mixin.js
fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.prototype */ { /** * Initializes "dbclick" event handler */ initDoubleClickSimulation: function() { // for double click this.__lastClickTime = +new Date(); // for triple click this.__lastLastClickTime = +new Date(); ...
JavaScript
0.000038
@@ -3899,24 +3899,62 @@ rEditing();%0A + this.initDelayedCursor(true);%0A %7D%0A
eefe5f7a8064afd01aeb97e65eac70af7c0c7b33
Fix - don't display licence badge when licence data not fetched from server yet
codebrag-ui/app/scripts/licence/licenceService.js
codebrag-ui/app/scripts/licence/licenceService.js
angular.module('codebrag.licence') .service('licenceService', function($http, $q, $rootScope, events, $timeout, $modal) { var warningDays = 14, licenceData = {}, ready = $q.defer(), checkTimer, checkInterval = 6 * 3600 * 1000; // 6 hours (in millis) ...
JavaScript
0
@@ -352,40 +352,8 @@ ) %7B%0A - ready = $q.defer();%0A @@ -436,32 +436,73 @@ en(function() %7B%0A + console.log('resolved');%0A @@ -1514,24 +1514,60 @@ ionEvent) %7B%0A + console.log('aaa');%0A
686252c08d65413de56fde49440b101a8b00b91e
Fix types for range
src/modules/store/ConnectTypes.js
src/modules/store/ConnectTypes.js
/* @flow */ export type Subscription = { remove: () => void } export type SubscriptionSlice = { type: string; order: string; filter?: Object; } export type SubscriptionRange = { start?: number, before?: number, after?: number } export type Store = { subscribe( options: { what?: string; slice?: Subsc...
JavaScript
0
@@ -184,19 +184,19 @@ %7B%0A%09start -? : +? number,%0A @@ -202,19 +202,19 @@ %0A%09before -? : +? number,%0A @@ -219,19 +219,19 @@ ,%0A%09after -? : +? number%0A%7D
9d8ce434a6869a6dfb458bf1f87fcd5d586ab038
Fix task priority level
SingularityUI/app/components/requestForm/fields.es6
SingularityUI/app/components/requestForm/fields.es6
import Utils from '../../utils'; const QUARTZ_SCHEDULE_FIELD = {id: 'quartzSchedule', type: 'string', required: true}; const CRON_SCHEDULE_FIELD = {id: 'cronSchedule', type: 'string', required: true}; const INSTANCES_FIELD = {id: 'instances', type: 'number'}; const RACK_SENSITIVE_FIELD = {id: 'rackSensitive', type: 'b...
JavaScript
0.998444
@@ -1529,32 +1529,79 @@ ype: 'number'%7D,%0A + %7Bid: 'taskPriorityLevel', type: 'number'%7D,%0A %7Bid: 'taskLo
54b299a6a8f04186187855c060cef793ff58c2b9
fix image name being used as target name
chimera.js
chimera.js
#!/usr/bin/env node var fs = require('fs'); var os = require('os'); var path = require('path'); var crypto = require('crypto'); var _ = require('underscore'); var Handlebars = require('handlebars'); var async = require('async'); var tar = require('tar-fs'); var Do...
JavaScript
0.000189
@@ -1232,19 +1232,24 @@ 'FROM %7B%7B -nam +baseImag e%7D%7D:%7B%7Bta @@ -3701,24 +3701,8 @@ ame: - target.image %7C%7C nam @@ -3825,24 +3825,65 @@ + '.tar'),%0A + baseImage: target.image %7C%7C name,%0A imag
486d0867d9bf4e5cf3b7ed874d5d7ffd5560ac29
Add attribute to viewdata to store total video time
api/models/ViewData.js
api/models/ViewData.js
/** * ViewData.js * * @description :: This model represents the data for all the video statistics. * @docs :: http://sailsjs.org/#!documentation/models */ module.exports = { attributes: { coordinates: { type: 'array', required: true }, width: { type: 'float', required: true }, videoTime...
JavaScript
0
@@ -359,16 +359,78 @@ e%0A%09%09%7D,%0A%0A +%09%09videoTotalTime: %7B%0A%09%09%09type: 'float',%0A%09%09%09required: true%0A%09%09%7D,%0A%0A %09%09// Add
b93c3dba7e073934d84695ae5e881880a8f3739f
update additional conditions form to accept undefined additionalConditions field
server/routes/additionalConditions.js
server/routes/additionalConditions.js
const express = require('express'); const asyncMiddleware = require('../utils/asyncMiddleware'); module.exports = function({logger, conditionsService, licenceService}) { const router = express.Router(); router.use(function(req, res, next) { if (typeof req.csrfToken === 'function') { res.lo...
JavaScript
0
@@ -990,33 +990,32 @@ alConditions');%0A -%0A const no @@ -1032,32 +1032,145 @@ q.body.nomisId;%0A +%0A if(!req.body.additionalConditions) %7B%0A return res.redirect('/reporting/'+nomisId);%0A %7D%0A%0A const va @@ -1243,17 +1243,16 @@ .body);%0A -%0A
b61b6ebe5907fd203d75e3db4dd6c7e9fa92ce7d
Fix broken tests.
test/controllers_static_content_spec.js
test/controllers_static_content_spec.js
/** * Author: Daniel M. de Oliveira */ describe ('StaticContentController', function() { var TEMPLATE_URL = "con10t/{LANG}/title.html"; var PROJECTS_JSON = 'con10t/content.json'; var scope = {}; var prepare = function (route,title,primaryLanguage,searchParam) { module('arachne.controllers'); module('idai.c...
JavaScript
0.000004
@@ -187,17 +187,156 @@ var -scope = %7B +callback = undefined;%0A%09var targetPage = undefined;%0A%09var scope = %7B%0A%09%09$on : function(p,cb) %7B%0A%09%09%09if (p===%22$includeContentError%22)%0A%09%09%09%09callback=cb;%0A%09%09%7D%0A%09 %7D;%0A%0A @@ -590,35 +590,65 @@ ath : function ( -) %7B +target) %7B%0A%0...
7ce644b3702fb5ea9c4c7f526c5480029e69c58e
Drop fallback props
config/common.js
config/common.js
'use strict'; var fs = require('fs'); var path = require('path'); var _ = require('lodash'); var webpack = require('webpack'); module.exports = function(config) { return new Promise(function(resolve, reject) { var theme = config.theme; if(!theme || !theme.name) { return reject(new Error('Missing the...
JavaScript
0.000001
@@ -644,62 +644,8 @@ : %7B%0A - fallback: path.join(cwd, 'antwar.config.js'),%0A @@ -1541,62 +1541,8 @@ : %7B%0A - fallback: path.join(cwd, 'antwar.config.js'),%0A
8d8f90c47c07edbae23f83f613fc5b21d5a11b77
Remove button handling
react-project/src/reducers/index.js
react-project/src/reducers/index.js
import * as types from '../types'; import db from '../products.json'; export const initialState = { cart: { products: { /*"<product-id>": { name: "string", price: 1.00, tax: 0.07 || 0.19 },*/ }, meta: { /*"<product-id>": { added: new Date(), quant...
JavaScript
0.000001
@@ -1,12 +1,37 @@ +import _ from 'lodash';%0A%0A import * as @@ -574,16 +574,99 @@ tion) %7B%0A + const id = action.payload;%0A let cart = state.cart;%0A let products;%0A let meta;%0A%0A switch @@ -859,82 +859,14 @@ d%3E%22%0A +%0A - const id = action.payload;%0A%0A let cart = state.cart;%0A ...
67ad72fa3c9beb5c2b1e32530b0b2c0b5e74883c
Add types to RCTSnapshotNativeComponent (#23111)
Libraries/RCTTest/RCTSnapshotNativeComponent.js
Libraries/RCTTest/RCTSnapshotNativeComponent.js
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict-local */ 'use strict'; const requireNativeComponent = require('requireNativeComponent'); modu...
JavaScript
0.000001
@@ -211,21 +211,8 @@ flow - strict-local %0A%09 * @@ -229,16 +229,468 @@ rict';%0A%0A +import type %7BSyntheticEvent%7D from 'CoreEventTypes';%0Aimport type %7BViewProps%7D from 'ViewPropTypes';%0Aimport type %7BNativeComponent%7D from 'ReactNative';%0A%0Atype SnapshotReadyEvent = SyntheticEvent%3C%0A $ReadOnly%3C%...
b1f93ade78c840ec01f85c159c8d978632b544b3
Fix hyphen-separated css property names
ipywidgets/static/widgets/js/layout.js
ipywidgets/static/widgets/js/layout.js
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. // npm compatibility if (typeof define !== 'function') { var define = require('./requirejs-shim')(module); } // Use the CommonJS-like requirejs style. define([ "./widget", "underscore", "backbone", "...
JavaScript
0.999887
@@ -359,20 +359,16 @@ e, $) %7B%0A - %0A /** @@ -474,24 +474,16 @@ xtend(%7B%0A - %0A @@ -537,27 +537,26 @@ -constructor +initialize : functi @@ -595,27 +595,26 @@ super__. -constructor +initialize .apply(t @@ -630,29 +630,16 @@ ments);%0A - %0A @@ -767,32 +7...
cf80ada65f3a85dc9223bd8203836d5935d8c4d8
Remove resolutionHandler from DT
server/game/cards/01-Core/DuelistTraining.js
server/game/cards/01-Core/DuelistTraining.js
const DrawCard = require('../../drawcard.js'); const GameActions = require('../../GameActions/GameActions'); const { Players, CardTypes, AbilityTypes, DuelTypes } = require('../../Constants'); class DuelistTraining extends DrawCard { setupCardAbilities(ability) { this.whileAttached({ effect: ab...
JavaScript
0.000001
@@ -1146,241 +1146,8 @@ %7D%0A%0A - resolutionHandler(context, winner, loser) %7B%0A if(loser) %7B%0A this.game.addMessage('%7B0%7D wins the duel, and bows %7B1%7D', winner, loser);%0A this.game.applyGameAction(context, %7B bow: loser %7D);%0A %7D%0A %7D%0A%0A
ee9d9cc4080c57a5b12f11b5c6ce71e971f44f4f
fix sideCI
server/routes/v000803/route.nation.js
server/routes/v000803/route.nation.js
/** * Created by aleckim on 2017. 6. 21.. */ var router = require('express').Router(); var async = require('async'); var req = require('request'); var config = require('../../config/config'); var ControllerTown24h = require('../../controllers/controllerTown24h'); var cTown = new ControllerTown24h(); router.use(fun...
JavaScript
0.000001
@@ -41,16 +41,31 @@ ..%0A */%0A%0A +%22use strict%22;%0A%0A var rout @@ -743,16 +743,17 @@ ma/addr' +; %0A %7D%0A
2bba64bf352c3897cc21157e9af41fb903e68f51
Use var for compatibility with Android 4.x
www/LocalStorageHandle.js
www/LocalStorageHandle.js
var NativeStorageError = require('./NativeStorageError'); // args = [reference, variable] function LocalStorageHandle(success, error, intent, operation, args) { var reference = args[0]; var variable = args[1]; if (operation.startsWith('put') || operation.startsWith('set')) { try { var ...
JavaScript
0
@@ -1260,16 +1260,17 @@ else if + (operati @@ -1296,13 +1296,11 @@ -const +var key @@ -1313,19 +1313,19 @@ ;%0A -let +var key = l @@ -1409,11 +1409,11 @@ -let +var i =
4213db17221f837b27aff072cdff7693854eacb3
fix missing angular
tests/wrappers/label-spec.js
tests/wrappers/label-spec.js
import testUtils from './../test-utils'; describe('formlyMaterial - label wrapper', () => { // // vars // let $compile; let $rootScope; let $scope; let element; let field; const color = 'rgb(117, 117, 117)'; // // helpers // function compile(options) { $scope = $rootScope.$new(); $s...
JavaScript
0.001526
@@ -33,16 +33,47 @@ -utils'; +%0Aimport angular from 'angular'; %0A%0Adescri
bd25eaa5fcebaedc9a94f763d94f660bc64f02e4
Fix tests
spec/javascripts/unit/AnalyticsSpec.js
spec/javascripts/unit/AnalyticsSpec.js
describe("GOVUK.Analytics", function () { var analytics; beforeEach(function () { window.ga = function() {}; spyOn(window, 'ga'); }); describe('when initialised', function () { it('should initialise pageviews, events and virtual pageviews', function () { spyOn(window.GOVUK.GDM.analytics, 'r...
JavaScript
0.000003
@@ -7465,53 +7465,8 @@ e: %22 -https://www.digitalmarketplace.service.gov.uk /sup
2a2419a6e0f5458fff0f1ece9ff8a70bde0ee421
Update DatePicker.js
www/android/DatePicker.js
www/android/DatePicker.js
/** * Phonegap DatePicker Plugin Copyright (c) Greg Allen 2011 MIT Licensed * Reused and ported to Android plugin by Daniel van 't Oever */ /** * Constructor */ function DatePicker() { //this._callback; } /** * show - true to show the ad, false to hide the ad */ DatePicker.prototype.show = function(options, ...
JavaScript
0
@@ -773,19 +773,20 @@ Button: -tru +fals e,%0A%09%09win
4f69da24b7f67054369003f0ff9e9322ed0827e5
Add moment
app/components/Home.js
app/components/Home.js
import React, { Component } from 'react'; import { Link } from 'react-router'; import styles from './Home.module.css'; const { TextField,Snackbar } = require('material-ui'); const GitHubApi = require("github-api"); import pinyin from "pinyin"; export default class Home extends Component { constructor() { super()...
JavaScript
0.000009
@@ -236,16 +236,48 @@ pinyin%22; +%0Avar moment = require('moment'); %0A%0Aexport @@ -460,35 +460,130 @@ te: -%22%22,%0A message: %22%22%0A %7D +moment(Date.now()).format('YYYY-MM-DD'),%0A message: %22%22%0A %7D;%0A console.log(moment(Date.now()).format('YYYY-MM-DD')) ;%0A @@ -2224,24 +2224,96...
b314642586814bca0fa90846175cf4b90c94d8f5
Rollback to setImmediate
test/functional/util/webdriverio-ext.js
test/functional/util/webdriverio-ext.js
var artifacts = require("../../artifacts"); var fs = require("fs"); var path = require("path"); browser.timeoutsAsyncScript(20*1000); browser.timeoutsImplicitWait(20*1000); var SCREENSHOTS_PATH = artifacts.pathSync("/screenshots"); /** * Sometimes chrome driver can result in the wrong text. * * See <...
JavaScript
0
@@ -1309,32 +1309,28 @@ e%0A -process.nextTick +setImmediate (functio @@ -1385,24 +1385,20 @@ -process.nextTick +setImmediate (don
6ab93f6281f5a079f35f00ecd35472047467bc5e
Remove increment prop.
source/ProgressBar.js
source/ProgressBar.js
/** _moon.ProgressBar_ is a control that shows the current progress of a process in a horizontal bar. {kind: "moon.ProgressBar", progress: 10} To animate progress changes, call the _animateProgressTo()_ method: this.$.progressBar.animateProgressTo(50); You may customize the color of the bar by applying a s...
JavaScript
0
@@ -1048,96 +1048,8 @@ r%22,%0A -%09%09//* Sliders may %22snap%22 to multiples of this value in either direction%0A%09%09increment: 0,%0A %09%09// @@ -2240,114 +2240,8 @@ %09%7D,%0A -%09calcIncrement: function(inValue) %7B%0A%09%09return (Math.round(inValue / this.increment) * this.increment);%0A%09%7D,%0A %09cla
4cc0ab59dc5e82e173fa990579f08b293d9a9946
Fix another bug due to Ohm API change.
src/editorErrors.js
src/editorErrors.js
/* global document */ 'use strict'; var cmUtil = require('./cmUtil'); var domUtil = require('./domUtil'); var ohmEditor = require('./ohmEditor'); var errorMarks = { grammar: null, input: null }; function hideError(category, editor) { var errInfo = errorMarks[category]; if (errInfo) { errInfo.mark.clear(...
JavaScript
0
@@ -1287,17 +1287,30 @@ ult. -_f +getRightmostF ailures +() ;%0A
cd806bc61529c59bf63e38bc7f64c2a911905f6a
Change logo size
app/components/Logo.js
app/components/Logo.js
import React from 'react'; import Icon from './Icon'; const Logo = () => ( <Icon name="logo" width={98} height={24} /> ); export default Logo;
JavaScript
0
@@ -110,9 +110,9 @@ h=%7B9 -8 +0 %7D%0A @@ -126,9 +126,9 @@ t=%7B2 -4 +2 %7D%0A
609ebe2160ca038175ace81bd1cfa4237ed0f5f3
update passport.js
app/config/passport.js
app/config/passport.js
var TwitterStrategy = require('passport-twitter').Strategy, configTwitter = require('./configTwitter'), UserModel = require('../models/UserModel'); module.exports = function (passport) { // serialize user passport.serializeUser(function(user, done) { done(null, user.id); }); // deserialize use...
JavaScript
0.000001
@@ -928,17 +928,16 @@ ne(%7B _id - : profil @@ -1643,16 +1643,79 @@ playName +,%0A avatar : profile.photos%5B0%5D.value %0A
1c9e5b3200ddd17e2cbd1f2f4a7240d036ea5e4a
Add todo about views
src/entity-store.js
src/entity-store.js
/* A data structure that is aware of views and entities. * 1. If a value exist both in a view and entity, the newest value is preferred. * 2. If a view or entity is removed, the connected views and entities are also removed. * 3. If a new view value is added, it will be merged into the entity value if such exist. *...
JavaScript
0
@@ -1836,16 +1836,80 @@ es%5B2%5D;%0A%0A +// TODO All hook code needs to be able to deal with views also!%0A // Entit
60ca445a2c14736ba051d646c6e7bed56cc4c19c
Update console.js
app/console/console.js
app/console/console.js
angular.module('uiRouterSample.console', [ 'ui.router' ]) .config( [ '$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) { $stateProvider ///////////////// // Home Screen // ///////////////// .state('console', { ...
JavaScript
0.000002
@@ -598,32 +598,34 @@ +// $rootScope.enabl @@ -709,10 +709,10 @@ ole- -17 +20 %22);%0A @@ -999,361 +999,8 @@ %0A - $scope.consolegrid.data = %5B%0A %7B%0A %22name%22: %22Ethel Price%22,%0A %22country%22: %22Scotland%22,%0A %22gender%22: %22female%22,%0A %22dependan...
2ac31109219746d807c716643bc5dbaffc5a4280
Update selector.js
gaems/selector.js
gaems/selector.js
var text = "Click Start button!! Нажмите кнопку Пуск! Cliquez sur le bouton Démarrer! Klicken den Startknopf!"; for(var i in text) { if(text[i] === " ") { $(".wavetext").append( $("<span>").html("&nbsp;") ); } else { $(".wavetext").append( $("<span>").text(text[i]) ); } }
JavaScript
0.000001
@@ -4,16 +4,17 @@ text = +%5B %22Click S @@ -29,89 +29,405 @@ ton! -! %D0%9D%D0%B0%D0%B6%D0%BC%D0%B8%D1%82%D0%B5 %D0%BA%D0%BD%D0%BE%D0%BF%D0%BA%D1%83 %D0%9F%D1%83%D1%81%D0%BA! Cliquez sur le bouton D%C3%A9marrer! Klicken den Startknopf!%22;%0A +%22, %22%D0%9D%D0%B0%D0%B6%D0%BC%D0%B8%D1%82%D0%B5 %D0%BA%D0%BD%D0%BE%...
80830a124c15bd09c42025ebdd876d51d4008475
Rename banettes
client/components/banettes/banettes.constant.js
client/components/banettes/banettes.constant.js
'use strict'; angular.module('impactApp').constant('banettes', [ { id: 'toutes', label: 'Toutes' }, { id: 'emise', label: 'Émises' }, { id: 'complet', label: 'Complètes' }, { id: 'incomplet', label: 'Incomplètes' }, { id: 'archive', label: 'Archivées' } ]);
JavaScript
0.000379
@@ -144,19 +144,18 @@ : '%C3%89mise -s '%0A + %7D,%0A %7B @@ -190,25 +190,24 @@ l: 'Compl%C3%A8te -s '%0A %7D,%0A %7B%0A @@ -248,17 +248,16 @@ compl%C3%A8te -s '%0A %7D,%0A @@ -274,24 +274,24 @@ 'archive',%0A + label: ' @@ -298,17 +298,16 @@ Archiv%C3%A9e -s '%0A %7D%0A%5D)
2308c636eccbaa9d472efbfc100a4d9b5dab99a2
fix josh crash (#15026)
shared/common-adapters/icon.shared.js
shared/common-adapters/icon.shared.js
// @flow import {globalColors} from '../styles' import type {IconType} from './icon' import {iconMeta} from './icon.constants' export function defaultColor(type: IconType): ?string { switch (type) { case 'iconfont-proof-broken': return globalColors.red case 'iconfont-proof-pending': return global...
JavaScript
0
@@ -2737,19 +2737,22 @@ umber): -any +Object %7B%0A let @@ -2816,28 +2816,26 @@ %0A return -null +%7B%7D %0A %7D%0A%0A cons @@ -2954,16 +2954,22 @@ sizeKey%5D + %7C%7C %7B%7D %0A %7D%0A%0A
452a94aafaf78f01207e1daca628869b1655c25c
add fix to wikipedia redux module to show error and only dispatch once api is done
src/redux/modules/Wikipedia/Wikipedia.js
src/redux/modules/Wikipedia/Wikipedia.js
/** * resources * http://stackoverflow.com/questions/8363531/accessing-main-picture-of-wikipedia-page-by-api */ // using this because json-fetch doesn't support jsonp import fetchJsonp from 'fetch-jsonp' // import { notifSend } from 'redux/modules/Notification/actions/notifs.js' // ---------------------------------...
JavaScript
0
@@ -1,12 +1,43 @@ +import %7BisEmpty%7D from 'lodash'%0A /**%0A * resou @@ -231,19 +231,16 @@ -jsonp'%0A -// import %7B @@ -2081,45 +2081,423 @@ =%3E -Object.values(json.query.pages))%0A%0A +%7B%0A // if wikipedia api does return a query object then return json object otherwise dispactch a wikiSearchFail...
31bc941fe26da909cc423d465f9ee10a5d43fded
Fix audio in JavaScript. Including a slug-crash that occurs the first time you try to load a sound.
Compiler/Translator/JavaScript/Browser/sound.js
Compiler/Translator/JavaScript/Browser/sound.js
 /* A music native object is a struct-like list of 3 items. music[0] -> audio object music[1] -> user-given filepath music[2] -> URL music[3] -> is looping */ R.isAudioEnabled = function (audioObj) { return !!audioObj.canPlayType('audio/ogg'); }; R.musicSetVolume = function (r) { if (R.musicCurrent...
JavaScript
0
@@ -165,16 +165,132 @@ %0D%0A*/%0D%0A%0D%0A +R._dummyAudio = new Audio();%0D%0A%0D%0AR.isAudioSupported = function () %7B%0D%0A%09return R.isAudioEnabled(R._dummyAudio);%0D%0A%7D;%0D%0A%0D%0A R.isAudi @@ -333,24 +333,29 @@ eturn !! -a +R._dummyA udio -Obj .canPlay @@ -641,16 +641,52 @@ 0%5D)) %7B%0D%0A +%09%09if ...
fb84ff3375fcc6beebafa1cb71e9336dc5de5be4
Load lazy taxon tree using a single click
Resources/private/js/sylius-lazy-choice-tree.js
Resources/private/js/sylius-lazy-choice-tree.js
/* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ (function ($) { 'use strict'; $.fn.extend({ choiceTree: function (type, multiple, defaultLev...
JavaScript
0
@@ -4406,32 +4406,38 @@ Button, content, + icon, leafContainerEl @@ -4448,51 +4448,8 @@ t);%0A - icon.addClass('open');%0A @@ -4574,32 +4574,38 @@ utton, content, +icon, leafContainerEle @@ -4612,317 +4612,8 @@ ment -);%0A leafContainerElement.toggle(200, function ()...
bcce23cd443ffd5f836218cf2ecbb0a4abdf319c
prepend 'ask' to ask prices
config/market.js
config/market.js
/* global sails */ var Pusher = require('pusher-client'); var redis = require("./redis"); var log = require("./logger"); // connect to Bitstamp's pusher var pusherBitstamp = new Pusher('de504dc5763aeef9ff52'); // subscribe to the `order_book` channel var orderBookChannel = pusherBitstamp.subscribe('order_book'); // ...
JavaScript
0.00246
@@ -729,17 +729,20 @@ var -v +askV olBTC = @@ -778,17 +778,20 @@ var -v +askV alBTC = @@ -830,17 +830,20 @@ var -w +askW BTC; // @@ -877,25 +877,28 @@ oin%0A var -n +askN etPriceUSD;%0A @@ -905,17 +905,20 @@ var -n +askN etPriceP @@ -973,17 +973,20 @@ %7B%0A -v +askV olBTC +...
f33f1783a381df78914f5730a40ba1fcfe8b5d7d
Remove comma.
share/spice/alternative_to/alternative_to.js
share/spice/alternative_to/alternative_to.js
function ddg_spice_alternative_to(api_result) { Spice.render({ data : api_result, source_name : 'AlternativeTo', source_url : api_result.Url, template_normal: "alternative_to", template_frame : "carousel", carousel_template_detail: "alternative_to_det...
JavaScript
0.000002
@@ -41,16 +41,35 @@ sult) %7B%0A + %22use strict%22;%0A%0A Spic @@ -423,17 +423,16 @@ lt.Items -, %0A %7D);
e362509851e62c63e5ddc03450690743f3cd658f
Implement findOrCreateRoomGivenUserIds
server/db/controllers/findOrCreateRoomGivenUserIds.js
server/db/controllers/findOrCreateRoomGivenUserIds.js
const db = require('../db.js'); module.exports = (user1Id, user2Id) => { const queryStr = ` SELECT ur_1.ur1_id FROM ( ( SELECT user_id AS user1_id, id AS ur1_id FROM users_rooms WHERE user_id = '${user1Id}' ...
JavaScript
0.99977
@@ -25,16 +25,123 @@ b.js');%0A +const Rooms = require('../models/roomModel.js');%0Aconst UsersRooms = require('../models/userRoomModel.js');%0A %0A%0Amodule @@ -891,22 +891,343 @@ %7D - else %7B%0A%0A %7D +%0A return Rooms.create(%7B%0A number_active_participants: 2,%0A %7D)%0A .then(room =%3E (...
026e5e6c65954b40306352301c6ede4d5e6a0fd1
Clean up Pipelines model
server/webapp/WEB-INF/rails.new/webpack/models/preferences/pipelines.js
server/webapp/WEB-INF/rails.new/webpack/models/preferences/pipelines.js
/* * Copyright 2017 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
JavaScript
0
@@ -883,37 +883,178 @@ nst -pipelineNames = +data = json.slice(); // duplicate because we will modify%0A data.unshift(%7Bpipeline: DEFAULT_PIPELINE, stages: %5BDEFAULT_STAGE%5D%7D);%0A%0A const pipelines = Stream( _.map( -json +data , %22p @@ -1062,16 +1062,17 @@ peline%22) +) ;%0A co @@ -1085,23 +10...
28b5e3d077468e6c453402e6ca96d64bc595f6ca
remove custom plugin tests
test/spawn/parent-custom-plugin-test.js
test/spawn/parent-custom-plugin-test.js
/* * use-test.js: Basic tests for the carapace module * * (C) 2011 Nodejitsu Inc * MIT LICENCE * */ var assert = require('assert'), path = require('path'), exec = require('child_process').exec, http = require('http'), request = require('request'), vows = require('vows'), helper = require...
JavaScript
0
@@ -99,18 +99,17 @@ %0A *%0A */%0A - %0A + var asse @@ -527,21 +527,17 @@ ptions;%0A - %0A + options @@ -696,13 +696,11 @@ %0A%7D;%0A - %0A +%0A// vows @@ -754,16 +754,18 @@ tch(%7B%0A +// %22When us @@ -791,16 +791,18 @@ : %7B%0A +// %22spawnin @@ -885,16 +885,18 @@ %7B%0A +// %22aft...
078844d90c0559cd517dc4aa27f00c67099a396e
Fix lint error
common/models/account.js
common/models/account.js
'use strict'; module.exports = function(Account) { // Disable related accessTokens API Account.disableRemoteMethodByName('prototype.__count__accessTokens'); Account.disableRemoteMethodByName('prototype.__create__accessTokens'); Account.disableRemoteMethodByName('prototype.__delete__accessTokens'); ...
JavaScript
0.000035
@@ -45,18 +45,16 @@ ount) %7B%0A - // Dis @@ -83,18 +83,16 @@ ens API%0A - Accoun @@ -149,34 +149,32 @@ cessTokens');%0A - - Account.disableR @@ -220,34 +220,32 @@ accessTokens');%0A - Account.disabl @@ -293,34 +293,32 @@ accessTokens');%0A - Account.disabl @@ -371,34 +371,32 @@ accessTok...
042d46067cdc33e3a1cd11f25dc245f9e33d4730
Fix typo a event -> an event (#146)
src/event-target.js
src/event-target.js
import { reject, filter } from './helpers/array-helpers'; /* * EventTarget is an interface implemented by objects that can * receive events and may have listeners for them. * * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget */ class EventTarget { constructor() { this.listeners = {}; } /* * ...
JavaScript
0.055029
@@ -342,16 +342,17 @@ ion to a +n event t @@ -562,32 +562,33 @@ nvoke whenever a +n event is dispat @@ -1325,16 +1325,17 @@ enever a +n event i
f47bbe39128442898f54df9baf2bea42ebce2988
Fix pluralization
server/db/controllers/getMatchesGivenSelfAndOffset.js
server/db/controllers/getMatchesGivenSelfAndOffset.js
const db = require('../db.js'); module.exports = (self, offSet) => { const queryStr = `SELECT teach.teach_id FROM ( ( SELECT users_languages_levels.user AS teach_id FROM users_languages_levels INNER JOIN languages_levels ...
JavaScript
0.999419
@@ -486,32 +486,33 @@ guage = language +s .id%0A @@ -594,32 +594,33 @@ ls.level = level +s .id%0A @@ -638,32 +638,33 @@ WHERE language +s .name IN ($%7Bself @@ -1202,16 +1202,17 @@ language +s .id%0A @@ -1310,16 +1310,17 @@ = level +s .id%0A @@ -1354,16 +1354,17 @@ language...
368920532371b3893336c5c3013f46d594a8232d
Clean up
src/scripts/core/axis/time-scale-axis.js
src/scripts/core/axis/time-scale-axis.js
(function (ns, d3, _, $, undefined) { // implements the following interface /* { scale: returns the d3 scale for the type range: returns the d3 range for the type } */ function dateDiff(d1, d2) { var diff = d1.getTime() - d2.getTime(); return diff / (24*60*60*1...
JavaScript
0.000002
@@ -743,16 +743,22 @@ .extent( +this._ domain))
46618476fc72ca55522f409b181d8272e0eb14ca
Correct max price
src/Actions/ActionBuyIn/actionBuyIn.js
src/Actions/ActionBuyIn/actionBuyIn.js
// Copyright 2016 Gavin Wood import BigNumber from 'bignumber.js'; import React, { Component, PropTypes } from 'react'; import { Dialog, FlatButton, TextField } from 'material-ui'; import { api } from '../../parity'; import AccountSelector from '../../AccountSelector'; import { ERRORS, validateAccount, validatePosit...
JavaScript
0.0015
@@ -840,17 +840,17 @@ toFixed( -0 +3 ),%0A m
c0eab6593103e51e9b723216d6cec5978bf91780
use size 500 for generative tests
spec/channels_spec.js
spec/channels_spec.js
'use strict'; require('comfychair/jasmine'); var comfy = require('comfychair'); var chan = require('../index'); var merge = function() { var args = Array.prototype.slice.call(arguments); var result = args.every(Array.isArray) ? [] : {}; var i, obj, key; for (i in args) { obj = args[i]; for (key in ob...
JavaScript
0
@@ -4817,16 +4817,21 @@ (model() +, 500 );%0A %7D);