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 |
|---|---|---|---|---|---|---|---|
f63afc46d2d8d8168a3bbc97915ce9bc96815b55 | deprecate forward function | service.js | service.js |
var assert = require('assert');
var norma = require('norma');
var debug = require('debug')('waif:service');
var _ = require('lodash');
var EventEmitter = require('events').EventEmitter;
var request = require('request');
var express = require('express');
var util = requi... | JavaScript | 0.998522 | @@ -1236,16 +1236,42 @@
need to%0A
+ if (this.listening) %7B%0A
var li
@@ -1303,16 +1303,18 @@
nUrl();%0A
+
listen
@@ -1341,24 +1341,26 @@
ind(this));%0A
+
this.serve
@@ -1395,24 +1395,28 @@
listenArgs);
+%0A %7D
%0A%0A return t
@@ -2412,40 +2412,125 @@
%7B%0A
-this.uri.set(url);%0A return th... |
0ebe3a5f57e5f457b442850829c0414404488aa0 | update ListStep | src/ListStep/ListStep.js | src/ListStep/ListStep.js | /**
* @file ListStep component
* @author chao(chao.zhang@derbysoft.com)
*/
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import ListStepItem from '../_ListStepItem';
class ListStep extends Component {
constructor(props, ...restArgs) {
super(props, ...restArgs);
... | JavaScript | 0.000001 | @@ -147,16 +147,53 @@
-types';
+%0Aimport classNames from 'classnames';
%0A%0Aimport
@@ -1252,17 +1252,17 @@
is.props
-;
+,
%0A
@@ -1262,21 +1262,19 @@
-const
+
%7Bactiva
@@ -1308,16 +1308,126 @@
is.state
+,%0A%0A stepClassName = classNames('list-step', %7B%0A %5Bcla... |
78b5d5779388301fad48d63646a215ac01a0f1fc | Apply uglifyify transfrom only in the `prepublish` task | Gulpfile.js | Gulpfile.js | var gulp = require('gulp')
var autoprefixer = require('gulp-autoprefixer')
var browserify = require('browserify')
var concat = require('gulp-concat')
var del = require('del')
var exorcist = require('exorcist')
var fs = require('fs')
var KarmaServer = require('karma').Server
var minifyCSS = require('gulp-minify-css')
v... | JavaScript | 0.000001 | @@ -4949,54 +4949,8 @@
y')%0A
- .transform(config.uglifyify, 'uglifyify')%0A
|
9b49abac30f1ee74d8ef40c03233eab2430225d6 | Update TInyPNG token | Gulpfile.js | Gulpfile.js | var gulp = require('gulp'),
concat = require('gulp-concat-css'),
jshint = require('gulp-jshint'),
minifycss = require('gulp-minify-css'),
rename = require('gulp-rename'),
uglify = require('gulp-uglify'),
imageResize = require('gulp-image-resize'),
tinypng = require('gulp-tinypng');
/*
* To use the gulp-image-r... | JavaScript | 0 | @@ -682,40 +682,40 @@
= '
-8eNoFlUv4wHzam_8GleKHdhH2YFk9xAd
+hHrU0V0DGG3tNna6R1sqNNOqqU-x1S4u
';%0A%0A
|
2b42494df5600236ed6e2d130e4303dbd3235b66 | copy views to dist | Gulpfile.js | Gulpfile.js | var gulp = require('gulp')
, browserSync = require('browser-sync')
, jshint = require('gulp-jshint')
, inject = require('gulp-inject')
, wiredep = require('wiredep').stream
, templateCache = require('gulp-angular-templatecache')
, gulpif ... | JavaScript | 0 | @@ -2523,24 +2523,93 @@
'./dist'));%0A
+ gulp.src('./app/views/**')%0A .pipe(gulp.dest('./dist/views'));%0A
gulp.src
|
e2d51e6ecc3bd06ffa16fed5aeed5dc4b5935a63 | add 'test-client-dev' gulp task (#1464) | Gulpfile.js | Gulpfile.js | const babel = require('babel-core');
const gulpBabel = require('gulp-babel');
const del = require('del');
const eslint = require('gulp-eslint');
const fs = require('fs');
const gulp = require('gulp');
const qunitHarness = require('gulp-qunit-harness');
const mocha = req... | JavaScript | 0 | @@ -4984,17 +4984,16 @@
nt'%5D);%0A%0A
-%0A
// Test%0A
@@ -5556,32 +5556,96 @@
ETTINGS));%0A%7D);%0A%0A
+gulp.task('test-client-dev', %5B'set-dev-mode', 'test-client'%5D);%0A%0A
gulp.task('test-
|
258586fb0cb2e411d5ac3b9c10783150a0659515 | Fix prettyPrintXML | xml/prettyPrintXML.js | xml/prettyPrintXML.js | import { DefaultDOMElement as DOM } from '../dom'
import { isString } from '../util'
import _isTextNodeEmpty from './_isTextNodeEmpty'
/*
Schema drive pretty-printer, that inserts indentation for
structural elements, and preserves white-spaces for text nodes and inline-elements
*/
export default function prettyPri... | JavaScript | 0.997448 | @@ -613,23 +613,32 @@
evel*2).
+fill(' ').
join('
-
')%0A if
|
d6800a25f7e2a580f11c8446b249fd23ebedc37b | Use monospace font for pre on Android | HTMLView.js | HTMLView.js | import React, {PureComponent} from 'react';
import PropTypes from 'prop-types';
import htmlToElement from './htmlToElement';
import {Linking, StyleSheet, View} from 'react-native';
const boldStyle = {fontWeight: '500'};
const italicStyle = {fontStyle: 'italic'};
const underlineStyle = {textDecorationLine: 'underline'}... | JavaScript | 0 | @@ -134,16 +134,26 @@
Linking,
+ Platform,
StyleSh
@@ -360,15 +360,54 @@
ly:
-'Menlo'
+Platform.OS === 'ios' ? 'Menlo' : 'monospace'
%7D;%0A%0A
|
c67e3b17af968ebfbec5f1624750a705f68805cd | fix feature click error in preview mode | src/RowItem/StackedAnnotations/PointedAnnotation.js | src/RowItem/StackedAnnotations/PointedAnnotation.js | import Color from "color";
import classnames from "classnames";
import withHover from "../../helperComponents/withHover";
import getAnnotationNameAndStartStopString from "../../utils/getAnnotationNameAndStartStopString";
import React from "react";
import { doesLabelFitInAnnotation } from "../utils";
import { noop } fr... | JavaScript | 0 | @@ -784,24 +784,31 @@
onClick
+ = noop
,%0A onDo
@@ -860,16 +860,23 @@
ghtClick
+ = noop
,%0A
|
d1df4f265d540906f69bea97c18db0a7f0a9b88b | work on click video list | public/js/application.js | public/js/application.js | $(document).ready(function() {
var prelingerData;
$("#welcome").on("submit", function(event) {
event.preventDefault();
// because the preventDefault is preventing the submission
// of the data, we had to create formData to catch
// what the search query is supposed to be.
var formData = $(event... | JavaScript | 0 | @@ -1015,22 +1015,16 @@
.film%5Bi%5D
-.title
))%0A
@@ -1650,17 +1650,17 @@
ts = '%3Ch
-1
+3
%3E' + dat
@@ -1664,16 +1664,22 @@
data
+.title
+ '%3C/h
-1
+3
%3E'%0A
@@ -1700,11 +1700,189 @@
Results%0A
+ playSearchListVideo()%0A%7D%0A%0Avar playSearchListVideo = function(filmData)%7B%0A $(%22#video%22).em... |
8c2d47929cdd2d5092b5dda39e61212c769e9917 | remove garbage | public/js/controllers.js | public/js/controllers.js | angular.module('elke')
.controller('AppCtrl', [
'$scope',
'$feathers',
'App',
'Elke',
function($scope, $feathers, App, Elke) {
$scope.user = false;
$scope.$watch(function() {
return $feathers.get('user');
}, function(user) {
$scope.user = user;
});
$scope.logout = $feathers.lo... | JavaScript | 0.000055 | @@ -3394,53 +3394,8 @@
%7D%0A
- %7D%0A $scope.createStream = function() %7B%0A
|
e3e78c3de307dabe0696c857bda319b62c4e2405 | Make the topic IDs a little more unique. | public/js/controllers.js | public/js/controllers.js | 'use strict';
/* Controllers */
function HangDownListCntr($scope) {
$scope.apiLive = false;
var _apiRequiredFunction = function(innerFunction){ return function(){
if ($scope.apiLive) innerFunction.apply(this, arguments);
}; };
$scope.topics = [];
var activeTopicId = null;
$scope.activeTopicIndex = 0... | JavaScript | 0.000005 | @@ -1818,72 +1818,52 @@
' +
-_topicIndex++, // Still don't like this way of doing it.
+$scope.currentUser.id + '-' + _topicIndex++,
%0A
|
e2ea74bc1047cdc51a07d93a1671de6f6e56bccf | Test locally in multiple browsers | testem.js | testem.js | module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
],
launch_in_dev: [
'Chrome'
],
browser_args: {
Chrome: {
mode: 'ci',
args: [
// --no-sandbox is needed when running Chrome inside a container
process.env.T... | JavaScript | 0 | @@ -141,32 +141,61 @@
: %5B%0A 'Chrome'
+,%0A 'Firefox',%0A 'Safari'
%0A %5D,%0A browser_
|
2b17054833d5a57efe634c67ed03a071897dc583 | Make ajax xmlhttprequest so we can get rid of jquery | src/App.js | src/App.js | import React, { Component } from 'react';
import { Router, Route, Link, browserHistory } from 'react-router';
import TopNav from './navigation/topNav.react.js';
import ErrorBar from './ErrorBar.react.js';
import getSpreadsheetData from './scripts/getSpreadsheetData.js';
import ResultListWrapper from './results/ResultLi... | JavaScript | 0 | @@ -338,32 +338,8 @@
s';%0A
-import $ from 'jquery';%0A
impo
@@ -2164,91 +2164,246 @@
-$.get('/api/books/' + this.props.params.bookId, function(book_reference)%7B%0A
+let xhr = new XMLHttpRequest();%0A xhr.open('GET', '/api/books/' + this.props.params.bookId);%0A xhr.onload = (function(data)%7B%0A if... |
e8ec147e3ed3e43503a7d287357e72771a888da5 | complete first lesson | src/App.js | src/App.js | import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to React</h2>
... | JavaScript | 0 | @@ -38,59 +38,8 @@
ct';
-%0Aimport logo from './logo.svg';%0Aimport './App.css';
%0A%0Acl
@@ -106,303 +106,20 @@
%3Cdiv
- className=%22App%22%3E%0A %3Cdiv className=%22App-header%22%3E%0A %3Cimg src=%7Blogo%7D className=%22App-logo%22 alt=%22logo%22 /%3E%0A %3Ch2%3EWelcome to React%3C/h2%3E%... |
695182fc3f0c4ec33ab959867dd60da59e930531 | Update GH repos | src/App.js | src/App.js | import React, { Component } from 'react'
import dedent from 'dedent'
import Background from './Background'
import TopNav from './TopNav'
import About from './About'
import Project from './Project'
import DataCard from './DataCard'
import Work from './Work'
import GithubRepo from './GithubRepo'
import Layout, { Box, Pri... | JavaScript | 0 | @@ -5007,134 +5007,274 @@
Repo
- hidePrint owner=%22rrdelaney%22 name=%22bs-loader%22 /%3E%0A %3CGithubRepo hidePrint owner=%22rrdelaney%22 name=%22horizon-devtools%22
+%0A hidePrint%0A owner=%22reasonml-community%22%0A name=%22reason-scripts%22%0A ... |
b53659ef5988cd2b29965c81c43cb2f9c34b41e9 | remove dead code | src/api.js | src/api.js | var m = require('mithril');
module.exports = function(element, controller, view) {
var action = function(computation) {
return function() {
m.startComputation();
var result = computation.apply(null, arguments);
m.endComputation();
// m.render(element, view(controller));
return resu... | JavaScript | 0.999454 | @@ -254,54 +254,8 @@
();%0A
- // m.render(element, view(controller));%0A
|
afd7974e9b9f9e60737506952d0eb61efc6df6ac | update cookie preference script [#157372017] | src/app.js | src/app.js | import React from 'react';
import Sidebar from './components/sidebar';
import MarkdownViewer from './components/markdown_viewer';
import contentMap, {attachPackagesToWindow} from './helpers/content';
import '../stylesheets/app.scss';
import 'pivotal-ui/js/prismjs';
attachPackagesToWindow();
export default class App e... | JavaScript | 0 | @@ -1581,27 +1581,28 @@
%3C
-div
+span
id=%22teconse
@@ -1607,19 +1607,20 @@
sent%22%3E%3C/
-div
+span
%3E%0A
@@ -1740,31 +1740,8 @@
okie
-&v=%3C%25= Time.now.to_i %25%3E
%22 cr
|
f6be3250522f081a1c8bcf282a8e35339b48e0f1 | Change test subreddit | src/app.js | src/app.js | import Snoocore from 'snoocore';
import request from 'request';
import json2md from 'json2md';
const ACCOUNT_NAME = process.env.REDDIT_ACCOUNT_NAME;
const ACCOUNT_PASSWORD = process.env.REDDIT_ACCOUNT_PASSWORD;
const STATSFC_API_KEY = process.env.STATSFC_API_KEY;
const REDDIT_API_KEY = process.env.REDDIT_API_KEY;
cons... | JavaScript | 0.000001 | @@ -2160,20 +2160,20 @@
'/r/
-willithappen
+sidebartests
/abo
|
9a27af44d847e40af60c51d4bdade8d73a0c1657 | Add block-seen initialisation. | src/app.js | src/app.js | var gui = require('nw.gui');
var win = gui.Window.get();
var platform = require('./components/platform');
var updater = require('./components/updater');
var menus = require('./components/menus');
var themer = require('./components/themer');
var settings = require('./components/settings');
var windowBehaviour = require... | JavaScript | 0 | @@ -454,24 +454,76 @@
spatcher');%0A
+var blockSeen = require('./components/block-seen');%0A
var utils =
@@ -2595,16 +2595,113 @@
%0A %7D);%0A%0A
+ // Block 'seen' and typing indicator%0A if (settings.blockSeen) %7B%0A blockSeen.set(true);%0A %7D%0A%0A
dispat
|
3c37801e9b4fef50ed059b7f7a04f64b13088162 | use injectTapEventPlugin | src/app.js | src/app.js | import React from 'react'
import ReactDOM from 'react-dom'
import Route from 'react-route'
import Search from './search'
import SearchResults from './search_results'
import DocView from './doc_view'
class Main extends React.Component {
constructor(props) {
super(props)
this.state = {searchQuery: ""}
}
... | JavaScript | 0.000003 | @@ -83,16 +83,97 @@
t-route'
+%0Aimport injectTapEventPlugin from 'react-tap-event-plugin'%0AinjectTapEventPlugin()
%0A%0Aimport
|
5ac5c6975bb217dfd3a042cb3b91ed198d058c7a | change to log result | src/app.js | src/app.js | 'use strict';
const apiai = require('apiai');
const express = require('express');
const bodyParser = require('body-parser');
const uuid = require('node-uuid');
const request = require('request');
const JSONbig = require('json-bigint');
const async = require('async');
const REST_PORT = (process.env.PORT || 5000);
cons... | JavaScript | 0 | @@ -1650,27 +1650,16 @@
e.result
-.parameters
)%0A%0A
|
91d00f68f18ea3a0602f626d9bb1d8fe8991b154 | Format GraphQL errors | src/app.js | src/app.js | import http from 'http';
import express from 'express';
import bodyParser from 'body-parser';
import { makeExecutableSchema } from 'graphql-tools';
import { graphqlExpress, graphiqlExpress } from 'apollo-server-express';
import { graphqlSchema, graphqlResolvers } from './graphql';
import config from './constants/config... | JavaScript | 0 | @@ -665,16 +665,107 @@
Schema,%0A
+ formatError: error =%3E (%7B%0A message: error.message,%0A path: error.path,%0A %7D),%0A
%7D),%0A);
|
7ee1088c819015b6d943224dd5c9c13e05ee2030 | Fix force download button | src/app.js | src/app.js | import {inject} from 'aurelia-framework';
import {I18N} from 'aurelia-i18n';
import {EventAggregator} from 'aurelia-event-aggregator';
import {parseJSON} from './resources/jsonparser';
import {Field} from './resources/elements/abstract/field';
import {schema, fieldsToShow} from './schemas/index';
import {Validation} fr... | JavaScript | 0.000001 | @@ -3578,24 +3578,29 @@
lse %7B%0A
+this.
downloadErro
@@ -3600,16 +3600,21 @@
oadError
+Modal
.close()
|
aa836cd2bd606aa69730e365a855731812bbaf04 | repair tooltip | src/06-components/atoms/tooltip-2/tooltip-2.js | src/06-components/atoms/tooltip-2/tooltip-2.js | const registerElement = (name = 'as24-tooltip') => {
const AS24TooltipPrototype = Object.create(HTMLElement.prototype, {
attachedCallback: {
value: function () {
this.shown = false;
this.content = this.querySelector('.sc-tooltip-content');
this.arr... | JavaScript | 0.000001 | @@ -7,23 +7,23 @@
register
-Element
+Tooltip
= (name
@@ -3611,16 +3611,30 @@
%7D);%0A
+ try %7B%0A
docu
@@ -3698,16 +3698,178 @@
ype %7D);%0A
+ %7D catch (e) %7B%0A if (window && window.console) %7B%0A window.console.warn('Failed to register CustomElement %22' + name + '%22.', ... |
8981a80c721fd7d450c485c2445ff0cff5462619 | Remove jQuery usage from authorized-keys.js | pkg/users/authorized-keys.js | pkg/users/authorized-keys.js | (function() {
var $ = require("jquery");
var cockpit = require("cockpit");
var lister = require("raw!./ssh-list-public-keys.sh");
var adder = require("raw!./ssh-add-public-key.sh");
var _ = cockpit.gettext;
function AuthorizedKeys (user_name, home_dir) {
var self = this;
var d... | JavaScript | 0 | @@ -11,39 +11,8 @@
) %7B%0A
- var $ = require(%22jquery%22);%0A
@@ -41,24 +41,24 @@
%22cockpit%22);%0A
+
%0A var lis
@@ -437,16 +437,53 @@
null;%0A%0A
+ cockpit.event_target(self);%0A%0A
@@ -942,38 +942,34 @@
-$(
self
-).triggerHandler
+.dispatchEvent
(%22change
@@ -1165,30... |
666ee19590e747aaf2362f786588043341314400 | Increase debounce delay to 100ms | src/app.js | src/app.js | import {
select,
event as currentEvent,
} from 'd3-selection';
import { drag } from 'd3-drag';
import 'd3-transition'; // defines selection.transition()
import Codeck from './Codeck';
// import installServiceWorker from './worker';
const { floor } = Math;
const codeck = new Codeck();
const svg = select('#cards s... | JavaScript | 0.000001 | @@ -884,18 +884,19 @@
essage,
-25
+100
);%0A%7D);%0A%0A
@@ -3645,10 +3645,11 @@
it,
-25
+100
);%0A%0A
|
984089e0e3e683e6be6911af2c79fd58c789d1d6 | allow an alternate form of key | src/app.js | src/app.js | var express = require('express');
var path = require('path');
var bodyParser = require('body-parser');
var methodOverride = require('method-override');
var errorhandler = require('errorhandler');
//var cookieParser = require('cookie-parser');
var session = require('cookie-session');
var apiBuilder = require('./lib/api... | JavaScript | 0.000098 | @@ -1250,16 +1250,49 @@
Key') %7C%7C
+ req.get('X-Parse-Client-Key') %7C%7C
''%0A%09%09%7D;
@@ -3484,8 +3484,9 @@
unparse;
+%0A
|
d002cc61057e40744944733acea7eee5aa169577 | Replace fs.statSync with fs.stat. | src/app.js | src/app.js | var fs = require('fs');
var tmp = require('tmp');
var express = require('express');
var util = require('util');
var app = express();
app.use(express.bodyParser());
app.set('view engine', 'jade');
app.set('views','./views');
app.get('/vocalization/:voix', function (request, response) {
var spawn = require('child_pro... | JavaScript | 0 | @@ -1073,57 +1073,8 @@
rr;%0A
- var stat = fs.statSync(lameTmpfile);%0A
@@ -1128,16 +1128,75 @@
mpeg');%0A
+ fs.stat(lameTmpfile, function (err, stats) %7B%0A
@@ -1237,16 +1237,17 @@
h', stat
+s
.size -
@@ -1262,16 +1262,18 @@
+
// There
@@ -1328,16 +1328,18 @@
... |
72192d194f763fec483dc30e05f9a68c823000ff | use images rather than data-uri for emoticons, closes #26 | src/app.js | src/app.js | // css
import './assets/css/normalize.css'
import './assets/css/main.css'
import './assets/css/iconmoon.css'
import '../node_modules/emojify.js/dist/css/basic/emojify.min.css'
// import '../node_modules/emojify.js/dist/css/sprites/emojify.css'
// import '../node_modules/emojify.js/dist/css/sprites/emojify-emoti... | JavaScript | 0 | @@ -180,312 +180,8 @@
%0D%0A%0D%0A
-// import '../node_modules/emojify.js/dist/css/sprites/emojify.css'%0D%0A// import '../node_modules/emojify.js/dist/css/sprites/emojify-emoticons.css'%0D%0A%0D%0Aimport '../node_modules/emojify.js/dist/css/data-uri/emojify.min.css'%0D%0Aimport '../node_modules/emojify.js/dist/css/da... |
969f7a7f8b62dc728532ac6c0c412fe6ef832dad | check for postback | src/app.js | src/app.js | 'use strict';
const apiai = require('apiai');
const express = require('express');
const bodyParser = require('body-parser');
const uuid = require('node-uuid');
const request = require('request');
const JSONbig = require('json-bigint');
const async = require('async');
const REST_PORT = (process.env.PORT || 5000);
cons... | JavaScript | 0 | @@ -744,16 +744,17 @@
%0A if
+(
(event.m
@@ -787,47 +787,135 @@
xt)
-%7B%0A var text = event.message.text
+%7C%7C (event.postback && event.postback.payload)) %7B%0A var text = event.message ? event.message.text : event.postback.payload
;%0A
|
13bf810797b8e0c857a69c350df761754a193c95 | remove invalid third argument to ServiceProviderSetup | src/app.js | src/app.js | 'use strict';
/**
* @file
* Configure and start our server
*/
// Config
import {version} from '../package.json';
// path for the API-endpoint, ie /v0/, /v1/, or ..
const apiPath = '/v' + parseInt(version, 10) + '/';
// Libraries
import fs from 'fs';
import express from 'express';
import path from 'path';
import L... | JavaScript | 0 | @@ -2041,16 +2041,8 @@
gger
-, worker
);%0A
|
dd1f46d6ed12d536f0ac8ddd74c6c7dc491c9f0a | add ; | Client/Client.js | Client/Client.js | "use strict";
var HEARTBEAT_SECONDS = 10;
var zmq = require("zmq");
var axon = require("axon");
var MonitoredSocket = require("./MonitoredSocket");
var RPCClient = require("./RPCClient");
var SourceClient = require("./SourceClient");
var SharedObjectClient = require("./SharedObjectClient");
var PullClient = require("... | JavaScript | 0 | @@ -3255,32 +3255,33 @@
('disconnected')
+;
%0A
|
87fe8ae14c1bd8cccd879627fc74ecd5aacb9e02 | Access "canmakepayment" event members. | pr/apps/src2/card1/app.js | pr/apps/src2/card1/app.js | self.resolver = null;
const response = {
methodName: 'https://rsolomakhin.github.io/pr/apps/src2',
details: {
billingAddress: {
addressLine: [
'1875 Explorer St #1000',
],
city: 'Reston',
country: 'US',
dependentLocality: '',
languageC... | JavaScript | 0 | @@ -904,16 +904,594 @@
%7D%0A%7D);%0A%0A
+self.addEventListener('canmakepayment', (evt) =%3E %7B%0A if (evt.topOrigin !== 'https://rsolomakhin.github.io') %7B%0A console.log('Hi ' + evt.topOrigin + '!');%0A %7D%0A if (evt.paymentRequestOrigin !== 'https://rsolomakhin.github.io' && evt.paymentRequestOrigin !== e... |
0d4d23e8e0c4f446da5781265dd25622500ef54e | Rearrange requires to make eslint happy | src/app.js | src/app.js | const log = require('./logger');
const icon = require('./icon');
const pjson = require('../package.json');
const store = require('./store');
const electron = require('electron');
const AutoLaunch = require('auto-launch');
const contribution = require('contribution');
const { app, BrowserWindow, Tray, Menu, shell, ipcM... | JavaScript | 0.000014 | @@ -1,12 +1,140 @@
+const electron = require('electron');%0Aconst AutoLaunch = require('auto-launch');%0Aconst contribution = require('contribution');%0A%0A
const log =
@@ -265,135 +265,8 @@
e');
-%0Aconst electron = require('electron');%0Aconst AutoLaunch = require('auto-launch');%0Aconst contribution = require('co... |
d8de59f9cc549ed5b9dd102c97cd141d86f871d5 | Update login callback | pre-diary/routes/users.js | pre-diary/routes/users.js | var express = require('express');
var router = express.Router();
var mysql = require('../util/sql').mysql;
var pool = require('../util/sql').pool;
/**
* @api {get} /users/:id Get User Info
* @apiName GetUser
* @apiGroup User
*
* @apiSuccess {Object} user user 데이터
* @apiSuccess {String} user.id 유저 id
*
* @apiSu... | JavaScript | 0.000001 | @@ -669,16 +669,101 @@
);%0A%7D);%0A%0A
+router.get('/login/callback', function(req, res, next) %7B%0A res.send(req.query);%0A%7D);%0A%0A
/**%0A * @
|
7d6a24ac4379e47a41d55b1455ea255b45b5e262 | Fix keys | src/modules/modals/JSONmodal/JSONmodal.js | src/modules/modals/JSONmodal/JSONmodal.js | import React, { PureComponent } from 'react'
import { bool, object } from 'prop-types'
import R from 'ramda'
import Modal from '../../../components/Modal/Modal'
import Button from '../../../components/Button/Button'
import JSONeditor from '../../../components/JSONeditor/JSONeditor'
import adjustToJSONeditor from '../... | JavaScript | 0.000006 | @@ -1554,34 +1554,36 @@
key='
-ok
+copy
'%0A mo
@@ -1816,10 +1816,16 @@
ey='
-ok
+download
'%0A
|
90fced2df23641c7077850de910b72273aea8931 | Fix bug with sameness checked | src/box.js | src/box.js | (function(){
"use strict";
xtag.register('sam-box', {
lifecycle: {
created: function() {},
inserted: function() {},
removed: function() {},
attributeChanged: function() {}
},
events: {
},
accessors: {
//TODO: DRY
height: {
get: function () {
... | JavaScript | 0 | @@ -409,16 +409,17 @@
if(
++
newValue
@@ -792,16 +792,17 @@
if (
++
newValue
|
bd4b7a890df641f53c73f1b6412b7fcbbe444584 | Fix DragZoom interaction duration, allow `0` value | src/ol/interaction/dragzoominteraction.js | src/ol/interaction/dragzoominteraction.js | goog.provide('ol.interaction.DragZoom');
goog.require('goog.asserts');
goog.require('ol.animation');
goog.require('ol.easing');
goog.require('ol.events.condition');
goog.require('ol.extent');
goog.require('ol.interaction.DragBox');
goog.require('ol.style.Stroke');
goog.require('ol.style.Style');
/**
* @classdesc
... | JavaScript | 0 | @@ -927,16 +927,30 @@
uration
+!== undefined
? option
|
e8baf596cabd3c16d0266b786b7de55417c536b3 | Copy changes to settings | src/options/settings/components/Ribbon.js | src/options/settings/components/Ribbon.js | import React from 'react'
import { Checkbox } from 'src/common-ui/components'
import * as utils from '../../../sidebar-overlay/utils'
import styles from './settings.css'
class Ribbon extends React.Component {
state = {
ribbon: true,
}
async componentDidMount() {
const ribbon = await util... | JavaScript | 0 | @@ -752,36 +752,232 @@
er%7D%3E
-Umm.. insert some text here?
+%0A Memex injects a small ribbon on the right side of every%0A page. %3Cbr /%3E If disabled, you can still reach it via the%0A little 'brain' icon in the popup.%0A
%3C/p%3E
|
99e3a49543617cd711ff9588ae9e25391e81216f | fix format issue | src/cli.js | src/cli.js | #!/usr/bin/env node
/**
* Created by idok on 11/10/14.
*/
'use strict';
//var fs = require('fs');
var _ = require('lodash');
var path = require('path');
var api = require('./api');
var context = require('./context');
var shell = require('./shell');
var pkg = require('../package.json');
//var defaultOptions = {commonJ... | JavaScript | 0.000001 | @@ -481,16 +481,82 @@
ions._;%0A
+ context.options.format = currentOptions.format %7C%7C 'stylish';%0A%0A
if (
@@ -924,64 +924,8 @@
e %7B%0A
- context.options.format = currentOptions.format;%0A
|
f9d54b701641f82807d38d29acb01e972da291ad | fix typo | generators/_node/index.js | generators/_node/index.js | 'use strict';
const _ = require('lodash');
const askName = require('inquirer-npm-name');
const parseAuthor = require('parse-author');
const Base = require('yeoman-generator').Base;
const patchPackageJSON = require('../../utils').patchPackageJSON;
const originUrl = require('git-remote-origin-url');
// based on https://... | JavaScript | 0.999991 | @@ -3348,10 +3348,10 @@
= t
-i
h
+i
s.op
|
9521935f46b96b3c6477250d7ef4ef76070734aa | Add a basic initial git setup on the new project | generators/setup/index.js | generators/setup/index.js | 'use strict';
var yeoman = require('yeoman-generator');
var prompts = require('./prompts');
var _ = require('lodash');
module.exports = yeoman.Base.extend({
initializing: function() {
this.appName = this.fs.readJSON(this.destinationPath('package.json')).name;
},
prompting: prompts,
writing: function () {... | JavaScript | 0 | @@ -601,24 +601,271 @@
nction () %7B%0A
+ this.spawnCommand('git', %5B 'init' %5D)%0A .on('exit', () =%3E %7B%0A this.spawnCommand('git', %5B 'add', '.' %5D)%0A .on('exit', () =%3E %7B%0A this.spawnCommand('git', %5B 'commit', '-m', 'Initial commit' %5D);%0A %7D);%0A %7... |
09d12820c70194641bcf52f35fbc0d65ef74875e | clear input field which causes re-choose bug | src/Uploader/Uploader.js | src/Uploader/Uploader.js | /**
* @file Upload
* @author nemo <luoxincheng@baidu.com>
*/
import san from 'san';
const _method = {
repeatSet: function(obj, fn) {
for (let i in obj) {
fn(i, obj[i])
}
},
initXHR: function(file) {
let self = this
let xhr = new XMLHttpRequest()
let formData = new FormData()
let fileIndex ... | JavaScript | 0 | @@ -1271,16 +1271,41 @@
)%0A%09%09%09%09%7D%0A
+%09%09%09%09file.uploaded = true%0A
%09%09%09%09opt%5B
@@ -1481,16 +1481,34 @@
'%5D(file)
+ && !file.uploaded
) %7B%0A%09%09%09%09
@@ -5057,41 +5057,31 @@
%09
-console.log(this.data.get('opt'))
+event.target.value = ''
%0A
|
63348c8973a58b86516ffce1b65fdcb676a49a56 | clean up some code from #97 | plugins/kalabox_app/index.js | plugins/kalabox_app/index.js | 'use strict';
var exec = require('child_process').exec;
var fs = require('fs');
var path = require('path');
var _ = require('lodash');
var rimraf = require('rimraf');
var plugin = require('../../lib/plugin.js');
module.exports = function(manager, app, docker) {
manager.registerTask('init', function(done) {
man... | JavaScript | 0.000102 | @@ -1299,17 +1299,16 @@
function
-
(er) %7B%0A
@@ -1324,16 +1324,17 @@
er)
+%7B
throw er
%0A
@@ -1329,16 +1329,19 @@
throw er
+; %7D
%0A %7D);
|
f89cd7a0f071f22798a1683645b9e409f2dedabb | Add verbose mode | plugins/no-undefined-vars.js | plugins/no-undefined-vars.js | const fs = require('fs')
const stylelint = require('stylelint')
const matchAll = require('string.prototype.matchall')
const globby = require('globby')
const ruleName = 'primer/no-undefined-vars'
const messages = stylelint.utils.ruleMessages(ruleName, {
rejected: varName => `${varName} is not defined`
})
// Match CS... | JavaScript | 0.000138 | @@ -745,20 +745,143 @@
es'%5D
-%7D = options%0A
+, verbose = false%7D = options%0A // eslint-disable-next-line no-console%0A const log = verbose ? (...args) =%3E console.warn(...args) : noop
%0A c
@@ -929,16 +929,21 @@
es(files
+, log
)%0A%0A ret
@@ -1425,16 +1425,21 @@
es(files
+, log
) %7B%0A co
@@ -1635,2... |
de79a0ae52b86a81d0e45d123da6478ba75e34e3 | Linux is not an OS | packages/components/containers/sessions/SessionsSection.js | packages/components/containers/sessions/SessionsSection.js | import React, { useState, useEffect } from 'react';
import { c } from 'ttag';
import {
Button,
Table,
TableHeader,
TableBody,
TableRow,
Time,
Pagination,
Alert,
Block,
SubTitle,
ConfirmModal,
useApi,
useAuthentication,
useModals,
useLoading,
usePagination,... | JavaScript | 0.99977 | @@ -2141,24 +2141,28 @@
-export for
+GNU/
Linux%60,%0A
@@ -2209,16 +2209,20 @@
dge for
+GNU/
Linux%60%0A%7D
|
8261826ba67567d221849e9adfeac45bc0f7671a | fix merge bug | packages/entity-browser/src/routes/entity-browser/index.js | packages/entity-browser/src/routes/entity-browser/index.js | import React from 'react'
import {storeFactory} from 'tocco-util'
import asyncRoute from '../../util/asyncRoute'
export default store => props => {
const Component = asyncRoute(() =>
new Promise(resolve => {
require.ensure([], require => {
const EntityBrowserContainer = require('./containers/Entity... | JavaScript | 0.000024 | @@ -720,16 +720,25 @@
yBrowser
+Container
)%0A
@@ -761,38 +761,25 @@
return %3C
-EntityBrowserContainer
+Component
%7B...pro
|
2f977bf2a48226d0c7230bd7c82e2994d7663e0d | Remove unused variables and fix some formatting | src/env.js | src/env.js | var eventHandling = require('./eventhandling');
var mode = typeof(window) !== 'undefined' ? 'browser' : 'node',
env = {},
isBackground = false;
var Env = function () {
return env;
};
Env.isBrowser = function () {
return mode === "browser";
};
Env.isNode = function () {
return mode === "node";
};
Env... | JavaScript | 0.000003 | @@ -1,11 +1,13 @@
-var
+const
eventHa
@@ -44,19 +44,21 @@
ing');%0A%0A
-var
+const
mode =
@@ -126,41 +126,16 @@
= %7B%7D
-,%0A isBackground = false;%0A%0A%0Avar
+;%0A%0Aconst
Env
@@ -326,31 +326,8 @@
) %7B%0A
- isBackground = true;%0A
En
@@ -390,32 +390,8 @@
) %7B%0A
- isBackground = false;%0A
En
... |
f87bab67b3e855bf5b787e35a9975dd0997e7764 | Add some sidebar link tests | installer/frontend/ui-tests/utils/wizard.js | installer/frontend/ui-tests/utils/wizard.js | const nextStep = '.wiz-form__actions__next button.btn-primary';
const prevStep = 'button.wiz-form__actions__prev';
const testPage = (page, platform, json, nextInitiallyDisabled = true) => {
page.expect.element(prevStep).to.be.visible;
page.expect.element(prevStep).to.have.attribute('class').which.not.contains('dis... | JavaScript | 0 | @@ -936,34 +936,462 @@
');%0A
- %7D else %7B%0A nextNavLink
+%0A // If the next button is disabled, all sidebar links for later screens should be disabled%0A page.expect.element('.wiz-wizard__nav__step--active ~ .wiz-wizard__nav__step button:not(%5Bdisabled%5D)').to.not.be.present;%0A %7D else %7B%0A nex... |
551e92c4769797fda67bdfc2ee85abcad0e2962a | Update angulartics-piwik.js | src/angulartics-piwik.js | src/angulartics-piwik.js | /**
* @license Angulartics
* (c) 2013 Luis Farzati http://luisfarzati.github.io/angulartics
* Piwik 2.1.x update contributed by http://github.com/highskillz
* License: MIT
*/
/* global _paq */
(function(angular) {
'use strict';
/**
* @ngdoc overview
* @name angulartics.piwik
* Enables ana... | JavaScript | 0 | @@ -5608,16 +5608,879 @@
%7D);%0A
+ %0A /**%0A * Exception Track Event in GA%0A * @name exceptionTrack%0A * Sugar on top of the eventTrack method for easily handling errors%0A *%0A * @param %7Bobject%7D error An Error... |
46f6de21abfa2a2ab3ff6eae58375179e951cf2e | drop '--windows-compatibility' option | internal/fontello/font_build/_lib/worker.js | internal/fontello/font_build/_lib/worker.js | // Working procedure for the font builder queue.
//
'use strict';
const promisify = require('util').promisify;
const _ = require('lodash');
const path = require('path');
const fs = require('fs');
const ttf2eot = require('ttf2eot');
const ttf2woff = require('ttf2woff');
const wawoff2 = require... | JavaScript | 0.000001 | @@ -4167,41 +4167,8 @@
o',%0A
- '--windows-compatibility',%0A
|
d3ba5ec8b670995f4d1e0e4a5f357ac119d31f56 | add a printf | models/mongoose.js | models/mongoose.js | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose');
var bluebird = require('bluebird');
mongoose.Promise = bluebird;
mongoose.connect(config.databaseUrl);
var db = mongoose.connection;
db.on('error', console.error.bind(console, 'connection error:'));
var UserModel = require('./UserMod... | JavaScript | 0.001188 | @@ -143,16 +143,60 @@
bird;%0A%0A%0A
+console.log('******' + config.databaseUrl);%0A
mongoose
|
2707b080cf245ca51beb7c2b4e35433ac605bc72 | Remove example code | dev/FormWithArrays.js | dev/FormWithArrays.js | /* ------------- Imports -------------- */
import React, { Component } from 'react';
/* ------------- Form Library Imports -------------- */
import {
Form,
Text
} from '../src/index';
/* ---------------- Other Imports ------------------ */
import Data from './Data';
import Code from './Code';
/* --------------... | JavaScript | 0.000018 | @@ -1945,53 +1945,8 @@
orm%0A
- defaultValues=%7B%7B numberField: 0 %7D%7D%0A
@@ -2604,150 +2604,8 @@
/%3E%0A
- %3Clabel htmlFor=%22numberField%22%3ENumber field%3C/label%3E%0A %3CText field=%22numberField%22 id=%22numberField%22 type=%22number%22 /%3E%0A
|
1df0657305bd9f06d4c4f594a8a58ea131445d19 | Make typing messages pretty | src/gui.js | src/gui.js | const EventEmitter = require('events'),
blessed = require('blessed'),
timestamp = require('./util/timestamp');
class GUI extends EventEmitter {
constructor(screen) {
super();
this.screen = screen;
this.chatbox = blessed.box({
label: 'Retrocord Light',
width: '100%',
height: '100%-1'... | JavaScript | 0.000226 | @@ -1784,38 +1784,36 @@
%0A this.put(%60%7B
-yellow
+blue
-fg%7D%7Bbold%7D%E2%86%AA%7B/bol
@@ -1798,33 +1798,33 @@
%60%7Bblue-fg%7D%7Bbold%7D
-%E2%86%AA
+%E2%86%B7
%7B/bold%7D%7B/yellow-
@@ -1808,38 +1808,36 @@
%7Bbold%7D%E2%86%B7%7B/bold%7D%7B/
-yellow
+blue
-fg%7D %7Bwhite-fg%7D%7B
@@ -1860,24 +1860,35 @@
n... |
9b399f5d53b3b1f2d5de0b0957cd6cdd5161771c | hide 'danger' concern | modules/concern.js | modules/concern.js | /**
* concern.js
*
* !concern
* Toggles whether the bot should interrupt charged conversations
* with an unhelpful message.
*/
var bot = require( '..' );
var isEmotional = require( 'emotional_alert' );
var nox = false;
bot.addListener( 'message', function ( nick, to, text ) {
if ( !nox ) {
var x = isEmotional... | JavaScript | 0.999079 | @@ -217,16 +217,51 @@
= false;
+%0Avar verbose = false; // TODO: cvar
%0A%0Abot.ad
@@ -1017,16 +1017,38 @@
phrase%0A
+%09%09%09%09if ( verbose ) %7B%0A%09
%09%09%09%09bot.
@@ -1102,16 +1102,22 @@
say' );%0A
+%09%09%09%09%7D%0A
%09%09%09%7D%0A%09%09%7D
|
927f7f1985756865d6e15b7d833d2a55722c4afe | Fix typo | modules/setting.js | modules/setting.js | (function(root) {
var fs = null
var path = null
var app = null
if (typeof require != 'undefined') {
fs = require('fs')
path = require('path')
app = require('electron').app
}
var context = typeof module != 'undefined' ? module.exports : (window.setting = {})
var settingspath = ''
if (path && app)
se... | JavaScript | 0.999999 | @@ -2112,21 +2112,16 @@
ew.show_
-show_
next_mov
|
b6cb079ff3130637d4a546e5b8b9e1227d89bfc1 | Make menu updates fire even when no flush happens, debounce flushes | update.js | update.js | export class MenuUpdate {
constructor(pm, events, prepare) {
this.pm = pm
this.prepare = prepare
this.mustUpdate = false
this.updateInfo = null
this.events = events.split(" ")
this.onEvent = () => this.mustUpdate = true
this.events.forEach(event => pm.on(event, this.onEvent))
pm.on("... | JavaScript | 0 | @@ -1,8 +1,64 @@
+const MIN_FLUSH_DELAY = 200%0Aconst UPDATE_TIMEOUT = 200%0A%0A
export c
@@ -211,16 +211,63 @@
o = null
+%0A this.timeout = null%0A this.lastFlush = 0
%0A%0A th
@@ -319,36 +319,70 @@
t =
-() =%3E this.mustUpdate = true
+this.onEvent.bind(this)%0A this.force = this.force.bind(this)
%0A... |
811ae14efc513873866d3e4e4a9c1688d33f9b87 | Set text on the profile image button | private/library/components/views/dialogs/UserSelfDialog.js | private/library/components/views/dialogs/UserSelfDialog.js | /*
Copyright 2019 Carmilla Mina Jankovic
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | JavaScript | 0.000002 | @@ -1465,24 +1465,117 @@
mageInput(%7B%0A
+ buttonText: labelHandler.getLabel(%7B baseObject: 'RegisterDialog', label: 'image' %7D),%0A
elem
|
19c0b33aabb43d4388f58904cabc0335f488c7bf | fix default languages | source/nunjucks/filter/TranslationsFilter.js | source/nunjucks/filter/TranslationsFilter.js | 'use strict';
/**
* Requirements
* @ignore
*/
const Filter = require('./Filter.js').Filter;
const TranslationsRepository = require('../../model/translation/TranslationsRepository.js').TranslationsRepository;
const SystemModuleConfiguration = require('../../configuration/SystemModuleConfiguration.js').SystemModuleCo... | JavaScript | 0.000003 | @@ -2261,120 +2261,8 @@
%7D
-%0A if (!value)%0A %7B%0A return scope.applyCallbacks(%7B%7D, arguments);%0A %7D
%0A%0A
@@ -2819,32 +2819,47 @@
else
+ if (languages)
%0A %7B%0A
|
fe2826234931f14d185770bf94f4c3597b6d7b91 | changing to stateless | src/js/components/common/header/Header.component.js | src/js/components/common/header/Header.component.js | import React, { Component } from 'react';
import PropTypes from 'prop-types';
class Header extends Component {
super(props) {}
render() {
const { guest } = this.props;
// const id = guest.id ? guest.id : '';
return (
<div className="header" id="header">
<div ... | JavaScript | 0.99984 | @@ -9,23 +9,8 @@
eact
-, %7B Component %7D
fro
@@ -20,16 +20,19 @@
react';%0A
+//
import P
@@ -65,20 +65,20 @@
;%0A%0Ac
-lass
+onst
Header
exte
@@ -77,105 +77,18 @@
der
-extends Component %7B%0A super(props) %7B%7D%0A render() %7B%0A const %7B guest %7D = this.props;%0A
+= () =%3E %7B%0A
... |
f043eeaa6475abc78ee02a8ef04e4ab5dc41ec28 | Revert "Prevent ghost users" | rdiodj/static/js/chat.js | rdiodj/static/js/chat.js | var chat = chat || {};
chat.User = Backbone.Model.extend({
});
chat.firebasePeopleRef = new Firebase(firebaseRootUrl + '/people');
chat.firebaseMessagesRef = new Firebase(firebaseRootUrl + '/messages');
chat.UserList = Backbone.Firebase.Collection.extend({
model: chat.User,
firebase: chat.firebasePeopleRef, //... | JavaScript | 0 | @@ -5235,247 +5235,8 @@
);%0A%0A
- //Mark myself as online on reconnect%0A var connectedRef = new Firebase(%22https://rdiodj.firebaseio.com/.info/connected%22);%0A connectedRef.on(%22value%22, function(snap) %7B%0A if (snap.val() === true) %7B%0A isOnlineRef.set(true);%0A %7D%0A %7D);%0A
//
|
06564f9e049417087fa53cf8ec15c22ec65724d5 | Update gl_field_error tests for better input filtering. | spec/javascripts/gl_field_errors_spec.js.es6 | spec/javascripts/gl_field_errors_spec.js.es6 | //= require jquery
//= require gl_field_errors
((global) => {
fixture.preload('gl_field_errors.html');
describe('GL Style Field Errors', function() {
beforeEach(function() {
fixture.load('gl_field_errors.html');
const $form = this.$form = $('form.show-gl-field-errors');
this.fieldErrors = ne... | JavaScript | 0 | @@ -372,36 +372,41 @@
uld
-properly initialize
+select
the
-form
+correct input elements
', f
@@ -633,9 +633,9 @@
oBe(
-5
+4
);%0A
|
6725267da9799f285d6c33b90254f6dc57f1f2da | remove comment, since it no longer applies | src/pov.js | src/pov.js | import closestHead from './utils/closestHead';
import intersectOrb from './utils/intersectcenter';
import viewer from './viewer';
import InstancedItem from './instanced-item';
import Room from './room';
import layout from './room/layout';
import settings from './settings';
import controllers from './controllers';
expo... | JavaScript | 0 | @@ -1992,158 +1992,8 @@
%7D%0A%0A
- // for some reason position has to be done here as well as in playback%0A // otherwise the positional values begin spiraling into infinity%0A
|
12c781309524a0e90d6a9c6b20e321def700d4e7 | test commit | src/smx.js | src/smx.js | /**
* SMX Synchronized Multimedia XML
*
* @module smx
*
*/
(function(window){
var smx = {};
/* software version: major.minor.path */
smx.version = '0.8.1';
//expose
window.smx = smx;
})(window);
| JavaScript | 0.000001 | @@ -62,18 +62,16 @@
*/%0D%0A%0D%0A%0D%0A
-%0D%0A
(functio
|
4e14f674326bc57a559a0033759934922e678219 | remove exit | yibite.js | yibite.js | var Crawler = require("crawler").Crawler;
var urls = [];
var fs= require('fs');
var times = 0;
var c = new Crawler({
"maxConnections": 1,
});
function writeFs(urls){
var data = {"news": urls };
fs.writeFile("yibite.json", JSON.stringify(data), function (err) {
if (err) throw err;
console.log('It\'s s... | JavaScript | 0.002894 | @@ -1888,62 +1888,8 @@
s);%0A
-%09 %09if (i == 41) %7B%0A%09 %09%09process.exit(0);%0A%09 %09%7D;%0A
%09%09%7D%0A
|
83381653f1dfcb8af449a691c75e1cf483f5058a | Update the HTML to give user more direction | googleplusrss.js | googleplusrss.js | var http = require('sys');
var http = require('http');
var https = require('https');
var RSS = require('rss');
var cache = require('./cache');
var reId = new RegExp(/\/(\d+)$/);
http.createServer(function(req, serverResponse) {
try {
//Get the ID off the url
var m = reId.exec(req.url);
if (m != null) {... | JavaScript | 0 | @@ -2922,27 +2922,28 @@
om/1
-2345678901234567890
+18004117219257714873
and
@@ -2965,21 +2965,1038 @@
ou your
-feed.
+raw rss feed. You can get your user id by logging into your Google+ account and clicking on your name. The url in the browse will have a long number which is your user id.%3C/p%3E%22);%0A serv... |
5af66557eba4ee6720a62ac16bc08666b1098796 | Support template for message. | src/devilry_extjsextras/devilry_extjsextras/static/devilry_extjsextras/AlertMessage.js | src/devilry_extjsextras/devilry_extjsextras/static/devilry_extjsextras/AlertMessage.js | /**
Message for highlighting the failure, possible failure, or success of
an action. Particularly useful for forms.
*/
Ext.define('devilry_extjsextras.AlertMessage', {
extend: 'Ext.Component',
alias: 'widget.alertmessage',
requires: [
'Ext.fx.Animator',
'Ext.util.DelayedTask'
],
... | JavaScript | 0 | @@ -1229,16 +1229,324 @@
e: '',%0A%0A
+ /**%0A * @cfg %7Bstring%7Carray%7D %5Bmessagetpl%5D%0A * An XTemplate string or array to use instead of %60%60message%60%60.%0A * Requires that you specify %60%60messagedata%60%60.%0A */%0A messagetpl: null,%0A%0A /**%0A * @cfg %7BObject%7D %5Bmessag... |
0461bd84b23ce9fe32a903e0aeb5f4f019e9b581 | set url hash to contain p if on presenter view | src/remark/controllers/inputs/location.js | src/remark/controllers/inputs/location.js | exports.register = function (events, dom, slideshowView) {
addLocationEventListeners(events, dom, slideshowView);
};
function addLocationEventListeners (events, dom, slideshowView) {
// If slideshow is embedded into custom DOM element, we don't
// hook up to location hash changes, so just go to first slide... | JavaScript | 0.000002 | @@ -1,8 +1,50 @@
+var utils = require('../../utils.js');%0D%0A%0D%0A
exports.
@@ -946,24 +946,176 @@
oOrName) %7B%0D%0A
+ if(utils.hasClass(slideshowView.containerElement, 'remark-presenter-mode'))%7B%0D%0A dom.setLocationHash('#p' + slideNoOrName);%0D%0A %7D%0D%0A else%7B%0D%0A
dom.setL
@@ -1145... |
62bdba683db73e00898033bd160809b7b87d2532 | bump version | realtime-client-utils.js | realtime-client-utils.js | /**
* @license
* Realtime Utils 1.0.0
* https://developers.google.com/google-apps/realtime/overview
* Copyright 2015 Seth Howard, Google Inc. All Rights Reserved.
* Realtime Utils may be freely distributed under the Apache 2.0 license.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ma... | JavaScript | 0 | @@ -31,17 +31,17 @@
ils 1.0.
-0
+1
%0A * http
|
6f0f13016ad02400d35ffaa78f93f057e2163389 | remove reference to redos as error was too damn long | no-unsafe-regex.js | no-unsafe-regex.js | var safe = require('safe-regex');
/**
* Check if the regex is evil or not using the safe-regex module
* @author Adam Baldwin
*/
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
modul... | JavaScript | 0 | @@ -710,87 +710,8 @@
sion
- (https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS)
%22);%0A
|
0ff25fe3abf0a7b5d7f9b51eb5ae336cabbc58c4 | Revert "Added listener to be able to set countdown value" | dist/angular-timer.js | dist/angular-timer.js | /**
* angular-timer - v1.0.12 - 2014-02-03 9:30 PM
* https://github.com/siddii/angular-timer
*
* Copyright (c) 2014 Siddique Hameed
* Licensed MIT <https://github.com/siddii/angular-timer/blob/master/LICENSE.txt>
*/
angular.module('timer', [])
.directive('timer', ['$compile', function ($compile) {
return {... | JavaScript | 0 | @@ -1768,131 +1768,8 @@
);%0A%0A
- $scope.$on('countdown-set', function (e, countdown) %7B%0A $scope.countdown = countdown;%0A %7D);%0A %0A
|
97cd5dd0b8392d5b0e142c22cbda42c597da794e | add ie 11 support | profiles/build.profile.js | profiles/build.profile.js | /* eslint-disable no-unused-vars */
var profile = {
basePath: '../src',
action: 'release',
cssOptimize: 'comments',
mini: true,
optimize: false,
layerOptimize: false,
selectorEngine: 'acme',
layers: {
'dojo/dojo': {
include: [
'dojo/i18n',
... | JavaScript | 0 | @@ -2251,16 +2251,111 @@
-sniff':
+ 0,%0A%0A // ie 11 support%0A 'dojo-guarantee-console': 1,%0A 'console-as-object':
0%0A %7D
|
bd7ead7f5965b2e295b79596bbf1af7d38ae5cb7 | Update player-interaction.js | src/player-interaction.js | src/player-interaction.js | const rx = require('rx');
const _ = require('underscore-plus');
class PlayerInteraction {
// Public: Poll players that want to join the game during a specified period
// of time.
//
// messages - An {Observable} representing new messages sent to the channel
// channel - The {Channel} object, used for posting... | JavaScript | 0.000001 | @@ -779,17 +779,17 @@
timeout=
-1
+2
0, maxPl
|
feae9ad0a82b3e4f5755a8dc5607005c4cb0441b | Add regression test for scry order | src/test/__tests__/ReactTestUtils-test.js | src/test/__tests__/ReactTestUtils-test.js | /**
* Copyright 2013-2015, 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.
*
* @emails react-co... | JavaScript | 0 | @@ -4017,13 +4017,656 @@
;%0A%0A %7D);
+%0A%0A it('traverses children in the correct order', function() %7B%0A var container = document.createElement('div');%0A%0A React.render(%0A %3Cdiv%3E%0A %7Bnull%7D%0A %3Cdiv%3Epurple%3C/div%3E%0A %3C/div%3E,%0A container%0A );%0A var t... |
a965e2d7021b8a742ab870bab2eafabb127e7373 | Add cache, remove board/thread history | src/redux/initialState.js | src/redux/initialState.js | import { details as settingDetails } from './settings'
export default {
status: {
alertMessage: null, // reveal status to user
provider: '4chan',
boardID: null,
threadID: null,
},
display: {
isAppReady: false,
isScrolling: false, // app scroll
isHe... | JavaScript | 0.000003 | @@ -601,24 +601,84 @@
..%5D%0A %7D,%0A%0A
+ cache: %7B%0A board: %7B %7D,%0A thread: %7B %7D%0A %7D,%0A
%0A board:
@@ -898,32 +898,8 @@
%7D,%0A%0A
- boardHistory: %7B %7D,%0A%0A
@@ -1094,33 +1094,8 @@
%7D,%0A%0A
- threadHistory: %7B %7D,%0A%0A
@@ -1208,24 +1208,24 @@
... |
781ba7615988cd1950f26b1cc4b339375d85daf3 | update login form | src/routes/login/index.js | src/routes/login/index.js | import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'dva'
import { Button, Row, Form, Input } from 'antd'
import { config } from 'utils'
import styles from './index.less'
const FormItem = Form.Item
const Login = ({
loading,
dispatch,
form: {
getFieldDecorator,
validateFi... | JavaScript | 0 | @@ -778,17 +778,17 @@
orator('
-a
+A
ccount',
@@ -1085,17 +1085,17 @@
orator('
-p
+P
assword'
|
e1686fd7edc0000099cdfd60f5a268f0cd0b368e | Make package-get route asynchronous | src/routes/package-get.js | src/routes/package-get.js | export default class {
constructor(storage, validator) {
this.storage = storage;
this.packageValidator = validator;
}
/*
* Reads package data from fileystem and sends it to npm-client
*/
process(httpRequest, httpResponse) {
let packageName = httpRequest['params']['package'];
let fileName =... | JavaScript | 0.000008 | @@ -235,24 +235,64 @@
Response) %7B%0A
+ return new Promise((resolve) =%3E %7B%0A
let pack
@@ -331,24 +331,26 @@
'package'%5D;%0A
+
let file
@@ -399,22 +399,9 @@
-let fileData =
+
thi
@@ -447,15 +447,34 @@
ame)
-;%0A%0A
+.then((data) =%3E %7B%0A
+
http
@@ -491,16 +491,49 @@
end(... |
05bf70fc033ffa60cc9eb4391ac5d6c3e557c482 | Update AgarMacros.js | src/scripts/AgarMacros.js | src/scripts/AgarMacros.js | // ==UserScript==
// @name 13 macro's for Agar.io :)
// @version 0.5
// @description 13 macro's. For feeding, linesplits, tricksplits, etc :)
// @author Megabyte918
// @match *.agar.io/*
// ==/UserScript==
window.addEventListener('keydown', keydown);
window.addEventListener('keyup', keyup);
... | JavaScript | 0 | @@ -1277,23 +1277,8 @@
ros%0A
-var time = 35;%0A
var
@@ -1509,26 +1509,23 @@
var
-f2
+a
= 0;
-f2
+a
%3C 4;
-f2
+a
++)
@@ -1746,36 +1746,15 @@
%7D,
-time);%0A time *= 2
+a * 50)
;%0A
@@ -2138,43 +2138,26 @@
var
-e2
+b
= 0;
-e2
+b
%3C 4;
-e2
+b
++)
- %7B%0A
set
@@ -2175... |
81e725f4709e540ab4445d8c6011dd61c8c5e8f0 | Fix type | renderer/types/manage.js | renderer/types/manage.js | // @flow
export type ModalType = | 'DEFAULT' | 'ADD_COLUMN' | 'FILTER_TAG' | 'SEARCH';
export type ManageFilter = {
r18: bool,
tags: Array<string>
};
export type Manage = {
isLogin: bool,
isModal: bool,
isImageView: bool,
isImgLoaded: bool,
isMangaView: bool,
isDropdown: bool,
currentWorkId: ?number,
curren... | JavaScript | 0.000001 | @@ -310,32 +310,8 @@
er,%0A
-%09currentColumn: number,%0A
%09fil
|
6304bd2e82506fcc07f486b140af96f01321b703 | Check status of page opening | src/scripts/screenshot.js | src/scripts/screenshot.js |
(function () {
"use strict";
/* Modules & Constants */
var DEF_ZOOM = 1,
DEF_QUALITY = 1,
DEF_DELAY = 100,
DEF_WIDTH = 1024,
DEF_HEIGHT = 768,
DEF_JS_ENABLED = true,
DEF_IMAGES_ENABLED = true,
DEF_FORMAT = 'png',
DEF_HEADERS = {},
DEF_ST... | JavaScript | 0 | @@ -3582,36 +3582,143 @@
.url, function (
+status
) %7B%0A
+ if (status !== 'success') %7B%0A exit();%0A %7D else %7B%0A
@@ -3743,16 +3743,20 @@
+
+
addStyle
@@ -3772,24 +3772,28 @@
EF_STYLES);%0A
+
@@ -3867,32 +3... |
72a5ce61edba72c0a2e404792bb70590c08e938f | Update fix-s22pdf.js example script to accept pages with no fonts. | docs/examples/fix-s22pdf.js | docs/examples/fix-s22pdf.js | // A simple script to fix the broken fonts in PDF files generated by S22PDF.
if (scriptArgs.length != 2) {
print("usage: mutool run fix-s22pdf.js input.pdf output.pdf");
quit();
}
var doc = new PDFDocument(scriptArgs[0]);
var font = new Font("zh-Hans");
var song = doc.addCJKFont(font, "zh-Hans", "H", "serif");
var... | JavaScript | 0 | @@ -735,16 +735,31 @@
s.Font;%0A
+%09if (fonts) %7B%0A%09
%09fonts.f
@@ -789,16 +789,17 @@
font) %7B%0A
+%09
%09%09if (fo
@@ -859,16 +859,17 @@
ng')%0A%09%09%09
+%09
fonts%5Bna
@@ -898,13 +898,17 @@
t%5D;%0A
+%09
%09%7D);%0A
+%09%7D%0A
%7D%0A%0Ad
|
938f9aeb264bbaf98b7cbf1e840bb75793b6de19 | update inline example. fix #584 | docs/examples/inline-bot.js | docs/examples/inline-bot.js | const Telegraf = require('telegraf')
const fetch = require('node-fetch')
// async/await example.
async function spotifySearch (query = '', offset, limit) {
const apiUrl = `https://api.spotify.com/v1/search?type=track&limit=${limit}&offset=${offset}&q=${encodeURIComponent(query)}`
const response = await fetch(apiU... | JavaScript | 0.000002 | @@ -107,23 +107,20 @@
unction
-spotify
+omdb
Search (
@@ -133,23 +133,8 @@
= ''
-, offset, limit
) %7B%0A
@@ -159,111 +159,53 @@
http
-s
://
-api.spotify.com/v1/search?type=track&limit=$%7Blimit%7D&offset=$%7Boffset%7D&q=$%7BencodeURIComponent(query)%7D
+www.omdbapi.com/?s=$%7Bquery%7D&apikey=9699cca
%60%0A
@... |
4b620e0f3ccf0b2ee1cc0ac52d8bda0449d52079 | fix bug | repo/ensure-directory.js | repo/ensure-directory.js | var fs = require("fs")
var path = require("path")
var env = require("process").env
var async = require("gens")
var both = require("gens/both")
// ensureDirectory := () => Continuable<String>
// ensureDirectory returns the directory where profiles are stored
module.exports = async(ensureDirectory)
function* ensureDire... | JavaScript | 0.000001 | @@ -834,27 +834,21 @@
urn env.
-processDash
+PDASH
_DIRECTO
|
45dec81ed25c11ad39d0793d654575b631fb808c | Remove superfluous duplicate prop. Part of STRIPES-266. | 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 Route from 'react-router-dom/Route';
import Pane from '@folio/stripes-components/lib/Pane';
import PaneMenu... | JavaScript | 0 | @@ -6662,37 +6662,8 @@
oans
- stripes=%7Bthis.props.stripes%7D
onC
|
e94aa55b9c68bffa7dc48dc582e42f38972a1d73 | remove the queryselector load | browser.js | browser.js | var domify = require('domify');
var query = require('queryselector');
module.exports = hyperglue;
function hyperglue (src, updates) {
if (!updates) updates = {};
var dom = typeof src === 'object'
? [ src ]
: domify(src)
;
forEach(objectKeys(updates), function (selector) {
... | JavaScript | 0.000001 | @@ -28,46 +28,8 @@
y');
-%0Avar query = require('queryselector');
%0A%0Amo
|
0d0b1e5f70c476a6cbfcf5398d1d441665b2ab46 | use call to avoid ie shenanigans | browser.js | browser.js | // shim for using process in browser
var process = module.exports = {};
// cached from whatever global is present so that test runners that stub it
// don't break things. But we need to wrap it in a try catch in case it is
// wrapped in strict mode code which doesn't define any globals. It's inside a
// function be... | JavaScript | 0 | @@ -1218,17 +1218,28 @@
tTimeout
-(
+.call(null,
cleanUpN
@@ -1634,17 +1634,28 @@
rTimeout
-(
+.call(null,
timeout)
@@ -1988,17 +1988,28 @@
tTimeout
-(
+.call(null,
drainQue
|
aa9452f1560c9c9c799f3132f3d751c26903a0be | Update edit for to handle new schema. Fixes last part of STRIPES-138. | UserForm.js | UserForm.js | import React, { Component, PropTypes } from 'react'; // eslint-disable-line
import Paneset from '@folio/stripes-components/lib/Paneset'; // eslint-disable-line
import Pane from '@folio/stripes-components/lib/Pane'; // eslint-disable-line
import PaneMenu from '@folio/stripes-components/lib/PaneMenu'; // eslint-disable-l... | JavaScript | 0 | @@ -2871,19 +2871,20 @@
label=%22F
-ull
+irst
Name%22 n
@@ -2898,19 +2898,20 @@
rsonal.f
-ull
+irst
_name%22 i
@@ -2922,19 +2922,20 @@
dduser_f
-ull
+irst
name%22 co
@@ -3010,21 +3010,17 @@
el=%22
-Primary Email
+Last Name
%22 na
@@ -3036,21 +3036,17 @@
nal.
-email_primary
+last_name
%22 id
@@ -3059,20 +3059... |
0ba05afc6d401f1f995c4bb6fc1c75219bdd669e | update NavMenuList | examples/containers/app/navMenu/NavMenuList.js | examples/containers/app/navMenu/NavMenuList.js | import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import * as actions from 'reduxes/actions';
import NavMenuItem from './NavMenuItem';
import Event from 'vendors/Event';
class NavMenuList extends Component {
... | JavaScript | 0 | @@ -698,16 +698,27 @@
+ navMenu &&
navMenu
|
fa3afdd5b3d859c9239751944eba9a76c7fd2be5 | use avatarURL | bot/lib/message2embed.js | bot/lib/message2embed.js | const Discord = require('discord.js');
module.exports = async function (message, hotline){
let me = message.embeds.shift();
const embed = new Discord.RichEmbed();
if(me && me!=null)
{
if(me.author && me.author.name)
embed.author = {
name: me.author.name,
... | JavaScript | 0.000001 | @@ -1410,16 +1410,9 @@
hor.
-displayA
+a
vata
|
04d9f3c330194553a60eb9c273a64674ed1835b2 | Update promo.client.controller.js | public/modules/core/controllers/promo.client.controller.js | public/modules/core/controllers/promo.client.controller.js | 'use strict';
angular.module('core').controller('promoController', ['$scope', 'Authentication', 'promoService',
function($scope, Authentication, promoService) {
// This provides Authentication context.
$scope.authentication = Authentication;
// Some example string - remove in prod
$scope.helloText = 'P... | JavaScript | 0 | @@ -1545,15 +1545,8 @@
$
-window.
loca
@@ -1554,15 +1554,13 @@
ion.
-href =
+path(
'/pr
@@ -1564,16 +1564,17 @@
/promos'
+)
;%0A%09 %7D);
|
28447b3dbdfea19a1a2c55ccf2ce51314c499016 | Fix for coinurl | src/sites/link/coinurl.js | src/sites/link/coinurl.js | (function () {
'use strict';
function deep (d) {
d.addEventListener('DOMContentLoaded', function () {
var a = $.$('#skip-ad', d.document);
if (a) {
$.openLink(a.href);
}
});
}
$.register({
rule: {
host: /^coinurl\.com|cur\.lv$/,
},
ready: function () {
... | JavaScript | 0 | @@ -26,16 +26,136 @@
ict';%0A%0A
+ $.register(%7B%0A rule: %7B%0A host: /%5E(?:(%5Cw+)%5C.)?(coinurl%5C.com%7Ccur%5C.lv)$/,%0A path: /%5E%5C/%5B-%5Cw%5D+$/%0A %7D,%0A ready:
functio
@@ -160,23 +160,18 @@
ion
-deep (d
+(m
) %7B%0A
d.ad
@@ -170,57 +170,62 @@
-d.addEventListener('DOMCo... |
7eb7b8d1fd5ce850b01c7c9dbceda579eb16828d | remove semicolons | lib/components/user/stacked-pane-display.js | lib/components/user/stacked-pane-display.js | import PropTypes from 'prop-types'
import React, {useState} from 'react'
import FormNavigationButtons from './form-navigation-buttons'
import { PageHeading, StackedPaneContainer } from './styled'
/**
* This component handles the flow between screens for new OTP user accounts.
*/
const StackedPaneDisplay = ({ onCanc... | JavaScript | 0.001735 | @@ -576,25 +576,16 @@
%0A %7B
-%0A
paneSequ
@@ -636,18 +636,16 @@
x) =%3E (%0A
-
@@ -689,18 +689,16 @@
-
%3Ch3%3E%7Btit
@@ -720,15 +720,26 @@
-
%3Cdiv%3E
+%0A
%3CPan
@@ -784,17 +784,26 @@
%7D /%3E
+%0A
%3C/div%3E%0A
-
@@ -834,18 +834,16 ... |
575357557fd3276fb625a6438537bbc0c1018cb7 | allow closing of modal dialog on success | cea/interfaces/dashboard/tools/static/tools.js | cea/interfaces/dashboard/tools/static/tools.js | /**
* Functions to run a tool from the tools page.
*/
function cea_run(script) {
if(!$('#cea-tool-parameters').parsley().isValid()) return false;
$('.cea-modal-close').attr('disabled', 'disabled').removeClass('btn-danger').removeClass('btn-success');
$('#cea-console-output-body').text('');
$('#cea-co... | JavaScript | 0 | @@ -1063,32 +1063,89 @@
', function() %7B%0A
+ $cea_modal_close.removeAttr(%22disabled%22);%0A
|
19159f684bc22175cbf072b039ac09a82b7ef47d | Return 'Bad Request' on plain HTTP/RPC when encryption is required. | lib/hooks/requests/switch_http_and_https.js | lib/hooks/requests/switch_http_and_https.js | // Redirect between plain HTTP and encrypted HTTPS by following rules:
// - If user is logged in - force HTTPS.
// - If user is visiting "users.auth.*" page - force HTTPS.
// - Otherwise force HTTP.
'use strict';
var isEncryptionAllowed = require('nodeca.core/lib/system/utils/is_encryption_allowed');
module.expor... | JavaScript | 0.000003 | @@ -928,24 +928,193 @@
p'%0A %7D);%0A%0A
+ if (!redirectUrl) %7B%0A // Can't build URL - usually RPC-only method.%0A return %7B code: N.io.BAD_REQUEST, message: 'Encrypted connection is required' %7D;%0A %7D%0A%0A
return %7B
|
86d5fcc9b09cf49c58533778125de1c2a00efab5 | Optimize integration test on CI | integration_test/test/injection.test.js | integration_test/test/injection.test.js | import { ALL, EACH } from '../util'
describe('The Extension page should', () => {
beforeAll(ALL)
afterAll(ALL)
beforeEach(EACH)
afterEach(EACH)
it('execute the injected script after page loaded', async () => {
await page.evaluate(() => {
const editor = window.ace.edit('ace-editor')
editor.se... | JavaScript | 0.000001 | @@ -1472,33 +1472,33 @@
.waitForTimeout(
-1
+5
00)%0A const di
|
4762aeaee506ae37412ff40b15496b6c11b5b880 | Add context to Cell on Search results | src/v2/components/SearchContents/index.js | src/v2/components/SearchContents/index.js | import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import { Query } from '@apollo/client/react/components'
import searchContentsQuery from 'v2/components/SearchContents/queries/searchContents'
import SearchEmptyMessage from 'v2/components/SearchEmptyMessage'
import ErrorAlert from 'v2/com... | JavaScript | 0.000453 | @@ -3026,32 +3026,77 @@
nectable=%7Bcell%7D%0A
+ context=%7Bcontents%7D%0A
@@ -3098,32 +3098,32 @@
/%3E%0A
-
@@ -3316,32 +3316,77 @@
nectable=%7Bcell%7D%0A
+ context=%7Bcontents%7D%0A
@@ -3600,32 +360... |
1a107eca0848b821fe0ef150713c1a828b28b075 | Add hosted target support | lib/package/plugins/checkBundleStructure.js | lib/package/plugins/checkBundleStructure.js | //bundleStructure.js
//for every policy check fileName per Apigee recommendations
//for every policy check if fileName matches policyName
//plugin methods and variables
var bundle,
root,
plugin = {
ruleId: "BN001",
name: "Bundle Structure",
message:
"Bundle Structure: Check bundle structure, bund... | JavaScript | 0 | @@ -5556,32 +5556,241 @@
: %7B any: true %7D%0A
+ %7D,%0A %7B%0A name: %22hosted%22,%0A required: false,%0A files: %7B%0A extensions: %5B%22js%22, %22json%22, %22yaml%22, %22ejs%22%5D%0A %7D,%0A folders: %7B any: true %7D%0A
... |
63a560342a40234b4114c5b5d8da0162370d74c0 | Add further update to StocktakeBatchModal pagebutton | src/widgets/modals/StocktakeBatchModal.js | src/widgets/modals/StocktakeBatchModal.js | /* eslint-disable react/forbid-prop-types */
/* eslint-disable import/prefer-default-export */
/**
* mSupply Mobile
* Sustainable Solutions (NZ) Ltd. 2019
*/
import React, { useCallback, useMemo } from 'react';
import PropTypes from 'prop-types';
import { View } from 'react-native';
import { MODAL_KEYS } from '../... | JavaScript | 0 | @@ -2109,16 +2109,106 @@
state;%0A%0A
+ const %7B stocktake = %7B%7D %7D = stocktakeItem;%0A const %7B isFinalised = false %7D = stocktake;%0A%0A
const
@@ -3743,255 +3743,8 @@
);%0A%0A
- const PageButtons = () =%3E %7B%0A const %7B stocktake = %7B%7D %7D = stocktakeItem;%0A const %7B isFinalised = false ... |
654a299a7b8b98bccf3837e0da4260a851780541 | Update dKimConfigCtrl.js | src/wwwroot/controllers/dKimConfigCtrl.js | src/wwwroot/controllers/dKimConfigCtrl.js | (function() {
'use strict';
angular
.module('dopplerRelay')
.controller('dKimConfigCtrl', dKimConfigCtrl);
dKimConfigCtrl.$inject = [
'$scope',
'$location',
'settings'
];
function dKimConfigCtrl($scope, $location, settings) {
var vm = this;
var queryParams = $location.search();
... | JavaScript | 0.000001 | @@ -483,9 +483,10 @@
ll;%0A
-%09
+
vm
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.