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 |
|---|---|---|---|---|---|---|---|
976baeeb70d532a14ba1ec49c1dc849920ce1daa | function typo | src/experiment/index.js | src/experiment/index.js | import React, { PropTypes } from 'react';
import ls from 'local-storage';
export default class Experiment extends React.Component {
componentDidMount() {
console.log(this.props.name);
}
generateRandomIndex = max => Math.floor(Math.random() * max);
pickVariant = => {
const self = this;
const cu... | JavaScript | 0.999957 | @@ -272,16 +272,18 @@
riant =
+()
=%3E %7B%0A
|
dcf9a46cf5a4bfa130b831f65c98cfa87b02aaad | Test some more | src/extensions/guild.js | src/extensions/guild.js | const { Structures } = require('discord.js');
const Command = require('../commands/base');
const GuildSettingsHelper = require('../providers/helper');
module.exports = Structures.extend('Guild', Guild =>
/**
* A fancier Guild for fancier people.
* @class CommandoGuild
* @extends Guild
*/
class CommandoGuild ... | JavaScript | 0 | @@ -253,30 +253,16 @@
* @class
- CommandoGuild
%0A%09 * @ex
|
ba84e1ef5eed285915a65a89c861065c345c7f9e | remove content script - we should communicate with the panel directly. | src/firefox/lib/main.js | src/firefox/lib/main.js | var buttons = require('sdk/ui/button/action');
var panels = require("sdk/panel");
var self = require("sdk/self");
const {Cu} = require("chrome");
Cu.import(self.data.url('freedom-for-firefox.jsm'));
// Main uProxy button.
var button = buttons.ActionButton({
id: "uProxy-button",
label: "uProxy-button",
icon: {
... | JavaScript | 0 | @@ -754,430 +754,8 @@
ml%22)
-,%0A contentScriptFile: %5B%0A self.data.url(%22scripts/port.js%22),%0A self.data.url(%22scripts/user.js%22),%0A self.data.url(%22scripts/uproxy.js%22),%0A self.data.url(%22scripts/ui.js%22),%0A self.data.url(%22scripts/firefox_browser_api.js%22),%0A self.... |
c9e73a2ceac928388b579a065ebeec83432aea07 | Revert "Fix use of no-flags/always-on-flag: 'js'" | src/foam/nanos/nanos.js | src/foam/nanos/nanos.js | /**
* @license
* Copyright 2017 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
FOAM_FILES([
{ name: "foam/nanos/auth/ChangePassword" },
{ name: "foam/nanos/auth/EnabledAware" },
{ name: "foam/nanos/auth/EnabledAwareInterface", flags: ['java'] },
{ name: "foam/nanos/a... | JavaScript | 0 | @@ -208,32 +208,47 @@
th/EnabledAware%22
+, flags: %5B'js'%5D
%7D,%0A %7B name: %22f
@@ -423,24 +423,39 @@
difiedAware%22
+, flags: %5B'js'%5D
%7D,%0A %7B name
@@ -568,16 +568,31 @@
ByAware%22
+, flags: %5B'js'%5D
%7D,%0A %7B
|
dc8c982265a246a9b3c81e28f78dca4cf5418a0c | bump build number | src/front/app.config.js | src/front/app.config.js | import 'dotenv/config';
const baseBundleId = 'gov.dts.ugrc.utahwvcr';
const bundleIds = {
development: `${baseBundleId}.dev`,
staging: `${baseBundleId}.staging`,
production: baseBundleId,
};
const bundleId = bundleIds[process.env.ENVIRONMENT];
const names = {
development: 'WVC Reporter (Dev)',
staging: 'WVC ... | JavaScript | 0.000001 | @@ -439,9 +439,9 @@
= 52
-7
+8
;%0A%0Ae
|
9c6b3259a95bf87140fbd352d4420157b008f3d9 | Update variable name. | apps/mp-votes/transcriptScraper/excel.js | apps/mp-votes/transcriptScraper/excel.js | var path = require('path');
var urlInfo = require('url');
var when = require('q');
var $ = require('cheerio');
var csv = require('../../../common/node/csv-util');
var Downloader = require('../../../common/node/downloader');
var Convertor = require('../../../common/node/spreadsheet2csv-node');
var Scraper = function(... | JavaScript | 0 | @@ -501,15 +501,8 @@
gger
-Service
;%0A%09t
|
fdc4d2e9beb72fcdca745c23a724351ad9d48f32 | Update simple-table.js | addon/components/simple-table.js | addon/components/simple-table.js | import Ember from 'ember';
import layout from '../templates/components/simple-table';
const { A: emberA, computed, get, set, isEmpty } = Ember;
export default Ember.Component.extend({
layout,
tagName: 'table',
defaultSorting: null, // injected
sortingCriteria: computed('tColumns', {
get() {
let co... | JavaScript | 0 | @@ -766,16 +766,32 @@
ata.%5B%5D',
+ defaultSorting,
%7B%0A g
|
6f16dba6316412f4b2f6c4bda200fe966b6c14b7 | Update Committee.js | src/components/Home/Committees/Committee.js | src/components/Home/Committees/Committee.js | import React from 'react';
function Committee(props){
return (
<a
className={`committee ${props.committee.class}`}
target="_blank" rel="noreferrer noopener"
href={props.committee.links.main}
>
<img src={process.env.PUBLIC_URL + props.committee.image} alt={`Logo and Wordmark for ACM ${props.committe... | JavaScript | 0.000001 | @@ -195,14 +195,8 @@
link
-s.main
%7D %0A%09
|
28bad0fa0110853130b9f65f0f60a71ede34c51c | Update moment-from-now.js | addon/helpers/moment-from-now.js | addon/helpers/moment-from-now.js | import Ember from 'ember';
import moment from 'moment';
const { later:runLater } = Ember.run;
export var helperFactory = function(cb) {
let ago;
if (Ember.Helper) {
ago = Ember.Helper.extend({
compute: function(params, hash) {
if (typeof cb === 'function') {
cb();
}
if... | JavaScript | 0 | @@ -501,16 +501,25 @@
ompute,
+parseInt(
hash.int
@@ -523,16 +523,21 @@
interval
+, 10)
);%0A
|
9468a17a124b45f57b4331e2b53efa277755b9f9 | Update agent-stats-group-badges.user.js | agent-stats-group-badges.user.js | agent-stats-group-badges.user.js | // ==UserScript==
// @name Agent Stats Group Badges
// @namespace https://github.com/finntaur/monkey
// @version 0.1.201505190200
// @description Colorize group view cells in Agent Stats based on related badges.
// @include https://www.agent-stats.com/groups.php*
// @include http://www.agent-stats.com/... | JavaScript | 0 | @@ -127,16 +127,16 @@
.201
-50519020
+60408125
0%0A//
@@ -1345,16 +1345,54 @@
SpecOps%0A
+ %5B1, 3, 6, 10, 20%5D, // Mission Day%0A
%5B200
@@ -1684,17 +1684,17 @@
& j %3C= 2
-1
+2
) %7B%0A
|
afd636d174638de7035e1da70a327ff319d330f8 | Fix bug that stopped apps from displaying | ui/src/hosts/components/HostsTable.js | ui/src/hosts/components/HostsTable.js | import React, {PropTypes} from 'react';
import {Link} from 'react-router';
import _ from 'lodash';
const HostsTable = React.createClass({
propTypes: {
hosts: PropTypes.arrayOf(PropTypes.shape({
name: PropTypes.string,
cpu: PropTypes.number,
load: PropTypes.number,
apps: PropTypes.arrayOf(... | JavaScript | 0.000001 | @@ -33,16 +33,75 @@
react';%0A
+import shallowCompare from 'react-addons-shallow-compare';%0A
import %7B
@@ -4173,27 +4173,28 @@
urn
-this.props.host !==
+shallowCompare(this,
nex
@@ -4203,13 +4203,9 @@
rops
-.host
+)
;%0A
@@ -4307,16 +4307,17 @@
= host;%0A
+%0A
retu
|
ce3a96189a791cfb3c4d834105bcd47790f1d443 | use path module instead of regex and string concat | es6-website/Brocfile.js | es6-website/Brocfile.js | // Babel transpiler
var babel = require('broccoli-babel-transpiler');
// filter trees (subsets of files)
var funnel = require('broccoli-funnel');
// concatenate trees
var concat = require('broccoli-concat');
// merge trees
var mergeTrees = require('broccoli-merge-trees');
// Transpile the source files
var appJs = babe... | JavaScript | 0 | @@ -1,8 +1,59 @@
+// Node path module%0Aconst path = require('path');%0A%0A
// Babel
@@ -371,24 +371,80 @@
el('src');%0A%0A
+// Grab the polyfill file provided by the Babel library%0A
// Grab the
@@ -565,43 +565,30 @@
h =
-babelPath.replace(/%5C/index.js$/, ''
+path.dirname(babelPath
);%0Ab
@@ -600,10 +600,30 @@... |
6b7e95cf9e6e51622bf9473132e44a8d4d51945c | Improve messaging for first time account creation flow. | events/createAccount.js | events/createAccount.js | 'use strict';
/**
* Create an account
* Stages:
*
* done: This is always the end step, here we register them in with
* the rest of the logged in players and where they log in
*
* @param object arg This is either a Socket or a Player depending on
* the stage.
* @param string stag... | JavaScript | 0 | @@ -2062,16 +2062,74 @@
.write('
+Your password must be between 6 and 30 characters.%5Cn%3Ccyan%3E
Enter yo
@@ -2148,16 +2148,23 @@
assword:
+%3C/cyan%3E
');%0A
|
4312d7f54d09cdc33ebd071ef2c06c62b4a191f8 | remove user report case from moderationLog event | events/moderationLog.js | events/moderationLog.js | /**
* @file moderationLog event
* @author Sankarsan Kampa (a.k.a k3rn31p4nic)
* @license GPL-3.0
*/
/**
* @param {Message} message The message that fired this moderation action
* @param {string} action The moderation action's name
* @param {User|Channel} target The target on which this action was taken
* @para... | JavaScript | 0.000002 | @@ -3658,450 +3658,8 @@
k;%0A%0A
- case 'report':%0A action = message.client.i18n.event(guild.language, 'userReport');%0A color = message.client.colors.ORANGE;%0A logData.splice(logData.length - 2, 2,%0A %7B%0A name: 'Reporter',%0A value: %60$%7Bexecutor%7D%60,%... |
15b1e905e6404c6b77fd13b3b43419559fcec33d | Remove console log statements | src/helpers/reformat.js | src/helpers/reformat.js | import flatten from 'flat';
export function reformatColumns(items) {
const flatList = items.map((item) => flatten(item, { maxDepth: 2 }));
const reformattedList = rotateOnTeam(flatList);
const itemsByFeature = groupByFeature(reformattedList);
const concatObj = concatOnProperties(reformattedList);
const concatL... | JavaScript | 0.000002 | @@ -350,76 +350,8 @@
);%0A%0A
-%09console.log(%7B concatObj %7D);%0A%0A%09console.log('Output:', concatList);%0A%0A
%09ret
|
15b403a7c05d6bb4c58b3cb173d772a4e5ee59ed | Update InMemoryDriver.js | src/deep-cache/lib/Driver/InMemoryDriver.js | src/deep-cache/lib/Driver/InMemoryDriver.js | /**
* Created by AlexanderC on 6/16/15.
*/
'use strict';
import {AbstractDriver} from './AbstractDriver';
/**
* In memory driver implementation
*/
export class InMemoryDriver extends AbstractDriver {
constructor() {
super();
this._storage = {};
}
/**
* @returns {Object}
*/
get storage() {... | JavaScript | 0 | @@ -589,21 +589,23 @@
let
-resul
+timedOu
t = this
@@ -658,14 +658,15 @@
if (
-!resul
+timedOu
t) %7B
@@ -770,14 +770,12 @@
ll,
-result
+true
);%0A
|
d5512bcf6757954a96522a53a878640687402bce | Fix delayed re-render promise resolution | packages/second-renderer/src/index.js | packages/second-renderer/src/index.js | import Promise from 'bluebird'
import debug from 'debug'
const INITIAL_RERENDER_DELAY = 100
const log = debug('second:renderer')
export default class Renderer {
constructor ({ VDom, VDomServer, componentIsReady = () => true }) {
this.VDom = VDom
this.VDomServer = VDomServer
this.componentIsReady = compo... | JavaScript | 0.000001 | @@ -1140,37 +1140,38 @@
s.%60)%0A%0A re
-turn
+solve(
Promise.delay(de
@@ -1234,32 +1234,33 @@
ponent, params))
+)
%0A %7D%0A%0A
@@ -1311,16 +1311,17 @@
Name%7D%60)%0A
+%0A
re
|
ddd8260e4b49c178640a0e3314627c1bb5d8f70e | Update deprecation wording to be less aggressive | src/isomorphic/React.js | src/isomorphic/React.js | /**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModu... | JavaScript | 0.000002 | @@ -2049,20 +2049,20 @@
can use
-your
+this
mixin d
|
d58d16b403c4ced538344ae1a1111da666b1514b | change scope for domImage in insertImage | src/js/addons/Images.js | src/js/addons/Images.js | import utils from '../utils';
export default class Images {
constructor(plugin, options) {
this.options = {
label: '<span class="fa fa-camera"></span>',
preview: true,
uploadUrl: 'upload.php'
};
Object.assign(this.options, options);
this._plugin = plugin;
this._editor = this._plugin.... | JavaScript | 0 | @@ -2668,17 +2668,17 @@
t('img')
-,
+;
%0A
@@ -2670,35 +2670,35 @@
'img');%0A
-
+let
domImage = new
@@ -2686,38 +2686,24 @@
let domImage
- = new Image()
;%0A%0A i
@@ -3044,32 +3044,68 @@
%7D else %7B%0A
+ domImage = new Image();%0A
domI
|
7000f6bbef4cd133d10d91f10869aa29d2cf2b16 | Update jsPerf_CNNHeightWidthResize.js | CNN/jsPerf/jsPerf_CNNHeightWidthResize.js | CNN/jsPerf/jsPerf_CNNHeightWidthResize.js | //import * as ChannelShuffler from "../Layer/ChannelShuffler.js";
/**
* Test different resize implementation for CNN.
*
* @see {@link https://jsperf.com/colorfulcakechen-cnn-height-width-resize}
*/
/**
* A test set.
*/
class HeightWidthDepth {
/**
* @param {number} height image height
* @param {nu... | JavaScript | 0.000002 | @@ -1228,24 +1228,86 @@
tiplier %5D;%0A%0A
+ let filterSize = tf.util.sizeFromShape( filtersShape );%0A
let fi
@@ -1332,34 +1332,29 @@
.range(
-1, this.valueCount
+0, filterSize
, 1 );%0A
|
f763ffa562d5f080edbaf224819be77029322f61 | Update JS | src/js/pebble-js-app.js | src/js/pebble-js-app.js | if(Pebble.getActiveWatchInfo) {
if(Pebble.getActiveWatchInfo().platform.match("basalt")) {
// This is the Basalt platform
Pebble.addEventListener('ready', function() {
console.log('PebbleKit JS ready on Basalt!');
});
} else {
// This is the Aplite platform
Pebble.addEventListener('r... | JavaScript | 0 | @@ -25,18 +25,12 @@
Info
-) %7B%0A%0A if(
+ &&
Pebb
@@ -65,29 +65,25 @@
form
-.match(%22
+ === '
basalt
-%22)
+'
) %7B%0A
-%0A
@@ -228,175 +228,8 @@
);
-%0A%0A %7D else %7B%0A%0A // This is the Aplite platform%0A Pebble.addEventListener('ready', function() %7B%0A console.log('PebbleKit JS re... |
db39c5d574394277b1ffb73d9059283527b3aede | add appendChild override; move utility function to bottom of module | Components/ShadowDOM/polyfill/LightDOM.js | Components/ShadowDOM/polyfill/LightDOM.js | (function(scope) {
var moveChildren = function(element, upgrade) {
var n$ = element.insertions;
if (n$) {
element.insertions = null;
// clean up left-over content rendered from insertions
element.textContent = '';
} else {
n$ = [];
forEach(element.childNodes, function(n) {
n$.push(n);... | JavaScript | 0 | @@ -15,387 +15,8 @@
e) %7B
-%0A %0Avar moveChildren = function(element, upgrade) %7B%0A var n$ = element.insertions;%0A if (n$) %7B%0A element.insertions = null;%0A // clean up left-over content rendered from insertions%0A element.textContent = '';%0A %7D else %7B%0A n$ = %5B%5D;%0A forEach(element.... |
b5254a0206304077138393ea88916b1b0aa72189 | Update matlab.js | src/languages/matlab.js | src/languages/matlab.js | /*
Language: Matlab
Author: Denis Bardadym <bardadymchik@gmail.com>
Contributors: Eugene Nizhibitsky <nizhibitsky@ya.ru>
Category: scientific
*/
function(hljs) {
var COMMON_CONTAINS = [
hljs.C_NUMBER_MODE,
{
className: 'string',
begin: '\'', end: '\'',
contains: [hljs.BACKSLASH_ESCAPE, {beg... | JavaScript | 0.000001 | @@ -1974,16 +1974,218 @@
ilkinson
+ max min nanmax nanmin mean nanmean type table ' +%0A 'readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun ' +%0A 'legend intersect ismember procrustes hold num2cell
'%0A %7D,
|
defd42f74e73584bf29225da6efb8338097f5e8d | fix fallback on VM. | packages/xo-acl-resolver/src/index.js | packages/xo-acl-resolver/src/index.js | // These global variables are not a problem because the algorithm is
// synchronous.
let permissionsByObject
let getObject
// -------------------------------------------------------------------
const authorized = () => true // eslint-disable-line no-unused-vars
const forbiddden = () => false // eslint-disable-line no... | JavaScript | 0 | @@ -1828,18 +1828,13 @@
nst
-%7B VM: vm %7D
+vbdId
of
@@ -1879,10 +1879,27 @@
ion(
-vm
+getObject(vbdId).VM
, pe
|
825757ca20e3bee91cc42449ef7c32b04d8145e7 | Fix Radio | src/components/Radio.js | src/components/Radio.js | var blacklist = require('blacklist');
var classNames = require('classnames');
var React = require('react/addons');
var Radio = React.createClass({
propTypes: {
inline: React.PropTypes.bool,
label: React.PropTypes.string
},
render() {
var componentClass = classNames('Radio', {
'Radio--disabled': this.props.... | JavaScript | 0.000003 | @@ -155,16 +155,87 @@
ypes: %7B%0A
+%09%09className: React.PropTypes.string,%0A%09%09disabled: React.PropTypes.bool,%0A
%09%09inline
@@ -519,18 +519,16 @@
abel');%0A
-%09%09
%0A%09%09retur
|
34458c5654dfd25dc7fc0fcffd9eff5cda57f27f | fix build err | src/components/index.js | src/components/index.js | export {default as Carousel} from './carousel/Carousel.vue'
export {default as Slide} from './carousel/Slide.vue'
export {default as Collapse} from './collapse/Collapse.vue'
export {default as Dropdown} from './dropdown/Dropdown.vue'
export {default as Modal} from './modal/Modal.vue'
export {default as Tab} from './tab... | JavaScript | 0.000001 | @@ -1339,10 +1339,14 @@
tiSelect
+.vue
'%0A
|
f6065830f442d55f403b53968db3c1540ae0c361 | Update Header comment | src/main/webapp/components/BuildSnapshot.js | src/main/webapp/components/BuildSnapshot.js | import * as React from "react";
import {getFields} from "./utils/getFields.js";
import {Wrapper} from "./Wrapper.js";
/**
* Component used to render Build Information.
*
* @param {*} props input properties containing build information
*/
export const BuildSnapshot = (props) => {
// State variable indicating whet... | JavaScript | 0 | @@ -1115,15 +1115,12 @@
ield
-.
%0A *
- ,
whi
|
89dea3270e28a15a55a9d88b5341725e8a75f9e8 | Add Classname to timestamp element and Add current bot element | src/main/webapp/components/BuildSnapshot.js | src/main/webapp/components/BuildSnapshot.js | import * as React from "react";
import {getFields} from "./utils/getFields.js";
/**
* Component used to render Build Information.
*
* @param {*} props input properties containing build information
*/
export const BuildSnapshot = (props) => {
// State variable indicating whether the BuildSnapshot is open or close... | JavaScript | 0 | @@ -1808,20 +1808,16 @@
iv class
-name
=%22tray%22%3E
@@ -1828,16 +1828,38 @@
%3Cspan
+ class=%22tray-timespan%22
%3E%7Bprops.
@@ -1896,18 +1896,39 @@
div%3E
-bot n
+%3Cspan%3ECurrent Bot N
ame%3C/
+span%3E%3C/
div%3E
|
9d2c138c7dbc54519ba9574a2e8290fc10e0593a | Remove useless code | src/mist/io/static/js/app/views/key_list.js | src/mist/io/static/js/app/views/key_list.js | define('app/views/key_list', [
'app/views/mistscreen',
'text!app/templates/key_list.html',
'ember'
],
/**
* Key List View
*
* @returns Class
*/
function(MistScreen, key_list_html) {
return MistScreen.extend({
template: Ember.Handlebars.compile(key_list_h... | JavaScript | 0.001027 | @@ -356,156 +356,8 @@
l,%0A%0A
- inti: function() %7B%0A this._super();%0A $(%22input%5Btype='checkbox'%5D%22).checkboxradio(%22refresh%22);%0A %7D,%0A%0A
|
453483f6a3cfb15e43f5f0c767f0467fc57f07be | Use isPlainObject instead of isObject | src/constructors/css.js | src/constructors/css.js | import camelize from 'fbjs/lib/camelizeStyleName'
import isObject from "lodash/isObject"
import rule from "./rule"
import MediaQuery from "../models/MediaQuery"
import RuleSet from "../models/RuleSet";
import NestedSelector from "../models/NestedSelector";
import ValidRuleSetChild from "../models/ValidRuleSetChild";
... | JavaScript | 0.000398 | @@ -52,16 +52,21 @@
mport is
+Plain
Object f
@@ -79,16 +79,21 @@
odash/is
+Plain
Object%22%0A
@@ -1538,26 +1538,24 @@
SS-in-JS */%0A
-
%7D else if
@@ -1557,16 +1557,21 @@
e if (is
+Plain
Object(i
|
ebc98f49848236a19a7054609e113710df810971 | Rename classname | src/models/Websocket.js | src/models/Websocket.js | import MessageConstants from '../constants/MessageConstants'
const STATE_CONNECTING = 0
const STATE_OPEN = 1
const STATE_CLOSING = 2
const STATE_CLOSED = 3
const socketProperty = Symbol()
const callbackProperty = Symbol()
class WebsocketWrapper {
constructor(url, callback) {
this.address = url
this.message... | JavaScript | 0.000006 | @@ -233,23 +233,16 @@
ebsocket
-Wrapper
%7B%0A con
@@ -1767,12 +1767,5 @@
cket
-Wrapper
%0A
|
bd29faee303f61e6883fd1bdf222119e64dfec80 | Remove stage prefix from auth event methodArn | src/createAuthScheme.js | src/createAuthScheme.js | 'use strict';
const Boom = require('boom');
const createLambdaContext = require('./createLambdaContext');
const functionHelper = require('./functionHelper');
const debugLog = require('./debugLog');
const _ = require('lodash');
module.exports = function createAuthScheme(authFun, authorizerOptions, funName, endpointPa... | JavaScript | 0 | @@ -1839,16 +1839,62 @@
est.path
+.replace(new RegExp(%60%5E/$%7Boptions.stage%7D%60), '')
%7D%60,%0A
|
ea9094832802996c86864bf517f5d9eb8c792f5f | Add missing negative entries. | src/data/color-fonts.js | src/data/color-fonts.js | define(function () {
return {
name: "Color fonts",
description: "Four color font formats are currently in existence: three OpenType proposals, one proprietary. Support is fragmented. When unsupported, the browser will fall back to regular glyphs in the font. Read about [the differences of the formats](http://... | JavaScript | 0.000005 | @@ -407,24 +407,80 @@
browsers: %5B%0A
+ %7B name: %22ie%22, range: %22-10%22, support: %22no%22 %7D,%0A
%7B name
@@ -613,32 +613,88 @@
upport: %22no%22 %7D,%0A
+ %7B name: %22firefox%22, range: %22-35%22, support: %22no%22 %7D,%0A
%7B name: %22f
@@ -827,32 +827,87 @@
upport: %22no%22 %7... |
99aed9048c50c49bcd8d143d7a39505bafef68b7 | add fix rights user | GruntTasks/Options/concat.orchestracss.js | GruntTasks/Options/concat.orchestracss.js | module.exports = {
src: [
'web/built/openorchestrabackoffice/css/openorchestra.css',
'web/built/openorchestrabackoffice/css/template.css',
'web/built/openorchestrabackoffice/css/blocksPanel.css',
'web/built/openorchestrabackoffice/css/blocksIcon.css',
'web/built/openorchestra... | JavaScript | 0.000001 | @@ -645,14 +645,8 @@
dmin
-Bundle
/css
|
1491a96e3ca589d886e7679db0f9fdb7b99874dc | Add list table columns feature for MySQL | src/db/clients/mysql.js | src/db/clients/mysql.js | import mysql from 'mysql';
const debug = require('../../debug')('db:clients:mysql');
const mysqlErrors = {
ER_EMPTY_QUERY: 'ER_EMPTY_QUERY',
};
export default function(server, database) {
return new Promise(async (resolve, reject) => {
const dbConfig = _configDatabase(server, database);
debug('creating ... | JavaScript | 0 | @@ -902,32 +902,102 @@
utines(client),%0A
+ listTableColumns: (table) =%3E listTableColumns(client, table),%0A
executeQ
@@ -2725,32 +2725,566 @@
%7D);%0A %7D);%0A%7D%0A%0A
+export function listTableColumns(client, table) %7B%0A return new Promise((resolve, reject) =%3E %7B%0A const sql = %60%0... |
4875769e5f7b38642e76ef8996058b644b45aae2 | Save 'lifetime' preference for created default containers | src/defaultContainer.js | src/defaultContainer.js | import {formatString} from './utils';
import HostStorage from './Storage/HostStorage';
import ContextualIdentities from './ContextualIdentity';
import ExtendedURL from './ExtendedURL';
export async function buildDefaultContainer(preferences, url) {
url = new ExtendedURL(url);
let name = preferences['defaultContain... | JavaScript | 0.000001 | @@ -177,16 +177,77 @@
dedURL';
+%0Aimport PreferenceStorage from './Storage/PreferenceStorage';
%0A%0Aexport
@@ -1384,16 +1384,228 @@
%7D%0A %7D%0A%0A
+ const lifetime = preferences%5B'defaultContainer.lifetime'%5D;%0A if(lifetime !== 'forever')%7B%0A await PreferenceStorage.set(%7B%0A key: %60containers... |
94585f0e845e2d0537b32caa154514bcccf81c96 | Implement SettingsSchema.sites. | src/resolvers-cassandra/Settings/queries.js | src/resolvers-cassandra/Settings/queries.js | 'use strict';
const Promise = require('promise');
const facebookAnalyticsClient = require('../../clients/facebook/FacebookAnalyticsClient');
/**
* @param {{siteId: string}} args
* @returns {Promise.<{runTime: string, sites: Array<{name: string, properties: {targetBbox: number[], defaultZoomLevel: number, logo: stri... | JavaScript | 0 | @@ -139,442 +139,1852 @@
');%0A
-%0A/**%0A * @param %7B%7BsiteId: string%7D%7D args%0A * @returns %7BPromise.%3C%7BrunTime: string, sites: Array%3C%7Bname: string, properties: %7BtargetBbox: number%5B%5D, defaultZoomLevel: number, logo: string, title: string, defaultLocation: number%5B%5D, storageConnectionString: str... |
1cfdf1d15d5a403c752f17cb7b0d4a30f20336ce | remove unused leftovers from when Editor had selector logic | Selector.js | Selector.js | define(["dojo/on", "dojo/aspect", "dojo/_base/sniff", "put-selector/put", "dojo/query"], function(on, aspect, has, put, query){
return function(column, type){
// accept arguments as parameters to Selector function, or from column def
column.type = type = type || column.type;
column.sortable = false;
var grid;... | JavaScript | 0.000001 | @@ -2212,36 +2212,8 @@
ut =
- cell.input %7C%7C (cell.input =
put
@@ -2343,17 +2343,16 @@
ex%0A%09%09%09%7D)
-)
;%0A%0A%09%09%09if
|
341d4be486f0712653e882318d3711c219d87f17 | missing displayName | Triangle.js | Triangle.js | 'use strict';
import React from 'react';
import {
StyleSheet,
View
} from 'react-native';
var createReactClass = require('create-react-class');
var PropTypes = require('prop-types')
var Triangle = createReactClass({
propTypes: {
direction: PropTypes.oneOf(['up', 'right', 'down', 'left', 'up-right', 'up-... | JavaScript | 0.998501 | @@ -215,16 +215,48 @@
tClass(%7B
+%0A %0A displayName: 'Triangle',
%0A%0A pro
|
72edc374c18037e5cd806dc40355a903ab9e1b02 | Unsigned +username != null | Unsigned.js | Unsigned.js | javascript:
(function(){
var myPrefix = wpTextbox1.value.substring(0, wpTextbox1.selectionStart);
var mySuffix = wpTextbox1.value.substring(wpTextbox1.selectionEnd);
var username = prompt("Username");
if (username !== "") {
wpTextbox1.value = myPrefix + "{{subst:unsigned|" + username + "}}" + mySuffix;
wpSummary.val... | JavaScript | 0.944171 | @@ -214,16 +214,37 @@
e !== %22%22
+ && username !== null
) %7B%0A%09wpT
|
8437e9e1e3776683f31c82236327f822640f69d7 | check if document is defined to support :rocket: fastboot | addon/components/file-dropzone/component.js | addon/components/file-dropzone/component.js | import Ember from 'ember';
import layout from './template';
import DataTransfer from '../../system/data-transfer';
import uuid from '../../system/uuid';
const { $, get, set, computed } = Ember;
const { bind } = Ember.run;
const { service } = Ember.inject;
const DATA_TRANSFER = 'DATA_TRANSFER' + uuid.short();
let sup... | JavaScript | 0 | @@ -346,16 +346,62 @@
return
+window.hasOwnProperty('document') &&%0A
'draggab
|
e38612fb5788a7708e6e0573b53617a3925c64e7 | integrate geo angular functionality | routes/bike-route.js | routes/bike-route.js | 'use strict';
const Router = require('express').Router;
const jsonParser = require('body-parser').json();
const createError = require('http-errors');
const debug = require('debug')('fit-O-matic:bike-route');
const fs = require('fs');
const path = require('path');
const del = require('del');
const multer = require('mu... | JavaScript | 0.000001 | @@ -2685,32 +2685,44 @@
ID', bearerAuth,
+ jsonParser,
function(req, r
@@ -2763,24 +2763,77 @@
/:bikeID');%0A
+ debug('------------------------------', req.body);%0A
if(Object.
@@ -2903,25 +2903,24 @@
request'));%0A
-%0A
Bike.findB
|
4c6b04ecff94be5439eadadf1ecb80437d505800 | delete committee | routes/committees.js | routes/committees.js | var express = require('express');
var router = express.Router();
router
.route('/')
.get(function(req, res, next) {
req.models
.committee
.find({})
.then(function(committees){
res.send(committees);
})
.catch(function(err){
next(err)
})
... | JavaScript | 0.000001 | @@ -1349,16 +1349,154 @@
next) %7B%0A
+ req.models%0A .committee%0A .destroy(req.params.id)%0A .then(function()%7B%0A res.status(204).send();%0A %7D)
%0A %7D);
|
90b64339dc66063645a00a961554c7f9c6610268 | fix config editForm is not defined | routes/configEdit.js | routes/configEdit.js | 'use strict';
const linz = require('../');
/* GET /admin/config/:config/overview */
var route = function (req, res, next) {
linz.api.model.generateForm(req.linz.model, {
record: req.linz.record,
type: 'edit',
})
.then(editForm => Promise.all([
linz.api.views.getScripts(req... | JavaScript | 0.000001 | @@ -120,16 +120,40 @@
ext) %7B%0A%0A
+ let editForm = %7B%7D;%0A%0A
linz
@@ -274,19 +274,69 @@
hen(
-editForm =%3E
+(form) =%3E %7B%0A%0A editForm = form;%0A%0A return
Pro
@@ -346,16 +346,20 @@
e.all(%5B%0A
+
@@ -408,34 +408,42 @@
-%7B%0A
+ %7B%0A ... |
99a6998f0837c51a2c17555037025344200fad6c | Add test case to check if belongs to relation returns correct object | test/feature/relations/BelongsTo.spec.js | test/feature/relations/BelongsTo.spec.js | import { createStore, createState } from 'test/support/Helpers'
import Model from 'app/model/Model'
describe('Features – Relations – Belongs To', () => {
class User extends Model {
static entity = 'users'
static fields () {
return {
id: this.attr(null)
}
}
}
class Post extends M... | JavaScript | 0.000006 | @@ -1925,32 +1925,485 @@
expected)%0A %7D)%0A%0A
+ it('returns created record from %60create%60 method', async () =%3E %7B%0A const store = createStore(%5B%7B model: User %7D, %7B model: Post %7D%5D)%0A%0A const result = await store.dispatch('entities/posts/create', %7B%0A data: %7B%0A id: 1,%0A ... |
6b9f60ecc1eb4ea8f4c1cdb95ad41a6b3a630d6e | Add credited instrument option | mbz-setinstrument.user.js | mbz-setinstrument.user.js | // ==UserScript==
// @name MusicBrainz: Batch-set recording-artist instrument
// @author loujine
// @version 2015.6.8
// @downloadURL https://bitbucket.org/loujine/musicbrainz-scripts/src/default/mbz-setinstrument.user.js
// @description musicbrainz.org: Convert to "string" instrument AR on selecte... | JavaScript | 0.000001 | @@ -839,24 +839,32 @@
function set
+Credited
Instrument(a
@@ -868,16 +868,24 @@
t(attrId
+, credit
) %7B%0A
@@ -1351,16 +1351,71 @@
attr%5D);%0A
+ if (rel.attributes().length %3E 0) %7B%0A
@@ -1457,26 +1457,34 @@
dAs(
-'string quartet');
+credit);%0A %7D
%0A
@@ ... |
52cba41e127d152fde474c42a49d6d2fa17cbc3b | fix queue link opening log modal on mobile rev (bug 910828) | media/js/mkt/reviewers.js | media/js/mkt/reviewers.js | require(['prefetchManifest']);
(function() {
if (z.capabilities.mobile) {
z.body.addClass('mobile');
}
if (z.capabilities.tablet) {
z.body.addClass('tablet');
}
if (z.capabilities.desktop) {
z.body.addClass('desktop');
}
// Reviewer tool search.
initAdvancedMo... | JavaScript | 0 | @@ -4596,35 +4596,37 @@
);%0A $
-log
+queue
TabOverlay.show(
|
7056c1a244a0e152600578cfd2e28210657cd951 | rename _v to _value in repeat scope | avalon/bundle/angulate-0.1.0/angulate.js | avalon/bundle/angulate-0.1.0/angulate.js | /**
* AngulateJS v0.1.0
* Copyright 2013, Hybrid Labs
* License: MIT
*/
;
(function(global) {
'use strict';
var angular = global.angular;
var angulate = global.angulate = angular.module('angulate', []);
var templates = {};
/* Helpers */
function exception(element) {
var args =... | JavaScript | 0.000019 | @@ -2327,16 +2327,20 @@
scope._v
+alue
&& scop
@@ -2343,16 +2343,20 @@
scope._v
+alue
%5Bname%5D !
@@ -2423,16 +2423,20 @@
') + '_v
+alue
.' + nam
@@ -2630,16 +2630,20 @@
scope._v
+alue
== unde
@@ -3136,16 +3136,20 @@
at = '_v
+alue
in ' +
|
0cacc1182e66fe3cc8ac68639309b1bc5c8714b2 | Remove leftover `console.log` in `clever env import` | src/models/variables.js | src/models/variables.js | 'use strict';
const readline = require('readline');
const _ = require('lodash');
const Bacon = require('baconjs');
function parseLine (line) {
const p = line.split('=');
const key = p[0];
p.shift();
const value = p.join('=');
if (line.trim()[0] !== '#' && p.length > 0) {
return [key.trim(), value.trim(... | JavaScript | 0 | @@ -1055,33 +1055,8 @@
%3E %7B%0A
- console.log(vars);%0A
|
63110f4ff16f093c5621b0ab5ae5676b005efe95 | Set up for TTC's TeamCity | Settings.js | Settings.js | var Settings = {
//The url that points to team city
teamCityUrl: 'http://tclive:8111',
//The main branch to show the master build status on the right hand panel on the screen
mainBranch: 'develop',
//Proxy to handle the cross domain ajax request.
// This will need to be hosted on the relevant... | JavaScript | 0 | @@ -76,22 +76,35 @@
http
+s
://
-tclive:8111
+ci.travcorpservices.com
',%0A%0A
@@ -519,30 +519,8 @@
y: '
-proxy-aspnet.ashx?url=
',%0A%0A
@@ -781,19 +781,20 @@
yGuest:
-tru
+fals
e,%0A%0A
|
248123f9306c6805df7026153dd13e98113e9e77 | Fix suggestedMax in chart when there is no data to display | server/src/main/webapp/resources/js/dashboard.js | server/src/main/webapp/resources/js/dashboard.js |
"use strict";
$(function () {
//-----------------------
//- Dashboard > Authentication Requests Chart -
//-----------------------
try{
var authChartData = JSON.parse($("#authenticationChartJson").val());
console.log("authentication chart data");
console.log(authChartData);
var authenticationReq... | JavaScript | 0 | @@ -828,18 +828,16 @@
dMax: 10
-00
%0A
|
926b3ff4a844a20c6f718aa1ed1974d382850145 | remove useless debug log | UIServer.js | UIServer.js | var express = require('express');
var http = require('http');
var path = require('path');
var fs = require('fs');
var favicon = require('serve-favicon');
var bodyParser = require('body-parser');
var config = require('./config.json');
var db = require('./model/db.js');
var log = require('./model/log.js');
/*
* Projec... | JavaScript | 0.000001 | @@ -1783,16 +1783,38 @@
request,
+ url: %22 + req.url + %22,
ip: %22 +
@@ -1819,16 +1819,16 @@
+ ip);%0A
-
next
@@ -2120,24 +2120,26 @@
e;%0A %0A
+//
log.info(%22cu
@@ -3367,32 +3367,34 @@
+//
log.info(%22Databa
@@ -3850,32 +3850,34 @@
+//
log.info(%22articl
@@ -... |
4e7aebcb2bff476703d7ca33461a887bab00af00 | Update integration/sanity/redirect tests to chai | test/integration/sanity/redirect.test.js | test/integration/sanity/redirect.test.js | describe('redirects', function() {
var testrun;
before(function(done) {
this.run({
requester: {followRedirects: false},
collection: {
item: [{
request: 'https://postman-echo.com/redirect-to?url=https://postman-echo.com/get'
}]
... | JavaScript | 0 | @@ -1,8 +1,46 @@
+var expect = require('chai').expect;%0A%0A
describe
@@ -480,28 +480,30 @@
);%0A%0A it('
-must
+should
have sent t
@@ -557,39 +557,40 @@
expect(testrun).
+to.
be.ok
-()
;%0A expect
@@ -589,33 +589,82 @@
expect(testrun
-.
+).to.nested.include(%7B // one request%0A '
reque... |
0f9d0e5cd6ac9e0e8931cef645623710ca3833f9 | Load user script, even if RequireJS is already loaded (#1941) | web/scripts/frame.js | web/scripts/frame.js | /**
* Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
replaceJavaScript = function (value) {
// Remove canvaskit from this page, This can be remo... | JavaScript | 0 | @@ -867,16 +867,266 @@
e);%0A%7D;%0A%0A
+/**%0A * Adds a script tag, with url as %22src%22 and id as %22id%22, unless a script tag with%0A * that id already exists.%0A *%0A * Executes onload after the script has loaded, if the script did not already%0A * exist, and executes onload immediately otherwise.%0A */%0A
addS... |
5606bb022f8aaa70ff320ec1a6b685a5edf5ba0c | Clean the stdout pipe by catching console errors and logs (#19) | src/driver/phantomjs.js | src/driver/phantomjs.js | /* global phantom */
var page = require('webpage').create()
var args = require('system').args
var url = args[1]
var width = args[2]
var options = JSON.parse(args[3])
page.viewportSize = {
width: width,
height: width * 2
}
page.open(url, function () {
setTimeout(function () {
page.evaluate(function (options)... | JavaScript | 0 | @@ -221,16 +221,127 @@
* 2%0A%7D%0A%0A
+page.onError = page.onConsoleMessage = function () %7B%0A // Prevent messages and errors from piping to stdout%0A%7D%0A%0A
page.ope
|
bdf2d8bf87e959c668ef71c8cba6d68402b908c4 | fix extra deep search message | app/assets/javascripts/form/searchForm.js | app/assets/javascripts/form/searchForm.js | module.directive('searchForm', [
'pageService',
function (page) {
var link = function ($scope) {
var form = $scope.searchForm;
form.data = {
query: page.$location.search().query
};
form.filterMode = true;
$scope.$watch('searchForm.data.query', function (val, old) {
if (page.$location.path()... | JavaScript | 0.000431 | @@ -742,16 +742,35 @@
lterMode
+ && form.data.query
)%0A%09%09%09%09%09%09
|
f78a45d687a93b5cbd76ca6be497a160ed1e26f8 | Support serializing Service and EventNote filters in hash | app/assets/javascripts/helpers/filters.js | app/assets/javascripts/helpers/filters.js | (function() {
// Define filter operations
window.shared || (window.shared = {});
var FeedHelpers = window.shared.FeedHelpers;
window.shared.Filters = Filters = {
Range: function(key, range) {
return {
identifier: ['range', key, range[0], range[1]].join(':'),
filterFn: function(student... | JavaScript | 0 | @@ -4664,24 +4664,214 @@
parts%5B1%5D));%0A
+ if (parts%5B0%5D === 'service_type') return Filters.ServiceType(parseFloat(parts%5B1%5D));%0A if (parts%5B0%5D === 'event_note_type') return Filters.EventNoteType(parseFloat(parts%5B1%5D));%0A %0A
return
|
07baf822afbec1573b7315c941fee3d0bb3ef7b2 | Move generateSlug() call up to the top, so it's more visible | app/assets/javascripts/slug-generation.js | app/assets/javascripts/slug-generation.js | $(function() {
var $form = $(".js-guide-form");
if (!$form.length) {
return;
}
var $title = $(".js-guide-title");
var $slug = $(".js-slug");
var $titleSlug = $(".js-title-slug");
var $topicSection = $(".js-topic-section");
var hasBeenPublished = $form.data("has-been-published");
var titleSlugMa... | JavaScript | 0 | @@ -337,16 +337,35 @@
false;%0A%0A
+ generateSlug();%0A%0A
$(docu
@@ -1443,35 +1443,16 @@
);%0A %7D%0A%0A
- generateSlug();%0A%0A
functi
|
63cd19e26f0cd5629372fb50c0244986c3ef1bbd | Stop if there's an error | app/client/templates/posts/post_submit.js | app/client/templates/posts/post_submit.js | Template.postSubmit.events({
'submit form': function(e) {
e.preventDefault();
var post = {
url: $(e.target).find('[name=url]').val(),
title: $(e.target).find('[name=title]').val()
};
post.slug = slugify(post.title);
post._id = Posts.insert(post);
Router.go('postPage', post);
}... | JavaScript | 0.000046 | @@ -250,39 +250,170 @@
-post._id = Posts.insert(post
+Meteor.call('postInsert', post, function(error, result) %7B%0A // display the error to the user and abort%0A if (error)%0A return alert(error.reason
);%0A
+
@@ -434,20 +434,43 @@
tPage',
-post
+%7B_id: result._id%7D); %0A %7D
)... |
f87c7591db909335105d5cffde206f35740901c8 | make sure we have actually created the map | google-maps.js | google-maps.js | var supportedTypes = ['Map', 'StreetViewPanorama'];
GoogleMaps = {
load: _.once(function(options) {
options = _.extend({ v: '3.exp' }, options);
var params = _.map(options, function(value, key) { return key + '=' + value; }).join('&');
var script = document.createElement('script');
script.type = 'tex... | JavaScript | 0 | @@ -3087,16 +3087,50 @@
ion() %7B%0A
+ if (GoogleMaps%5Bthis._name%5D) %7B%0A
google
@@ -3203,16 +3203,18 @@
tance);%0A
+
delete
@@ -3243,12 +3243,16 @@
_name%5D;%0A
+ %7D%0A
%7D);%0A
|
18eea1adaa1fcfd72859c0d58576aab570c34b7b | fix filter js window behavior #62 | app/assets/javascripts/arctic_admin/base.js | app/assets/javascripts/arctic_admin/base.js | //= require jquery
//= require jquery_ujs
//= require active_admin/base
$(function() {
$(document).on('click touchstart', '#sidebar', function(e) {
var position = $(this).position();
var width = $(this).width();
var target = e.target;
if ((e.pageX < position.left) && (target.tagName != 'SELECT') && (... | JavaScript | 0 | @@ -81,16 +81,50 @@
ion() %7B%0A
+ var animationFilterDone = true;%0A
$(docu
@@ -170,32 +170,72 @@
, function(e) %7B%0A
+ if(animationFilterDone == true) %7B%0A
var position
@@ -257,24 +257,26 @@
tion();%0A
+
+
var width =
@@ -292,24 +292,26 @@
idth();%0A
+
var target =
@@ -321,16 +321,... |
02fc43d2a0e539130e48f6ad3c821c536c6cd1b3 | Allow adding entries for dates other than today | app/components/addEntryPage/addEntryPage.js | app/components/addEntryPage/addEntryPage.js | 'use strict';
var React = require('react-native');
var Leaderboard = require('../leaderboard/leaderboard');
var {
StyleSheet,
Text,
TextInput,
DatePickerIOS,
View,
TouchableHighlight,
ActivityIndicatorIOS,
Image,
Component
} = React;
var styles = StyleSheet.create({
description: {
marginBotto... | JavaScript | 0 | @@ -1163,24 +1163,48 @@
s.state = %7B%0A
+ date: new Date(),%0A
durati
@@ -1599,21 +1599,28 @@
date=%7B
-new D
+this.state.d
ate%7D%0A
@@ -1640,16 +1640,72 @@
=%22date%22%0A
+ onDateChange=%7Bthis.onDateChange.bind(this)%7D%0A
@@ -2012,17 +2012,16 @@
onChange
-d
.bind(th
@@ -... |
e3c9a348450c91830d5e36a792563fffcbe7d992 | Add content-encoding headers for webfetch response. Set 'chunked' | app/extensions/safe/server-routes/safe.js | app/extensions/safe/server-routes/safe.js | import logger from 'logger';
import { getAppObj } from '../network';
const safeRoute = {
method : 'GET',
path : '/safe/{link*}',
handler : async ( request, reply ) =>
{
try
{
const link = `safe://${request.params.link}`;
const app = getAppObj();
... | JavaScript | 0.000001 | @@ -565,16 +565,33 @@
a.body )
+%0A
.type( d
@@ -619,16 +619,72 @@
Type'%5D )
+%0A .header( 'Content-Encoding', 'chunked')
;%0A
|
df43256250404eb41ac7969f1435628112c3d873 | Make popover actions handleable to parents | src/edititem/PopOver.js | src/edititem/PopOver.js | import React, {PropTypes} from 'react'
import styles from 'part:@sanity/components/edititem/popover-style'
import Button from 'part:@sanity/components/buttons/default'
import {debounce} from 'lodash'
import CloseIcon from 'part:@sanity/base/close-icon'
import scroll from 'scroll'
import ease from 'ease-component'
expo... | JavaScript | 0.000002 | @@ -611,14 +611,117 @@
pes.
-object
+shape(%7B%0A kind: PropTypes.string,%0A title: PropTypes.string,%0A handleClick: PropTypes.func%0A %7D)
),%0A
@@ -7204,25 +7204,21 @@
ck=%7B
-this
+action
.handle
-Action
Clic
|
4f153e87f4e95cd0b4965d594f338b1f0d28c9f1 | Remove bind to change event Instance form #14, #16 | sitemedia/js/reference-instance-canvas-toggle.js | sitemedia/js/reference-instance-canvas-toggle.js | /*
Javascript snippet to toggle the Canvas and Intervention autocompletes
sanely based on the presence of a digital edition for a selected Instance (or
the instance being edited in the case of the Reference Inline)
*/
/*
Toggle on or off based on the presence of an Instance with a digtial edition,
either in the sele... | JavaScript | 0 | @@ -1987,175 +1987,9 @@
%7D)
-%0A // bind to the change event on #digital_edition for the Instance change_form%0A $(%22#id_digital_edition%22).change(function() %7B%0A toggleReferenceAutocompletes();%0A %7D)
+;
%0A%7D);
|
9504daed314aa828cb870a17814a10aaca16ba9a | Fix for issue #162 | flowsim-ui/app/scripts/directives/fglist.js | flowsim-ui/app/scripts/directives/fglist.js | 'use strict';
/**
* @ngdoc directive
* @name flowsimUiApp.directive:fgList
* @description
* # fgList
*/
angular.module('flowsimUiApp')
.directive('fgList', function () {
return {
restrict: 'E', // HTML Element
transclude: true, // Copy element body in
... | JavaScript | 0 | @@ -2295,32 +2295,131 @@
;%0A %7D%0A
+ if(pos === $scope.focus)%7B%0A $scope.shiftFocus($scope.focus);%0A %7D%0A
$sco
|
75cf097165cd01d49cd1d68f4249a5e89a98b302 | Update Plugwoot.js | Autowoot.js/Plugwoot.js | Autowoot.js/Plugwoot.js | /*
Copyright (c) 2013-2017 by Tawi Jordan - ๖ۣۜĐJ - ɴᴇᴏɴ - TFL
Permission to use this software for any purpose without fee is hereby granted, provided
that the above copyright notice and this permission notice appear in all copies.
Permission to copy and/or edit this software or parts of it for any purpose is p... | JavaScript | 0 | @@ -2248,16 +2248,18 @@
n() %7B%0A
+//
message(
@@ -2291,18 +2291,16 @@
ng!%22)%0A
-//
message(
@@ -2366,16 +2366,18 @@
pt(path+
+/*
'NPqKyJw
@@ -2378,16 +2378,18 @@
PqKyJwy'
+*/
, functi
@@ -2396,16 +2396,18 @@
on() %7B%0A
+//
message(
@@ -2463,16 +2463,18 @@
le!%22);%0A
+//
console.
|
1f798afd439774470684bd63a285e36e1609190d | Fix permission name so editing works again | ViewUser.js | ViewUser.js | import _ from 'lodash';
// We have to remove node_modules/react to avoid having multiple copies loaded.
// eslint-disable-next-line import/no-unresolved
import React, { Component, PropTypes } from 'react';
import Pane from '@folio/stripes-components/lib/Pane';
import PaneMenu from '@folio/stripes-components/lib/PaneMen... | JavaScript | 0 | @@ -3641,23 +3641,21 @@
%7D perm=%22
-selU
+u
ser
+s
.item.pu
|
93922e8fd2819d7cfa2c3d38d05de71c88cfc803 | Set connection url to include page fragment | static/js/chatterbox.js | static/js/chatterbox.js | // Standard django CSRF handling
function getCookie(name) {
var i, cookie, cookies, cookieValue = null;
if (document.cookie && document.cookie != '') {
cookies = document.cookie.split(';');
for (i = 0; i < cookies.length; i++) {
cookie = cookies[i].trim();
// Does this co... | JavaScript | 0.000001 | @@ -6890,11 +6890,47 @@
nit(
-'.'
+document.location.hash.replace('#', '')
); %7D
|
08ec3480ed96e15198f0ba2e1afd78dedea8bb27 | Add stability annotation to ol.geom.Geometry | src/ol/geom/geometry.js | src/ol/geom/geometry.js | goog.provide('ol.geom.Geometry');
goog.provide('ol.geom.GeometryType');
goog.require('goog.asserts');
goog.require('goog.functions');
goog.require('ol.Observable');
/**
* @enum {string}
*/
ol.geom.GeometryType = {
POINT: 'Point',
LINE_STRING: 'LineString',
LINEAR_RING: 'LinearRing',
POLYGON: 'Polygon',
M... | JavaScript | 0.000607 | @@ -643,20 +643,52 @@
rvable%7D%0A
+ * @todo stability experimental%0A
*/%0A
-
ol.geom.
@@ -1295,16 +1295,48 @@
Clone.%0A
+ * @todo stability experimental%0A
*/%0Aol.g
@@ -1816,24 +1816,56 @@
sest point.%0A
+ * @todo stability experimental%0A
*/%0Aol.geom.
@@ -2216,16 +2216,48 @@
dinate.%0A
+ * @todo stabil... |
2844d24dd8fa56c5457ca35610ea3702d16f2a91 | add tests for defaultKeyAccessor | src/withManagedData/withManagedData.spec.js | src/withManagedData/withManagedData.spec.js | // @flow weak
/* eslint-env mocha */
import { assert } from 'chai';
import {
APPEAR,
UPDATE,
REMOVE,
REVIVE,
defaultComposeNode,
} from './withManagedData';
describe('withManagedData', () => {
/**
* compose data node from provided data (data, type, udid)
*/
describe('defaultComposeNode', () => {
... | JavaScript | 0 | @@ -133,16 +133,38 @@
seNode,%0A
+ defaultKeyAccessor,%0A
%7D from '
@@ -226,16 +226,707 @@
%7B%0A /**%0A
+ * Create a string data key from given data%0A */%0A describe('defaultKeyAccessor', () =%3E %7B%0A it('given a number, returns a string key%60 ', () =%3E %7B%0A assert.strictEqual(defaultKeyAcce... |
ed6e51def2d91aed9511c21ad7ef54f55dbfef93 | comment in index_maps.js | static/js/index_maps.js | static/js/index_maps.js | // ////////////////////////////////////////////////////////////////////////////
/*
// CUSTOM MAP FUNCTIONS
*/
/*
// Even though I like using omnivore, I am going to have to use my own omnivore
// like function for loading datasets. I cannot parse the leaflet L.geoJson
// layers in the ways that I want to, but I can par... | JavaScript | 0 | @@ -3607,16 +3607,80 @@
%7D%0A%7D %0A%0A
+// I need to make a nice looking popup background that scrolls%0A%0A
// add p
@@ -4707,16 +4707,68 @@
%3Cbr/%3E%60))
+ // this is where the popup html will be implemented
%0A%0A%7D%0A%0A//
|
2ffb2e4af0045057c1c7d547495c3d6dce6232c0 | Fix typo in Overview.js (#108) | example/src/Screens/Docs/AnimatedRoute/Overview.js | example/src/Screens/Docs/AnimatedRoute/Overview.js | import React from 'react';
import { css } from 'glamor';
import Footer from 'Screens/Docs/shared/Footer';
const Element = ({ name }) => (
<code><{name} /></code>
);
const Overview = () => (
<div>
<h2>Overview</h2>
<p>A <a href="https://reacttraining.com/react-router/web/api/Route"><Element name="Ro... | JavaScript | 0.000121 | @@ -452,16 +452,17 @@
%22Animate
+d
Route%22 /
|
d1c8dd1bc78d3b10244d34016240ff620ceb96ae | Fix amd-tree to output folders as well. | amd-tree.js | amd-tree.js | /* global -name*/
"use strict";
var mine = require("mine");
var pathJoin = require("pathjoin");
var binary = require('bodec');
var modes = require('js-git/lib/modes');
module.exports = amdTree;
function amdTree(servePath, req, callback) {
var path = pathJoin(req.paths.root, req.input, req.paths.local);
... | JavaScript | 0 | @@ -872,14 +872,16 @@
if
+(
(/%5C.js
+$
/i.t
@@ -913,24 +913,71 @@
entry.mode))
+ %7C%7C%0D%0A entry.mode === modes.tree)
%7B%0D%0A
|
5de0d45080102c4c5edb79f10a5a6c49842a3140 | Disable multiselection for now | plugins/treeview/web_client/attach.js | plugins/treeview/web_client/attach.js | import _ from 'underscore';
import 'jstree';
import 'jstree/dist/themes/default/style.css';
import { root, auth, conditionalselect } from './utils';
import { model } from './utils/node';
export default function (el, settings = {}) {
const selectable = settings.selectable;
const user = auth();
$(el).each(... | JavaScript | 0 | @@ -703,32 +703,65 @@
%7D
+,%0A multiple: false
%0A %7D,%0A
|
d76d07db01a3df1ec3a10e16760db50672ec867a | Add version to user schema | schemas/user.js | schemas/user.js | var app = require('cantina')
, idgen = require('idgen');
require('cantina-validators');
module.exports = {
name: 'user',
indexes: {
mongo: [
[ { email_lc: 1 }, { unique: true } ],
[ { username_lc: 1 }, { unique: true } ],
{ 'name.sortable': 1 }
]
},
properties: {
id: {
ty... | JavaScript | 0.000001 | @@ -120,16 +120,36 @@
'user',%0A
+ version: '0.1.0',%0A
indexe
|
9fd4432e5a4ec9f810bcc44ecebef970af6bf3ed | Fix a jasmine test in CommentToggler | spec/javascripts/widgets/comment-toggler-spec.js | spec/javascripts/widgets/comment-toggler-spec.js | /* Copyright (c) 2010, Diaspora Inc. This file is
* licensed under the Affero General Public License version 3 or later. See
* the COPYRIGHT file.
*/
describe("Diaspora.Widgets.CommentToggler", function() {
var commentToggler;
beforeEach(function() {
jasmine.Clock.useMock();
spec.loadFixture("as... | JavaScript | 0.000038 | @@ -906,32 +906,38 @@
le_post_comments
+:first
%22);%0A Diaspo
@@ -1212,8 +1212,9 @@
%7D);%0A%7D);
+%0A
|
c729d386843db74c2daf62bbd609f59c40c2d55a | Improve walker structure | walker/index.js | walker/index.js | #!/usr/bin/env node
var path = require('path');
var glob = require('glob');
var async = require('async');
var github = new (require('github'))({
version: '3.0.0',
protocol: 'https',
timeout: 5000
});
var TESTING;
main();
function main() {
var root = process.argv[2];
TESTING = process.argv[3];
... | JavaScript | 0 | @@ -40,16 +40,54 @@
'path');
+%0Avar extend = require('util')._extend;
%0A%0Avar gl
@@ -828,115 +828,56 @@
-getWatchers(parseGh(d.repositories%5B0%5D.url), function(err, stars) %7B%0A if(err) return cb(err);%0A
+async.waterfall(%5B%0A function(cb) %7B
%0A
@@ -889,24 +889,29 @@
... |
561d5e010f91fef43bda94e7e51af6ed5cbd9792 | Use imagepicker for all forms | app/assets/javascripts/custom.js | app/assets/javascripts/custom.js | $(document).on('turbolinks:load', function () {
$("#selectImage").imagepicker({
hide_select: true,
show_label : true
});
var $container = $('.image_picker_selector');
// initialize
$container.imagesLoaded(function () {
$container.masonry({
columnWidth: 30,
... | JavaScript | 0 | @@ -140,16 +140,216 @@
%7D);%0A%0A
+ $(%22#pendingImage%22).imagepicker(%7B%0A hide_select: true,%0A show_label : true%0A %7D);%0A%0A $(%22#moochedImage%22).imagepicker(%7B%0A hide_select: true,%0A show_label : true%0A %7D);%0A%0A
var
@@ -390,16 +390,16 @@
ctor');%0A... |
84bc2383b6c99b0e4696f758b5cb5fa9749fcb14 | Disable convertion to divs, preserve paragraphs. | app/assets/javascripts/editor.js | app/assets/javascripts/editor.js | /**
* Wysiwyg related javascript
*/
// =require ./lib/redactor.js
(function($){
$(document).ready( function() {
/**
* Minimal wysiwyg support
*/
$('.wysiwyg-minimal').redactor({
airButtons: ['bold', 'italic', 'deleted', '|', 'link'],
air: true
});
/**
* Basic wysiwyg su... | JavaScript | 0 | @@ -476,24 +476,50 @@
wym: true,%0A
+ convertDivs: false,%0A
imageU
|
a04c900f0f6aa88872d84f92fada2f4517bba9d4 | Fix lightsoff to not use signal this.. | examples/lightsoff/arrow.js | examples/lightsoff/arrow.js | function pushed_arrow()
{
if(animating_board)
return true;
// TODO: Need to check that click count is 1
var direction = (this.flipped ? 1 : -1);
if(score.value + direction < 1)
return true;
score.set_value(score.value + direction);
swap_animation(direction);
gconf_client.set_int("/apps/lightsoff/score... | JavaScript | 0.000149 | @@ -15,16 +15,28 @@
d_arrow(
+actor, event
)%0A%7B%0A%09if(
@@ -134,20 +134,21 @@
tion = (
-this
+actor
.flipped
@@ -1008,14 +1008,8 @@
rrow
-, this
);%0A%09
|
deb07c87a4b5d69eaa8ca1046592673a70af2302 | fix editor keyup event. | app/assets/javascripts/editor.js | app/assets/javascripts/editor.js | //= require_self
//= require_tree ./editor
Mousetrap.stopCallback = function(e, element, combo) {
// stop for input, select, and textarea
return element.tagName == 'INPUT' || element.tagName == 'SELECT' || element.tagName == 'TEXTAREA';
};
var Editor = function(options) {
this.editable_selector = options.editabl... | JavaScript | 0 | @@ -3201,32 +3201,37 @@
keyup: function(
+event
) %7B%0A this.ini
|
288cedfce0b7fdabcdeb910ff4d4cc1ffe90b385 | Make groups non-capturing. | utils/unambiguous.js | utils/unambiguous.js | 'use strict'
exports.__esModule = true
const pattern = /(^|;)\s*(export|import)((\s+\w)|(\s*[{*=]))/m
/**
* detect possible imports/exports without a full parse.
*
* A negative test means that a file is definitely _not_ a module.
* A positive test means it _could_ be.
*
* Not perfect, just a fast way to disqual... | JavaScript | 0.000017 | @@ -570,18 +570,21 @@
pe = /%5E(
-((
+?:(?:
Exp%7CImp)
@@ -599,17 +599,16 @@
laration
-)
%7CTSExpor
|
e6727b3ef98c4c6fc6c560a79d9e38041397a3f2 | fix for service worker throwing error on failed requests | static/pwabuilder-sw.js | static/pwabuilder-sw.js | //This is the "Offline page" service worker
//Install stage sets up the offline page in the cache and opens a new cache
self.addEventListener('install', (event) => {
const offlinePage = new Request('offline.html', {
headers: { 'Content-Type': 'text/html' }
});
event.waitUntil(
fetch(offlinePage).then((resp... | JavaScript | 0 | @@ -1,18 +1,19 @@
//
+
This is the %22Off
@@ -41,16 +41,17 @@
rker%0A%0A//
+
Install
@@ -284,16 +284,18 @@
tUntil(%0A
+
fetch(
@@ -324,24 +324,26 @@
ponse) =%3E %7B%0A
+
return c
@@ -395,24 +395,26 @@
=%3E %7B%0A
+
+
console.log(
@@ -465,16 +465,17 @@
stall: '
+
+ respon
@@ -485,24 +4... |
92f3bcad825f9e744e1c6822852fafb36aeaa4eb | Fix broken whitespace vs. SPACE logic | components/Card/Card.js | components/Card/Card.js | /**
* React Static Boilerplate
* https://github.com/koistya/react-static-boilerplate
* Copyright (c) Konstantin Tarkus (@koistya) | MIT license
*/
import React, {PropTypes} from 'react'
import config from '../../config'
import moment from 'moment'
import BlockButton from '../buttons/BlockButton'
import ProgressMet... | JavaScript | 0.999974 | @@ -3933,14 +3933,11 @@
ce(/
-%5Cs%5Cs%5Cs
+
/g,
@@ -3970,12 +3970,10 @@
ce(/
-%5Cs%5Cs
+
/g,
@@ -4011,14 +4011,51 @@
/g,
-'
+%22
-'
+%22)%0A .replace(/%5C%5Cn/g, %22%5Cn%5Cn%22
)%0A
@@ -4097,17 +4097,17 @@
s/,
-'
+%22
### $1%5Cn
')%0A%0A
@@ -4102,17 +4102,17 @@
### $1%5Cn
-'
+%22
... |
374850e2e33f0f5ffc0d71999d690c3dc8a1195c | WebSocket hard timeout | src/events/websocket/WebSocketClients.js | src/events/websocket/WebSocketClients.js | import { OPEN } from 'ws'
import {
WebSocketConnectEvent,
WebSocketDisconnectEvent,
WebSocketEvent,
} from './lambda-events/index.js'
import debugLog from '../../debugLog.js'
import serverlessLog from '../../serverlessLog.js'
import {
DEFAULT_WEBSOCKETS_API_ROUTE_SELECTION_EXPRESSION,
DEFAULT_WEBSOCKETS_ROUTE... | JavaScript | 0.999995 | @@ -638,16 +638,48 @@
eakMap()
+%0A #hardTimeouts = new WeakMap()
%0A%0A cons
@@ -1123,32 +1123,79 @@
d(connectionId)%0A
+ this._addHardTimeout(client, connectionId)%0A
%7D%0A%0A _removeWe
@@ -1458,16 +1458,402 @@
d)%0A %7D%0A%0A
+ _addHardTimeout(client, connectionId) %7B%0A const timeoutId = setTime... |
d5df7d02aa2de678183b28f15004425b9ec37f74 | Add logger filename to volume action | lib/actions/volume.js | lib/actions/volume.js | var utils = require('radiodan-client').utils,
defaultLogger = utils.logger;
function boundVolume(vol) {
if(vol < 0) {
vol = 0;
} else if(vol > 100) {
vol = 100;
}
return vol;
}
module.exports = function(radio, command, logger) {
logger = logger || defaultLogger;
var commandPromise = utils.pro... | JavaScript | 0.000001 | @@ -71,16 +71,28 @@
s.logger
+(__filename)
;%0A%0Afunct
|
943dbc52f62234bee2b4dfa64536273ea0cff229 | Use newer buffered proxy | blueprints/ember-state-services/index.js | blueprints/ember-state-services/index.js | module.exports = {
normalizeEntityName: function() {}, // no-op since we're just adding dependencies
afterInstall: function() {
return this.addAddonToProject('ember-buffered-proxy', '^0.5.1');
}
};
| JavaScript | 0 | @@ -192,11 +192,11 @@
'%5E0.
-5.1
+6.0
');%0A
|
e1d7c0041c36e4bee2044617ba084ad4a7768484 | Ensure match 'A-B' is _in addition to_ existing 'A::B' match | assets/js/dataTables.filter.perlModule.js | assets/js/dataTables.filter.perlModule.js | /**
* This filtering plugin will allow matching of module names in either
* form of 'Foo::Bar', or 'Foo-Bar'.
*
* Based on dataTables.filter.phoneNumber.js
*
* @summary Make Perl module names searchable
* @name Perl module
* @author Zak B. Elep
*
* @example
* $(document).ready(function() {
* $('#examp... | JavaScript | 0.999995 | @@ -569,24 +569,31 @@
g' ?%0A
+ data +
data.replac
|
8667d897ce3fa26f5ed7b9b56d0a3a465a8c6729 | add actual heavy object example to flyweight | specs/unit/patterns/structural/flyweight.spec.js | specs/unit/patterns/structural/flyweight.spec.js | /* globals expect, beforeEach, it, describe, spyOn */
import flyweightBuilder from '../../../../src/patterns/structural/flyweight.js';
import singletonBuilder from '../../../../src/patterns/creational/singleton.js';
describe('flyweight', function() {
var Flyweight;
var flyweight;
beforeEach(function() {
Flyw... | JavaScript | 0.001353 | @@ -3121,24 +3121,217 @@
unction() %7B%0A
+ function HeavyObject(value) %7B%0A this.data = value;%0A this.store = %5B%5D;%0A for(var i = 0; i %3C value; i++)%7B%0A this.store.push(i * Math.random());%0A %7D%0A %7D%0A%0A
LightO
@@ -3357,32 +3357,32 @@
weightBuilder... |
1bf39947827e3b5273edbc52f57a294b1449aafa | Fix whitespace | web-client/GraphQLWebClientWrapper.js | web-client/GraphQLWebClientWrapper.js | import React from 'react';
import GraphQLWebClient from './GraphQLWebClient';
var styles = {
clear: {clear: "both"}
};
export default class GraphQLWebClientWrapper extends React.Component {
constructor(props) {
super(props);
this.state = {
endpoint: this.props.endpoint,
cannedQueries: [
... | JavaScript | 0.999999 | @@ -495,10 +495,16 @@
%7D%60,%0A
-%09%09
+
%60%7B T
|
8b00da31c6854d9c5d780d3c89e41fe780765835 | add task to copy assets in public folder | grunt-tasks.js | grunt-tasks.js |
module.exports = function(grunt, vendorFiles){
var environment = process.env.NODE_ENV || 'development';
environment = environment.toLowerCase();
var config = {
env : {
dev: {
NODE_ENV : 'development'
},
prod : {
NODE_ENV : 'prod... | JavaScript | 0 | @@ -1925,97 +1925,8 @@
- // // generate configuration files for a specific environement (see NODE_ENV)%0A //
cop
@@ -1942,22 +1942,19 @@
-//
- %22config
+%22assets
%22: %7B
@@ -1962,26 +1962,24 @@
-//
files:
@@ -1962,33 +1962,32 @@
-
files: %5B%0A ... |
122947ed42ca4a427f9d2375e91433bf33ae3d77 | Use REST API to unlink user device | web/app/view/UserDevicesController.js | web/app/view/UserDevicesController.js | /*
* Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)
*
* 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 b... | JavaScript | 0 | @@ -2368,21 +2368,24 @@
api/
-device/unlink
+rest/permissions
',%0A
|
5fa217548db80492ef1e66e678f9572c9d1caa5c | fix a bug when refreshing a token on authservices | static/app/scripts/services/authservices.js | static/app/scripts/services/authservices.js | var accountservices = angular.module('crmEngine.authservices',[]);
accountservices.factory('Auth', function($http) {
var Auth = function(data) {
angular.extend(this, data);
};
Auth.checkGapiToken = function(){
var timeNow = new Date().getTime()/1000;
var gapiToken = gapi.auth.getToken();
if... | JavaScript | 0.000123 | @@ -4205,24 +4205,95 @@
led = true;%0A
+ console.log(authResult);%0A Auth.$scope.isRefreshing = false;%0A
if (au
|
0c9d0f0434b58403ab5505d8988beb6c6d1a4146 | Remove event listener on unsubscribe to AttrSlot | src/foam/u2/AttrSlot.js | src/foam/u2/AttrSlot.js | /**
* @license
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | JavaScript | 0 | @@ -1383,201 +1383,444 @@
-// TODO: remove listener on unsubscribe. But how?%0A if ( ! this.hasListeners() ) %7B%0A var self = this;%0A this.element.on(this.event, function() %7B%0A self.value = self.get(
+var self = this;%0A const valueUpdateListener = function() %7B%0A se... |
be7446b7be28632cdbd211f0e3602db0eec57e8f | Fix header space problem after resizing and close #156 | app/assets/javascripts/header.js | app/assets/javascripts/header.js | function hideSmallTopNav() {
$('#small_nav').removeClass('display_block');
$('#small_nav').addClass('display_none');
$('#expand_nav').css({"opacity": 1});
}
function showSmallTopNav() {
$('#small_nav').removeClass('display_none');
$('#small_nav').addClass('display_block');
$('#expand_nav').css({"opacity": ... | JavaScript | 0 | @@ -1881,65 +1881,8 @@
ve);
-%0A%0A $(window).resize(function () %7B%0A setHeight();%0A %7D);
%0A%7D;%0A
|
5f5bb30883532920063535c12a8578070d2a97fa | simplify reseting form fields for add movie | scripts/app2.js | scripts/app2.js | /*
*
*/
"use strict";
(function($){
var app = {};
//returns null if not valid or a date object if it is valid
app.isValidDate = function(dateString) {
//mm dd yyyy format
var matches1 = dateString.match(/^(\d{2})[- \/](\d{2})[- \/](\d{4})$/);
if (!matches1) return;
var matches = dateString.m... | JavaScript | 0 | @@ -1771,92 +1771,22 @@
ovie
- = %7B'title' : null,%0A%09%09%09%09%09'dvd_release' : null,%0A%09%09%09%09%09'theater_release' : null, %0A%09%09%09%09%09
+_defaults = %7B
'mov
@@ -1847,40 +1847,9 @@
al()
-,%0A%09%09%09%09%09'pre_rating' : null%0A%09%09%09%09%09
+
%7D;%0A%09
@@ -1890,32 +1890,106 @@
on(index, el) ... |
8b30ced2907623dbfd22e02c46d18e014abfa9e7 | test 5 | web/react/src/server/routes/routes.js | web/react/src/server/routes/routes.js | const contentRes = require('./../helpers/contentRes');
module.exports = (app) => {
app.get('*', (req, res) => {
// load content
contentRes(app, req, res);
});
};
| JavaScript | 0.000035 | @@ -48,16 +48,19 @@
tRes');%0A
+//
%0Amodule.
|
a2d8375cc27922f72a9b45040ee77b99117fb753 | remove extra line | PhilipsHue.js | PhilipsHue.js | // Philips Hue Platform Shim for HomeBridge
//
// Remember to add platform to config.json. Example:
// "platforms": [
// {
// "platform": "PhilipsHue",
// "name": "Philips Hue",
// "ip_address": "127.0.0.1",
// "username": "252deadbeef0bf3f34c7ecb810e832f"
// }
// ],
//
// When y... | JavaScript | 0.018303 | @@ -6927,43 +6927,8 @@
0,%0A
- designedMaxValue: 100,%0A
|
f62b2f1954bd5fe30e615d8cf63fe010043f76a2 | Use multiple selectors for finding closest dataTable DOM element (task #7074) | webroot/js/plugin.js | webroot/js/plugin.js | $(document).ready(function () {
/** letting the cancel avoid html5 validation and redirect back */
$('.remove-client-validation').click(function () {
$(this).parent('form').attr('novalidate', 'novalidate');
});
/**
* Trigger deletion of the record from the dynamic DataTables entries.
... | JavaScript | 0 | @@ -979,16 +979,34 @@
losest('
+.table-datatable,
.dataTab
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.