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
6d0b77a4e01425d510f17975887a072e1f0641fc
fix "_writeGenerateBasedCommitIdToConfig"
build/gulp_task/e2e/test.js
build/gulp_task/e2e/test.js
var gulp = require("gulp"); var git = require("gulp-git"); var path = require("path"); var fs = require("fs"); function _runTest(runTestFunc, browserArr, done) { console.log("run test..."); runTestFunc(browserArr).then(function () { console.log("done"); done() }, function (e) { co...
JavaScript
0
@@ -3020,16 +3020,22 @@ config, + type, configF
dd581f3a8dde81ad48cf1597d57a4c05bbeae567
Fix background overflow
packages/core/admin/admin/src/components/GlobalStyle/index.js
packages/core/admin/admin/src/components/GlobalStyle/index.js
import { createGlobalStyle } from 'styled-components'; const loadCss = async () => { await import(/* webpackChunkName: "fontawesome-css" */ 'font-awesome/css/font-awesome.min.css'); await import( /* webpackChunkName: "fontawesome-css-all" */ '@fortawesome/fontawesome-free/css/all.css' ); await import(/* we...
JavaScript
0
@@ -448,16 +448,89 @@ alStyle%60 +%0A body %7B%0A background: $%7B(%7B theme %7D) =%3E theme.colors.neutral100%7D;%0A %7D%0A %60;%0A%0Aexpo
a1af5f772abd201c414dd01c218d18b78d4c5063
update to posts
src/app/providers/post.js
src/app/providers/post.js
/** * PostService * contains information about the current post (could be page, attachement etc) */ export default class PostService { constructor($window, $q, $log, Ajax) { 'ngInject'; angular.extend(this, {'$window': $window, '$q': $q, '$log': $log, 'Ajax': Ajax}); this.$wp = $w...
JavaScript
0
@@ -1538,24 +1538,31 @@ is_post() %7B + return this.post.p @@ -1597,16 +1597,23 @@ page() %7B + return this.po @@ -1830,26 +1830,8 @@ %7B%7D%0A%0A - // short-hands %0A @@ -1871,21 +1871,41 @@ et(this. -route +Ajax.restRoute + %22/posts%22 ) %7D%0A%0A @@ -1987,16 +1987,16 @@ posts/ %0A - get_ @...
83d6a26e030bf9e40c7f7050fec7ac3f7ce17c14
Add Hosting ID in InnerToolbar
src/apps/Hosting/Files.js
src/apps/Hosting/Files.js
import React from 'react'; import { withRouter } from 'react-router'; import Reflux from 'reflux'; import Helmet from 'react-helmet'; import _ from 'lodash'; import { SnackbarNotificationMixin } from '../../mixins'; import HostingFilesStore from './HostingFilesStore'; import HostingFilesActions from './HostingFilesAc...
JavaScript
0
@@ -1502,16 +1502,217 @@ ;%0A %7D,%0A%0A + getToolbarTitle() %7B%0A const %7B hostingDetails, isLoading %7D = this.state;%0A%0A return hostingDetails && !isLoading ? %60Website Hosting: $%7BhostingDetails.label%7D (id: $%7BhostingDetails.id%7D)%60 : '';%0A %7D,%0A%0A isDefa @@ -3540,30 +3540,8 @@ gs,%0A -...
f577576f9ec442ee31f3fee8b58636a6a25a72f8
Format nit
public/js/views/testsuites/ConfirmDeleteTestSuiteView.js
public/js/views/testsuites/ConfirmDeleteTestSuiteView.js
define([ 'jquery', 'underscore', 'backbone', 'app', 'text!templates/testsuites/confirmDeleteTestSuiteTemplate.html' ], function($, _, Backbone, app, confirmDeleteTestSuiteTemplate) { var ConfirmDeleteTestSuiteView = Backbone.View.extend({ initialize: function() { _.bindAll(...
JavaScript
0.000408
@@ -1191,39 +1191,83 @@ + %22/view%22, %7B - trigger: false +%0A trigger: false%0A %7D);%0A @@ -1788,39 +1788,83 @@ + %22/view%22, %7B - trigger: false +%0A trigger: false%0A %7D);%0A @@ -2603,31 +2603,75 @@ view%22...
d376b133e133c93c9aae90dfd954d40f9b9af776
fix mcl script
code/clustering/mcl_edges.js
code/clustering/mcl_edges.js
// build edges for mcl db.mcl_edges.drop() db.mcl_edges.ensureIndex({a: 1, b: 1}) db.tag_graph_edges.find().addOption(DBQuery.Option.noTimeout).forEach(function(edge) { var a = db.tag_graph_nodes.findOne({_id: edge._id}).tag edge.tn.forEach(function(t) { var b = db.tag_graph_nodes.findOne({_id: t._id})...
JavaScript
0.000001
@@ -308,17 +308,16 @@ %7B_id: t. -_ id%7D).tag @@ -496,12 +496,14 @@ : t. -dice +ochiai %0A
f03d24a75d44ff8c33032e9200aa82b621f91e69
update extensions
mip-hlj-appointment/mip-hlj-appointment.js
mip-hlj-appointment/mip-hlj-appointment.js
/** * @file mip-hlj-appointment 预约组件 * @author */ define(function (require) { var customElement = require('customElement').create(); var util = require('util'); var $ = require('zepto'); var viewer = require('viewer'); var CustomStorage = util.customStorage; var storage = new CustomStorage(0...
JavaScript
0.000001
@@ -787,16 +787,77 @@ set.url; +%0A var clickToken = $(element).attr('mip-click-token'); %0A%0A @@ -2564,16 +2564,61 @@ ssionId; +%0A body%5B'clickToken'%5D = clickToken; %0A%0A
35d197f80c54f7bd7ddbb5eee5b1db6fd39fe3ea
FIX bug with category navigation
resources/js/src/app/services/CategoryRendererService.js
resources/js/src/app/services/CategoryRendererService.js
const ItemListService = require("services/ItemListService"); const ResourceService = require("services/ResourceService"); let _categoryTree = {}; let _categoryBreadcrumbs = []; /** * render items in relation to location * @param currentCategory */ export function renderItems(currentCategory) { ResourceService.g...
JavaScript
0
@@ -392,21 +392,21 @@ sable%22). -toggl +remov eClass(%22 @@ -431,13 +431,13 @@ y%22). -toggl +remov eCla
030398ca8f0e019b595e02b8941d109e37b44e8d
Add note on undefined public property default values.
src/reactiveModel.js
src/reactiveModel.js
// This is the top-level module exported by the reactive-model package. // The exported function is a constructor for reactive models // that also exposes the digest() function, which synchronously // evaluates the data dependency graph. // By Curran Kelleher June 2015 import Graph from "./graph"; import ReactiveGrap...
JavaScript
0
@@ -1470,16 +1470,474 @@ %0A %7D%0A%0A + // TODO test this%0A // if(isDefined(defaultValue))%7B%0A // throw new Error(%22model.addPublicProperty() is being %22 +%0A // %22invoked with an undefined default value. Default values for public properties %22 +%0A // %22must be defined, to guarantee ...
30868e44c1e7dad07c942d3e8516851c80556079
Update inline comment rules
src/relative-time.js
src/relative-time.js
/** * Rule: (equivalent for future) * * [0s, 1min[ - just now * [1min, 2min[ - 1 minute ago * [xmin, x+1min[ - x minutes ago * [1h, 2h[ - 1 hour ago * [xh, x+1h[ - x hours ago * [xh, x+1h[ - yesterday if x >= 8 and range is on different days. * [1d, 2d[ - yesterday * [xd, x+1d[ - x days ago * [xd, x+1d[ - la...
JavaScript
0
@@ -40,29 +40,46 @@ %0A * -%5B0s, 1min%5B - just now +0s - now%0A * %5D0s, 1min%5B - x seconds ago %0A * @@ -1265,16 +1265,28 @@ // -just now +now or x seconds ago .%0A @@ -2645,20 +2645,19 @@ er ( -it will +which read +s the
aea6e86359662a732acda35b7910a87f4e66aa27
remove log
src/bigdecimal-adapter.js
src/bigdecimal-adapter.js
/*jshint node:true */ 'use strict'; var identity = require('lodash.identity'); var bigdecimal = require('bigdecimal'); console.log(bigdecimal.MathContext); module.exports = { getInstance: getInstance, getPrecision: getPrecision, setPrecision: setPrecision, plus: plus, minus: minus, times: times, div: ...
JavaScript
0.000002
@@ -119,46 +119,8 @@ );%0A%0A -console.log(bigdecimal.MathContext);%0A%0A modu
aba7d589f64cb73a8959ab0ab7fcbef868bc5740
Reset context menu on selection change while inspector is open
modules/ve/ui/widgets/ve.ui.PopupWidget.js
modules/ve/ui/widgets/ve.ui.PopupWidget.js
/*! * VisualEditor UserInterface PopupWidget class. * * @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /** * Creates an ve.ui.PopupWidget object. * * @class * @extends ve.ui.Widget * * @constructor * @param {Object} [config] Config op...
JavaScript
0.000009
@@ -2426,24 +2426,199 @@ ), 0 );%0A%7D;%0A%0A +/**%0A * Check if the popup is visible.%0A *%0A * @method%0A * @returns %7Bboolean%7D Popup is visible%0A */%0Ave.ui.PopupWidget.prototype.isVisible = function () %7B%0A%09return this.visible;%0A%7D;%0A%0A /**%0A * Show
a6d0373ea7ca897721d691089567af8e13bab61b
Use right length of header
mac/filetypes/open_STAK.js
mac/filetypes/open_STAK.js
define(['itemObjectModel', 'mac/roman'], function(itemOM, macRoman) { 'use strict'; function open(item) { function onBlock(item, byteSource) { return byteSource.slice(0, 12).getBytes().then(function(headerBytes) { var dv = new DataView(headerBytes.buffer, headerBytes.byteOffset, 4); va...
JavaScript
0.00001
@@ -255,16 +255,27 @@ ataView( +%0A headerBy @@ -310,17 +310,38 @@ Offset, -4 +headerBytes.byteLength );%0A
2c602b676d4727575b4af75ceba9ebcd72ff79ab
macintoshRoman should be macRoman
mac/resources/open_ATXT.js
mac/resources/open_ATXT.js
define(['mac/roman'], function(macintoshRoman) { 'use strict'; function open(item) { return item.getBytes().then(function(bytes) { item.setDataObject(new TextView(bytes.buffer, bytes.byteOffset, bytes.byteLength)); }); }; function TextView(buffer, byteOffset, byteLength) { this.dataView...
JavaScript
0.999999
@@ -31,14 +31,8 @@ (mac -intosh Roma
4a5ef15b80ef19c6faef91839601967bbdd9f7cf
work on site
site/syntax.js
site/syntax.js
/* syntax.js * apply simple syntax highlighting to Tetra code */ keywords = ["def", "if", "elif", "else", "while", "for", "in", "parallel"]; function applySyntax() { /* find all the <pre><code> blocks */ var snippets = document.querySelectorAll('pre code'); /* highlight each one */ for (snippet in ...
JavaScript
0
@@ -409,13 +409,15 @@ /g, +%22 heyoo +%22 );%0A
161909d9a8468bb80863f3cfd063c9277ec084bf
Withdraw -all should use balance from the Bank, not Currency
commands/economy/withdraw.js
commands/economy/withdraw.js
const { Command } = require('discord.js-commando'); const stripIndents = require('common-tags').stripIndents; const Currency = require('../../currency/Currency'); const Bank = require('../../currency/Bank'); module.exports = class WidthdrawCommand extends Command { constructor(client) { super(client, { name: 'w...
JavaScript
0.000005
@@ -871,32 +871,28 @@ nce = await -Currency +Bank .getBalance(
f4bf1b93d275b1f6e468519a8fd22c00d85fd79d
coerce strings to numbers in charts
corehq/apps/reports_core/static/reports_core/js/charts.js
corehq/apps/reports_core/static/reports_core/js/charts.js
var charts = (function() { var fn = {}; var renderPie = function (config, data, svgSelector) { return function () { // preaggregate the data in the case of multiple levels of aggregation // todo: this could be done on the server side too which is probably more efficient ...
JavaScript
0.999994
@@ -5136,16 +5136,27 @@ y: +parseFloat( current%5B @@ -5190,16 +5190,17 @@ lumn_id%5D +) %0A
2e89550f0b3511ffbc64cb85254a32d676aa1a8d
Add room and staff pmall
infinite/commands/staff.js
infinite/commands/staff.js
/** * Staff required and staff related commands. */ module.exports = { hide: function(target, room, user) { if (!this.can('lock')) return false; user.hiding = true; user.updateIdentity(); this.sendReply('You have hidden your staff symbol.'); }, show: function(target, room...
JavaScript
0
@@ -670,20 +670,50 @@ message%5D + - PM all users in the server. ');%0A - %0A @@ -944,12 +944,956 @@ %7D%0A + %7D,%0A%0A pmstaff: 'pmallstaff',%0A pmallstaff: function (target, room, user) %7B%0A if (!target) return this.sendReply('/pmallstaff %5Bmessage%5D - Sends a PM to every staff membe...
d73877ba6bf83022fb2b1caa9735b78cb828b6ba
fix when user has no contributions
src/c/user-contributed.js
src/c/user-contributed.js
import m from 'mithril'; import models from '../models'; import postgrest from 'mithril-postgrest'; import _ from 'underscore'; import h from '../h'; import userVM from '../vms/user-vm'; import projectCard from './project-card'; import inlineError from './inline-error'; const userContributed = { controller(args) {...
JavaScript
0.000001
@@ -754,16 +754,71 @@ (data);%0A + if(!_.isEmpty(contributedProjects()))%7B%0A @@ -910,16 +910,20 @@ + online_d @@ -936,37 +936,47 @@ desc'%0A + + %7D);%0A%0A + mode @@ -1007,24 +1007,28 @@ + + pages.firstP @@ -1064,24 +1064,...
550ef0d78c008f8ff8fdff0bba060bc8d101ef74
remove console.log
components/ecosystem/Post.js
components/ecosystem/Post.js
import { Markdown } from "@urbit/foundation-design-system"; import classnames from "classnames"; import Link from "next/link"; export default function Post({ post }) { return ["featured-1", "featured-2", "featured-3"].map((feat) => { console.log(post[feat]?.matchedPost); const childPath = post[feat] && ...
JavaScript
0
@@ -233,50 +233,8 @@ %3E %7B%0A - console.log(post%5Bfeat%5D?.matchedPost);%0A
2c70dd34fdf2388901ef63adffd539322ae8d496
create socket emitter and eventChannel listener in sagas to handle privateMsg data
src/client/sagas/index.js
src/client/sagas/index.js
import io from 'socket.io-client'; import { eventChannel } from 'redux-saga'; import { fork, take, call, put, cancel } from 'redux-saga/effects'; import { login, logout, addUser, removeUser, newMessage, sendMessage, isTyping as typing, currentlyTyping, addReaction, sendUpdatedReaction } from '../actions/actions'; // ...
JavaScript
0
@@ -247,16 +247,55 @@ yTyping, + sendPrivateMessage, newPrivateMessage, addReac @@ -320,16 +320,16 @@ eaction%0A - %7D from ' @@ -1303,17 +1303,121 @@ %7D);%0A + socket.on('messages.private', (%7B message %7D) =%3E %7B%0A emit(newPrivateMessage(%7B message %7D));%0A %7D); %0A - sock @@ -2084,...
0b48a74761b45464740c99b79bd7cc0b930e7090
fix typo
media/boom/js/boom.tags.js
media/boom/js/boom.tags.js
$.extend($.boom, { /** @lends $.boom */ /** * User interface for tagging content and searching by tag. * @class */ tags : { /** Base URL for the tags controller @property @type String @default '/cms/tags' */ base_url: '/cms/tags/', /** Container element for the tag UI. @property @typ...
JavaScript
0.999991
@@ -1447,33 +1447,8 @@ ()%7B%0A -%09%09%09%09console.log( this );%0A %09%09%09%09 @@ -2973,17 +2973,16 @@ $( -' response ' ). @@ -2977,17 +2977,16 @@ response -' ).find(
9c42ffa3f61f9d516710c05f9ca81549a5a246e8
make wait stop happen after list refresh is called
awx/ui/client/src/job-templates/labels/labelsList.directive.js
awx/ui/client/src/job-templates/labels/labelsList.directive.js
/* jshint unused: vars */ export default [ 'templateUrl', 'Wait', 'Rest', 'GetBasePath', 'ProcessErrors', 'Prompt', '$q', '$filter', function(templateUrl, Wait, Rest, GetBasePath, ProcessErrors, Prompt, $q, $filter) { return { ...
JavaScript
0
@@ -2616,19 +2616,35 @@ -Wait('stop' +scope.search(%22job_template%22 );%0A @@ -2682,35 +2682,19 @@ -scope.search(%22job_template%22 +Wait('stop' );%0A @@ -2788,24 +2788,74 @@ , status) %7B%0A + Wait('stop');%0A
e1b03a5eaabee695bf34386abfec5cdb2bfde712
clear address field when guest checkout radio button is clicked
backend/app/assets/javascripts/spree/backend/checkouts/edit.js
backend/app/assets/javascripts/spree/backend/checkouts/edit.js
//= require_self $(document).ready(function() { if ($('#customer_autocomplete_template').length > 0) { window.customerTemplate = Handlebars.compile($('#customer_autocomplete_template').text()); } formatCustomerResult = function(customer) { return customerTemplate({ customer: customer, bill_ad...
JavaScript
0
@@ -2733,24 +2733,21 @@ $('# -checkout +order _email') @@ -2974,32 +2974,33 @@ dress_attributes +_ ' + field).val(%22 @@ -3042,16 +3042,17 @@ tributes +_ ' + fiel
af338f2566b713dd6bef5c036d2d5ed9863240a9
remove import of `Component` in dump blueprint
blueprints/dumb/files/__root__/components/__name__/__name__.js
blueprints/dumb/files/__root__/components/__name__/__name__.js
import React, { Component, PropTypes } from 'react' import styles from './<%= pascalEntityName %>.css' const <%= pascalEntityName %> = props => ( <div className={styles.main}><%= pascalEntityName %></div> ) <%= pascalEntityName %>.propTypes = {} export default <%= pascalEntityName %>
JavaScript
0
@@ -13,19 +13,8 @@ t, %7B - Component, Pro
12cd7b8470fc91fd3ba451714f692d1b1f9a3f2f
Fix spotify connector
src/connectors/spotify.js
src/connectors/spotify.js
'use strict'; const playerBar = '.Root__now-playing-bar'; Connector.useMediaSessionApi(); Connector.playerSelector = playerBar; Connector.artistSelector = `${playerBar} [dir="auto"]:last-child a`; Connector.trackSelector = `${playerBar} [dir="auto"]:first-child a`; Connector.trackArtSelector = '.NavBarFooter .cov...
JavaScript
0
@@ -49,24 +49,158 @@ ying-bar';%0A%0A +const artistSelector = %60$%7BplayerBar%7D %5Bdir=%22auto%22%5D:last-child a%60;%0Aconst spotifyConnectSelector = '%5Bclass*=spoticon-spotify-connect%5D';%0A%0A Connector.us @@ -290,48 +290,22 @@ r = -%60$%7BplayerBar%7D %5Bdir=%22auto%22%5D:last-child a%60 +artistSelector ;%...
84bcac92d7d3ece97193b725768364afda475468
tweak avatar render
about/html/avatar.js
about/html/avatar.js
const nest = require('depnest') const { h, computed } = require('mutant') exports.gives = nest('about.html.avatar') exports.needs = nest({ 'about.obs': { color: 'first', imageUrl: 'first' }, 'about.html.link': 'first' }) exports.create = function (api) { return nest('about.html.avatar', avatar) fu...
JavaScript
0
@@ -709,15 +709,8 @@ e', -Number. isNa
e12be7623be4080f12d2469b49cd92922ce74a47
Remove trailing spaces in ModuleManager
src/core/ModuleManager.js
src/core/ModuleManager.js
import {createStore} from 'redux'; import {DependencyError} from './errors'; /** * @class ModuleManager * @category core * @param {Object} object handler * @description Solves modules dependencies * @memberof module:core */ export class ModuleManager { constructor(object) { this.handler = object; this...
JavaScript
0.004117
@@ -937,18 +937,16 @@ ll;%0A %7D%0A - %0A /**%0A
02791866eacd3933174c3aa601966a6821ae736a
Minimize the if statements in binary search insert
dstructs/binarysearchtree.js
dstructs/binarysearchtree.js
;(function() { function Node(value) { this.value = value; this.right = null; this.left = null; } function BinarySearchTree() { this.root = null; }; BinarySearchTree.prototype = { insert: function(value, node) { if(!this.root) { this.root = new Node(value); } else ...
JavaScript
0.999955
@@ -254,26 +254,16 @@ is.root) - %7B%0A this.ro @@ -283,24 +283,41 @@ (value); -%0A %7D + // special case, no node %0A e @@ -357,16 +357,56 @@ is.root; + // initialize node for base insert case %0A @@ -500,9 +500,9 @@ lue -%3C +%3E nod @@ -526,24 +526,22 @@ -if(node. +// go to ...
37a7c318d5db20a1343598a81dba93f81e83934f
Remove stack trace for ENOENT.
src/core/error-handler.js
src/core/error-handler.js
/** @module error-handler.js */ (function() { var HACKMYSTATUS = require('./status-codes') , PKG = require('../../package.json') , FS = require('fs') , FCMD = require('../hackmycmd') , PATH = require('path') , chalk = require('chalk') , title = chalk.white.bold('\n*** HackMyResume v' + PKG.v...
JavaScript
0
@@ -3048,24 +3048,98 @@ tring()) );%0A + if( ex.code !== 'ENOENT' ) // Don't emit stack for common stuff%0A cons
b9a87910a977a1a7d575acdb6a45ab661281337e
Allow address search after polygon search
opentreemap/treemap/js/src/otmTypeahead.js
opentreemap/treemap/js/src/otmTypeahead.js
"use strict"; var _ = require("underscore"); // A wrapper around twitter's typeahead library with some sane defaults // Bootstrap must always be imported before typeahead require('bootstrap'); require('typeahead'); var $ = require("jquery"), _ = require("underscore"), mustache = require("mustache"), Baco...
JavaScript
0.999995
@@ -1042,32 +1042,30 @@ nction input -Property +Stream ($input) %7B%0A @@ -1149,144 +1149,14 @@ lue) -%0A .toProperty();%0A%7D%0A%0A%0Afunction firstIfSecondIsEmptyElseEmpty (first, second) %7B%0A return second === %22%22 ? first : %22%22 ;%0A%7D%0A%0A +%0A expo @@ -2968,24 +2968,22 @@ inpu...
5d72f6e48633375c2de70dc512bb14c3055552dc
use the lowercase of the node name
src/dom-to-react/index.js
src/dom-to-react/index.js
import React from 'react'; class Dom2React { constructor(tests) { this.tests = tests || []; } prepareChildren(childNodeList, level) { const children = Array.prototype.slice.call(childNodeList).map((node, index) => this.prepareNode(node, level + 1, index) ).filter(Boolean); if (!children.l...
JavaScript
0
@@ -1917,16 +1917,30 @@ nodeName +.toLowerCase() ,%0A
29ff0c5ed540df6abc074f4c75b5e813d547d2a2
Add light, coin
player/src/core/traffic.js
player/src/core/traffic.js
import THREE from 'three'; import Config from '../config'; export default class Traffic { constructor(scene) { let self = this; self.MIN_EDGE = -3200; self.MAX_EDGE = 1600; self.Z0 = 200; // vehicles self.vehicles = []; var loader = new THR...
JavaScript
0.000238
@@ -3301,32 +3301,823 @@ in';%0A %7D);%0A + %0A // train light%0A var loader = new THREE.OBJMTLLoader();%0A loader.load('3d/TrafficLight.obj', '3d/TrafficLight.mtl', function(obj3d) %7B%0A obj3d.scale.set(Config.SCALE*2 , Config.SCALE*2 , Config.SCALE*2 );%0A var ...
8a26d3a327494503a4d77de5c7527e90be55d6c6
Consolidate assigns
packages/internal-test-helpers/lib/system/synthetic-events.js
packages/internal-test-helpers/lib/system/synthetic-events.js
import { run } from '@ember/runloop'; /* globals Element */ import { assign } from '@ember/polyfills'; const DEFAULT_EVENT_OPTIONS = { canBubble: true, cancelable: true }; const KEYBOARD_EVENT_TYPES = ['keydown', 'keypress', 'keyup']; const MOUSE_EVENT_TYPES = [ 'click', 'mousedown', 'mouseup', 'dblclick', ...
JavaScript
0.000001
@@ -3609,39 +3609,16 @@ _OPTIONS -);%0A assign(eventOpts , option @@ -4271,31 +4271,8 @@ IONS -);%0A assign(eventOpts , op
5ba0d2d65773eb08d01b9ed82386783a160d4740
Fix unable to populate user
packages/plugins/users-permissions/server/controllers/user.js
packages/plugins/users-permissions/server/controllers/user.js
'use strict'; /** * User.js controller * * @description: A set of functions called "actions" for managing `User`. */ const _ = require('lodash'); const utils = require('@strapi/utils'); const { getService } = require('../utils'); const { validateCreateUserBody, validateUpdateUserBody } = require('./validation/use...
JavaScript
0
@@ -177,32 +177,122 @@ strapi/utils');%0A +const %7B convertPopulateQueryParams %7D = require('@strapi/utils/lib/convert-query-params');%0A const %7B getServi @@ -3804,33 +3804,8 @@ (ctx -, next, %7B populate %7D = %7B%7D ) %7B%0A @@ -3856,16 +3856,23 @@ etchAll( +%0A ctx.quer @@ -3881,17 +3881,60 @@ filte...
6b010b09a9b2728ae359eb99581454cc026547f9
Fix TypeScript file detection
packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js
packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js
// @remove-file-on-eject /** * Copyright (c) 2015-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. */ 'use strict'; const chalk = require('chalk'); const fs = require('fs'); const resolve = require('resolve'); co...
JavaScript
0.000288
@@ -1401,16 +1401,17 @@ ch(/%5C.ts +x ?$/)) %7B%0A
b4c2fd0416b2133889aad774f810ab8ae14ce5b1
Fix wrong function call
packages/veritone-react-common/src/components/AppBar/index.js
packages/veritone-react-common/src/components/AppBar/index.js
import React from 'react'; import Paper from '@material-ui/core/Paper'; import IconButton from '@material-ui/core/IconButton'; import CloseIcon from '@material-ui/icons/Close'; import { objectOf, any, string, bool, func, arrayOf, shape, number, element, oneOfType, oneOf } from 'prop-types'; impo...
JavaScript
0.036136
@@ -1872,16 +1872,17 @@ oneOf +( %5B%0A @@ -1958,16 +1958,17 @@ %0A %5D +) ,%0A zI
77426a2754d2ddc1cb5d50e90dbbe541659c2c18
Add and use default stroke color for axes
cangraph.js
cangraph.js
/** * Cangraph * * Graphing and function plotting for the HTML5 canvas. Main function plotting * engine was taken from the link below and modified. * * @link http://www.javascripter.net/faq/plotafunctiongraph.htm */ (function ($) { /** * Constructor and initialization * * @class Cangraph ...
JavaScript
0
@@ -671,16 +671,56 @@ eX: true +,%0A strokeColor: '#000000' %0A @@ -2116,26 +2116,37 @@ e = -%22rgb(128,128,128)%22 +this.options.axes.strokeColor ;%0A
93bc928f2f19bba92ce178325f396c863f34c566
Remove unused option for client-side bundle
packages/client/.spinrc.js
packages/client/.spinrc.js
const url = require('url'); const config = { builders: { web: { entry: './src/index.tsx', stack: ['web'], openBrowser: true, dllExcludes: ['bootstrap'], defines: { __CLIENT__: true }, // Wait for backend to start prior to letting webpack load frontend page ...
JavaScript
0
@@ -710,50 +710,8 @@ se,%0A - frontendRefreshOnBackendChange: true,%0A
ed50dadc368876784ea9eb04fc814f1218a62cb2
Disable loops in user's code
control/main.js
control/main.js
var loop; var level; var viktoria; var skin; function parse(str) { restart(); var i = 0; loop = setInterval(function () { Player.canPerformAction = true; i++; console.log("ROUND " + i + " ------------------"); check(); var element = Player.checkNextField(Map...
JavaScript
0.000001
@@ -1357,27 +1357,213 @@ %7D%0A -%0A eval(str); + const regex = /(while%7Cfor)/g%0A if (regex.exec(str)) %7B%0A console.log('A k%C3%B3dban nem lehet ciklus!');%0A clearInterval(loop);%0A %7D else %7B%0A eval(str);%0A %7D %0A%0A
4f2ba69c7a4c2e5906d949fae1d0fc902c6f12df
Remove dead code in the JS app
data/wp/wp-content/plugins/epfl/menus/epfl-menus-admin.js
data/wp/wp-content/plugins/epfl/menus/epfl-menus-admin.js
// It seems that not much documentation exists for the JQuery // mini-Web-app that is the Wordpress admin menu editor. However, // insofar as Polylang's business in that mini-Web-app is similar // to ours, studying the js/nav-menu.js therefrom is helpful. function initNavMenus ($) { var $metabox = $('div.add-externa...
JavaScript
0.000004
@@ -1,813 +1,4 @@ -// It seems that not much documentation exists for the JQuery%0A// mini-Web-app that is the Wordpress admin menu editor. However,%0A// insofar as Polylang's business in that mini-Web-app is similar%0A// to ours, studying the js/nav-menu.js therefrom is helpful.%0A%0Afunction initNavMenus ($) %7B%0A ...
f268f13edcf98dde3cef6aceadc4fb48d7253067
add a comma
assassins-meteor/server/emails.js
assassins-meteor/server/emails.js
Meteor.assassinsEmails = {} Meteor.assassinsEmails.prefix = "[Assassins] " // TODO: this is not correct. Meteor.assassinsEmails.url = "http://assassins.xvm.mit.edu/" Meteor.assassinsEmails.formatUser = function(user) { var displayName = user.profile.name; var email = user.emails[0].address; return "" + display...
JavaScript
0.999987
@@ -1104,16 +1104,17 @@ : emails +, %0A %22su
f8b3eec5dbc4105c02460e4cd319a72811b1bf36
Fix lint errors and disable rule
lib/node_modules/@stdlib/utils/regexp-from-string/test/test.js
lib/node_modules/@stdlib/utils/regexp-from-string/test/test.js
'use strict'; // MODULES // var tape = require( 'tape' ); var reFromString = require( './../lib' ); // TESTS // tape( 'main export is a function', function test( t ) { t.ok( true, __filename ); t.equal( typeof reFromString, 'function', 'main export is a function' ); t.end(); }); tape( 'the function throws an e...
JavaScript
0.000001
@@ -1,8 +1,47 @@ +/* eslint-disable no-useless-escape */%0A 'use str @@ -512,18 +512,24 @@ function + noop () + %7B%7D%0A%09%5D;%0A%0A @@ -603,16 +603,17 @@ es%5Bi%5D ), + TypeErro
55b82b15026c8917940e7a7bd34efc758a0f865b
Fix TypeError in CleanWebpackPlugin instantiation (#185)
webpack.dev.js
webpack.dev.js
const merge = require("webpack-merge"); const path = require("path"); const CleanWebpackPlugin = require("clean-webpack-plugin"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const common = require("./webpack.common"); module.exports = merge(common, { mode: "development", output: { filena...
JavaScript
0
@@ -68,16 +68,18 @@ );%0Aconst + %7B CleanWe @@ -85,24 +85,26 @@ ebpackPlugin + %7D = require(%22 @@ -102,17 +102,17 @@ require( -%22 +' clean-we @@ -123,17 +123,17 @@ k-plugin -%22 +' );%0Aconst
15cfeb935dc8196f9c7e1026dc8289d9be672dca
Enable sourcemaps for css/js
webpack.mix.js
webpack.mix.js
let mix = require('laravel-mix'); // For mix-manifest.json mix.setPublicPath('public'); const vendorDirs = { // AdminLTE 'node_modules/admin-lte/dist': 'public/assets/vendor/admin-lte', 'node_modules/admin-lte/bootstrap': 'public/assets/vendor/admin-lte/bootstrap', 'node_modules/admin-lte/plugins': '...
JavaScript
0.000001
@@ -1007,24 +1007,42 @@ s/app/css')%0A + .sourceMaps()%0A .version
f94277f99563709b630580385976424711305d07
Add TableShortcut to widgets export
src/widgets/index.js
src/widgets/index.js
/** * mSupply Mobile * Sustainable Solutions (NZ) Ltd. 2019 */ export { Button, ProgressBar } from 'react-native-ui-components'; export { AutocompleteSelector } from './AutocompleteSelector'; export { DataTablePageView } from './DataTablePageView'; export { ExpiryDateInput } from './ExpiryDateInput'; export { Fina...
JavaScript
0
@@ -1164,24 +1164,74 @@ Navigator';%0A +export %7B TableShortcut %7D from './TableShortcuts';%0A export %7B Tab
2c707f12fffb9ab06d8edf7c4358b7b6ae325475
Add ChoiceView to DUG for selecting daoKey.
src/foam/nanos/dig/DUG.js
src/foam/nanos/dig/DUG.js
/** * @license * Copyright 2018 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.dig', name: 'DUG', documentation: 'Data Update Gateway - DAO subscription notifcation service', javaImports: [ 'foam.dao.DAO', 'foam.dao.HTTPSin...
JavaScript
0
@@ -714,36 +714,388 @@ DAO' +, %0A -// TODO: make keyView +view: function(_, X) %7B%0A var E = foam.mlang.Expressions.create();%0A return foam.u2.view.ChoiceView.create(%7B%0A dao: X.nSpecDAO%0A .where(E.ENDS_WITH(foam.nanos.boot.NSpec.ID, 'DAO'))%0A .orderBy(foam.na...
18073ac7a7d21807d05275fc9141dacd72db8890
Make DetailView be a Multiton and work when only 'of' is specified but no 'data'.
src/foam/u2/DetailView.js
src/foam/u2/DetailView.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
@@ -708,16 +708,85 @@ View',%0A%0A + axioms: %5B%0A foam.pattern.Multiton.create(%7Bproperty: 'of'%7D)%0A %5D,%0A%0A docume @@ -1326,24 +1326,94 @@ eturn data;%0A + %7D,%0A expression: function(of) %7B%0A return of.create();%0A %7D%0A
cb748a3d8e0f2034c3406d263232fdbf1c362268
remove dropdown from question types
public/modules/projects/controllers/crud.client.controller.js
public/modules/projects/controllers/crud.client.controller.js
'use strict'; angular.module('projects').controller('CrudController', ['$scope', '$stateParams', '$location', 'Authentication', 'Projects', 'Regions', function($scope, $stateParams, $location, Authentication, Projects, Regions) { $scope.authentication = Authentication; $scope.questionTypes = ['single choice', ...
JavaScript
0.000015
@@ -347,20 +347,8 @@ al', - 'dropdown', 'te
07308ed9d79a1d08409d5e320d5d9bca6d93acd2
Add label to vertical line annotation
src/forms/ResultsGraph.js
src/forms/ResultsGraph.js
import _ from 'lodash' import React from 'react'; import { Line } from 'react-chartjs-2'; // Logic import { getSNAPBenefits } from '../programs/federal/snap'; import { getHousingBenefit } from '../programs/massachusetts/housing'; import { formatAxis, formatTitle, formatLabel, stackedTitle } from '../utils/char...
JavaScript
0.000001
@@ -2837,24 +2837,327 @@ .stroke();%0A%0A + ctx.fillStyle = 'darkgray';%0A ctx.textAlign = 'left';%0A const lineHeight = ctx.measureText('M').width * 1.2;%0A const xMargin = 5;%0A const yMargin = 200;%0A ctx.fillText('Future', offset + xMargin, yMargin);%0A ctx.fillText('Income', off...
0fb11ca0c0734b469957bb75f655d3e1d4cb32b7
Update message when requestion for a new key since previous key will still be available for a certain time
src/app/application/details/application.controller.js
src/app/application/details/application.controller.js
/* * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requi...
JavaScript
0
@@ -3556,16 +3556,19 @@ ey will +be no longe @@ -3573,17 +3573,24 @@ ger -be valid +in 1 hour !',%0A
7f1417755595046bf9b4014f1eb66c0bd2d85a56
Remove sponsor link section
primewire-enhancer.user.js
primewire-enhancer.user.js
// ==UserScript== // @name Primewire Enhancer // @namespace https://github.com/nordinrahman/userscript // @version 0.2 // @description Enhance browsing experience on primewire.ag, unframe link, and disable ad when clicking link. Used best together with Adblock Plus, Anti Adblock Killer (AdBlock fil...
JavaScript
0
@@ -3455,13 +3455,415 @@ )();%0D%0A%0D%0A + (function () %7B%0D%0A /// %3Csummary%3E%0D%0A /// Remove sponsor link section%0D%0A /// %3C/summary%3E%0D%0A%0D%0A var sponsorLinkIframe = document.querySelector('iframe%5Bsrc=%22/additional_content.php%22%5D');%0D%0A var sponsorLinkHea...
6861131bcefdb572871622cdbd2490fa690fada9
Support new boot_data format
src/get-slack-api-data.js
src/get-slack-api-data.js
export default function getSlackApiData () { const scripts = document.querySelectorAll('script[type="text/javascript"]'); let apiToken; let versionUid; scripts.forEach((script) => { const isBootDataScript = /var\sboot_data\s\=\s\{/.test(script.innerText); if (!isBootDataScript) { return; } ...
JavaScript
0
@@ -341,16 +341,20 @@ sult = / +%5B%22%5D? api_toke @@ -354,25 +354,31 @@ pi_token +%5B%22%5D? %5C:%5Cs +* %5C%22(. -* ++? )%5C%22/g.ex @@ -429,16 +429,20 @@ sult = / +%5B%22%5D? version_ @@ -448,17 +448,23 @@ _uid +%5B%22%5D? %5C:%5Cs +* %5C%22(. -* ++? )%5C%22/
f5efa42ccd5af18f0a974c8dab034d5546f4690e
Fix conflict with `Bootstrap` even when label is not defined (#34343)
packages/mui-material/src/OutlinedInput/NotchedOutline.js
packages/mui-material/src/OutlinedInput/NotchedOutline.js
import * as React from 'react'; import PropTypes from 'prop-types'; import styled from '../styles/styled'; const NotchedOutlineRoot = styled('fieldset')({ textAlign: 'left', position: 'absolute', bottom: 0, right: 0, top: -5, left: 0, margin: 0, padding: '0 8px', pointerEvents: 'none', borderRadius...
JavaScript
0
@@ -538,16 +538,64 @@ otstrap%0A + width: 'auto', // Fix conflict with bootstrap%0A overfl @@ -1012,58 +1012,8 @@ css%0A - width: 'auto', // Fix conflict with bootstrap%0A
29ec163a63e740c3f8e176da02c65db55a7b6939
use smaller copy icon
src/components/Stocks/Details/common/DetailsHeader.js
src/components/Stocks/Details/common/DetailsHeader.js
// @flow import React from "react" import { Link } from "react-router-dom" import Typography from "@material-ui/core/Typography" import Grid from "@material-ui/core/Grid" import IconButton from "@material-ui/core/IconButton" import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" import useStyles from "compone...
JavaScript
0.000208
@@ -1533,18 +1533,18 @@ %22 size=%22 +x s -m %22 /%3E%0A
bf42511fa2dc28d960545d53bfd4e5bbd025f836
add permission
packages/rocketchat-ui-saic/server/publications/itinfo.js
packages/rocketchat-ui-saic/server/publications/itinfo.js
Meteor.methods( { 'getitinfobyid': function (data) { //console.log(data); var postdata = { id: data.id }; var result = HTTP.call('GET', mmtServerURL + "mmt-web/f/mm/mmtAnnounce/getMmtAnnounce?id=" + data.id, {}); //console.log(res...
JavaScript
0
@@ -147,16 +147,51 @@ data.id +,%0A params: GetUser() %0A @@ -638,16 +638,59 @@ : userId +,%0A params: GetUser() %0A @@ -988,32 +988,33 @@ data: data +, %0A @@ -1018,55 +1018,29 @@ -%7D);%0A //if (result.data.total == 0) %7...
11fba93181585807c3c407ed8ca5d2d9ab4e07c7
Revert unfinished change that I shouldn't have committed
packages/server/lib/game-managers/pending-game-manager.js
packages/server/lib/game-managers/pending-game-manager.js
"use strict"; const _ = require("lodash"), SwappableProxy = require("swappable-proxy"), toArray = require("iterator-to-array"), GameFactory = require("dc-game-factory"), PendingGameStatus = GameFactory.PendingGameStatus, dcConstants ...
JavaScript
0
@@ -119,68 +119,8 @@ %22),%0A - toArray = require(%22iterator-to-array%22),%0A @@ -813,52 +813,8 @@ s);%0A - let users = new Map(); // User ID -%3E User%0A le @@ -915,22 +915,16 @@ dPlayer( -user, callback @@ -1045,65 +1045,8 @@ );%0A%0A - user.player = player;%0A users.set(user...
2977a4df5348f1413b0f9b83e9b326ec862e83f4
Refactor if/else condition in error catching code
corvo_server.js
corvo_server.js
import Net from 'net'; import Store from './store'; import { Parser } from './parser'; import ParserError from './parser_error'; import StoreError from './store_error'; const DEFAULT_PORT = 6379; const DEFAULT_HOST = '127.0.0.1'; class CorvoServer { constructor() { this.store = new Store(); this.storeComman...
JavaScript
0.000001
@@ -2547,99 +2547,12 @@ rror -) %7B%0A const result = err.message;%0A conn.write(result);%0A %7D else if ( + %7C%7C err
d94120cf7da438722c1bb60dfaa81ada4e48e724
Fix active menu item content.
src/helpers/menu_entry.js
src/helpers/menu_entry.js
const Handlebars = require('handlebars'); const templates = { active: Handlebars.compile('<li class="active">{{{content}}}</li>'), unactive: Handlebars.compile('<li><a href="{{link}}">{{{content}}}</a></li>') }; module.exports = function(entries, current_page) { const items = entries.map((entry) => { ...
JavaScript
0
@@ -107,16 +107,19 @@ active%22%3E +%3Ca%3E %7B%7B%7Bconte @@ -125,16 +125,20 @@ ent%7D%7D%7D%3C/ +a%3E%3C/ li%3E'),%0A
a51c77f4ba32c8e2bd79ca10d714b984d0b1ea4f
fix test expectation
eventkit_cloud/ui/static/ui/app/tests/DataPackSearchbar.spec.js
eventkit_cloud/ui/static/ui/app/tests/DataPackSearchbar.spec.js
import React from 'react'; import {expect} from 'chai'; import sinon from 'sinon'; import {mount} from 'enzyme'; import AutoComplete from 'material-ui/AutoComplete'; import DataPackSearchbar from '../components/DataPackSearchbar'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; describe('DataPackSe...
JavaScript
0.000001
@@ -942,14 +942,16 @@ rch -export +DataPack s');
f7a0df03b7dcea47c92469cc0fb6391e8d21d4b2
Extend jest timeout for tests
src/__tests__/integration/handler/handlerPayload.test.js
src/__tests__/integration/handler/handlerPayload.test.js
'use strict'; const { resolve } = require('path'); const { URL } = require('url'); const fetch = require('node-fetch'); const Serverless = require('serverless'); const ServerlessOffline = require('../../../../src/ServerlessOffline.js'); jest.setTimeout(10000); describe('handler payload tests', () => { let serverle...
JavaScript
0.000002
@@ -252,9 +252,9 @@ out( -1 +3 0000
99a673a1073a8336f1fb6d3ad4a29bbaedc75e54
fix quotes
www/app/app.js
www/app/app.js
'use strict'; angular.module('myIonicStarter', [ 'ionic', 'myIonicStarter.home', 'myIonicStarter.profile', ]) .run(function ($ionicPlatform) { $ionicPlatform.ready(function() { // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard // for form inputs) if (win...
JavaScript
0.000001
@@ -674,14 +674,14 @@ rl: -%22 +' /tab -%22 +' ,%0A @@ -715,17 +715,17 @@ ateUrl: -%22 +' app/tab. @@ -732,9 +732,9 @@ html -%22 +' %0A %7D
b46bfbd6195035293ab212804c9fe3d36ffbeea8
update CascaderSelectExamples
examples/containers/app/modules/field/CascaderSelectExamples.js
examples/containers/app/modules/field/CascaderSelectExamples.js
import React, {Component} from 'react'; import Widget from 'src/Widget'; import WidgetHeader from 'src/WidgetHeader'; import CascaderSelect from 'src/CascaderSelect'; import RaisedButton from 'src/RaisedButton'; import Dialog from 'src/Dialog'; import PropTypeDescTable from 'components/PropTypeDescTable'; import doc ...
JavaScript
0
@@ -432,17 +432,16 @@ scss';%0A%0A -%0A class Ca @@ -2392,17 +2392,16 @@ ible: %7B%7D -, %0A @@ -8788,32 +8788,48 @@ + (%7Bnode.children. @@ -8829,32 +8829,48 @@ ildren.length%7D)%0A +
c550381d3936eba44bbaf78f567b45c93cfd872e
Patch from Michael Hermanto | Un-break osapi registry mechanism for container mode
features/src/main/javascript/features/osapi/jsonrpctransport.js
features/src/main/javascript/features/osapi/jsonrpctransport.js
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
JavaScript
0
@@ -3034,14 +3034,13 @@ // -Do not +We do run @@ -3048,16 +3048,20 @@ this in +the containe @@ -3070,34 +3070,43 @@ mode -.%0A if (gadgets.config && + in the new common container%0A if ( gadg @@ -3119,17 +3119,8 @@ nfig -.isGadget ) %7B%0A
1b2d64d60cc2bb4b9aac047ed814cf2bfb3b7c93
update a test to comply with the types
source/views/components/filter/__tests__/apply-filter.test.js
source/views/components/filter/__tests__/apply-filter.test.js
/* eslint-env jest */ // @flow import {applyFilter} from '../apply-filters' import {filterValue} from './filter-value.helper' it('should return `true` if the filter is disabled', () => { let filter = { type: 'list', key: 'key', enabled: false, spec: { label: 'label', options: filterValue(...
JavaScript
0
@@ -268,30 +268,8 @@ : %7B%0A - label: 'label',%0A
1f715c366342a7e59054ebf3c6b153db71fd673c
Fix crash in suggestions when using legacy legendaries
src/Parser/Core/Modules/Items/LegendaryUpgradeChecker.js
src/Parser/Core/Modules/Items/LegendaryUpgradeChecker.js
import React from 'react'; import ItemLink from 'common/ItemLink'; import ITEM_QUALITIES from 'common/ITEM_QUALITIES'; import Analyzer from 'Parser/Core/Analyzer'; import SUGGESTION_IMPORTANCE from 'Parser/Core/ISSUE_IMPORTANCE'; const MAX_LEGENDARY_ILVL = 265; const debug = false; class LegendaryUpgradeChecker ext...
JavaScript
0
@@ -113,16 +113,49 @@ ITIES';%0A +import ITEMS from 'common/ITEMS'; %0Aimport @@ -362,17 +362,16 @@ lyzer %7B%0A -%0A get le @@ -685,18 +685,16 @@ %7B%0A - debug && @@ -752,19 +752,178 @@ vel%7D%60);%0A -%0A + if (!ITEMS%5Bitem.id%5D) %7B%0A console.warn('Missing legendary from ITEMS so ...
6839fe831678c3acf04c7b203a6b307defdf0fdb
Add a post function that calls overloaded commit record function, since the application actually refers to saving these documents as posting.
frameworks/xm/packages/xtuple/__core__/ext/models/sub_ledger.js
frameworks/xm/packages/xtuple/__core__/ext/models/sub_ledger.js
// ========================================================================== // Project: xTuple Postbooks - Business Management System Framework // Copyright: ©2012 OpenMFG LLC, d/b/a xTuple // ========================================================================== sc_require(...
JavaScript
0
@@ -859,24 +859,157 @@ //%0A %0A /**%0A + Same as %60commitRecord%60.%0A %0A @seealso %60commitRecord%60%0A */%0A post: function() %7B%0A return this.commitRecord();%0A %7D,%0A %0A /**%0A For new
661ae1b799e55dd9b6ef7206e6889b225b021945
Replace undefined status with textStatus (#1600)
src/components/ChatApp/MessageListItem/Feedback.react.js
src/components/ChatApp/MessageListItem/Feedback.react.js
import React from 'react'; import PropTypes from 'prop-types'; import ThumbUp from 'material-ui/svg-icons/action/thumb-up'; import ThumbDown from 'material-ui/svg-icons/action/thumb-down'; import ShareIcon from 'material-ui/svg-icons/social/share'; import UserPreferencesStore from '../../../stores/UserPreferencesStore'...
JavaScript
0.000114
@@ -2379,17 +2379,21 @@ if ( -s +textS tatus ==
995a2f9fd5ecb55085a6e1f45905bf2fe0066889
fix search results table when some property types aren't present
src/containers/entitysetsearch/EntitySetSearchResults.js
src/containers/entitysetsearch/EntitySetSearchResults.js
import React, { PropTypes } from 'react'; import { Table, Column, Cell } from 'fixed-data-table'; import TextCell from './TextCell'; const TABLE_WIDTH = 1000; const MAX_TABLE_HEIGHT = 500; const ROW_HEIGHT = 50; const TABLE_OFFSET = 2; export default class EntitySetSearchResults extends React.Component { static pro...
JavaScript
0.000001
@@ -744,167 +744,51 @@ ) / -Object.keys(this.state.results%5B0%5D).length;%0A const propertyIds = Object.keys(this.state.results%5B0%5D);%0A return propertyIds.map((id) =%3E %7B%0A const title = +this.props.propertyTypes.length;%0A return thi @@ -813,14 +813,11 @@ pes. -filter +map ((pr @@ -837,66 +...
25591c0830eed0c87295ec96c44e6d9cc0a09c2f
Fix public and group calls started in speaker mode
src/store/callViewStore.js
src/store/callViewStore.js
/** * @copyright Copyright (c) 2020 Marco Ambrosini <marcoambrosini@pm.me> * * @author Marco Ambrosini <marcoambrosini@pm.me> * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Licens...
JavaScript
0.000018
@@ -2254,16 +2254,21 @@ RSATION. +TYPE. GROUP%0A%09%09 @@ -2306,16 +2306,21 @@ RSATION. +TYPE. PUBLIC)%0A
60ef3dac620aafc796419997bd056dc521dd899e
Use lodash compact for dev/prod variations
config/webpack/webpack.config.js
config/webpack/webpack.config.js
const webpack = require('webpack'); const merge = require('webpack-merge'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); // This is very experimental library // There might be another favourite react-refresh webpack plugin at some point ... // See https://github.com/facebook/react/issues/16604 for ...
JavaScript
0
@@ -65,24 +65,67 @@ ck-merge');%0A +const compact = require('lodash/compact');%0A const MiniCs @@ -177,16 +177,16 @@ ugin');%0A - %0A// This @@ -736,164 +736,8 @@ ';%0A%0A -const ifDevelopment = (...items) =%3E %7B%0A return isDevelopment ? items : %5B%5D;%0A%7D;%0A%0Aconst ifProduction = (...items) =%3E %7B%0A ...
3c4fb167c88be547d99dcb1412496e90beff31a5
Make sure we Buffer fullsize images from Pinterest
embeds/buffer-pinterest.js
embeds/buffer-pinterest.js
;(function() { var config = [ // Stream Pins { placement: 'pinterest-stream-pins', selector: '.Pin.Module:not(.buffer-inserted, .hideHoverUI)', $button: $([ '<div class="pin-action-item Button btn">', '<a class="js-buffer-action pin-action position-rel" href="#" rel="buff...
JavaScript
0
@@ -1201,37 +1201,58 @@ picture: +getFullSizeImageUrl( image +) ,%0A plac @@ -2452,37 +2452,58 @@ picture: +getFullSizeImageUrl( image +) ,%0A plac @@ -4224,21 +4224,42 @@ icture: +getFullSizeImageUrl( image +) ,%0A @@ -5002,17 +5002,361 @@ p();%0A %7D -%0A +;%0A%0A ...
ddcb096b77eb928791170ecb3f5eb763ee870198
Update BoundsArraySet_Depthwise.js
CNN/Conv/BoundsArraySet/BoundsArraySet_Depthwise.js
CNN/Conv/BoundsArraySet/BoundsArraySet_Depthwise.js
export { Depthwise }; export { DepthwisePool }; import * as FloatValue from "../../Unpacker/FloatValue.js"; import * as ValueDesc from "../../Unpacker/ValueDesc.js"; import * as Weights from "../../Unpacker/Weights.js"; import { ConvBiasActivation } from "./BoundsArraySet_ConvBiasActivation.js"; import { ChannelPartIn...
JavaScript
0.000001
@@ -1068,24 +1068,265 @@ Count;%0A %7D%0A%0A + /**%0A * After calling this method, this object should be viewed as disposed and should not be operated again.%0A */%0A disposeResources_and_recycleToPool() %7B%0A //this.disposeResources();%0A DepthwisePool.Singleton.recycle( this );%0A %7D%0A%0A /**%0A ...
cf131e7a9a4bd60d993f1004d3b08742493a2c9a
Add type check
custom-class.js
custom-class.js
/** * custom-class.js v1.1.1 * author: Yoshiya Hinosawa ( http://github.com/kt3k ) * license: MIT */ (function ($) { 'use strict'; if (typeof $ === 'undefined') { throw new Error('jQuery unavailable. custom-class.js depends on jQuery. Load jQuery in global scope before this library.'); } ...
JavaScript
0.000001
@@ -2101,24 +2101,308 @@ e strict';%0A%0A + if (typeof name !== 'string') %7B%0A%0A throw new Error('%60name%60 of a custom class has to be a string');%0A%0A %7D%0A%0A if (typeof definingFunction !== 'function') %7B%0A%0A throw new Error('%60definingFunction%60 of a custom cl...
a8ae30169615a9967edd947d0fad7df1f58ee17e
use --exit-code option
commands/run.js
commands/run.js
'use strict'; let co = require('co'); let tls = require('tls'); let url = require('url'); let tty = require('tty'); let stream = require('stream'); let cli = require('heroku-cli-util'); function buildCommand(args) { if (args.length === 1) { // do not add quotes around arguments if there is only ...
JavaScript
0.000011
@@ -2022,16 +2022,22 @@ vous(uri +, opts ) %7B%0A le @@ -2324,18 +2324,29 @@ ss.exit( --1 +opts.exitCode );%0A %7D); @@ -2647,111 +2647,186 @@ let -p = startDyno(heroku, context.app, context.flags.size, %60$%7Bcommand%7D; echo heroku-command-exit-status $?%60 +sh = context.flags%5B'exit-code'%5D ? %60$%7Bcomman...
4e009cef3d12955067b3fb8d79e63b8d26af33e6
fix wp
commands/wps.js
commands/wps.js
module.exports.name = 'welcomingParties'; module.exports.alias = ['wp']; module.exports.isAllowed = (message, server) => { if (server.guild.id != '189571157446492161') return false; return message.member.hasPermission('MANAGE_ROLES'); }; module.exports.help = 'Welcoming party stats'; module.exports.command = (me...
JavaScript
0.000005
@@ -382,16 +382,22 @@ members. +cache. filter((
61deb3b5905abbc98074655da290af5afe5e1091
send sample text on 'message'
example/express-example.js
example/express-example.js
import dotenv from 'dotenv'; import http from 'http'; import express from 'express'; import bodyParser from 'body-parser'; dotenv.config(); import MessengerWrapper from '../messenger-wrapper.js'; let app = express(); let wrapper = new MessengerWrapper({ verifyToken: process.env.VERIFY_TOKEN, pageAccessToken: pr...
JavaScript
0.000289
@@ -395,66 +395,46 @@ per. -getUser(event).then((user) =%3E %7B%0A console.log(user);%0A %7D +sendData(%7B text: 'hello user' %7D, event );%0A%7D
a395611b3730d481ac3466211d72cc250810c15a
add rule for nsfw header in posts
data/WebMbed.js
data/WebMbed.js
(function(self) { 'use strict'; var $ = jQuery; var page = $('.page'); var thread = $('#collapseobj_threadreview'); var links = $('td.alt1 a'); var muteRemainingUnmuted = function() {}; self.port.on('prefs', showVideos); function showVideos(prefs) { var videos = $([]); $(window).resize(resiz...
JavaScript
0
@@ -1026,32 +1026,233 @@ , '');%0A %7D +%0A%0A if (!nsfw && this.parentElement.childNodes%5B1%5D) %7B%0A nsfw = this.parentElement.childNodes%5B1%5D.nodeName === 'BR' &&%0A /NSFW/i.text(this.parentElement.firstChild.data);%0A %7D %0A %7D%0A%0A
a8cf379bce8366b78eee594bf605fd1fd1fc30a2
Make map objects draggable on Android with preventDefault()
www/js/main.js
www/js/main.js
var DEBUG_MODE = true; function init() { log("Application initialized"); app.init(); } function log(msg) { // always pass to console.log console.log(msg); // assumed to be a <pre> tag. var elem = document.getElementById("debug-log"); elem.innerHTML = msg + "\n" + elem.innerHTML; } // taken from StackOverflo...
JavaScript
0
@@ -1936,16 +1936,155 @@ ); %7D );%0A +%09%09this.canvas.addEventListener('touchmove', function(e) %7B e.preventDefault(); app.handlePointerMove(e.changedTouches%5B0%5D, app.canvas); %7D );%0A %09%7D,%0A%09%0A%09h
67ea6db94d3853f6a90d12957da71043a0235647
Break cache on bsd survey
src/frontend/components/survey-renderers/BSDSurvey.js
src/frontend/components/survey-renderers/BSDSurvey.js
import React from 'react'; import Relay from 'react-relay'; import Radium from 'radium'; import {LinearProgress} from 'material-ui'; // This just handles rendering and interacting with a BSD survey in an iFrame @Radium class BSDSurvey extends React.Component { styles = { container: { // width: '100%', }...
JavaScript
0
@@ -2566,24 +2566,103 @@ render() %7B%0A + let cacheBreak = '?cacheBreak=' + Math.random().toString(36).substring(6);%0A let sour @@ -2691,16 +2691,29 @@ .fullURL + + cacheBreak ;%0A le
2c74b99089b3de803344e89ea44ac47c0392cb86
mark caret also in footnote editor
document/static/js/es6_modules/editor/collab/carets.js
document/static/js/es6_modules/editor/collab/carets.js
export class ModCollabCarets { constructor(mod) { mod.carets = this this.mod = mod this.markedSelectionUser = {} } // Create a new caret as the current user caretPosition() { let selectionUser = { id: this.mod.editor.user.id, sessionId: this.mod....
JavaScript
0
@@ -134,16 +134,57 @@ er = %7B%7D%0A + this.init()%0A %7D%0A%0A init() %7B%0A%0A %7D%0A%0A @@ -246,25 +246,24 @@ osition() %7B%0A -%0A let @@ -392,23 +392,78 @@ -posFrom +from: this.mod.editor.currentPm.selection.from,%0A to : this.m @@ -464,33 +464,40 @@ this.mod.e...
2135d2bff1b4b846f90358338dfb663f3849f284
increase default pistol speed and clip
client/src/config/weapon.js
client/src/config/weapon.js
module.exports = { pistol: { ammunition: 50, automatic: false, firerate: 1, name: "Pistol" } }
JavaScript
0
@@ -84,9 +84,9 @@ te: -1 +4 ,%0A
a9c48ed252144adac4c16d6787a31cbcf9031595
修复因接口格式变化导致 User not Found
common/weibo.js
common/weibo.js
/** * Created by qing on 17-10-1. */ var axios = require('axios'); var RSS = require('rss'); var cache = require('./cache'); const API_URL = 'https://m.weibo.cn/api/container/getIndex'; const DETAIL_URL = 'https://m.weibo.cn/status/'; const PROFILE_URL = 'https://weibo.com/'; exports.fetchRSS = function(uid) { ...
JavaScript
0
@@ -584,17 +584,59 @@ +const data = res.data.data %7C%7C %7B%7D;%0A if (! -res. data @@ -806,20 +806,16 @@ E_URL + -res. data.use @@ -847,20 +847,16 @@ title: -res. data.use @@ -911,20 +911,16 @@ iption: -res. data.use @@ -1107,20 +1107,16 @@ nerId = -res. data.tab @@ -1300,32 +1300,78 ...
691bb59d49f09743517cdbea4e074ea6bb7cfba3
Return latest lambda function with explicit version number
deploy.js
deploy.js
if (!process.env["CLOUDFRONT_DISTRIBUTION_ID"]) { throw new Error("CLOUDFRONT_DISTRIBUTION_ID env var must be set"); } CLOUDFRONT_DISTRIBUTION_ID = process.env["CLOUDFRONT_DISTRIBUTION_ID"]; const lambdaMappings = [ { FunctionName: "Lambda-Edge-Prerendercloud-dev-viewerRequest", EventType: "viewer-request...
JavaScript
0.000073
@@ -1261,35 +1261,76 @@ ons. -sort(%0A (a, b) =%3E ( +reduce((prev, curr) =%3E (%0A isNaN(curr.Version)%0A %7C%7C pars @@ -1334,17 +1334,20 @@ arseInt( -a +prev .Version @@ -1359,17 +1359,20 @@ arseInt( -b +curr .Version @@ -1379,15 +1379,19 @@ ) ? --1 : 1) +prev : curr %0A @@ -1...
e876d3ea727edecc4d72bfe5d164532bb75b7885
Improve code style
src/ggrc/assets/javascripts/apps/custom_attributes.js
src/ggrc/assets/javascripts/apps/custom_attributes.js
/*! Copyright (C) 2014 Google Inc., authors, and contributors <see AUTHORS file> Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> Created By: anze@reciprocitylabs.com Maintained By: anze@reciprocitylabs.com */ (function(can, $) { can.Component.extend({ tag: "custom-at...
JavaScript
0.000196
@@ -257,16 +257,17 @@ function + (can, $) @@ -269,17 +269,16 @@ n, $) %7B%0A -%0A can.Co @@ -303,17 +303,17 @@ tag: -%22 +' custom-a @@ -321,17 +321,17 @@ tributes -%22 +' ,%0A sc @@ -469,11 +469,11 @@ ad: -%22@%22 +'@' ,%0A @@ -511,17 +511,17 @@ ontent: -%22 +' %3Ccontent @@ -526,9 +526,9 @@ ...
62cb6dc2b7a0ec95e633b892a2d1e9f937f107c9
add a blank line before the forward weibo
common/weibo.js
common/weibo.js
/** * Created by qing on 17-10-1. */ var axios = require('axios'); var RSS = require('rss'); var cache = require('./cache'); const API_URL = 'https://m.weibo.cn/api/container/getIndex'; const DETAIL_URL = 'https://m.weibo.cn/status/'; const PROFILE_URL = 'https://weibo.com/'; exports.fetchRSS = function(uid) { ...
JavaScript
0.000386
@@ -3715,16 +3715,20 @@ += %22%3Cbr%3E +%3Cbr%3E %22;%0A%0A
ba8294319690dfd4f30bf087870619b874ad4eeb
fix manifest name
deploy.js
deploy.js
/** * Deployment entry point for the application. **/ var args = process.argv.slice(2); var cp = require('child_process'); if (process.env.PROVIDER === "gce") { cp.execSync('curl -H "Metadata-Flavor: Google" -L http://metadata.google.internal/computeMetadata/v1/project/attributes/env > /usr/src/yasp/.env'); } if ...
JavaScript
0.002176
@@ -551,19 +551,24 @@ uire('./ -pm2 +manifest .json').
a447e2bf4b5e18f9bb9fdc456d079da5d3b6a217
update TreeExamples
examples/containers/app/modules/layout/TreeExamples.js
examples/containers/app/modules/layout/TreeExamples.js
import React, {Component} from 'react'; import Widget from 'src/Widget'; import WidgetHeader from 'src/WidgetHeader'; import Paper from 'src/Paper'; import Tree from 'src/Tree'; import PropTypeDescTable from 'components/PropTypeDescTable'; import doc from 'examples/assets/propTypes/Tree.json'; import 'sass/container...
JavaScript
0
@@ -4937,16 +4937,279 @@ =%7Btrue%7D%0A + checkboxUncheckedIconCls=%22far fa-circle%22%0A checkboxCheckedIconCls=%22fas fa-check-circle%22%0A checkboxIndeterminateIconCls=%22fas fa-minus-circle%22...
b37a54959b87817d13d2e706d7c6203962b4a6e1
Add user information to deploy script
deploy.js
deploy.js
var ghpages = require('gh-pages'); var path = require('path'); ghpages.publish(path.join(__dirname, 'dist'), { branch: 'master', repo: 'https://${GH_TOKEN}@github.com/nteract/nteract.github.io.git' });
JavaScript
0
@@ -195,13 +195,102 @@ .io.git' +,%0A silent: true,%0A user: %7B%0A name: 'Travis Bot',%0A email: 'travis@travis-ci.com'%0A %7D %0A%7D);%0A
764c61ad9b2e1acb12c31014a0c394a6d769c5a0
Fix connection test
client/test/fusionObject.js
client/test/fusionObject.js
'use strict' // Test object creation, the `dispose` method, and `connected/disconnected` // events. var fusionObjectSuite = () => { describe('Fusion', () => { it('connects and can track its status', done => { const fusion = Fusion('localhost:8181', { secure: false }) assert.isDefined(fusion) f...
JavaScript
0.000019
@@ -1096,32 +1096,50 @@ Defined(fusion)%0A + let val = 0%0A fusion.sta @@ -1162,24 +1162,24 @@ status =%3E %7B%0A - if ( @@ -1207,24 +1207,55 @@ nnected') %7B%0A + assert.equal(val, 0)%0A as @@ -1298,24 +1298,43 @@ nnected' %7D)%0A + val += 1%0A %7D el @@ -...
98dddd01bd85e7456c9d38f59c707d14f560911d
Update auth0-variables.js
examples/ember2-auth0-sample/config/auth0-variables.js
examples/ember2-auth0-sample/config/auth0-variables.js
var AUTH0_CLIENT_ID='KIsD2IkiQ98TnxtOI1Rk6FCqYNyse4DC'; var AUTH0_DOMAIN='annytechaid.auth0.com'; module.exports = { AUTH0_CLIENT_ID: AUTH0_CLIENT_ID, AUTH0_DOMAIN: AUTH0_DOMAIN }
JavaScript
0.000001
@@ -18,82 +18,48 @@ ID=' -KIsD2IkiQ98TnxtOI1Rk6FCqYNyse4DC';%0Avar AUTH0_DOMAIN='annytechaid.auth0.com +%7BCLIENT_ID%7D';%0Avar AUTH0_DOMAIN='%7BDOMAIN%7D ';%0A%0A
3d79aa33305203b701d790c2f18c91b902328fc5
Add explicit annotations for properties inherited from superclass.
closure/goog/debug/error.js
closure/goog/debug/error.js
// Copyright 2009 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
0.001065
@@ -1258,24 +1258,47 @@ f (stack) %7B%0A + /** @override */%0A this.s @@ -1335,24 +1335,45 @@ (opt_msg) %7B%0A + /** @override */%0A this.mes
c4af7525a8dac147640649a821d97b5f9306cbf5
Fix Typo
src/validator/Validator.js
src/validator/Validator.js
const ArrayValidator = require('.//types/Array'); const BooleanValidator = require('./types/Boolean'); const EmailValidator = require('./types/Email'); const NetworkValidator = require('./types/Network'); const NumberValidator = require('./types/Number'); const ObjectValidator = require('./types/Object'); c...
JavaScript
0.000009
@@ -30,17 +30,16 @@ uire('./ -/ types/Ar
7eb92b2a90bc69064f91845ace00331288fed12f
Refactor controls view
src/views/controls_view.js
src/views/controls_view.js
import React from 'react' import log from '../log' import styles from '../stylesheets/styles.scss' export default class ControlsView extends React.PureComponent { didEndTurn () { this.props.bus.emit('end-turn') } render () { const currentPlayer = this.props.currentPlayer ? this.props.currentPlayer.toStr...
JavaScript
0
@@ -163,78 +163,50 @@ %7B%0A -didEndTurn () %7B%0A this.props.bus.emit('end-turn')%0A %7D%0A%0A render () %7B +render () %7B%0A const bus = this.props.bus %0A @@ -468,33 +468,33 @@ ck=%7B -this.didEndTurn.bind(this +() =%3E bus.emit('end-turn' )%7D%3EE
943bcdceb950a56cbf5792341984c37f0e823417
change order of js
src/web/static/js/index.js
src/web/static/js/index.js
/** * Created by nlrc on 22-7-16. */ // if home page, add class is landingpage to header if("/" === loc) { var modalName = ""; var modalOpen = function modalOpen(modalid){ modalName = modalid; $("#wrapper").addClass("modal-open"); $("#" + modalid).css("visibility", "visible"); setPage(1); }...
JavaScript
0.000006
@@ -2677,16 +2677,78 @@ %7D%0D%0A%09%09%09%0D%0A +%09%09%09// generate the 3 blocks%0D%0A%09%09%09generate('#newest', d);%0D%0A%09%09%09%0D%0A %09%09%09// st @@ -2759,16 +2759,16 @@ pinner%0D%0A - %09%09%09$('#n @@ -2789,16 +2789,20 @@ alse);%0D%0A +%09%09%0D%0A %09%7D);%0D%0A%09%0D @@ -2806,59 +2806,9 @@ %0A%09...
399638daf7787ee8c40a38fa783c755fe00cb79e
put in RTL property
src/javascript-grid-master-detail/exampleFullWidth.js
src/javascript-grid-master-detail/exampleFullWidth.js
// create array with each entry one letter of alphabet, et ['A','B'...] var LETTERS_IN_ALPHABET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split(''); var mainRowData = createData(100, 'body'); var floatingTopRowData = createData(3, 'floating'); var floatingBottomRowData = createData(3, 'floating'); function createData(count, pre...
JavaScript
0
@@ -2518,151 +2518,449 @@ var -template = '%3Cdiv class=%22'+cssClass+'%22%3E%3Cbutton onclick=%22window.alert(%5C'Clicked!!%5C')%22%3EClick%3C/button%3E '+message+'%3C/div%3E';%0A%0A return template +eDiv = document.createElement('div');%0A eDiv.innerHTML = '%3Cdiv class=%22'+cssClass+'%22%3E%3Cbutton%...
e1b85b5bca183ab05b6bee945a1ca6c3fb76dffd
use getDerivedStateFromProps instead of componentWillReceiveProps
source/line.js
source/line.js
import { isEquals, getTransform } from "./helper"; import React, { PureComponent } from "react"; import { StyleSheet, View } from "react-native"; import PropTypes from "prop-types"; export default class Line extends PureComponent { constructor(props) { super(props); this.state = { ...props }; } setNativ...
JavaScript
0
@@ -366,43 +366,52 @@ %0A%0A -componentWillReceiveProps(nextProps +static getDerivedStateFromProps(props, state ) %7B%0A @@ -418,21 +418,17 @@ if ( -nextP +p rops.col @@ -438,18 +438,13 @@ !== -this.props +state .col @@ -459,31 +459,32 @@ -this.setState(%7B +return %7B%0A color: next @@ -4...
613567819bfab7d0edf885f3671e2bb8f1c442dc
Update scoring 2.3.8
dev-scripts/config.get.js
dev-scripts/config.get.js
'use strict' const { getMhub } = require('./.get/get-mhub') const { getCaddy } = require('./.get/get-caddy') const { getMongo } = require('./.get/get-mongo') const { getNpmModule } = require('./.get/get-npm-module') const { getByHttp } = require('./.get/get-by-http') // eslint-disable-next-line node/exports-style mod...
JavaScript
0.000002
@@ -1366,17 +1366,17 @@ n: '2.3. -7 +8 '%0A
a6e86122be1b92c2032dbf18e07b4a737636acdd
implement the options()
sp-rest-api.js
sp-rest-api.js
/** * @fileoverview A libary for working with SharePoint lists via the SharePoint * REST API. Supports reading, updating and deleting list items, as well as a * few extra functions such as getting a list of all columns in a SP list. */ /** * @class SpRestApi * @typedef {Object} SpRestApi * Contains methods for ...
JavaScript
0.000466
@@ -519,16 +519,17 @@ nction%7D +%5B onsucces @@ -529,16 +529,17 @@ nsuccess +%5D - The c @@ -635,23 +635,25 @@ nction%7D +%5B onerror +%5D - The c @@ -743,24 +743,25 @@ number%7D +%5B maxItems - The m @@ -752,16 +752,17 @@ maxItems +%5D - The m @@ -1085,16 +1085,17 @@ oolean%7D +%5B recursiv @@ -...
8bcadd7ca1179b44198e35a5ef76eb2e6038c115
disable actions logging;
actor-apps/app-web/src/app/stores/PreferencesStore.js
actor-apps/app-web/src/app/stores/PreferencesStore.js
import { EventEmitter } from 'events'; import ActorAppDispatcher from 'dispatcher/ActorAppDispatcher'; import { ActionTypes } from 'constants/ActorAppConstants'; const CHANGE_EVENT = 'change'; let _isModalOpen = false; class SettingsStore extends EventEmitter { constructor() { super(); } isModalOpen() { ...
JavaScript
0.000001
@@ -684,24 +684,26 @@ tion =%3E %7B%0A +// console.info