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
caec59e24d936f5a462ce1a5a65c7d999ce13e4a
Change chart of licenças to linear
app/assets/scripts/components/sections/section-licencas.js
app/assets/scripts/components/sections/section-licencas.js
'use strict'; import React, { PropTypes as T } from 'react'; import { Bar as BarChart } from 'react-chartjs-2'; import _ from 'lodash'; import makeTooltip from '../../utils/tooltip'; import Map from '../map'; var SectionLicencas = React.createClass({ propTypes: { adminLevel: T.string, adminName: T.string, ...
JavaScript
0.000006
@@ -1941,39 +1941,8 @@ ue,%0A - type: 'logarithmic',%0A @@ -1991,448 +1991,8 @@ lse%0A - %7D,%0A ticks: %7B%0A callback: (tick, index, ticks) =%3E %7B%0A var remain = tick / (Math.pow(10, Math.floor(Math.log10(tick))));%0A%0A if (tick === 0) %7B%0A...
7aa4e82b34ee89ca257945a84f9d0c989727134d
Rename state field constants.
assets/js/modules/thank-with-google/datastore/constants.js
assets/js/modules/thank-with-google/datastore/constants.js
/** * `modules/thank-with-google` data store constants. * * Site Kit by Google, Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.o...
JavaScript
0
@@ -754,29 +754,55 @@ nst -STATE_ACTIVE = 'ACTIV +ONBOARDING_STATE_COMPLETE = 'ONBOARDING_COMPLET E';%0A @@ -810,24 +810,35 @@ xport const +ONBOARDING_ STATE_ACTION @@ -850,16 +850,27 @@ IRED = ' +ONBOARDING_ ACTION_R @@ -892,16 +892,27 @@ t const +ONBOARDING_ STATE_PE
d7cf1155c775846155d3b589bfec533a540d18db
Add implementation to refresh session
packages/redux-simple-auth/src/middleware.js
packages/redux-simple-auth/src/middleware.js
import defaultStorage from './storage/default' import isPlainObject from 'lodash.isplainobject' import { AUTHENTICATE, FETCH } from './actionTypes' import { authenticateFailed, authenticateSucceeded, invalidateSession, restore, restoreFailed } from './actions' const validateAuthenticatorsPresence = ({ authen...
JavaScript
0
@@ -244,16 +244,33 @@ reFailed +,%0A updateSession %0A%7D from @@ -1640,16 +1640,29 @@ horize,%0A + refresh,%0A stor @@ -3515,32 +3515,131 @@ %0A %7D%0A%0A + if (refresh) %7B%0A dispatch(updateSession(refresh(response)))%0A %7D%0A%0A retu
18ce9d197328da718a9c88412c39647928e92ce5
fix ConfigurationError message
packages/truffle-core/lib/commands/create.js
packages/truffle-core/lib/commands/create.js
var command = { command: 'create', description: 'Helper to create new contracts, migrations and tests', builder: { all: { type: "boolean", default: false } }, run: function (options, done) { var Config = require("truffle-config"); var ConfigurationError = require("../errors/configu...
JavaScript
0.000001
@@ -868,35 +868,35 @@ ase specify the -typ +nam e of item to cre
6c97ef3075e41eac99e72652173aeaed8ae3f391
Replace nanopay specific text with FOAM.
src/foam/nanos/auth/twofactor/GoogleTOTPAuthService.js
src/foam/nanos/auth/twofactor/GoogleTOTPAuthService.js
/** * @license * Copyright 2018 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.auth.twofactor', name: 'GoogleTOTPAuthService', extends: 'foam.nanos.auth.twofactor.AbstractTOTPAuthService', javaImports: [ 'com.google.common.io.Ba...
JavaScript
0.999968
@@ -1784,27 +1784,12 @@ ? %22 -nanopay Corporation +FOAM %22 :
8e1befdeaf1d5cd9bf41e515fbf8d90d227d5881
fix null value and ups-package logo
share/spice/package_tracking/package_tracking.js
share/spice/package_tracking/package_tracking.js
(function (env) { "use strict"; env.ddg_spice_package_tracking = function(api_result){ if (!api_result || api_result.error) { return Spice.failed('package_tracking'); } Spice.add({ id: "package_tracking", name: "Answer", data: { ...
JavaScript
0
@@ -190,32 +190,139 @@ ng');%0A %7D%0A + var logo = api_result.c;%0A if (logo == 'ups-packages') %7B%0A logo = 'ups';%0A %7D%0A Spice.ad @@ -679,28 +679,20 @@ gos/' + -api_result.c +logo + '.png @@ -911,32 +911,64 @@ value: + api_result.shipped_at != null ...
03714888dd43697b111985fd9810aae5a5c87e2b
check whether FastClick is available
foundry/static/smart/js/foundry.js
foundry/static/smart/js/foundry.js
$(document).ready(function(){ // Let fastclick add a touchstart/end click event // for more responsive touch interaction on smart devices new FastClick(document.body); $("a").bind("touchstart", function(e){$(this).addClass("touch-active");}); $("a").bind("touchend touchcancel", function(e){$(...
JavaScript
0
@@ -24,16 +24,64 @@ ion()%7B%0A%0A + if (typeof FastClick !== 'undefined') %7B%0A // L @@ -127,16 +127,20 @@ event %0A + // f @@ -193,16 +193,20 @@ devices%0A + new @@ -231,25 +231,33 @@ .body);%0A -%0A + %0A $(%22a%22).b @@ -323,24 +323,28 @@ e%22);%7D);%0A + +...
4a673712f8043bf785c633ac653c234c2dc9a72d
remove datepicker function
src/javascript/binary/static/statement/statement.ui.js
src/javascript/binary/static/statement/statement.ui.js
var StatementUI = (function(){ "use strict"; var tableID = "statement-table"; var columns = ["date", "ref", "act", "desc", "credit", "bal"]; var header = ["Date", "Ref.", "Action", "Description", "Credit/Debit", "Balance"]; var footer = ["", "", "", "", "", ""]; function createEmptyStatementTab...
JavaScript
0.000001
@@ -955,295 +955,8 @@ %7D%0A%0A - function initDatepicker()%7B%0A DatepickerUtil.initDatepicker(%22statement-date%22, moment.utc(), null, 0);%0A %7D%0A%0A function showButtonOnDateChange()%7B%0A $(%22#statement-date%22).on(%22change%22, function() %7B%0A $(%22#submit-date%22).removeC...
31d2504105a71291919db3c91094b53cec2a1f76
Fix js error
webapps/callimachus/scripts/jquery.wymeditor.inithtml.js
webapps/callimachus/scripts/jquery.wymeditor.inithtml.js
// jquery.wymeditor.inithtml.js /* * Allows WYM to be initialized with dynamic HTML string (downloaded separately). * The DOM iframe must have an id of 'wym-iframe' */ WYMeditor.editor.prototype.initHtml = function(html) { this._wym._html = html; this.initIframe($('#wym-iframe')[0]); $('#wym-iframe').trigger('lo...
JavaScript
0.000017
@@ -221,20 +221,36 @@ tml) %7B%0A%09 -this +var wym = this;%0A%09wym ._wym._h @@ -262,20 +262,19 @@ html;%0A%09 -this +wym .initIfr @@ -489,20 +489,19 @@ load%0A%09%09%09 -this +wym .initIfr
afcca1bda8890f3a4b4e6d31e67482f3eaeecaec
update ButtonRadioSelectExamples
examples/containers/app/modules/field/ButtonRadioSelectExamples.js
examples/containers/app/modules/field/ButtonRadioSelectExamples.js
import React, {Component} from 'react'; import ButtonRadioGroup from 'src/ButtonRadioGroup'; import Widget from 'src/Widget'; import WidgetHeader from 'src/WidgetHeader'; import PropTypeDescTable from 'components/PropTypeDescTable'; import doc from 'assets/propTypes/ButtonRadioGroup.json'; class ButtonRadioGroupExam...
JavaScript
0
@@ -52,21 +52,22 @@ tonRadio -Group +Select from 's @@ -80,21 +80,22 @@ tonRadio -Group +Select ';%0Aimpor @@ -275,21 +275,22 @@ tonRadio -Group +Select .json';%0A @@ -299,37 +299,38 @@ lass ButtonRadio -Group +Select Examples extends @@ -609,350 +609,8 @@ 4,%0A - value: 4,%0A disabled:...
a891b74433c65a00f089fa0f16f9785c86bab4da
Fix use of React.findDOMNode in DropdownButtonCustomMenu example
docs/examples/DropdownButtonCustomMenu.js
docs/examples/DropdownButtonCustomMenu.js
class CustomMenu extends React.Component { constructor(...args) { super(...args); this.state = { value: '' }; this.onChange = e => this.setState({ value: e.target.value }); } render() { let { className, ...props } = this.props; return ( <div className={"dropdown-menu"} ...
JavaScript
0.000006
@@ -1086,16 +1086,19 @@ = React +DOM .findDOM
07cc1790e4fb693909e55a9f8d0780ec4b95901f
remove unnecessary code
server/controllers/task.controller.js
server/controllers/task.controller.js
import url from 'url'; import TrelloConnector from '../core/task/TrelloConnector'; import SociocortexConnector from '../core/task/SociocortexConnector'; import User from '../models/user.model'; import Email from '../models/email.model'; import Task from '../models/task.model'; /* CREATE TASK */ function createTaskForE...
JavaScript
0.00242
@@ -362,39 +362,32 @@ q.query.provider - %7C%7C %C2%A0'' , req.user).crea @@ -416,24 +416,24 @@ (task) =%3E %7B%0A + Email.fi @@ -864,39 +864,32 @@ q.query.provider - %7C%7C %C2%A0'' , req.user).crea @@ -1247,39 +1247,32 @@ q.query.provider - %7C%7C %C2%A0'' , req.user).getT @@ -1487,39 +1487,32 @@ q.query...
243e46161598f7c710d3d47405e06057db8df882
Improve hasBlockSyncingStart logic
source/renderer/app/stores/NetworkStatusStore.js
source/renderer/app/stores/NetworkStatusStore.js
// @flow import { observable, action, computed, runInAction } from 'mobx'; import moment from 'moment'; import Store from './lib/Store'; import Request from './lib/LocalizedRequest'; import { Logger } from '../../../common/logging'; import type { GetSyncProgressResponse, GetLocalTimeDifferenceResponse } from '../api/co...
JavaScript
0
@@ -3154,19 +3154,18 @@ ogress %3E -= 1 + 0 ;%0A %7D%0A%0A
4e3fe773cb77bf7fafb3656c4e936f48af95df86
change from position for legacy
packages/vulcan-email/lib/server/email.js
packages/vulcan-email/lib/server/email.js
/* eslint-disable no-console */ import VulcanEmail from '../namespace.js'; import Juice from 'juice'; import htmlToText from 'html-to-text'; import Handlebars from 'handlebars'; import { Utils, getSetting, registerSetting, runQuery, Strings, getString } from 'meteor/vulcan:lib'; // import from vulcan:lib because vulcan...
JavaScript
0
@@ -3035,22 +3035,16 @@ d = (to, - from, subject @@ -3108,16 +3108,22 @@ achments +, from ) =%3E %7B%0A @@ -3309,14 +3309,8 @@ to, - from, cc, @@ -3378,16 +3378,22 @@ achments +, from %7D = to; @@ -5637,16 +5637,22 @@ achments +, from %7D) =%3E %7B @@ -5843,16 +5843,22 @@ achments +, from %7D);%0A%7D...
d99d6a45965685b7556a00db26c04062a1e318c9
Use same separator as existing Cardstack website
packages/web-client/config/environment.js
packages/web-client/config/environment.js
'use strict'; const infuraIdsByTarget = { staging: '558ee533522a468e9d421d818e06fadb', // this infura id is specific to https://app-staging.stack.cards/ production: '5d6efa6b750b45459184cd11dd2c8697', // this infura id is specific to https://app.cardstack.com/ }; const pkg = require('../package.json'); // eslint...
JavaScript
0
@@ -1131,24 +1131,72 @@ %7D,%0A %7D,%0A + pageTitle: %7B%0A separator: ' %C2%B7 ',%0A %7D,%0A EmberENV
d8a21f2353290f034e6c2bb94a68362c890c0f27
Update packages/vega-functions/src/functions/lasso.js
packages/vega-functions/src/functions/lasso.js
packages/vega-functions/src/functions/lasso.js
import intersect from './intersect'; /** * Appends a new point to the lasso * * @param {*} lasso the lasso in pixel space * @param {*} x the x coordinate in pixel space * @param {*} y the y coordinate in pixel space * @param {*} minDist the minimum distance, in pixels, that thenew point needs to be apart from ...
JavaScript
0
@@ -2670,19 +2670,19 @@ on) %7B%0A -var +let interse
317a326603f1927e6a93c8faf7facc2e2abc0c56
Implement model, service communication
services/reducers/default-reducers.js
services/reducers/default-reducers.js
export default class DefaultReducers { static reduce(cb, start = 0) { let arr = this.toArray(); return arr.reduce(cb, start); } static filter(cb) { let arr = this.toArray(); return arr.filter(cb); } static where(characteristics, returnIndexes = false) { let results = []; let originalIndexes = [...
JavaScript
0
@@ -83,32 +83,52 @@ = this.toArray( +this, !!(this.Model) );%0A%0A%09%09return arr @@ -194,24 +194,44 @@ his.toArray( +this, !!(this.Model) );%0A%0A%09%09return @@ -381,16 +381,36 @@ toArray( +this, !!(this.Model) );%0A%0A%09%09ar @@ -434,16 +434,92 @@ i) =%3E %7B%0A +%0A%09%09%09let originalItem = item;%0A%0A%...
7fe158aa5ccc3c405803c9c6288670ddc3685701
Add fallback fonts to App.js
frontend/src/containers/App/App.js
frontend/src/containers/App/App.js
import React, { Component } from 'react' import Helmet from 'react-helmet' import config from '../../config' const styles = { height: '100%', fontFamily: "'Open Sans', sans-serif" } class App extends Component { render() { return ( <div style={styles}> <Helmet {...config.head} /> {this...
JavaScript
0.000001
@@ -165,16 +165,104 @@ n Sans', + -apple-system, BlinkMacSystemFont, 'Avenir Next', 'Helvetica Neue', Roboto, 'Segoe UI', sans-se
f7c1cb0f69c777e12624cca5e13de8ac98ef7a4c
remove jquery from js manifest to prevent error
spec/dummy/app/assets/javascripts/application.js
spec/dummy/app/assets/javascripts/application.js
// This is a manifest file that'll be compiled into including all the files listed below. // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically // be included in the compiled file accessible from http://example.com/assets/application.js // It's not advisable to add code directl...
JavaScript
0
@@ -395,24 +395,25 @@ ile.%0A//%0A//= +# require jque @@ -415,24 +415,25 @@ jquery%0A//= +# require jque
097ee5f57271f0ec2a7e353f83e3f5615eb80031
use this.active for static charge
src/Parser/Shaman/Shared/Talents/StaticCharge.js
src/Parser/Shaman/Shared/Talents/StaticCharge.js
import SPELLS from 'common/SPELLS'; import Analyzer from 'Parser/Core/Analyzer'; import SpellUsable from 'Parser/Core/Modules/SpellUsable'; import Combatants from 'Parser/Core/Modules/Combatants'; // Static Charge can only reduce the cooldown down to 40 seconds const minimumCooldown = 40000; const stunReduction = 5000...
JavaScript
0.00001
@@ -474,30 +474,21 @@ this. -hasStaticCharg +activ e = this @@ -646,33 +646,8 @@ if ( -!this.hasStaticCharge %7C%7C spel
49a8c18a0782bca37e7dd8483efcbffba5ff194f
Add getBoundingBoxes function to all object 3d descriptors
src/React3/lib/descriptors/Object3DDescriptor.js
src/React3/lib/descriptors/Object3DDescriptor.js
import THREE from 'three'; import THREEElementDescriptor from './THREEElementDescriptor'; import invariant from 'fbjs/lib/invariant'; function _arrayMove(array, oldIndex, newIndex) { array.splice(newIndex, 0, array.splice(oldIndex, 1)[0]); } class Object3DDescriptor extends THREEElementDescriptor { constructor(...
JavaScript
0
@@ -3279,24 +3279,127 @@ () =%3E %7B%0A + return this.getBoundingBoxes(threeObject);%0A %7D,%0A %7D);%0A %7D%0A%0A getBoundingBoxes(threeObject) %7B%0A const bo @@ -3433,20 +3433,16 @@ );%0A%0A - - bounding @@ -3474,20 +3474,16 @@ ject);%0A%0A - retu @@ -3500,33 +3500,16 @@ n...
329285f8a015b0dbea0130497a2981bd6b7fe28e
Remove stray console log that got left (#257)
src/app/UI/client/observables/paged_type_list.js
src/app/UI/client/observables/paged_type_list.js
import Immutable from "immutable"; import Rx from "rxjs"; import TypeList from "ui-observables/type_list"; const SET_PAGE_KIND = { NEXT: "NEXT", PREV: "PREV", FIRST: "FIRST", LAST: "LAST" }; class PagedTypeList extends TypeList { constructor(initialOpts, debug = false) { const defaultOpts...
JavaScript
0
@@ -3730,57 +3730,8 @@ );%0A%0A - console.log(%22list%22, list, list.length);%0A%0A
dcd2174bf47fa58868a96a95c88ad42c3e1f548e
disable test (#12898)
src/applications/gi/tests/e2e/04-dea.e2e.spec.js
src/applications/gi/tests/e2e/04-dea.e2e.spec.js
const E2eHelpers = require('platform/testing/e2e/helpers'); const Timeouts = require('platform/testing/e2e/timeouts'); const GiHelpers = require('./gibct-helpers'); const DeaHelpers = require('./dea-helpers'); const institutionProfile = require('../data/institution-profile.json'); const ojtProfile = require('../data/oj...
JavaScript
0
@@ -2274,8 +2274,45 @@ ();%0A%7D);%0A +%0Amodule.exports%5B'@disabled'%5D = true;%0A
17ba2fbb30769000ae7fe4d581182a088a9215f4
improve the timing of onShow when switchTab (https://ask.dcloud.net.cn/question/90951)
src/platforms/app-plus/service/api/route/switch-tab.js
src/platforms/app-plus/service/api/route/switch-tab.js
import { ANI_CLOSE, ANI_DURATION } from '../../constants' import { showWebview } from './util' import { setStatusBarStyle, invoke } from '../../bridge' import { registerPage } from '../../framework/page' import { navigate } from '../../framework/navigator' import tabBar from '.....
JavaScript
0
@@ -514,25 +514,25 @@ %0D%0A let call -o +O nShow = fals @@ -849,25 +849,25 @@ %0D%0A call -o +O nShow = true @@ -1652,65 +1652,47 @@ ible - %7C%7C callonShow) %7B%0D%0A page.$vm.__call_hook('onShow') +) %7B // %E4%B9%8B%E5%89%8D%E6%9C%AA%E6%98%BE%E7%A4%BA%0D%0A callOnShow = true %0D%0A @@ -...
57f073069ed68cde3837709ff1dc45f38f464aad
Update demo.
src/com/google/foam/demos/albums/TempleOfLove.js
src/com/google/foam/demos/albums/TempleOfLove.js
/** * @license * Copyright 2019 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'com.google.foam.demos.albums', name: 'TempleOfLove', extends: 'foam.graphics.CView', requires: [ 'foam.graphics.Arc' ], properties: [ [ 'width', 500 ], ...
JavaScript
0
@@ -223,21 +223,19 @@ raphics. -CView +Box ',%0A%0A re @@ -243,16 +243,20 @@ uires: %5B +%0A 'foam.g @@ -267,12 +267,43 @@ ics. -Arc' +Circle',%0A 'foam.graphics.Line'%0A %5D,%0A @@ -335,17 +335,17 @@ idth', -5 +6 00 %5D,%0A @@ -363,16 +363,42 @@ ', 500 %5D +,%0A %5B 'color', 'black' %5D %0A ...
81c7e9b1396815722afd39aaecce3a1ef0311166
Remove from <foldername> instead of "this folder"
src/components/secrets/SecretListItem/Options.js
src/components/secrets/SecretListItem/Options.js
import React, { PropTypes } from 'react'; import AppUIStore from 'stores/AppUIStore'; import MetadataActions from 'actions/MetadataActions'; import ShowSecretUIActions from 'actions/ShowSecretUIActions'; import Dropdown from 'components/utilities/Dropdown'; import Icon from 'components/utilities/Icon'; const propTyp...
JavaScript
0
@@ -80,16 +80,66 @@ Store';%0A +import MetadataStore from 'stores/MetadataStore';%0A import M @@ -547,16 +547,72 @@ User();%0A + const folder = MetadataStore.getById(parentFolderId);%0A const @@ -1819,20 +1819,35 @@ from - this folder +&nbsp;%3Cb%3E%7Bfolder.title%7D%3C/b%3E %0A
5be0526852bf469746cf15a6aa8d7ba8a34b7c7f
Move messagesReducer into it's own reducer
actions/reducers.js
actions/reducers.js
import { ADD_MESSAGE } from './actionTypes' const initialState = { messages: [] } export default function MainReducer(state = initialState, action) { switch (action.type) { case ADD_MESSAGE: return Object.assign({}, state, { messages: [ ...state.messages, { messag...
JavaScript
0
@@ -1,8 +1,48 @@ +import %7B combineReducers %7D from 'redux'%0A import %7B @@ -82,64 +82,31 @@ s'%0A%0A -const initialState = %7B%0A messages: %5B%5D%0A%7D%0A%0Aexport default +let nextMessageId = 0;%0A func @@ -114,12 +114,16 @@ ion -Main +messages Redu @@ -138,20 +138,10 @@ e = -initialState +%5B%5D , ac ...
617f4187c4ab78e0850a35dd6d5da3364ce2d6c8
Add missing nwbuilder output to grunt run task
build/tasks/custom/run.js
build/tasks/custom/run.js
module.exports = function( grunt ) { "use strict"; var nwBuilder = require( "../common/nwjs" ); var task = "run"; var descr = "Run NW.js"; grunt.task.registerMultiTask( task, descr, function() { var done = this.async(); var options = this.options(); nwBuilder( grunt, this.data.src, options ) .run(...
JavaScript
0.000003
@@ -262,16 +262,25 @@ s();%0A%0A%09%09 +var nw = nwBuilde @@ -317,22 +317,135 @@ ns ) -%0A%09%09%09.run()%0A%09%09%09 +;%0A%0A%09%09nw.on( %22log%22, grunt.log.writeln );%0A%09%09nw.on( %22stdout%22, grunt.log.debug );%0A%09%09nw.on( %22stderr%22, grunt.log.debug );%0A%0A%09%09nw.run() .the
76d2a77c55464d55e4e4df32934e745f3d65e92f
Mark silk-caffe as external in webpack config
buildjs/webpack.config.js
buildjs/webpack.config.js
'use strict'; const path = require('path'); const fs = require('fs'); const findPackage = require('./src/find_package.js'); const webpack = require('webpack'); const resolve = require('resolve'); const mkdirp = require('mkdirp'); // We must place our files in a special folder for integration /w the android // build...
JavaScript
0
@@ -1653,16 +1653,32 @@ ssfft',%0A + 'silk-caffe',%0A /%5C.nod
ac3b90859507120082a2dce8b8ea8e4644faa3b8
Fix styleguide issues in message.js
database/schemas/message.js
database/schemas/message.js
module.exports = (db, Sequelize, Post, User) => { var Message = db.define('message', { id: { type: Sequelize.INTEGER, autoIncrement: true, primaryKey: true }, body: Sequelize.STRING, post_id: Sequelize.INTEGER, user_id: Sequelize.INTEGER }); return Message; };
JavaScript
0
@@ -28,20 +28,8 @@ lize -, Post, User ) =%3E @@ -37,11 +37,13 @@ %7B%0A -var +const Mes @@ -162,16 +162,17 @@ ey: true +, %0A %7D,%0A @@ -261,16 +261,17 @@ .INTEGER +, %0A %7D);%0A%0A @@ -292,6 +292,7 @@ ge;%0A - %7D; +%0A
62be42595dfe412a0806b524a74b575e7b1b468c
Fix bug
gdbase-build/biomart/parse-line.js
gdbase-build/biomart/parse-line.js
//Function for parse a file line function ParseLine(line, cols, exclude) { //Check the exclude if(typeof exclude === 'undefined'){ var exclude = []; } //Create the new object var obj = {}; //Read all the cols for(var i = 0; i < cols.length; i++) { //Get the column name var col = cols[i].id; //Check for ...
JavaScript
0.000001
@@ -347,17 +347,17 @@ Of(col) -%3C +%3E 0)%7B con @@ -478,17 +478,17 @@ = line%5B -j +i %5D;%0A%09%7D%0A%0A%09
0e8f812e402b88d6800e76ad475a3f48039b6050
Model names should be dasherized
addon/serializer.js
addon/serializer.js
import DS from 'ember-data'; import Ember from 'ember'; import { singularize } from 'ember-inflector'; const { normalizeModelName } = DS; const { get, inject: { service }, String: { underscore } } = Ember; const DRUPAL_FIELD_PREFIX = 'field_'; const DrupalJSONAPISerializer = DS.JSONAPISerializer.extend({ dru...
JavaScript
0.999786
@@ -773,22 +773,55 @@ return +singularize(normalizeModelName( bundle +)) ;%0A %7D%0A
9989a17de2c4b7e66048ad28a9f542c8599cd009
Update filter test after rebase
test/functional/cypress/specs/companies/filter-spec.js
test/functional/cypress/specs/companies/filter-spec.js
const selectors = require('../../../../selectors') describe('Company Collections Filter', () => { before(() => { cy.visit('/companies?sortby=collectionTest') cy.get(selectors.entityCollection.entities) .children() .should('have.length', 9) cy.get(selectors.entityCollection.collection).should(...
JavaScript
0
@@ -5556,17 +5556,17 @@ ngth', 6 -6 +7 )%0A%0A c
b55b8f81675239b51ca963360e23b8a48c8dfd23
Fix the API help
buildtools/webpack.api.js
buildtools/webpack.api.js
// The MIT License (MIT) // // Copyright (c) 2018-2022 Camptocamp SA // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // u...
JavaScript
0
@@ -1502,54 +1502,13 @@ ue,%0A - useBuiltIns: 'usage',%0A corejs: 3,%0A %7D,%0A + %5D;%0A%0A @@ -1732,53 +1732,8 @@ $/,%0A - exclude: %5B/(core-js%7Cstrip-ansi)/%5D,%0A @@ -1997,24 +1997,24 @@ : 'api.js',%0A + path: @@ -2023,36 +2023,8 @@ st,%0A - libraryTarget: 'umd',%0A ...
b8a5edcee45566372118d3c50a3dfcf3a8d54492
add url.
sketches/basic/video-texture/index.js
sketches/basic/video-texture/index.js
var raf = require('raf'); var createCaption = require('../../dom/caption'); var scene, camera, renderer, mesh; var plane, mesh; var cubes = []; var object, id; import CamTexture from "vendors/video-texture/webcam" var camTexture; var stats, wrapper; var isAnimation = true; function init(){ scene = new THREE.Sc...
JavaScript
0
@@ -1118,16 +1118,106 @@ url = ' +https://github.com/kenjiSpecial/webgl-sketch-dojo/tree/master/sketches/basic/video-texture ';%0A%0A
613b37ad91a63f368b04f85372610ad33240407c
fix empty data handling
routes/invalid_records.js
routes/invalid_records.js
const express = require('express'); const request = require('request'); const router = express.Router(); // -------------------------------------------------------------------------------------- // get invalid records for specific date // ---------------------------------------------------------------------------------...
JavaScript
0.000603
@@ -2718,17 +2718,154 @@ else + %7B %0A + if( JSON.parse(body).length == 0) %7B // handle empty data%0A res.json(%5B%5D);%0A %7D%0A else %7B // non empty response%0A re @@ -2999,16 +2999,30 @@ he data%0A + %7D%0A %7D%0A %7D);%0A%0A%7D
f1932e2e93995ae1d0547b6911a1e88c9793f8a3
fix server logger
server/src/_common/util/logger.js
server/src/_common/util/logger.js
const _ = require('lodash'); const winston = require('winston'); const config = require('../../../config/environment'); const transports = _.map(config.get('winston:transports'), (transportOpts, transportName) => { switch (transportName) { case 'console': return new winston.transports.Console(transportOpts...
JavaScript
0.000001
@@ -124,20 +124,197 @@ nst -transports = +%7B combine, colorize, simple %7D = winston.format;%0A%0Afunction customFormat() %7B%0A return combine(colorize(), simple());%0A%7D%0A%0Alet logger = winston.createLogger(%7B%0A exitOnError: false,%0A transports: _.m @@ -351,26 +351,17 @@ rts'), ( -transportO +o pts, t...
aaa38b822422ef7aa27c9cdc5412f82ed38ada63
revert toFixed changes and use .abs on value
core/filters/price.js
core/filters/price.js
import { currentStoreView } from '@vue-storefront/core/lib/multistore' const applyCurrencySign = (formattedPrice, { currencySign, priceFormat }) => { return priceFormat.replace('{sign}', currencySign).replace('{amount}', formattedPrice) }; const getLocaleSeparators = (defaultLocale) => { return { decimal: (0....
JavaScript
0
@@ -1046,32 +1046,13 @@ urn -Number(value).toFixed(2) +value %0A %7D @@ -1281,17 +1281,18 @@ %0A%0A -const abs +let locale Pric @@ -1308,62 +1308,14 @@ abs( -Number(value)).toFixed(2)%0A let localePrice = absPrice +value) .toL
68f3eeda3e5f30da1857feeb09abe57c9e3d3e40
Correct ACE class name in subscibe config
example/app/view/editor/Panel.js
example/app/view/editor/Panel.js
/*jslint browser: true, undef: true *//*global Ext*/ Ext.define('JarvusAceDemo.view.editor.Panel', { extend: 'Ext.Panel', xtype: 'editor-panel', requires: [ 'Jarvus.ace.Editor' ], layout: 'fit', items: [{ xtype: 'jarvus-ace-editor', // Ace configuration option...
JavaScript
0.000026
@@ -781,18 +781,16 @@ 'Edit -or Session'
e532a9be4a16e23ffc2bc11a28db8611c363939c
make provider json readonly in React
admin-ui/src/views/ServerConfig/ProvidersConfiguration.js
admin-ui/src/views/ServerConfig/ProvidersConfiguration.js
import React, { Component } from 'react' import { connect } from 'react-redux' import classnames from 'classnames' import { Button, Card, CardHeader, CardBody, CardFooter, InputGroup, InputGroupAddon, Input, Form, Col, Label, FormGroup, FormText, Table, Nav, NavItem, NavLink, TabCont...
JavaScript
0
@@ -6784,16 +6784,52 @@ r.json%7D%0A + readOnly='true'%0A
fbc66be79d9ba171775731f2add55335c10fa2be
clean up main.js example/dev file
examples/bundled-example/main.js
examples/bundled-example/main.js
const Uppy = require('../../src/core/Core.js') const Dashboard = require('../../src/plugins/Dashboard') // const GoogleDrive = require('../../src/plugins/GoogleDrive') const Dropbox = require('../../src/plugins/Dropbox') const Instagram = require('../../src/plugins/Instagram') // const Webcam = require('../../src/plugi...
JavaScript
0.000001
@@ -725,16 +725,19 @@ gDrop')%0A +// const Re @@ -922,179 +922,8 @@ /'%0A%0A -// import ru_RU from '../../src/locales/ru_RU.js'%0A// import MagicLog from '../../src/plugins/MagicLog'%0A// import PersistentState from '../../src/plugins/PersistentState'%0A%0A cons @@ -1695,27 +1695,24 @@ : false,%0A - // disab...
01c2452ba4b0f84d22376fc71ba8a266971e3780
update config according to hedgehog-ide, disable auth by default
ide/server.config.js
ide/server.config.js
exports = module.exports = { // 'production' will serve the webpack client package // 'debug' uses SystemJS environment: 'production', // Path where the programs will be storage programStorageDirectory: '/home/pi/hedgehog-programs', // ZMQ connection string for Hedgehog server hedgehogConn...
JavaScript
0
@@ -33,87 +33,29 @@ // -'production' will serve the webpack client package%0A // 'debug' uses SystemJS +environment: 'debug', %0A @@ -808,9 +808,15 @@ // -R +Don't r equi @@ -828,24 +828,35 @@ thentication + by default %0A ena @@ -865,11 +865,12 @@ ed: -tru +fals e,%0A%0A
8f67fde60b2b6b517245968047c3f36758839acf
Fix - init wallet list
src/js/controllers/wallet-selector.controller.js
src/js/controllers/wallet-selector.controller.js
'use strict'; (function () { angular .module('copayApp.controllers') .controller('walletSelectorController', walletSelectorController); function walletSelectorController ($scope, $state, sendFlowService, configService, gettextCatalog, ongoingProcess, profileService, walletService, txFormatService) { var fr...
JavaScript
0
@@ -4162,16 +4162,76 @@ n screen +%0A $scope.walletsBtc = %5B%5D;%0A $scope.walletsBch = %5B%5D; %0A%0A
809b7d800ed307a54e8e0d272accd32c1b32bb06
Add font-awesome icons to side bar
src/scripts/views/board.js
src/scripts/views/board.js
import page from 'page'; import React from 'react/addons'; import User from '../models/user'; import Board from '../models/board'; import UserStore from '../stores/user'; import BoardStore from '../stores/board'; import SettingsStore from '../stores/settings'; import BoardAction from '../actions/board'; ...
JavaScript
0
@@ -3246,24 +3246,268 @@ dDialog%0A%09%09%09%7D +,%0A%09%09%09%7B%0A%09%09%09%09icon: 'download',%0A%09%09%09%09active: this.state.showEditBoardDialog,%0A%09%09%09%09onClick: this.toggleEditBoardDialog%0A%09%09%09%7D,%0A%09%09%09%7B%0A%09%09%09%09icon: 'share-alt',%0A%09%09%09%09active: this.state.showEditBoar...
52fb238de38d9007dedc8ae93fab01c2363a3c7a
Exclude node_modules from webpack config
webpack-es6.config.js
webpack-es6.config.js
const APP = __dirname; export default { context: APP, entry: { app: './public/app.js' }, output: { path: './dist', filename: 'app.js' }, module: { loaders: [ { test: /\.js$/, loader: 'babel-loader' } ] } };
JavaScript
0.000002
@@ -211,16 +211,49 @@ %5C.js$/,%0A + exclude: /node_modules/,%0A
4435b2d740eb57425ff98449b548fd8867de8ffe
Reduce line length
webpack.dev.config.js
webpack.dev.config.js
var path = require('path'); var webpack = require('webpack'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); module.exports = { entry: [ 'webpack-dev-server/client?http://localhost:3000', 'webpack/hot/only-dev-server', './examples/src/app.js' ], output: { path: path.resolve('./e...
JavaScript
0.999999
@@ -448,24 +448,23 @@ aders: %5B +%7B %0A - %7B test: / @@ -466,24 +466,30 @@ st: /%5C.js$/, +%0A loaders: %5B' @@ -548,16 +548,22 @@ slint'%5D, +%0A exclude @@ -582,19 +582,23 @@ les/ +%0A %7D, + %7B %0A - %7B tes @@ -610,16 +610,22 @@ .less$/, +%0A loader: @@ -672,16 +67...
c7b99f90eddad75d2598f0e3def49563532f10c8
Add explaining comment
webpack/makeConfig.js
webpack/makeConfig.js
import ExtractTextPlugin from 'extract-text-webpack-plugin'; import autoprefixer from 'autoprefixer'; import constants from './constants'; import path from 'path'; import webpack from 'webpack'; import webpackIsomorphicAssets from './assets'; import WebpackIsomorphicToolsPlugin from 'webpack-isomorphic-tools/plugin'; i...
JavaScript
0
@@ -4291,24 +4291,70 @@ %5B'', '.js'%5D, + // .json is ommited to ignore ./firebase.json %0A modul
104435548ab589d162b50bbe2b6ce4922a24f245
refactor tests
client/app/products/unit_tests/products.controller.spec.js
client/app/products/unit_tests/products.controller.spec.js
'use strict'; function callCallbackWithError(err){ return function(/* arguments */){ var length = arguments.length; var errorCb = arguments[length-1]; var successCb = arguments[length-2]; var params = arguments[length-3]; if(err){ return errorCb(err); } else { return succ...
JavaScript
0.00002
@@ -12,342 +12,8 @@ ';%0A%0A -function callCallbackWithError(err)%7B%0A return function(/* arguments */)%7B%0A var length = arguments.length;%0A var errorCb = arguments%5Blength-1%5D;%0A var successCb = arguments%5Blength-2%5D;%0A var params = arguments%5Blength-3%5D;%0A%0A if(err)%7B%0A r...
b4da774e1381c1586672b3447663a212b0af364c
change header links and code highlight theme
website/siteConfig.js
website/siteConfig.js
/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // See https://docusaurus.io/docs/site-config for all the possible // site configuration options. const GITHUB_URL = 'https://github.co...
JavaScript
0
@@ -744,18 +744,44 @@ %7B -blog: true +href: 'https://medium.com/resolvejs' , la @@ -848,11 +848,16 @@ c: ' -faq +tutorial ', l @@ -867,11 +867,16 @@ l: ' -FAQ +Tutorial ' %7D, @@ -1289,26 +1289,38 @@ Year()%7D -reimagined +Developer Express, Inc %60,%0A%0A hi @@ -1419,15 +1419,13 @@ e: ' -default +agate ...
93142b543099716e10f7288f1dfe23c6ae24d975
add authors property to learning resource
client/spa/js/learning-resource/learning-resource.model.js
client/spa/js/learning-resource/learning-resource.model.js
'use strict'; var Backbone = require('../vendor/index').Backbone; module.exports = Backbone.Model.extend({ defaults: { title: 'JavaScript Is Sexy', resourceType: 'link', description: 'Learn JavaScript properly.' }, urlRoot: '/api/learning-resources', initialize: function(){ this.on('change'...
JavaScript
0
@@ -221,17 +221,46 @@ operly.' +,%0A authors: %5B'Mom', 'Dad'%5D %0A - %7D,%0A%0A @@ -508,356 +508,8 @@ %7D%0A + %7D);%0A -%0Avar Resource = Backbone.Model.extend(%7B%0A defaults: %7B%0A resourceType: null%0A %7D%0A%7D);%0A%0Avar ResourceCollection = Backbone.Collection.extend(%7B%0A model: Resource...
216584b601a811bd0b2ed7c2a951377ff7f1a74f
Allow adding tracks to playlists from queue menu
app/components/PlayQueue/QueueMenu/QueueMenuMore/index.js
app/components/PlayQueue/QueueMenu/QueueMenuMore/index.js
import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import _ from 'lodash'; import { Dropdown, Icon, Menu } from 'semantic-ui-react'; import styles from './styles.scss'; const addTrackToPlaylist = () => { }; const addFavoriteTrackFromQueue = (addFavoriteTrack, track) =>...
JavaScript
0
@@ -140,17 +140,9 @@ Icon -,%0A Menu %0A + %7D fr @@ -231,23 +231,112 @@ list = ( -) =%3E %7B%0A +updatePlaylist, playlist, track) =%3E %7B%0A playlist.tracks.push(track);%0A updatePlaylist(playlist); %0A%7D;%0A%0Acon @@ -1511,16 +1511,35 @@ %7B () =%3E +addTrackToPlaylist( updatePl @@ -1544,25 +1544,26 @@ ...
a7ac00124169097a131c2014ead588a21e2ca117
show no. clients
src/server/event-server.js
src/server/event-server.js
import debug from 'debug' import net from 'net' import FileWatcher from './file-watcher' import {EventEmitter} from 'events' const P = f => new Promise(f) const ____ = debug('faster-titanium:EventServer') const ___x = debug('faster-titanium:EventServer:error') /** * Server connecting continuously with Titanium */ e...
JavaScript
0.998798
@@ -1628,24 +1628,25 @@ payload)%7D%60)%0A +%0A this @@ -1661,16 +1661,93 @@ ockets() +%0A%0A ____(%60total clients: $%7Bthis.sockets.length%7D%60)%0A%0A this.sockets .forEach
2929ae7946265f768d3a8b24e3d5a7861a506cb8
Remove subscripeToUpdates from AppbaseList
app/AppbaseList.js
app/AppbaseList.js
import { default as React, Component } from 'react'; import { render } from 'react-dom'; var Appbase = require('appbase-js'); var helper = require('./helper.js'); import {List} from './component/List.js'; import {queryObject} from './ImmutableQuery.js'; export class AppbaseList extends Component { constructor(props)...
JavaScript
0
@@ -677,663 +677,8 @@ %7D%0A - subscribeToUpdates() %7B%0A var requestObject = helper.getMatchAllQuery(this.props.config, this.props.fieldName, 1, this.props.size, true);%0A var self = this;%0A self.setState(%7B%0A streamingStatus: 'Listening...'%0A %7D);%0A if (this.streamingInstance) %7B%0A ...
3ec3729cd216df05428cf777b3482d0243d89954
Update stats component to use summary endpoint
app/assets/scripts/views/home/stats-count.js
app/assets/scripts/views/home/stats-count.js
import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import config from '../../config'; import { shortenLargeNumber } from '../../utils/format'; import LoadingMessage from '../../components/loading-message'; const defaultState = { fetched: ...
JavaScript
0
@@ -611,51 +611,8 @@ );%0A%0A - // TODO: replace with stats endpoint%0A @@ -634,25 +634,23 @@ ig.api%7D/ -locations +summary %60)%0A @@ -990,38 +990,23 @@ ta: -%7B locations: json.meta.found %7D +json.results%5B0%5D ,%0A @@ -3836,34 +3836,23 @@ %7Bdata -.totalMeasureme +?.cou nt -s && (%0...
81052e961cc3f162b9a5508cb6c2fc05f1029dd5
Add unit testing to get Configuration.js to 100% coverage
app/util/__tests__/Configuration_testLoadConfiguration.js
app/util/__tests__/Configuration_testLoadConfiguration.js
/** * * @license * Copyright (C) 2016 Joseph Roque * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
JavaScript
0
@@ -859,58 +859,10 @@ on') -%0A .unmock('../../../assets/json/config.json') ;%0A + %0Ades @@ -978,24 +978,346 @@ .', () =%3E %7B%0A + // Mock config.json%0A jest.setMock('../../../assets/json/config.json', %7B%0A AvailableSemesters: %5B%0A %7B%0A code: '0',%0A name_en: 'name_e...
9c2bb924a4a837837aeb08061c8b9f928b1c01b4
Fix the merge bug
src/services/appearance.js
src/services/appearance.js
/* global CONFIG */ import storage from 'local-storage-fallback'; export const { colorSchemeStorageKey, nsfwVisibilityStorageKey, uiScaleStorageKey, submitModeStorageKey, } = CONFIG.appearance; export const SCHEME_LIGHT = 'light'; export const SCHEME_DARK = 'dark'; export const SCHEME_NO_PREFERENCE = 'no-pref...
JavaScript
0.000022
@@ -58,16 +58,56 @@ llback'; +%0Aimport %7B isMobile %7D from './is-mobile'; %0A%0Aexport
bf3eed8d66bf35580e8b5dc3d2f9b9c20be0e78f
Rename variable
lib/node_modules/@stdlib/random/streams/arcsine/lib/object_mode.js
lib/node_modules/@stdlib/random/streams/arcsine/lib/object_mode.js
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
JavaScript
0.000003
@@ -647,21 +647,16 @@ %0A%0Avar is -Plain Object = @@ -2033,13 +2033,8 @@ !is -Plain Obje
58707934f3cec37f4d9bca26113df0dcca3bc670
Fix setLayerInteraction logic
components/admin/data/layers/form/layer-preview/reducer.js
components/admin/data/layers/form/layer-preview/reducer.js
import * as actions from './actions'; export default { [actions.setLayerGroups]: (state, { payload }) => ({ ...state, ...payload, interaction: {} }), [actions.setLayerInteractionLatLng]: (state, { payload }) => ({ ...state, interactionLatLng: payload }), [actions.setLayerInteractionSelected]: (state, { p...
JavaScript
0.000103
@@ -606,44 +606,18 @@ -%5Bpayload.id%5D: %7B data: payload.data %7D +...payload %0A
1d9cf9f18be99f29b8c1f526e3b9184e93090f60
Display the correct time for the lines
timepiece/static/timepiece/js/dashboard/todays_work.js
timepiece/static/timepiece/js/dashboard/todays_work.js
var scripts = document.getElementsByTagName('script'), script = scripts[scripts.length - 1]; var data = JSON.parse(script.getAttribute('data-entries')); function Timeline(loc, start_time, end_time, width, height) { this.loc = loc; this.start_time = start_time; this.end_time = end_time; this.conta...
JavaScript
0.999858
@@ -1197,21 +1197,17 @@ var -hours +d = new D @@ -1250,55 +1250,73 @@ * i) -.getHours();%0A hours = h +;%0A var time = d.getH ours +() %3E 12 ? - h +%0A d.getH ours +() %25 1 @@ -1324,22 +1324,87 @@ + ' - p.m.' : hours +:' + d.getMinutes() + ' p.m.' :%0A d.getHours()...
1d3db387b0663e08a81503b47fb4074555d88a64
Move bisect script creation function.
app/dashboard/static/js/linaro-base-1.0.1.js
app/dashboard/static/js/linaro-base-1.0.1.js
var csrftoken = $('meta[name=csrf-token]').attr('content'); function setErrorAlert(id, code, reason) { /* * Pass code (int) and id (string) to alert an error on the page. * Optionally pass a reason (string) for the error. */ 'use strict'; var localId = id, text = ''; if (id[0] !...
JavaScript
0.000012
@@ -3697,8 +3697,274 @@ %7D%0A%7D%0A +%0Afunction createBisectScriptURI(badCommit, goodCommit) %7B%0A 'use strict';%0A var bisectScript = '#!/bin/bash%5Cn' +%0A 'git bisect start ' + badCommit + ' ' + goodCommit + '%5Cn';%0A%0A return 'data:text/plain;charset=UTF-8,' + encodeURIComponent(bisectScri...
79e36b4a5d77d8d73328fff8d50b2f0b3f2805e9
add device report hiding to pie chart
corehq/couchapps/formtrends/views/form_type_by_user/map.js
corehq/couchapps/formtrends/views/form_type_by_user/map.js
function(doc) { if (doc.doc_type == "XFormInstance" ) { emit(["d", doc.domain, doc.xmlns], 1); emit(["u", doc.domain, doc.form.meta.userID, doc.xmlns], 1); } }
JavaScript
0
@@ -54,16 +54,79 @@ stance%22 +&&%0A doc.xmlns != %22http://code.javarosa.org/devicereport%22 )%0A %7B%0A
5860e48ad01fdce4a64bf53c42aab76898fedbc3
fix comment
src/swipedeck/SwipeDeck.js
src/swipedeck/SwipeDeck.js
import React, { PropTypes, Component } from 'react'; import { View, Animated, PanResponder, Dimensions, StyleSheet, LayoutAnimation, UIManager, } from 'react-native'; const SCREEN_WIDTH = Dimensions.get('window').width; const SWIPE_THRESHOLD = 0.4 * SCREEN_WIDTH; export default class SwipeDeck extends C...
JavaScript
0
@@ -572,16 +572,37 @@ uch +and handle only move- gestures to @@ -601,15 +601,8 @@ ures - to fix %0A
00f45c57fd622f8e809e971d6265bfea8aa573f7
Update blog-post.js
src/templates/blog-post.js
src/templates/blog-post.js
import React from 'react'; import Helmet from 'react-helmet'; import Footer from '../pages/components/footer.js' // import '../css/blog-post.css'; // make it pretty! export default function Template({ data // this prop will be injected by the GraphQL query we'll write in a bit }) { const { markdownRemark: post } ...
JavaScript
0
@@ -443,25 +443,8 @@ e=%7B%60 -Your Blog Name - $%7Bpo
650ba30631128ba4a0395556134dba5c89ee97a4
handle profile property change
app/static/js/factories/resource-template.js
app/static/js/factories/resource-template.js
(function() { angular .module("resourceTemplateFactory", []) .factory("ResourceTemplate", ["PropertyTemplate", ResourceTemplateFactory]); function ResourceTemplateFactory(PropertyTemplate) { function ResourceTemplate(obj, config) { var i, pt; this._...
JavaScript
0
@@ -768,18 +768,20 @@ j.class. -id +type !== %22un @@ -838,18 +838,20 @@ j.class. -id +type ;%0A
f6415050fb580108ee3c7244c3baa7f33fb5c4b6
change require location for mqtt library
src/test/client-harness.js
src/test/client-harness.js
global.window = global; var WebSocketClient = require('websocket').client; global.WebSocket = function(wsurl,protocol) { var ws = new WebSocketClient(); var connection; var obj = { send: function(msg) { var nodeBuf = new Buffer(new Uint8Array(msg)); connection.send(nodeBuf)...
JavaScript
0
@@ -1491,19 +1491,16 @@ ire(%22../ -../ mqttws31
3748f37a07665f31fac4af26b5c4137bfe8fe47f
fix wrong target
docs/js/main.js
docs/js/main.js
window.onload = function () { 'use strict'; var Viewer = window.Viewer; var console = window.console || { log: function () {} }; var pictures = document.querySelector('.docs-pictures'); var toggles = document.querySelector('.docs-toggles'); var buttons = document.querySelector('.docs-buttons'); var opti...
JavaScript
0.000024
@@ -3002,22 +3002,46 @@ method%5D( +document.querySelector( target +) .value);
950918aec4ea3f4f10e868f6061f0f64aad49cad
Fix mixup with verts vs triangles
procedural-component.js
procedural-component.js
var width, height, depth, isolevel; pc.script.create('procedural', function (app) { var ProceduralObject = function (entity) { this.entity = entity; } ProceduralObject.prototype = { initialize: function () { width = height = depth = 8; isolevel = 0.0; var...
JavaScript
0
@@ -4348,31 +4348,30 @@ function get -Triangl +Vertic es() %7B%0A v @@ -4404,23 +4404,22 @@ var -triangl +vertic es = %5B%5D; @@ -4854,16 +4854,20 @@ riangles + * 3 ; i++) %7B @@ -4887,23 +4887,22 @@ -triangl +vertic es.push( @@ -4941,32 +4941,34 @@ +// console.log(ntri @@ -5...
9cd9c8e569deac70514423ba5507c08754e717e6
Update pokedex.js
mods/nuv2/pokedex.js
mods/nuv2/pokedex.js
exports.BattlePokedex = { serperior: { inherit:true, abilities:{0:"Solar Power",1:"Synchronise",DW:"Leaf Guard"} baseStats:{hp:98,atk:85,def:65,spa:95,spd:105,spe:103} }, articuno: { inherit:true, abilities:{0:"Snow Warning",DW:"Int...
JavaScript
0.000001
@@ -4820,13 +4820,12 @@ %7D -, %0A%7D;%0A
a38108bec5d5d6df9718d93e05a32d7103c100ab
add mouseenter event to module menu
module/menu/index.js
module/menu/index.js
// 导航组件,可以用作Tab,Menu,Nav等 // by lizzz (http://lizzz0523.github.io/) define(function(require, exports, module) { var utils = require('tool/utils'), $ = require('jquery'), _ = require('underscore'), ZView = require('module/view/index'); var defaults = { 'tmpl' : _.template('<a href="#<%= targ...
JavaScript
0
@@ -365,23 +365,59 @@ : false, +%0A + 'hover' : false, // %E6%8E%A7%E5%88%B6%E9%BC%A0%E6%A0%87%E6%BB%91%E8%BF%87%E6%98%AF%E5%90%A6%E6%BF%80%E6%B4%BB%E6%8E%A7%E4%BB%B6 %0A @@ -619,16 +619,57 @@ lickTab' +,%0A 'mouseenter a' : 'hoverTab' %0A @@ -2567,32 +2567,159 @@ ab;%0A ...
1784e1a50f6ecfbd3d875b7bb9a15c2ac212f0e2
use conditional alerts
firefox/chrome/content/browser-overlay.js
firefox/chrome/content/browser-overlay.js
let Cc = Components.classes; let Ci = Components.interfaces; let prompts = Cc['@mozilla.org/embedcomp/prompt-service;1'].getService(Ci.nsIPromptService); let adban = Cc['@ad-ban.appspot.com/adban;1'].getService().wrappedJSObject; let $ = function(id) { return document.getElementById(id); }; let appAlert = function...
JavaScript
0
@@ -299,34 +299,243 @@ et a -ppAlert = function(msg) %7B%0A +lert_states = %7B%7D;%0A%0Alet conditionalAlert = function(alert_name, msg) %7B%0A let alert_state = alert_states%5Balert_name%5D;%0A if (!alert_state) %7B%0A alert_state = alert_states%5Balert_name%5D = %7B value: false %7D;%0A %7D%0A if (!alert_stat...
8f44e46586527e6360cbbd222cea665689558541
Fix lint errors in DateTimeSelector
lib/components/form/date-time-selector.js
lib/components/form/date-time-selector.js
// import moment from 'moment' import React, {PropTypes, Component} from 'react' import { Form, FormGroup, FormControl, Grid, Row, Col } from 'react-bootstrap' // import { SingleDatePicker } from 'react-dates' import { connect } from 'react-redux' import { setDepart, setDate, setTime } from '../../actions/form' class...
JavaScript
0.000001
@@ -116,14 +116,8 @@ rol, - Grid, Row @@ -376,80 +376,261 @@ -location: PropTypes.object,%0A label: PropTypes.string,%0A setLocation +date: PropTypes.string,%0A departArrive: PropTypes.string,%0A time: PropTypes.string,%0A location: PropTypes.object,%0A label: PropTypes.string,%0A setDate:...
98c1f1f636577dde1650d8e7bfa97aeed53f0975
define client and server side configuration flow types
flow/definitions/create-js-app-scripts.js
flow/definitions/create-js-app-scripts.js
/* @flow */ declare type ConfigurationEnvironment = Object declare type ConfigurationSettings = Object & { appNodeModulesDir: string } declare type Configuration = { env: ConfigurationEnvironment, plugins: Array<Plugin>, settings: ConfigurationSettings } declare interface Environment { cwd: string; confi...
JavaScript
0
@@ -710,8 +710,526 @@ any%3E,%0A%7D%0A +%0Adeclare type ClientWebpackPluginConfiguration = Configuration & %7B%0A settings: ConfigurationSettings & %7B%0A client: %7B%0A babelrc: ?string,%0A eslintrc: ?string,%0A indexJs: string,%0A buildDir: string,%0A srcDir: string,%0A %7D%0A %7D%0A...
b65f1f55309b2a2221f5f11e1545314c12db28c8
support multiple query components and support escaping commas
lib/private/conditions_to_query_string.js
lib/private/conditions_to_query_string.js
'use strict'; var escapeRegExp = function(str) { return str.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); }; // see http://lucene.apache.org/core/3_0_3/queryparsersyntax.html#Escaping%20Special%20Characters var SOLR_ESCAPE_CHARACTERS = ["\\", "+", "-", "!", "(", ")", ":", ";", "^", "[", "]", "{", "}", "~", "*", "?"]...
JavaScript
0.000001
@@ -582,75 +582,8 @@ ies%0A -// TODO: escape query string components to avoid injection attacks%0A modu @@ -1185,36 +1185,30 @@ %0A function -componentize +format Query(proper @@ -1319,16 +1319,16 @@ yQuery)%0A - %5D.jo @@ -1340,16 +1340,1013 @@ );%0A %7D%0A%0A + function splitQuery(query)%7B%0A // FI...
c0a287aa1a59e0fd866faab8a1da0c8d2d365c57
add compilation timestamp to process.env
packages/gluestick/src/config/webpack/webpack.config.server.dev.js
packages/gluestick/src/config/webpack/webpack.config.server.dev.js
/* @flow */ import type { WebpackConfig } from '../../types'; const deepClone = (obj: Object) => { const output: Object = {}; for (const key in obj) { const value: any = obj[key]; if (Array.isArray(value)) { output[key] = value.slice(); } else { output[key] = (typeof value === 'object') ? ...
JavaScript
0.000001
@@ -55,16 +55,52 @@ /types'; +%0Aconst webpack = require('webpack'); %0A%0Aconst @@ -553,16 +553,195 @@ onfig);%0A + configuration.plugins.push(%0A new webpack.DefinePlugin(%7B%0A 'process.env': %7B%0A COMPILATION_TIMESTAMP: JSON.stringify(new Date().toISOString()),%0A %7D,%0A %7D),%0A );%0...
e02edbac0e4257493f32de2d3c9014fe50c27547
Modify auth plugin version
default.config.js
default.config.js
/** * @class KuzzleConfiguration */ module.exports = { hooks: require('./lib/config/hooks'), httpRoutes: require('./lib/config/httpRoutes'), plugins: { common: { workerPrefix: 'kpw:', pipeWarnTime: 40, pipeTimeout: 250 }, 'kuzzle-plugin-logger': { version: '2.0.5', a...
JavaScript
0
@@ -398,13 +398,13 @@ n: ' -2.0.4 +3.0.0 ',%0A
78f7c7111c5c1bb4ddc51f915be0611fb36e5418
add wasm info
crypto_generichash.js
crypto_generichash.js
var blake2b = require('blake2b') module.exports.crypto_generichash_PRIMITIVE = 'blake2b' module.exports.crypto_generichash_BYTES_MIN = blake2b.BYTES_MIN module.exports.crypto_generichash_BYTES_MAX = blake2b.BYTES_MAX module.exports.crypto_generichash_BYTES = blake2b.BYTES module.exports.crypto_generichash_KEYBYTES_MIN...
JavaScript
0
@@ -469,16 +469,145 @@ EYBYTES%0A +module.exports.crypto_generichash_WASM_SUPPORTED = blake2b.WASM_SUPPORTED%0Amodule.exports.crypto_generichash_WASM_LOADED = false%0A%0A %0Amodule. @@ -720,32 +720,89 @@ inal(output)%0A%7D%0A%0A +module.exports.crypto_generichash_ready = blake2b.ready%0A%0A module.exports.c @@ -118...
3b687c96c9440357658dec2536a1559141b86ebd
Fix failing test.
Specs/MockProperty.js
Specs/MockProperty.js
/*global define*/ define(['Core/ReferenceFrame'], function(ReferenceFrame) { "use strict"; function MockProperty(value) { this.value = value; } MockProperty.prototype.getValue = function(time, result) { if (typeof this.value.clone === 'function') { return this.value.clone(r...
JavaScript
0.000007
@@ -233,32 +233,69 @@ if (typeof +this.value !== 'undefined' && typeof this.value.clone @@ -305,32 +305,32 @@ = 'function') %7B%0A - retu @@ -486,32 +486,69 @@ if (typeof +this.value !== 'undefined' && typeof this.value.clone @@ -720,32 +720,32 @@ time, result) %7B%0A - if (typ...
29accea8c7517a53b8590ecdbcddc1b8ff6e192b
Handle different types of img urls
models/StripParser.js
models/StripParser.js
var request = require('request'); var cheerio = require('cheerio'); var mongoose = require('mongoose'); var Comic = mongoose.model('Comic'); var Strip = mongoose.model('Strip'); var replace = function (str, col) { col = typeof col === 'object' ? col : Array.prototype.slice.call(arguments, 1); return str.repla...
JavaScript
0.000109
@@ -1673,15 +1673,324 @@ -s.url = +if (img.src.indexOf(%22http%22) %3E -1 %7C%7C img.src.indexOf(%22//%22) === 0)%0A s.url = img.src;%0A else if (img.src.charAt(0) === '.')%0A s.url = comic.url + img.src.substring(1);%0A ...
9e8353507ffcf4c371dd7c46a8a85355d28b709c
Use number field addFilterToQuery method for money field
fields/types/money/MoneyType.js
fields/types/money/MoneyType.js
var FieldType = require('../Type'); var NumberType = require('../number/NumberType'); var numeral = require('numeral'); var util = require('util'); /** * Money FieldType Constructor * @extends Field * @api public */ function money (list, path, options) { this.currency = options.currency; this._nativeType = Numbe...
JavaScript
0
@@ -1055,16 +1055,90 @@ IsValid; +%0Amoney.prototype.addFilterToQuery = NumberType.prototype.addFilterToQuery; %0A%0A/**%0A *
ddb15040c65b4ef2da474f238498d27ecdb930d2
Use slide up/down to show/hide the footer
src/mist/io/static/js/app/views/machine_shell.js
src/mist/io/static/js/app/views/machine_shell.js
define('app/views/machine_shell', ['app/views/popup', 'ember'], // // Machine Shell View // // @returns Class // function(PopupView) { 'use strict'; return PopupView.extend({ // // // Methods // // o...
JavaScript
0
@@ -681,12 +681,15 @@ r'). -h +sl ide +Up (500 @@ -2674,11 +2674,16 @@ ').s -h +lideD ow +n (500
fa7851815c1b600bb5027791bdc1ccdab8409522
Fix macOS path fix
modules/gtp/index.js
modules/gtp/index.js
const {exec} = require('child_process') exports.Command = require('./command.js') exports.Response = require('./response.js') exports.Controller = require('./controller.js') // System paths are not inherited in macOS // This is a quick & dirty fix if (process.platform == 'darwin') { exec('echo $PATH', (err, resu...
JavaScript
0.000011
@@ -294,18 +294,34 @@ ec(' -echo $PATH +/bin/bash -ilc %22env; exit%22 ', ( @@ -362,16 +362,17 @@ return%0A +%0A @@ -396,16 +396,113 @@ = result +.trim().split('%5Cn')%0A .map(x =%3E x.split('='))%0A .find(x =%3E x%5B0%5D == 'PATH')%5B1%5D %0A %7D)%0A
958faa0b125caa979310b865a3be74959b0c824f
revert bundle.externals line to pass tests
frontend_build/src/read_bundle_plugins.js
frontend_build/src/read_bundle_plugins.js
'use strict'; /** * Bundle plugin Python config reader module. * @module readBundlePlugin */ var fs = require("fs"); var path = require("path"); var logging = require('./logging'); var execSync = require('child_process').execSync; var temp = require('temp').track(); var _ = require("lodash"); var parseBundlePlugin...
JavaScript
0
@@ -4613,75 +4613,18 @@ s = - _.extend(%7B%7D, externals, %7B kolibri: core_bundle.output.library %7D);%0A +externals;
2b0f9ecec98d105b9b0ac7cfdd160fbf0eedc982
reduce output from prettifier
import/prettifier.js
import/prettifier.js
var fs = require('fs'); function sortObject(obj, strict) { console.log(obj); if(obj instanceof Array) { var ary; if(strict) ary = obj.sort(); else ary = obj return ary } if(typeof obj === 'object') { //var fixed; //if(fixed = fixArrays(obj)) // return fixed; var tObj = {}; ...
JavaScript
0.999986
@@ -55,16 +55,18 @@ ct)%0A%7B%0A +// console. @@ -666,24 +666,26 @@ %0A %7D)%0A +// console.log(
f8c527d87d7548b4253b248a3967b9f49866f530
fix tests
src/utils/retrieve.test.js
src/utils/retrieve.test.js
// retrieve.test /* eslint-env jest */ import nock from 'nock' import retrieve from './retrieve.js' const parseUrl = (url) => { const re = new URL(url) return { baseUrl: `${re.protocol}//${re.host}`, path: re.pathname } } test('test retrieve from good source', async () => { const url = 'https://some...
JavaScript
0.000001
@@ -940,34 +940,147 @@ expect( +typeof result + ).toBe( -null) +'object')%0A expect(typeof result.error ).toBe('object');%0A expect(typeof result.error.message).toBe('string'); %0A%7D)%0A%0Ates @@ -1431,26 +1431,153 @@ ect( +typeof result + ).toBe( -null) +'object')%0A expect(typeof result.error ).toBe('...
5fc9549036f271703176fc0143d4a81ae2afdcf5
fix pagination for when failed fetch #815
routes/admin/authenticated/sidebar/activists/component/listable.js
routes/admin/authenticated/sidebar/activists/component/listable.js
import React from 'react' import { withApollo } from 'react-apollo' import { List } from 'immutable' export const ListableHOC = ({ // [gql]: Query carregamento dos dados. query, // [object | function]: Parametros utilizados na query caso exista. Se // função recebe `ownProps` e deve retornar um `object`. que...
JavaScript
0.000001
@@ -911,32 +911,39 @@ : true %7D)%0A +return this.props.clien @@ -1339,24 +1339,57 @@ %0A %7D)%0A + return Promise.resolve()%0A %7D).cat @@ -1525,32 +1525,67 @@ handle(err)%0A + return Promise.reject(err)%0A %7D)%0A %7D%0A%0A @@ -1663,151 +1663,425 @@ %7D, -this.f...
e2ffa7f89ec413cb102051fae07be0a42826b055
Return PENDING from 'getTestResult' if mainBrick has no testOutput
src/utils/unitTestUtils.js
src/utils/unitTestUtils.js
import { testColors } from '../components/constants' export const FAILING = 'failing' export const PASSING = 'passing' export const PENDING = 'pending' export const getTestResult = (mainBrick, unitTest) => { const testOutputId = mainBrick.testOutputIds[0] const brickValue = mainBrick.outputSlots[testOutputId].val...
JavaScript
0.999991
@@ -253,16 +253,63 @@ tIds%5B0%5D%0A +%0A if(!testOutputId) %7B%0A return PENDING%0A %7D%0A%0A const
f29475f96c9e4179805cbc0d986a19a19fef7bba
simplify viewmodel.joinKey
src/viewmodel/Viewmodel.js
src/viewmodel/Viewmodel.js
import { capture } from 'global/capture'; import ComputedNode from './nodes/ComputedNode'; import DataNode from './nodes/DataNode'; import { handleChange, mark } from 'shared/methodCallers'; export default class Viewmodel extends DataNode { constructor ( options ) { super( null, null ); this.isRoot = true; thi...
JavaScript
0.000049
@@ -1270,389 +1270,87 @@ %7B%0A%09%09 -if ( key === undefined %7C%7C key === '' ) return this;%0A%0A%09%09if ( this.mappings%5B key %5D ) %7B%0A%09%09%09return this.mappings%5B key %5D;%0A%09%09%7D%0A%0A%09%09if ( this.computations%5B key %5D ) %7B%0A%09%09%09return this.computations%5B key %5D;%0A%09%09%7D%0A%0A%09%0...
d6a532894df7b758629f5efb1f0a3e6cfec74fc4
add code to extract the guest swipes from the onecard dashboard
source/lib/financials/balances.js
source/lib/financials/balances.js
// @flow import {loadLoginCredentials} from '../login' import buildFormData from '../formdata' import {parseHtml, cssSelect, getTrimmedTextWithSpaces} from '../html' import {ONECARD_DASHBOARD} from './urls' import type {BalancesShapeType} from './types' import fromPairs from 'lodash/fromPairs' import * as cache from '....
JavaScript
0
@@ -2583,16 +2583,38 @@ ekly'%5D,%0A +%09%5B/meals/i, 'meals'%5D,%0A %5D)%0A%0Afunc @@ -3028,12 +3028,493 @@ t%5D%0A%09%09%7D%0A%09%7D%0A%7D%0A +%0Afunction getGuestSwipes(strings) %7B%0A%09// according to my sources, despite this having two numbers (per day and%0A%09// per week) the guest swipes are actually per _t...
b247025096343f59fcd6a52b6af7a3e82bdde77f
remove an unneeded level of View nesting
source/views/streaming/webcams.js
source/views/streaming/webcams.js
// @flow /** * All About Olaf * Webcams page */ import React from 'react' import {StyleSheet, View, Text, FlatList, Image, Platform} from 'react-native' import delay from 'delay' import {reportNetworkProblem} from '../../lib/report-network-problem' import {TabBarIcon} from '../components/tabbar-icon' import {Toucha...
JavaScript
0.001405
@@ -3506,43 +3506,8 @@ n (%0A - %3CView style=%7Bstyles.cell%7D%3E%0A @@ -3519,18 +3519,16 @@ uchable%0A - @@ -3552,18 +3552,16 @@ - underlay @@ -3574,26 +3574,24 @@ %7BbaseColor%7D%0A - acti @@ -3614,18 +3614,16 @@ - onPress= @@ -3641,36 +3641,69 @@ ePr...
2aeea6c4657ce122e54617310b1d4fc8ce7884cb
Allow `id` to be passed by default
modules/bindings/react/createComponent.js
modules/bindings/react/createComponent.js
/* @flow weak */ import { createElement, PropTypes } from 'react' export default function createComponent(rule, type = 'div', passThroughProps = []) { const FelaComponent = ({ children, className, style, passThrough = [], ...ruleProps }, { renderer, theme }) => { // filter props to extract props to pass through...
JavaScript
0
@@ -192,16 +192,20 @@ assName, + id, style, @@ -514,16 +514,43 @@ = style +%0A componentProps.id = id %0A%0A co
6b2ec7c81f8a8c34dd02472ad2d262f0901dca6e
Add jsonDateReviver() and timer() to helma/util
modules/helma/util.js
modules/helma/util.js
export('readOnlyPropertyDesc', 'writeOnlyPropertyDesc', 'readWritePropertyDesc'); /** * Create a read-only property descriptor to be used as third argument in * Object.defineProperty that maps a property to a property in * another object. * * The third argument is optional and can be used to define additional *...
JavaScript
0.000001
@@ -73,16 +73,44 @@ rtyDesc' +, 'jsonDateReviver', 'timer' );%0A%0A/**%0A @@ -2812,8 +2812,189 @@ )?)Z$/;%0A +%0Afunction timer(fn) %7B%0A var start = java.lang.System.nanoTime();%0A fn();%0A var stop = java.lang.System.nanoTime();%0A print(Math.round((stop - start) / 1000000), 'millis');%0A%7D
93db3dd5df27b6f345966b595d6297cc6ee2d551
Set default value for complete.
frontend/app/models/playlist.js
frontend/app/models/playlist.js
import Model from 'ember-data/model'; import {belongsTo, hasMany} from 'ember-data/relationships'; import attr from 'ember-data/attr'; export default Model.extend({ show: belongsTo('show'), showname: attr('string'), host: attr('string'), date: attr('string'), notes: attr('string'), complete: ...
JavaScript
0
@@ -327,16 +327,39 @@ boolean' +, %7BdefaultValue: false%7D ),%0A t
5064cdaf27594d5e5dd50d2bb450643705faac53
test semantic
modules/msgHandler.js
modules/msgHandler.js
var weConfig = require('../config') var OAuth = require('wechat-oauth') var WechatAPI = require('wechat-api') var client = new OAuth(weConfig.appid, weConfig.secret) var api = new WechatAPI(weConfig.appid, weConfig.secret) module.exports = function(req, res, next){ var msg = req.weixin if(msg.MsgType === 'ev...
JavaScript
0.001946
@@ -1270,31 +1270,42 @@ ' + -JSON.stringify( +semantic.event + semantic. semantic ))%0A @@ -1300,17 +1300,20 @@ semantic -) +Time )%0A
60174de895bc8e348363ac0f90c130043e7b7c6b
Fix the error in mongodb/connection.js
mongodb/connection.js
mongodb/connection.js
var mongoose = require('mongoose'); // var dbUrl = 'mongodb://username:password@mongodb:port/database'; // var dbUrl = 'mongodb://localhost/personalblog'; // var dbUrl = process.env.MONGO_DB_URL; var dbUrl = MONGODB_URI; mongoose.connect(dbUrl, { safe: true }); process.on('SIGINT', function() { mongoose.connection....
JavaScript
0.002964
@@ -201,16 +201,28 @@ dbUrl = +process.env. MONGODB_
4f4c8dc085702635a1f28da371a4e6f2672188b9
create vpnservice bugfix
modules/router/pop/create_tunnel/index.js
modules/router/pop/create_tunnel/index.js
var commonModal = require('client/components/modal_common/index'); var config = require('./config.json'); var request = require('../../request'); var __ = require('locale/client/dashboard.lang.json'); var getErrorMessage = require('../../../../utils/error_message'); var popTarget = require('./target_network'); var popS...
JavaScript
0
@@ -2472,35 +2472,61 @@ j.ikepolicies%5B0%5D -.id + ? obj.ikepolicies%5B0%5D.id : '' ,%0A @@ -2999,27 +2999,55 @@ cpolicies%5B0%5D -.id + ? obj.ipsecpolicies%5B0%5D.id : '' ,%0A @@ -3514,19 +3514,45 @@ vices%5B0%5D -.id + ? obj.vpnservices%5B0%5D.id : '' ,%0A
c8e594f0a6c7462986d5172dcdc88be8a1e322d6
Add test
spec/configurationManager.spec.js
spec/configurationManager.spec.js
'use strict'; var fs = require('fs'); var sh = require('shelljs'); var ConfigurationManager = require('../src/configuration-manager'); describe('Configuration manager', function() { var cManager = new ConfigurationManager(); describe('methods with config', function() { var dirName = 'config/'; var path =...
JavaScript
0.000005
@@ -2420,23 +2420,410 @@ ed);%0A %7D); +%0A%0A it('should incVersion', function() %7B%0A var expected = 'patch';%0A var type;%0A cManager.version.incVersion = function(newType) %7B%0A type = newType;%0A %7D;%0A spyOn(cManager.version, 'incVersion').and.callThrough();%0A%0A cM...
cef05a317d9734d1b52b2986d6e478dafa680273
check for selected sitecaptain before saving
gae/js/app/views/sitecaptain.js
gae/js/app/views/sitecaptain.js
define( [ 'backbone', 'backform', 'bootstrap', 'app/models/captain_choices', 'app/models/sitecaptain', 'app/views/model_select_control', 'text!app/templates/sitecaptains.html' ], function(Backbone, Backform, bootstrap, CaptainChoice, SiteCaptainModel, ...
JavaScript
0
@@ -2847,16 +2847,63 @@ label = + function()%7B%0A var captain = _.findW @@ -2970,14 +2970,199 @@ ')%7D) -.label +;%0A if(captain)%7B%0A return captain.label;%0A %7Delse%7B%0A return undefined;%0A ...
41898d4c06813ce7d8755835cef71cd1631b7fec
Allow forcing CE polyfill via script.
src/WebComponents/pre-polyfill.js
src/WebComponents/pre-polyfill.js
/** * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be f...
JavaScript
0
@@ -566,20 +566,33 @@ ct';%0A%0A -if ( +var forceShady = scope.fl @@ -603,16 +603,34 @@ shadydom +;%0A if (forceShady ) %7B%0A @@ -695,41 +695,98 @@ e = -scope.flags.shadydom;%0A %7D%0A%0A if ( +forceShady;%0A %7D%0A%0A var forceCE = scope.flags.register %7C%7C scope.flags.ce;%0A if (forceCE && win...
620fedd5f1a412e6e357772d1a7a978203393756
Fix other devices not moving to loading page
src/app/lobby/lobby.controller.js
src/app/lobby/lobby.controller.js
class LobbyController { constructor($scope, $state, $stateParams, SocketService) { 'ngInject'; this.$state = $state; this.SocketService = SocketService; this.roomName = $stateParams.roomName; $scope.$on('owner_disconnect', function(event, args) { alert('Computer disconnected from the game....
JavaScript
0.000001
@@ -364,115 +364,8 @@ %7D) -%0A %7D%0A%0A startGame() %7B%0A this.SocketService.send(%7B%0A type:'players_ready',%0A role:'player'%0A %7D); %0A%0A @@ -517,16 +517,123 @@ %7D%0A %7D%0A%0A + startGame() %7B%0A this.SocketService.send(%7B%0A type:'players_ready',%0A role:'player'%0...
72a74225124cd0c80e61af439c61f722f7e0a99b
Fix selected tab background color
src/app/panels/righthand-panel.js
src/app/panels/righthand-panel.js
var yo = require('yo-yo') var EventManager = require('ethereum-remix').lib.EventManager var tabbedMenu = require('../tabs/tabbed-menu') var compileTab = require('../tabs/compile-tab') var runTab = require('../tabs/run-tab') var settingsTab = require('../tabs/settings-tab') var analysisTab = require('../tabs/analysis-ta...
JavaScript
0
@@ -1339,60 +1339,8 @@ er;%0A - background-color: $%7Bstyles.colors.transparent%7D;%0A @@ -1473,126 +1473,8 @@ %7D%0A - .opts_li:active %7B%0A background-color: $%7Bstyles.colors.backgroundBlue%7D;%0A %7D%0A .opts_li a %7B%0A color: inherit;%0A %7D%0A .o