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 |
|---|---|---|---|---|---|---|---|
96639d2d9d9e5eaab6813e34c67946f541ab0031 | Update maintenance-utils.js | js/maintenance-utils.js | js/maintenance-utils.js | (
function (window) {
var self = this;
// private variables
var _landingPage = "https://software-development-of-better-tomorrow.org/";
var disallowdResolutionsArray = ["1024", "600"];
var _interval;
// ~ private variables
// private functions
function getInter... | JavaScript | 0.000001 | @@ -651,24 +651,26 @@
) %7B%0A
+//
window.locat
@@ -693,16 +693,20 @@
ingPage;
+ :D
%0A %7D%0A%0A
|
3f7a5b77da65064398987fc9031f7936f1cd5c45 | Enable tailwind-2-0-like purge mode | ruby_event_store-browser/elm/tailwind.config.js | ruby_event_store-browser/elm/tailwind.config.js | module.exports = {
purge: ['./src/style/style.css'],
theme: {
extend: {}
},
variants: {},
plugins: []
}
| JavaScript | 0 | @@ -12,16 +12,65 @@
rts = %7B%0A
+ future: %7B%0A purgeLayersByDefault: true,%0A %7D,%0A
purge:
|
ea3b385ddba9f0b7cbef1b984f0425a7e3b3a912 | fix dictinct | app/views/stats.js | app/views/stats.js | define(['lodash','authentication'], function(_) {
return ['$scope', '$http', '$timeout', '$location', '$q', function ($scope, $http, $timeout, $location, $q) {
$scope.requests = [];
$scope.refresh = refresh;
$scope.sum = sum;
$scope.distinct = distinct;
$scope.getFromLast = getFromLast;
$scope.... | JavaScript | 0.000004 | @@ -4254,21 +4254,23 @@
values,
+%5B
value
+%5D
);%0A%0A%09%09%09r
|
f1fe4e4c0e2e2328ff123ee3ebee1c2fca633cd2 | fix fonts path | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var less = require('gulp-less');
var cleanCSS = require('gulp-clean-css');
var rename = require("gulp-rename");
var replace = require('gulp-replace');
var htmlmin = require('gulp-htmlmin');
var minifyInline = require('gulp-minify-inline');
var vulcanize = require('gulp-vulcanize');
var path ... | JavaScript | 0.000022 | @@ -1952,16 +1952,19 @@
ace('../
+../
bower_co
|
e3fed360978c5948f179bbea068d5784e3b14e7c | add gulp tasks | gulpfile.js | gulpfile.js | JavaScript | 0.000006 | @@ -0,0 +1,250 @@
+'use strict';%0Avar gulp = require('gulp');%0Avar shell = require('gulp-shell');%0A%0Agulp.task('default', %5B'build'%5D);%0Agulp.task('build', shell.task('npm run build'));%0Agulp.task('test' , shell.task('npm test'));%0Agulp.task('run' , shell.task('npm start'));%0A
| |
01131ba4d787f42e8b6164a7740065706c8a9105 | update 04.30 | js/pages/AboutUsPage.js | js/pages/AboutUsPage.js | import React, {Component} from "react";
import {
View,
StyleSheet,
Text,
Navigator,
TouchableOpacity,
Image,
ScrollView,
Dimensions,
WebView
} from "react-native";
import CommonNav from "../common/CommonNav";
import TextPingFang from "../common/TextPingFang";
import AboutUsWebPage from "./AboutUsWebPage";
con... | JavaScript | 0 | @@ -1605,17 +1605,17 @@
erison1.
-0
+1
%3C/Text%3E%0A
|
12ab19182deb854da33439fd7968f129c4efbb63 | enable captcha | apps/home/index.js | apps/home/index.js | var express = require('express');
var app = module.exports = express();
var util = require("util");
var settings = require('../../settings')
var Recaptcha = require('recaptcha').Recaptcha;
app.set('views', __dirname);
app.get('/', captureReferrer, showFaucet);
app.post('/', validateCaptcha, validateAddress, valida... | JavaScript | 0.000001 | @@ -1011,18 +1011,16 @@
%7B%0A %09
-//
res.capt
@@ -1049,10 +1049,8 @@
%09
-//
if(!
@@ -1119,39 +1119,8 @@
n!%22%0A
- %09res.captchaPassed = true;%0A
|
720e3b3048cff646c8e5bb55b6517935cc4a34fd | test zuul task completed | gulpfile.js | gulpfile.js | (function(){
var gulp = require("gulp");
var mocha = require("gulp-mocha");
var browserify = require("./support/browserify.js");
var file = require("gulp-file");
// Task names
var TASK_BUILD = "build"; // rebuild
var TASK_WATCHER = "watch"; // auto rebuild on changes
var TASK_TEST = "t... | JavaScript | 0.998857 | @@ -171,16 +171,64 @@
-file%22);
+%0A var spawn = require(%22child-process%22).spawn;
%0A%0A //
@@ -1949,24 +1949,38 @@
function()%7B%0A
+ //TODO
%0A %7D);%0A%0A
@@ -2443,16 +2443,791 @@
ul() %7B%0A%0A
+ if (!(process.env.hasOwnProperty(%22BROWSER_NAME%22)%0A && process.env.hasO... |
179deeb60ac9b6c5c7d42d3cf53196c29753aa45 | Add unsubscribe method to communication module. | js/src/communication.js | js/src/communication.js | /* eslint-disable */
const logging = require('./logging');
const state = require('./state');
let session;
let accPack;
let callProperties;
let screenProperties;
let containers = {};
let autoSubscribe;
let active = false;
const defaultCallProperties = {
insertMode: 'append',
width: '100%',
height: '100%',
showC... | JavaScript | 0 | @@ -4883,16 +4883,343 @@
;%0A %7D)%0A%0A
+/**%0A * Unsubscribe from a stream and update the state%0A * @param %7BObject%7D subscriber - An OpenTok subscriber object%0A * @returns %7BPromise%7D %3Cresolve: empty%3E%0A */%0A const unsubscribe = subscriber =%3E%0A new Promise((resolve) =%3E %7B%0A getSession().unsu... |
0a496edf7f1584a4720e7bc3e3b2bf6207f22749 | Update gulpfile | gulpfile.js | gulpfile.js | /* eslint-disable */
var gulp = require('gulp');
var eslint = require('gulp-eslint');
var util = require('gulp-util');
var plumber = require('gulp-plumber');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var git = require('gulp-git');
var gulpif = require('gulp-if');
var prompt = require('g... | JavaScript | 0.000001 | @@ -1614,16 +1614,17 @@
popup
+$
: path.r
|
ae498ac005d8f379bdbcc88ad68dcab02a793fe4 | Add error handler to SASS so it won't crash on error | gulpfile.js | gulpfile.js | //initialize all of our variables
var app, base, concat, connect, directory, gulp, gutil, hostname, http, lr, open, path, refresh, sass, server, uglify, imagemin, cache, minifyCSS, clean;
//load all of our dependencies
//add more here if you want to include more libraries
gulp = require('gulp');
gutil = r... | JavaScript | 0.000001 | @@ -3408,32 +3408,77 @@
.pipe(sass(%7B%0A
+ errLogToConsole: true,%0A
|
c24647c57ee3e5e9102feab200940945fb53f938 | remove gapi from books.server.ctrl | app/controllers/books.server.controller.js | app/controllers/books.server.controller.js | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors'),
Book = mongoose.model('Book'),
_ = require('lodash'),
googleapi = require('node-google-api')('AIzaSyAffzxPYpgZ14gieEE04_u4U-5Y26UQ8_0');
exports.gbooks = function(req, res) {
googleapi.build(fun... | JavaScript | 0.000001 | @@ -167,19 +167,28 @@
lodash')
-,%0A%09
+;%0A%09// ,%0A%09//
googleap
@@ -264,16 +264,19 @@
_0');%0A%0A%0A
+//
exports.
@@ -305,16 +305,19 @@
res) %7B%0A
+//
%09googlea
@@ -341,16 +341,19 @@
(api) %7B%0A
+//
%09 for(v
@@ -366,16 +366,19 @@
n api)%7B%0A
+//
%09 con
@@ -394,13 +394,19 @@
k);%0A
+//
... |
0240aca75276f501e2e8093e27d58286ca668c70 | Update tagging script | gulpfile.js | gulpfile.js | /*
Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions an... | JavaScript | 0.000001 | @@ -3817,16 +3817,30 @@
Version(
+%7B prefix: '' %7D
));%0A%7D%0A%0Ag
|
ec6819facf870ba5cc5e529c7d0ad2d8a953e97f | Include lodash in an npm v3-compatible way | gulpfile.js | gulpfile.js | 'use strict';
const gulp = require('gulp');
const addSrc = require('gulp-add-src');
const concat = require('gulp-concat');
const insert = require('gulp-insert');
const remoteSrc = require('gulp-remote-src');
const replace = require('gulp-replace');
const uglify = require('gulp-uglify');
const BENCHMARKJS_VERSION = '... | JavaScript | 0 | @@ -939,67 +939,33 @@
end(
-%0A%09%09'node_modules/benchmark/node_modules/lodash/lodash.js'%0A%09
+require.resolve('lodash')
))%0A%0A
|
c3177113ff7348654ef9d0f0917ddcc9fc1bb52c | fix build output with new vulcanize | gulpfile.js | gulpfile.js | /**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http:polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http:polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found... | JavaScript | 0.000001 | @@ -1521,16 +1521,41 @@
l%3E%3Chead%3E
+', '')%0A .pipe(replace, '
%3Cmeta ch
@@ -1607,16 +1607,78 @@
%3E%3Cbody%3E%3C
+div hidden=%22%22 by-vulcanize=%22%22%3E', '')%0A .pipe(replace, '%3C/div%3E%3C
/body%3E%3C/
|
299965701bdc62383da97e9c128627f6262a3a5c | fix regression | connectors/saavn.js | connectors/saavn.js | 'use strict';
/* global Connector, Util */
/**
* An example of connector that loads information about song asynchronously.
* Note that current time and duration are still synchronous.
*/
/**
* The latest track info URL.
* @type {String}
*/
let lastTrackInfoUrl = null;
/**
* Object that holds information abou... | JavaScript | 0.000018 | @@ -687,24 +687,27 @@
(Util.is
-SongInfo
+ArtistTrack
Empty(so
|
9fbbe1ab014e51a3db91106ec06584f472242aac | Include source maps as part of build output | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
webpack = require('gulp-webpack'),
htmlcompress = require('gulp-minify-html'),
livereloadembed = require('gulp-embedlr'),
livereload = require('gulp-livereload'),
gutil = require('gulp-util'),
filelog = require('gulp-filelog'), // NOTE: Used for debug
runSequence... | JavaScript | 0 | @@ -1038,18 +1038,16 @@
-//
config.d
|
b5ded8b8f0b6d6de541ac2d9d6e8027dee1d89de | Remove unused list of types | arborweb/js/app.js | arborweb/js/app.js | /*jslint browser: true, nomen: true */
(function (flow, _, Backbone, d3, girder) {
"use strict";
// The main app view
flow.App = Backbone.View.extend({
el: 'body',
types: ['table', 'tree', 'string', 'image', 'r'],
visualizationDescriptors: [
{
name: "t... | JavaScript | 0.000002 | @@ -184,67 +184,8 @@
',%0A%0A
- types: %5B'table', 'tree', 'string', 'image', 'r'%5D,%0A%0A
|
d493ca8e3c3bc908bc09557dd599f031df768de3 | Rename gulp develop task to dev | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
livereload = require('gulp-livereload'),
nodemon = require('gulp-nodemon'),
fs = require('fs');
gulp.task('develop', function () {
livereload.listen();
nodemon({
script: 'server.js',
stdout: false,
ext: 'js jade css',
execMap: {
js: 'node --debug-brk... | JavaScript | 0.000437 | @@ -150,12 +150,8 @@
'dev
-elop
', f
@@ -501,10 +501,12 @@
%0A %7D
-%0A
)
+;%0A%0A
%7D);%0A
|
5a9e7edaf0cbbbfce3f7e778ba50b6c3fe00d466 | fix path to js in gulpfile | gulpfile.js | gulpfile.js | 'use strict';
var
gulp = require('gulp'),
jshint = require('gulp-jshint'),
stylish = require('jshint-stylish');
gulp.task('default', ['jshint']);
gulp.task('jshint', lint);
function lint () {
return gulp
.src('./lib/**/*.js')
.pipe(jshint())
.pipe(jshint.reporter(stylish, {verbose: true}))
.pipe(jshi... | JavaScript | 0 | @@ -222,11 +222,11 @@
('./
-lib
+src
/**/
|
2832a5b8279424e86a9c4d4185e9481b3a59e6d4 | fix build tasks. | gulpfile.js | gulpfile.js | const gulp = require('gulp');
const _ = require('lodash');
const webpack = require('webpack');
const webpackStream = require('webpack-stream');
const WebpackDevServer = require('webpack-dev-server');
const run = require('gulp-run');
const server = require('./server');
const webpackConfig = require('./webpack.config')... | JavaScript | 0 | @@ -1789,16 +1789,55 @@
vtool;%0A%0A
+ config.output.filename = 'domc.js';%0A%0A
return
@@ -2023,32 +2023,74 @@
onfig.devtool;%0A%0A
+ config.output.filename = 'domc.min.js';%0A
config.plugins
|
ce4a27c57d39d17f411ec3cd6ebd487a28a29145 | add some semicolons and remove a log statement about orbited | jsio/env/browser/csp.js | jsio/env/browser/csp.js | require('jsio', ['Class', 'bind']);
require('jsio.logging');
require('jsio.interfaces');
require('jsio.csp.client', 'CometSession');
var logger = jsio.logging.getLogger('env.browser.csp')
exports.Connector = Class(jsio.interfaces.Connector, function() {
this.connect = function() {
logger.debug('create Orb... | JavaScript | 0.000011 | @@ -181,17 +181,18 @@
er.csp')
+;
%0A
-
%0Aexports
@@ -286,58 +286,8 @@
) %7B%0A
- logger.debug('create Orbited.TCPSocket');%0A
@@ -604,16 +604,17 @@
%7D)
+;
%0A
@@ -1050,28 +1050,25 @@
codes%0A %7D%0A
-
+%09
%0A this.wr
|
08cbd722bdb63a88dbd4c09eef4e4a14e28227e9 | Remove unused gulp task | gulpfile.js | gulpfile.js | const config = require('./gulp/config');
config.environment.check();
process.env.NODE_ENV = config.environment.type;
const gulp = require('gulp');
const requireDir = require('require-dir');
requireDir('./gulp/tasks');
/* API */
gulp.task('default', ['serve']);
gulp.task('build', ['prepare']);
gulp.task('css', ['less... | JavaScript | 0.000018 | @@ -294,32 +294,4 @@
%5D);%0A
-gulp.task('css', %5B'less'%5D);%0A
|
4683c9366d1f9897b1d6fe11ef8cdfd371aa9b09 | Clean before packing for dist | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var path = require('path');
var del = require('del');
var browserify = require('browserify');
var argv = require('yargs').argv;
var config = require('./gulp.config.js');
var packageInfo = require('./package.json');
var $ = require('gulp-load-plugins')();
gulp.task('watch', ['build'], funct... | JavaScript | 0 | @@ -2127,19 +2127,8 @@
ck',
- %5B'clean'%5D,
fun
|
57b9954d9cb59da1c4f1efeff4eea5c9d07e6177 | support params with value of undefined | react/features/base/config/parseURLParams.js | react/features/base/config/parseURLParams.js | /* @flow */
import { reportError } from '../util';
/**
* Parses the query/search or fragment/hash parameters out of a specific URL and
* returns them as a JS object.
*
* @param {string} url - The URL to parse.
* @param {boolean} dontParse - If falsy, some transformations (for parsing the
* value as JSON) will b... | JavaScript | 0.000002 | @@ -1289,16 +1289,17 @@
ram%5B1%5D;%0A
+%0A
@@ -1340,47 +1340,24 @@
-value%0A = JSON.parse(
+const decoded =
deco
@@ -1397,16 +1397,99 @@
&/, '&')
+;%0A%0A value = decoded === 'undefined' ? undefined : JSON.parse(decoded
);%0A
|
a1326652869fc77b6c4de1cf14fc249c05ed1bcf | Add sass compression | gulpfile.js | gulpfile.js | require('es6-promise').polyfill();
var gulp = require('gulp');
var browserify = require('browserify');
var concatCss = require('gulp-concat-css');
var minifyCss = require('gulp-minify-css');
var sass = require('gulp-sass');
var uglify = require('gulp-uglify');
var buffer = require('vinyl-buffer');
var source = require... | JavaScript | 0.000002 | @@ -1388,32 +1388,89 @@
.pipe(sass(
+%7B%0A outputStyle: 'compressed'%0A %7D
))%0A .
@@ -2517,16 +2517,65 @@
pe(sass(
+%7B%0A outputStyle: 'compressed'%0A %7D
))%0A
|
b314780898a594d1fdcf7c0080668bd00a757b5a | test with coveralls | gulpfile.js | gulpfile.js | 'use strict';
var gulp = require('gulp');
var browserify = require('browserify');
var buffer = require('vinyl-buffer');
var cover = require('gulp-coverage');
var coveralls = require('gulp-coveralls');
var jasmine = require('gulp-jasmine');
var eslint = require('gulp-eslint');
var uglify = require('gulp-uglify');
var r... | JavaScript | 0.000001 | @@ -1561,10 +1561,8 @@
-//
.pip
|
d19f860a41f09dca5f28f1f6c918882b58120590 | change to gulpfile | gulpfile.js | gulpfile.js | // *** dependencies *** //
const path = require('path');
const gulp = require('gulp');
const jshint = require('gulp-jshint');
const jscs = require('gulp-jscs');
const runSequence = require('run-sequence');
const nodemon = require('gulp-nodemon');
const plumber = require('gulp-plumber');
const server = require('tiny-lr... | JavaScript | 0.000001 | @@ -906,38 +906,8 @@
ce(%0A
- %5B'jshint'%5D,%0A %5B'jscs'%5D,%0A
|
3ac4c0732229d750c5e9ecd875c6235d5c07f3b8 | Fix release task bug. | gulpfile.js | gulpfile.js | /**
* Created by xubt on 4/30/16.
*/
var gulp = require('gulp');
var jshint = require('gulp-jshint');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var ngmin = require('gulp-ngmin');
var ngAnnotate = require('gulp-ng-annotate');
var less = require('gulp... | JavaScript | 0 | @@ -3310,24 +3310,25 @@
est('release
+/
'));%0A%7D);%0A%0A//
|
246078627189738c3a227df582a52f2569e4c271 | Add --production build tasks, and remove z-index optimization | gulpfile.js | gulpfile.js | var gulp = require('gulp'),
browserSync = require('browser-sync'),
childprocess = require('child_process'),
concat = require('gulp-concat'),
cssnano = require('gulp-cssnano'), //Contains autoprefixer
filter = require('gulp-filter'),
gutil = r... | JavaScript | 0 | @@ -1875,16 +1875,47 @@
d: true%7D
+,%0A zindex: false
%0A
@@ -4269,32 +4269,412 @@
e', done);%0A%7D);%0A%0A
+/**%0A * $ gulp jekyll-prod%0A * Build Jekyll Site for production%0A */%0Agulp.task('jekyll-prod', function (done) %7B%0A browserSync.notify('Building Jekyll site for production...')... |
4f939867a61691dd85df700009d76ade6a8f7e23 | Fix typo | gulpfile.js | gulpfile.js | /**
* @license
* Copyright (c) 2016 Abdón Rodríguez Davila (@abdonrd). All rights reserved.
* This code may only be used under the MIT style license found at https://abdonrd.github.io/LICENSE.txt
*/
/* eslint-disable no-console */
'use strict';
const del = require('del');
const gulp = require('gulp');
const gulp... | JavaScript | 0.999999 | @@ -2729,21 +2729,22 @@
//
-waitF
+Wait f
or the b
|
60966c35c6725f581a9bdc21d2c92a83e7ea6254 | make sure Fall Back is visible in two-week view background fills | js/plot/util/fill.js | js/plot/util/fill.js | /*
* == BSD2 LICENSE ==
* Copyright (c) 2014, Tidepool Project
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the associated License, which is identical to the BSD 2-Clause
* License as published by the Open Source Initiative at opensource.org.
*
* This progra... | JavaScript | 0 | @@ -1555,24 +1555,53 @@
rentData) %7B%0A
+ currentData.reverse();%0A
var fi
@@ -1923,17 +1923,38 @@
(i ===
-0
+currentData.length - 1
) %7B%0A
|
c23fdedd591830548a82cf3528524b6d5825a605 | Move server things to the bottom | gulpfile.js | gulpfile.js | var gulp = require('gulp')
var gutil = require('gulp-util')
var signalhub = require('signalhub/server.js')
var source = require('vinyl-source-stream')
var browserify = require('browserify')
var watchify = require('watchify')
var babelify = require('babelify')
var notifier = require('node-notifier')
var chalk = require(... | JavaScript | 0 | @@ -489,471 +489,8 @@
')%0A%0A
-// Start signalhub server on port 7000%0Afunction startSignalhub () %7B%0A var port = 7000%0A var host = ''%0A var server = signalhub()%0A%0A server.on('subscribe', function (channel) %7B%0A gutil.log('subscribe: %25s', channel)%0A %7D)%0A%0A server.on('publish', function (chan... |
5eb6c76d6048ea0aef4bf3fc776359471d68a244 | Add gulp task for project traitDetails js | gulpfile.js | gulpfile.js | 'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
var sassLint = require('gulp-sass-lint');
var concat = require('gulp-concat');
var sourcemaps = require('gulp-sourcemaps');
var babel = require('gulp-babel');
require('babel-core/register');
// testing
var mocha = require('gulp-mocha');
/**
*... | JavaScript | 0.000001 | @@ -1054,32 +1054,147 @@
details');%0A%7D);%0A%0A
+gulp.task('babel-project-trait-details', function() %7B%0A return runBabelOnFolder('project', 'traitDetails');%0A%7D);%0A%0A
gulp.task('babel
@@ -1931,24 +1931,54 @@
ils','babel-
+project-trait-details','babel-
trait-browse
|
ec62f682c25c3df3ed62e7fdb0ff7824603f6239 | Replace deprecated gulp.run() method | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var iife = require('gulp-iife');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
gulp.task('default', ['scripts']);
gulp.task('scripts', function () {
gulp.src('src/**/*.js')
.pipe(concat('vk-api-angular.js'))
.pi... | JavaScript | 0.000432 | @@ -532,35 +532,9 @@
s',
-function () %7B%0A gulp.run(
+%5B
'scr
@@ -542,14 +542,9 @@
pts'
-);%0A %7D
+%5D
);%0A%7D
|
3df9aac94cb51bf1a533bb622f4e4cf9f71983ad | update gulpfile | gulpfile.js | gulpfile.js | var gulp = require('gulp');
var gutil = require('gulp-util');
var bower = require('bower');
var concat = require('gulp-concat');
var sass = require('gulp-sass');
var minifyCss = require('gulp-minify-css');
var rename = require('gulp-rename');
var sh = require('shelljs');
var paths = {
sass: ['./scss/**/*.scss']
};
... | JavaScript | 0.000001 | @@ -264,16 +264,101 @@
elljs');
+%0Avar browserify = require('browserify');%0Avar source = require('vinyl-source-stream');
%0A%0Avar pa
@@ -393,16 +393,42 @@
*.scss'%5D
+,%0A bundle: %5B'./lib/*.js'%5D
%0A%7D;%0A%0Agul
@@ -842,32 +842,124 @@
%5B'sass'%5D);%0A%7D);%0A%0A
+gulp.task('watch:bundle', function() %7B%0... |
b252ba630d2732b3badec5f5282dbb5f0e6d1498 | add todo in gulpfile | gulpfile.js | gulpfile.js | /* global require */
var gulp = require('gulp');
var shell = require('gulp-shell');
var minifyHtml = require('gulp-htmlmin');
var autoprefixer = require('gulp-autoprefixer');
var minifyCss = require('gulp-clean-css');
var rename = require('gulp-rename');
var concatCss = require('gul... | JavaScript | 0.000001 | @@ -890,16 +890,150 @@
// ???%0A%0A
+// FIXME issue with hangman css - 'New Game' button too close to input box. Clicking on 'New Game' puts it where it's supposed to be%0A%0A
%0Agulp.ta
|
9d1def5008c49889438d70f4ac28204e12caf51b | Use strict | gulpfile.js | gulpfile.js | let gulp = require('gulp');
let sass = require('gulp-sass');
let autoprefixer = require('gulp-autoprefixer');
let cssnano = require('gulp-cssnano');
let rename = require('gulp-rename');
const src = './src/sass/zebra.scss';
const destination = './dist/css/';
const autoprefixrBrowsers = ['last 2 versions', 'ie >= 8'];
... | JavaScript | 0.000083 | @@ -1,12 +1,27 @@
+%22use strict%22;%0A%0A
let gulp = r
|
c294f4cdb29049b455bd7530b32be4fd2051ed59 | Add less output to Theo for theme use | gulpfile.js | gulpfile.js | // See Salesforce UX's design-tokens project for more information
var path = require('path');
var rimraf = require('rimraf');
var async = require('async');
var _ = require('lodash');
var gulp = require('gulp');
var jsonlint = require('gulp-json-lint');
var rename = require('gulp-rename');
var theo = require('theo');... | JavaScript | 0.000002 | @@ -953,13 +953,37 @@
//%0A%0A
-var c
+// for external use%0Avar distC
onve
@@ -1389,16 +1389,51 @@
ransform
+,%0A outputFolder: 'dist/tokens'
%0A %7D;%0A
@@ -1461,16 +1461,204 @@
lue();%0A%0A
+// for use in MCtheme (output one type)%0Avar themeConvertOptions = %5B%0A %7B%0A format: 'less',%0A trans... |
0c1f85c439e554badb4b3dfc6b0b6033a02b6d1e | correct namespace | allow_fullscreen_on_every_embed_youtube.user.js | allow_fullscreen_on_every_embed_youtube.user.js | // ==UserScript==
// @name youtube: allow fullscreen on every embed
// @namespace totalamd github
// @match *://*/*
// @version 1.0.0.1
// @downloadURL https://github.com/totalamd/GM-scripts/raw/master/allow_fullscreen_on_every_embed_youtube.user.js
// @updateURL https://github.com/totalamd/GM-scri... | JavaScript | 0.028653 | @@ -84,24 +84,35 @@
space
+github.com/
totalamd
github%0A
@@ -103,23 +103,16 @@
totalamd
- github
%0A// @mat
@@ -150,17 +150,17 @@
1.0.0.
-1
+2
%0A// @dow
|
e11dbc1df4ee8d0c482d6ecf316b2de39cccb229 | tag update: hide this one instead of dumb class remove | js/toggle-spoiler.js | js/toggle-spoiler.js | /*
* toggle-spoiler.js
*
* Allows user to un-hide spoilers and custom styles like .roleplay
*
* Usage:
* $config['additional_javascript'][] = 'js/jquery.min.js';
* $config['additional_javascript'][] = 'js/settings.js';
* $config['additional_javascript'][] = 'js/toggle-spoiler.js';
*
*/
onready(functio... | JavaScript | 0 | @@ -723,24 +723,9 @@
move
-Class('roleplay'
+(
);%0A%09
|
3b53660957391934e87d9790cb43cf58e1cfd10a | fix logic when there are multiple versions returned and the first result match user's version-no change is made on the version but mpg info is still achieved | js/vehicleRequest.js | js/vehicleRequest.js | var metaMpgData = {};
var vehicleRequest = {};
var $vehicleDefer = $.Deferred();
vehicleRequest.index = function() {
var $carYear = $('.carYear');
var $carMake = $('.carMake');
var $carModel = $('.carModel');
var $carVersion = $('.carVersion');
var $avgMpg = $('.avgMpg');
... | JavaScript | 0 | @@ -2971,33 +2971,32 @@
%7D);%0A
-%0A
if($
@@ -2993,16 +2993,17 @@
if
+
($carVer
@@ -3031,12 +3031,132 @@
h===
-1
+0
)%7B%0A
+ $errorVehicle.append('Sorry, we could not find the information about the vehicle.');%0A %7Delse%7B%0A
@@ -3345,167 +3345,8 @... |
07fdc39d8b67b1baa1cc5dc6658fd9470aebfa06 | fix save attachments | js/views/sendmail.js | js/views/sendmail.js | /* global Backbone, Handlebars, Mail, models */
var views = views || {};
views.SendMail = Backbone.View.extend({
// The collection will be kept here
attachments: null,
sentCallback: null,
aliases: null,
currentAccountId: null,
events: {
"click #new-message-send" : "sendMail",
"click .mail_account" : "ch... | JavaScript | 0.000001 | @@ -29,20 +29,26 @@
rs,
-Mail,
models
+, escapeHTML
*/%0A
@@ -619,16 +619,20 @@
t).val()
+, 10
);%0A%09%7D,%0A%0A
@@ -2071,24 +2071,35 @@
ceiver:
+escapeHTML(
to.val()
%7D)%0A%09%09%09%09%09
@@ -2090,16 +2090,17 @@
to.val()
+)
%7D)%0A%09%09%09%09%09
|
16634592d409d6ee877ac1b9c69c7cfe0256182e | use separate webpack path to avoid path collisions | js/webpack.config.js | js/webpack.config.js | const path = require('path');
var rules = [
{ test: /\.css$/, use: [{loader: "style-loader"}, {loader: "css-loader" }]},
{ test: /\.less$/, use: [{loader: "style-loader"}, {loader: "css-loader" }, {loader: "less-loader" }]},
{ test: /\.(jpg|png|gif)$/, use: "file" },
// required to load font-awesome
... | JavaScript | 0.000002 | @@ -991,33 +991,139 @@
aryTarget: 'amd'
+,%0A devtoolModuleFilenameTemplate: 'webpack://jupyter-widgets/bqplot/%5Bresource-path%5D?%5Bloaders%5D',
%0A
-
%7D,%0A
@@ -1424,32 +1424,138 @@
aryTarget: 'amd'
+,%0A devtoolModuleFilenameTemplate: 'webpack://jupyter-widgets/bqplot/%5Breso... |
bf493cf8438f04180b94ac1d6891998b77612ea2 | Fix a bug where the icons to share a page on social medias wouldn't work | app/javascript/components/public/footer.js | app/javascript/components/public/footer.js | import React from 'react';
import PropTypes from 'prop-types';
import queryString from 'query-string';
import { Icon } from 'components';
import { settingsUtils } from 'utils';
class Footer extends React.PureComponent {
getShareUrl(service) {
const { site } = this.props;
const availableServices = {
... | JavaScript | 0.000001 | @@ -362,11 +362,8 @@
.php
-?u=
',%0A
@@ -394,37 +394,32 @@
witter.com/share
-?url=
',%0A gplus:
@@ -448,21 +448,16 @@
om/share
-?url=
',%0A
@@ -509,13 +509,8 @@
icle
-?url=
'%0A
@@ -510,24 +510,56 @@
cle'%0A %7D%0A%0A
+ const servicesParams = %7B%7D;%0A%0A
if (serv
@@ -590,45 +590,28 @... |
fd6dcd34cf8ca80056206a773d477264974dfadd | Make sure debaterTwo exists in debater filter Fixes DEBATEVIDIO-4 | app/assets/components/Videos/helpers/filters.js | app/assets/components/Videos/helpers/filters.js | import { List, Map } from 'immutable';
import { Filter } from 'components/store/records';
export const createFilters = ({ levels, types, tournaments, schools, teams, debaters, tags }) => {
return List([
new Filter({
id: 'level',
label: 'Level',
type: 'select',
options: levels.set('Any', '... | JavaScript | 0 | @@ -3347,32 +3347,60 @@
%7C%7C%0A
+ video.affTeam.debaterTwo &&
video.affTeam.d
@@ -3491,32 +3491,60 @@
%7C%7C%0A
+ video.negTeam.debaterTwo &&
video.negTeam.d
|
af7a6d41abcd423c5dd69c54a7fc5dfefd2bb71f | Fix tests. | app/assets/javascripts/FormMessageController.js | app/assets/javascripts/FormMessageController.js | /**
* Created by elisahilprecht on 09/04/15.
*/
window.FormMessageController = {};
(function(FormMessageController){
var getElementsByClassName = function(node, classname) {
var a = [];
var re = new RegExp('(^| )'+classname+'( |$)');
var els = node.getElementsByTagName("*");
for(var i=0,j=els.lengt... | JavaScript | 0 | @@ -701,16 +701,29 @@
ion(e)%7B%0A
+ if(e)%7B%0A
var
@@ -775,16 +775,18 @@
lement;%0A
+
elem
@@ -821,24 +821,26 @@
target;%0A
+
var errorTex
@@ -918,24 +918,26 @@
Text');%0A
+
if(errorText
@@ -939,16 +939,18 @@
rText)%7B%0A
+
er
@@ -1003,24 +1003,32 @@
lay-none');%0A
+ ... |
2b6b746590604ebb2941a56ae068a27ffd8ad106 | remove duplication from statscontrolelr | app/assets/javascripts/stats/statsController.js | app/assets/javascripts/stats/statsController.js | angular.module('ocWebGui.stats', ['ui.router', 'nvd3'])
.config(function ($stateProvider) {
$stateProvider
.state('stats', {
url: '/stats',
views: {
nav: {
templateUrl: 'navbar/navbar_others.html'
},
content: {
templateUrl: 'stats/_stats.... | JavaScript | 0.999648 | @@ -2807,210 +2807,8 @@
%5D;%0A%0A
- function getMaxValPlusOne(i) %7B%0A var maxVal = d3.max(vm.data2%5Bi%5D.values, function (x) %7B return x.calls; %7D);%0A if (maxVal == null) %7B%0A return 1;%0A %7D%0A return maxVal + 1;%0A %7D%0A%0A
@@ -4239,24 +4239,35 @@
r callMax =
+Cha... |
f3fadfeac69ef023b34ac89757c0d822a5abb13a | Refactor components to be mulitline. | assets/js/components/user-input/UserInputApp.js | assets/js/components/user-input/UserInputApp.js | /**
* User Input App.
*
* Site Kit by Google, Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | JavaScript | 0 | @@ -632,16 +632,89 @@
e.%0A */%0A%0A
+/**%0A * WordPress dependencies%0A */%0Aimport %7B __ %7D from '@wordpress/i18n';%0A%0A
export d
@@ -751,14 +751,14 @@
%7B%0A%09
-return
+if ( !
fea
@@ -797,110 +797,138 @@
led
-? ( %3Cdiv%3ETODO: Implement logic and UI.%3C/div%3E ) : ( %3Cdiv%3EYou need a higher level of p... |
ec53f82ff615745a4020957da193a08aa34d1422 | use the new bigger width of new section form | app/javascripts/taskar/sections/new_form.js | app/javascripts/taskar/sections/new_form.js | Taskar.Sections.NewForm = function(container){
container.on('click', '.add_section', show);
container.on('click', 'input[type=button]', hide);
container.on('key:esc', 'form', hide);
container.on('submit', 'form', Taskar.Sections.validateForm);
var form = $(... | JavaScript | 0.000001 | @@ -424,9 +424,9 @@
+ 2
-3
+4
8) +
|
740de8689d0461b61d058ea42ad10387498f5466 | remove listener on modal close | sauce/features/budget/enter-to-move/index.js | sauce/features/budget/enter-to-move/index.js | import { Feature } from 'toolkit/core/feature';
import * as toolkitHelper from 'toolkit/helpers/toolkit';
const MOVE_POPUP =
'ynab-u modal-popup modal-budget modal-budget-move-money ember-view modal-overlay active';
const CATEGORY_DROPDOWN = 'dropdown-container categories-dropdown-container';
const BUTTON_PRIMARY = ... | JavaScript | 0 | @@ -343,165 +343,159 @@
';%0A
-%0Aexport class EnterToMove extends Feature %7B%0A modalIsOpen = false;%0A%0A constructor() %7B%0A super();%0A this.onKeyDownHandler = this.onKeyDown.bind(this);%0A %7D
+const BUTTON_CANCEL = 'button button-cancel';%0Aconst MODAL_CONTENT = 'modal-content';%0A%0Aexport class Ent... |
5c8e3994bff9411a17d9fe48cad6fc0743a55375 | update patch markers on library install | packages/xod-client/src/hinting/patchMarkers.js | packages/xod-client/src/hinting/patchMarkers.js | import * as R from 'ramda';
import * as XP from 'xod-project';
import { foldMaybe, isAmong } from 'xod-func-tools';
import * as PAT from '../project/actionTypes';
import * as EAT from '../editor/actionTypes';
// :: Action -> Boolean
const isLoadingProjectAction = R.propSatisfies(
isAmong([PAT.PROJECT_IMPORT, PAT.PRO... | JavaScript | 0 | @@ -286,16 +286,21 @@
sAmong(%5B
+%0A
PAT.PROJ
@@ -310,16 +310,20 @@
_IMPORT,
+%0A
PAT.PRO
@@ -331,16 +331,56 @@
ECT_OPEN
+,%0A EAT.INSTALL_LIBRARIES_COMPLETE,%0A
%5D),%0A 't
|
86c646f10f1c0560cddf7f70dcb76539b4c3efdd | Unblock cutscene creation by fixing schema (#379) | app/schemas/models/cutscene.schema.ozar.js | app/schemas/models/cutscene.schema.ozar.js | const schema = require('./../schemas')
const CutsceneSchema = schema.object({
description: 'Data for a cinematic',
title: 'Cutscene'
}, {
// Deprecated. Instead upload and use Cloudflare.
vimeoId: schema.shortString({
title: 'VimeoID',
description: '"DEPRECATED - Upload to Cloudflare instead." - The id... | JavaScript | 0 | @@ -1262,16 +1262,65 @@
Schema)%0A
+schema.extendPatchableProperties(CutsceneSchema)%0A
schema.e
|
cfd2c2d5312ea8aacd58994d18942837331810d5 | Add additional prescription dispatch functions to withPrescriptions HOC | app/pages/prescription/withPrescriptions.js | app/pages/prescription/withPrescriptions.js | import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import assign from 'lodash/assign';
import forEach from 'lodash/forEach';
import { components as vizComponents } from '@tidepool/viz';
import * as actions from '../../redux/actions';
const { Loader } = vizCom... | JavaScript | 0 | @@ -177,16 +177,80 @@
rEach';%0A
+import get from 'lodash/get';%0Aimport keyBy from 'lodash/keyBy';%0A
import %7B
@@ -450,23 +450,12 @@
st %7B
- prescriptions,
+%0A
fet
@@ -456,24 +456,28 @@
fetchers,
+%0A
fetchingPre
@@ -486,16 +486,58 @@
riptions
+,%0A prescriptions,%0A prescriptionId,%0A
%... |
43b5b361614f2105c9bf953764dacb02e15c4286 | Remove unecessary modules | server/controllers/user.server.controller.js | server/controllers/user.server.controller.js | var User = require('../models/user.server.model'),
jwt = require('jsonwebtoken'),
bluebird = require('bluebird'),
Q = require('q'),
fs = bluebird.promisifyAll(require('fs')),
multiparty = require('multiparty'),
path = require('path'),
uuid ... | JavaScript | 0.000002 | @@ -59,444 +59,80 @@
-jwt = require('jsonwebtoken'),%0A bluebird = require('bluebird'),%0A Q = require('q'),%0A fs = bluebird.promisifyAll(require('fs')),%0A multiparty = require('multiparty'),%0A path = require('path'),%0A uuid = require('node-uuid')... |
ee26e7ade584e9d307355d181a5e560abd7bfa6e | use strict for Guidebox Spice. | share/spice/guidebox/getid/guidebox_getid.js | share/spice/guidebox/getid/guidebox_getid.js | function ddg_spice_guidebox_getid (api_result) {
"use strict";
if (!api_result.results) return;
var SKIP_ARRAY = ["online","tv","episode","episodes","free","guidebox","watch","full"],
results = api_result.results.result,
relevant;
// Check which show is relevant to our query.
$.ea... | JavaScript | 0 | @@ -93,16 +93,24 @@
lts)
+ %7B%0A
return;
%0A%0A
@@ -105,16 +105,22 @@
return;
+%0A %7D
%0A%0A va
@@ -1260,16 +1260,34 @@
esult) %7B
+%0A %22use strict%22;
%0A%0A va
@@ -2088,24 +2088,43 @@
options) %7B%0A
+ %22use strict%22;%0A%0A
if(seaso
@@ -2295,32 +2295,51 @@
%22, function() ... |
982478364f93f3025ff3e0583d386a72aaadc103 | Update cunmute.js | bot/commands/cunmute.js | bot/commands/cunmute.js |
/**
* This method should return the response directly to the channel
* @param {*string array} params
* @param {*message} message
*/
async function command(params, message) {
let permissions = message.channel.permissionsFor(message.member);
if (permissions.has("MANAGE_MESSAGES")) {
if (message.men... | JavaScript | 0 | @@ -641,16 +641,37 @@
ed %22 + m
+essage.mentions.users
.size +
|
69b34c1af47d3683e75be9832d8cb78f604673a0 | change window onerror handling for more data and stackTrace | browser/Bootstrapper.js | browser/Bootstrapper.js | /**
* __BrowserBundle.js template file
* @reference builders/BootstrapperBuilder
*/
var Catberry = require('./node_modules/catbee/dist/browser/Catberry.js');
var BootstrapperBase = require('./node_modules/catbee/dist/lib/base/BootstrapperBase.js');
var ModuleApiProvider = require('./node_modules/catbee/dist/browser/... | JavaScript | 0 | @@ -1857,133 +1857,49 @@
dow.
-onerror = function errorHandler (msg, uri, line) %7B%0A logger.fatal(uri + ':' + line + ' ' + msg);%0A return true;%0A %7D
+addEventListener('error', logger.onerror)
;%0A%0A
|
7dc168dbc5fe564794f20075ab2cca7358138092 | remove yosay from react-frontend | generators/react-frontend/index.js | generators/react-frontend/index.js | 'use strict';
const cp = require('child_process');
const path = require('path');
const camelCase = require('camelcase');
const chalk = require('chalk');
const Generator = require('yeoman-generator');
const yosay = require('yosay');
let username = ' ';
try {
username = cp.execSync('git config user.name').toString(... | JavaScript | 0.000014 | @@ -120,40 +120,8 @@
');%0A
-const chalk = require('chalk');%0A
cons
@@ -166,40 +166,8 @@
r');
-%0Aconst yosay = require('yosay');
%0A%0Ale
@@ -387,16 +387,16 @@
rator %7B%0A
+
prompt
@@ -407,164 +407,8 @@
) %7B%0A
- // Have Yeoman greet the user.%0A this.log(%0A yosay(%0A %60Behold the almig... |
5a9a844235876d5e4d0624ee13a123f98abafd1a | update webpack config to work with `webapp-webpack-plugin` | gh-pages-src/config/webpack.dev.js | gh-pages-src/config/webpack.dev.js | const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ExtractCssChunks = require('extract-css-chunks-webpack-plugin')
module.exports = {
entry: [
'./src/index.js'
],
mode: "development",
devtool: 'source-map',
output: {
filename: "app.bundle.js",
// `resolve`... | JavaScript | 0 | @@ -1101,16 +1101,377 @@
%7D),%0A
+ new WebappWebpackPlugin(%7B%0A logo: './src/images/logo.svg',%0A cache: true,%0A prefix: 'assets/',%0A inject: true,%0A favicons: %7B%0A appName: 'KegCop',%0A appDescription: null,%0A developerName: '@ipatch',%0A developerU... |
48287ae8563bf4dd96a77c6f66211cdcdd8790af | Set error compoent to display as analytics. | assets/js/modules/adsense/components/dashboard/DashboardTopEarningPagesWidget.js | assets/js/modules/adsense/components/dashboard/DashboardTopEarningPagesWidget.js | /**
* DashboardTopEarningPagesWidget component.
*
* Site Kit by Google, Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licen... | JavaScript | 0 | @@ -2540,22 +2540,24 @@
nent( 'a
-dsense
+nalytics
', error
|
f193599bfbb3e15235ce9e33d17eb0c82ad18807 | Add toLowerCase for backwards compability | client/app/dashboard/requests/detail/pre_evaluation/pre_evaluation.controller.js | client/app/dashboard/requests/detail/pre_evaluation/pre_evaluation.controller.js | 'use strict';
angular.module('impactApp')
.filter('age', function() {
function calculAge(dateNaiss) {
var ageDiff = Date.now() - Date.parse(dateNaiss);
var ageDate = new Date(ageDiff);
return Math.abs(ageDate.getUTCFullYear() - 1970);
}
return function(dateNaiss) {
return calculA... | JavaScript | 0.000471 | @@ -1221,24 +1221,89 @@
tationId) %7B%0A
+ if (!prestationId) %7B%0A return prestationId;%0A %7D%0A%0A
return
@@ -1331,16 +1331,30 @@
tationId
+.toLowerCase()
%5D.title;
|
4f8aa2243b4b13958ac7e3847323d507674abbe7 | add functions stub on module for updating the active connection. return error if settings file json cannot be parsed | connection.js | connection.js | const fs = require('fs');
const settings = fs.readFileSync('sqade-settings.json');
/**
* ADD YOUR CONNECTIONS TO sqade-settings.json
* SEE https://github.com/TDress/sql-aide
*
* Parse connections from sqade-settings.json
* Below is some documentation on how to set
* configuration settings for your database conne... | JavaScript | 0.000001 | @@ -29,55 +29,30 @@
nst
-settings = fs.readFileSync('sqade-settings.json
+colog = require('colog
');%0A
@@ -1800,72 +1800,651 @@
*/%0A
-const connections = settings.connections;%0A%0Amodule.exports = %7B %0A%09
+%0A// TO DO: create an error utility for these exceptions%0Atry %7B%0A%09const settings = fs.readFileSy... |
39c573816607b6df809aa070c54fcec56181cc79 | Return the send promise | analytics.js | analytics.js | import { Platform, Dimensions } from 'react-native';
import { Constants } from 'expo';
import { ScreenHit, PageHit, Event, Serializable } from './hits';
const { width, height } = Dimensions.get('window');
let defaultOptions = { debug: false };
export default class Analytics {
customDimensions = []
construc... | JavaScript | 0.999792 | @@ -1386,55 +1386,22 @@
=%3E
-%7B%0A this.send(hit);%0A %7D
+this.send(hit)
);%0A
@@ -1550,34 +1550,16 @@
en(() =%3E
- %7B%0A
this.se
@@ -1571,23 +1571,8 @@
ent)
-;%0A %7D
);%0A
|
feaaa7830fe994f4a2ce4bddaaddd099660934e4 | Make JS more compatibly with ancient jQuery versions (as used in e.g. Django 1.4). | geoposition/static/geoposition/geoposition.js | geoposition/static/geoposition/geoposition.js | if (jQuery != undefined) {
var django = {
'jQuery': jQuery,
}
}
(function($) {
$(document).ready(function() {
try {
var _ = google;
} catch (ReferenceError) {
console.log('geoposition: "google" not defined. You might not be connected to the internet.');
... | JavaScript | 0 | @@ -1626,30 +1626,35 @@
$container.
+attr('
data
-('
+-
map-widget-h
@@ -1693,32 +1693,43 @@
CustomOptions =
+JSON.parse(
$container.data(
@@ -1723,22 +1723,27 @@
ntainer.
+attr('
data
-('
+-
map-opti
@@ -1747,22 +1747,17 @@
ptions')
- %7C%7C %7B%7D
+)
;%0A
@@ -1784,16 +1784,27 @@
tions =
+JSON.pars... |
541f254474ec5edb6722dcf0f7360edf0854e2c1 | sam 1 | api/index.js | api/index.js | 'use strict';
var moment = require('moment');
exports.handler = (event, context, callback) => {
var originURL = process.env.ORIGIN_URL || '*';
emitLambdaAge();
// This variable can be updated and checked in to your repository
// to update the number of SAM squirrels on the screen.
var samCount =... | JavaScript | 0.999291 | @@ -314,17 +314,17 @@
Count =
-2
+1
;%0A%0A /
|
1d41e6f2339ba7cde734b571072ee47441b8eabe | fix server side rendering | src/animateKeyframes.js | src/animateKeyframes.js | // @flow
import React from 'react';
import createTag from './style/createTag';
import createRandomName from './utils/createRandomName';
import { AnimateContext } from './animateGroup';
import type { AnimationStateType } from './animate';
export type Keyframes = Array<Object>;
type Props = {
keyframes: Keyframes,
... | JavaScript | 0.000001 | @@ -1205,24 +1205,106 @@
this.props;%0A
+ register && register(this.props);%0A%0A if (typeof window !== 'undefined') %7B%0A
this.ani
@@ -1336,16 +1336,18 @@
Name();%0A
+
cons
@@ -1438,45 +1438,8 @@
%0A%0A
- register && register(this.props);%0A%0A
@@ -1464,24 +1464,26 @@
yleTag;%0A
+... |
6a14a8296a7b69e764463d4019a73d0e46c09319 | update cluster distance | arches/app/media/js/map/resource-layer-model.js | arches/app/media/js/map/resource-layer-model.js | define([
'jquery',
'openlayers',
'underscore',
'arches',
'map/layer-model'
], function($, ol, _, arches, LayerModel) {
var hexToRgb = function (hex) {
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
return result ? {
r: parseInt(result[1], 16),
... | JavaScript | 0 | @@ -3140,17 +3140,17 @@
stance:
-4
+5
0,%0A
|
c1a362f1ce3f7d827b80c1fe68510e32ae750a47 | Update for 전자신문 (Fix #283) | src/impl/전자신문.js | src/impl/전자신문.js | import $ from 'jquery';
import { clearStyles } from '../util';
export default function () {
let jews = {};
jews.title = $('.hgroup h1').text() || undefined;
jews.subtitle = $('.hgroup h3').text();
jews.content = (function () {
var content = $('.article_body')[0].cloneNode(true);
$('#ope... | JavaScript | 0 | @@ -130,17 +130,21 @@
$('.
-hgroup h1
+article_title
').t
@@ -187,30 +187,17 @@
e =
-$('.hgroup h3').text()
+undefined
;%0A
@@ -304,57 +304,76 @@
$('
-#openLine, .art_reporter, .article_ad, .sns_area2
+.ad, .footer_btnwrap, img%5Bsrc%5E=%22http://img.etnews.com/2017/banner/%22%5D
, *%5B
@@ -711,15 +711,12 @@
... |
392f2bfb6973d09a5037f8ff2172e3ece00cc46a | Update test.express.js | test/test.express.js | test/test.express.js | /**
* Copyright 2015 IBM Corp. 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 required by applica... | JavaScript | 0.000008 | @@ -1044,8 +1044,9 @@
%7D);%0A%7D);
+%0A
|
c8df59b6b1192e892b6bf0683906ae917c9d8438 | Resolve JSHint error on deploy.js blueprint | blueprints/deploy-config/files/config/deploy.js | blueprints/deploy-config/files/config/deploy.js | module.exports = {
//development: {
//store: {
//type: 'redis', // the default store is 'redis'
//host: 'localhost',
//port: 6379
//},
//assets: {
//type: 's3', // default asset-adapter is 's3'
//gzip: false, // if undefined or set to true, files are gziped
//gzipExtens... | JavaScript | 0 | @@ -1,8 +1,33 @@
+/* jshint node: true */%0A%0A
module.e
|
47f62308b4b2e1cb182d5f2600e8ac8d2adf3fc9 | Implement nodemailer contact route | 02-Express/express-website/routes/contact.js | 02-Express/express-website/routes/contact.js | var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('contact', { title: 'Contact' });
});
router.post();
module.exports = router; | JavaScript | 0 | @@ -57,16 +57,56 @@
outer();
+%0Avar nodemailer = require('nodemailer');
%0A%0A/* GET
@@ -219,20 +219,910 @@
);%0A%0A
-router.post(
+// For posting contacting email%0Arouter.post('/send', function(req, res, next) %7B%0A%09var transporter = nodemailer.createTransport(%7B%0A%09%09service: %09'Gmail',%0A%09%09auth: %7B... |
0329b8f000c47bb4d3f43191b790b5b2e8515e6b | Connect elements | example/js/index.js | example/js/index.js | window.addEventListener("load", function () {
var cyto = new Cytoscape(".graph", {
toolbox: ".toolbox"
}, {
nodes: {
"node_a": {
name: "A"
, id: "node_a"
, icon: "❤"
}
, "node_b": {
name: "B"
... | JavaScript | 0 | @@ -1010,13 +1010,99 @@
%0A %7D);
+%0A%0A cyto.on(%22connectElements%22, function (s, t) %7B%0A cyto.connect(s, t);%0A %7D);
%0A%7D);%0A
|
fe6468f6afccc538c1ddaeee93bb3bb7eea4739f | fix current tag retrieval | tagcheck.js | tagcheck.js | #!/usr/bin/env node
'use strict';
var assert = require('assert');
var path = require('path');
var fs = require('fs');
var fmt = require('util').format;
var exec = require('child_process').exec;
var green = '\u001b[32m';
var red = '\u001b[31m';
var reset = '\u001b[39m';
if (require.main == module) {
var pkg = JS... | JavaScript | 0.000013 | @@ -1460,16 +1460,17 @@
v?%5B%5Cd%5C.%5D
+.
+)$/) %7C%7C
|
ebcd34fa8c959568cc3c987189056426111ef054 | Fix karma configure | karma.saucelabs.conf.js | karma.saucelabs.conf.js | // Karma configuration
// Generated on Sat Jun 17 2017 00:55:49 GMT+0800 (CST)
module.exports = function(config) {
const customLanchers = {
'SL_Chrome': {
base: 'SauceLabs',
browserName: 'chrome',
version: '45'
},
'SL_Firefox': {
base: 'SauceLabs',
browserName: 'firefox',
... | JavaScript | 0.000001 | @@ -2589,17 +2589,16 @@
nchers),
-,
%0A sau
|
4eb3e6d2532683f6356699789917bc3704f59fe8 | Update main.js | src/app/scripts/main.js | src/app/scripts/main.js | /*jslint browser: true*/
/*global L */
/*global GEOHEX */
var geohexCode = null;
var startZoomLevel = 13;
var localStoragePrefix = "EW_"; // earthWatchers
var user = localStorage.getItem(localStoragePrefix + "user") || "anonymous";
var satelliteImages = null;
var map = null;
var defaultGeohexLevel = null;
var defaultSa... | JavaScript | 0.000001 | @@ -6366,10 +6366,81 @@
m: 1
-3,
+8, //used to be 13, but add maxNativeZoom to allow bloating deeper levels
%0A
|
87d2373453dadb8f0f04aa298375000b886fa55f | fix filter terms not maintaining their special color when removing one of two tags | arches/app/media/js/views/search/term-filter.js | arches/app/media/js/views/search/term-filter.js | define(['jquery', 'backbone', 'arches', 'select2', 'knockout'], function ($, Backbone, arches, Select2, ko) {
return Backbone.View.extend({
initialize: function(options) {
$.extend(this, options);
var self = this;
this.query = {
filte... | JavaScript | 0 | @@ -4922,299 +4922,25 @@
his.
-searchbox.select2('data', terms);%0D%0A%0D%0A $('.resource_search_widget').find('.select2-search-choice').each(function(i, el) %7B%0D%0A if ($(el).data('select2-data').type === 'filter-flag') %7B%0D%0A $(el).addClass('filter-flag');%0D%0A ... |
d69654ea1f2b9b3232f997d01746e714b620415d | Fix radiobox in advanced settings (set value = false) | apps/common/main/lib/component/RadioBox.js | apps/common/main/lib/component/RadioBox.js | /*
*
* (c) Copyright Ascensio System SIA 2010-2019
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL it... | JavaScript | 0 | @@ -5703,16 +5703,25 @@
+ value &&
$('inpu
|
4fa27c09fa8bac8f99f42571858587a93d51dcea | fix user dialog toggle | src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbappheader.directive.js | src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbappheader.directive.js | (function () {
"use strict";
function AppHeaderDirective(eventsService, appState, userService) {
function link(scope, el, attr, ctrl) {
var evts = [];
// the null is important because we do an explicit bool check on this in the view
// the avatar is by default the... | JavaScript | 0.000002 | @@ -2601,32 +2601,76 @@
= function () %7B%0A
+ if(!scope.userDialog) %7B%0A
@@ -2686,24 +2686,28 @@
rDialog = %7B%0A
+
@@ -2748,16 +2748,20 @@
+
show: tr
@@ -2784,16 +2784,20 @@
+
+
close: f
@@ -2813,24 +2813,28 @@
oldModel) %7B%0A
... |
b2b6527acdaa309b76c051d99431bd99e82137d2 | Reorder imports. | assets/js/components/ErrorNotice.stories.js | assets/js/components/ErrorNotice.stories.js | /**
* ErrorNotice stories.
*
* Site Kit by Google, Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
*... | JavaScript | 0 | @@ -739,145 +739,145 @@
ort
-WithRegistrySetup from '../../../tests/js/WithRegistrySetup';%0Aimport %7B MODULES_ANALYTICS %7D from '../modules/analytics/datastore/constants
+%7B MODULES_ANALYTICS %7D from '../modules/analytics/datastore/constants';%0Aimport WithRegistrySetup from '../../../tests/js/WithRegistrySetup
... |
58ed2d29c81de6d9be6f1c5a74d43f58a89f7896 | Update Listeners.js | Examples/simple-fcm-client/app/Listeners.js | Examples/simple-fcm-client/app/Listeners.js | import { Platform, AsyncStorage } from 'react-native';
import FCM, {FCMEvent, RemoteNotificationResult, WillPresentNotificationResult, NotificationType} from "react-native-fcm";
AsyncStorage.getItem('lastNotification').then(data=>{
if(data){
// if notification arrives when app is killed, it should still be logg... | JavaScript | 0 | @@ -2144,16 +2144,271 @@
lt.None%0A
+ // this type of notificaiton will be called only when you are in foreground.%0A // if it is a remote notification, don't do any app logic here. Another notification callback will be triggered with type NotificationType.Remote%0A
|
5de6c2b518a5189e79eaa7a359ff8e54a5738ce7 | add back concurrency check, fix api urls | lib/plugins/output-filter/access-watch.js | lib/plugins/output-filter/access-watch.js | 'use strict'
var request = require('request')
var LRU = require('lru-cache')
var md5 = require('md5')
var defaultConfig = {
matchTypes: ['access_common', 'access_log_combined'],
clientIpField: 'client_ip',
userAgentField: 'user_agent',
addressDestination: 'address',
userAgentDestination: 'ua',
robotD... | JavaScript | 0 | @@ -629,50 +629,9 @@
tch'
-,%0A // apiBaseUrl: 'http://0.0.0.0:8008',
%0A
+
%7D%0A%0Af
@@ -1825,24 +1825,59 @@
eturn%0A%0A %7D%0A%0A
+ currentRequests%5Boptions.id%5D = 1%0A%0A
request(op
@@ -1914,24 +1914,64 @@
se, body) %7B%0A
+ delete currentRequests%5Boptions.id%5D%0A%0A
if (body
@@ -2519,17 +251... |
9220e4ba58cd85c44ac4e04d8289ceec0275e843 | add params | Algorithms/JS/arrays/maxNonNegativeSubArray.js | Algorithms/JS/arrays/maxNonNegativeSubArray.js | // Find out the maximum sub-array of non negative numbers from an array.
// The sub-array should be continuous. That is, a sub-array created by choosing the second and fourth element
// and skipping the third element is invalid.
// Maximum sub-array is defined in terms of the sum of the elements in the sub-array.
// S... | JavaScript | 0.000002 | @@ -713,16 +713,69 @@
index%0A%0A
+/**%0A * @param %7Barray %5B%5D%7D A%0A * @return %7Barray %5B%5D%7D%0A */%0A
%0Afunctio
|
e67a504218d3de8ade640480acfc86135c174c00 | fix linter | test/subscriberSpec.js | test/subscriberSpec.js | var expect = require('chai').expect,
_ = require('underscore'),
Subscriber = require('subscriber'),
sinon = require('sinon');
describe('Subscriber', function () {
beforeEach(function () {
this.subscriber = new Subscriber();
this.sandbox = sinon.sandbox.create();
});
afterEach(f... | JavaScript | 0.000002 | @@ -2056,36 +2056,32 @@
foo', function (
-args
) %7B%0A
|
b3e5a4d9db4bc6be378507c7c5875acdfab22326 | add params | Algorithms/JS/arrays/sortTransformedArray.js | Algorithms/JS/arrays/sortTransformedArray.js | Given a sorted array of integers nums and integer values a, b and c.
Apply a function of the form f(x) = ax2 + bx + c to each element x in the array.
The returned array must be in sorted order.
Expected time complexity: O(n)
Example:
nums = [-4, -2, 2, 4], a = 1, b = 3, c = 5,
Result: [3, 9, 15, 33]
nums = [-4, -2... | JavaScript | 0.000002 | @@ -1,8 +1,11 @@
+//
Given a
@@ -65,16 +65,19 @@
and c.%0A
+//
Apply a
@@ -150,16 +150,19 @@
array.%0A%0A
+//
The retu
@@ -198,16 +198,19 @@
order.%0A%0A
+//
Expected
@@ -233,16 +233,19 @@
: O(n)%0A%0A
+//
Example:
@@ -245,16 +245,19 @@
xample:%0A
+//
nums = %5B
@@ -293,16 +293,19 @@
c = 5,%0A%0A
+... |
9093a782421720bdd1100f90772aa63e7fdb4529 | add motivation field | browserExtension/scripts/popup/popupAppender.js | browserExtension/scripts/popup/popupAppender.js |
var globalInfo;
function setDOMInfo(info) {
console.log(info);
globalInfo = info;
var myData = info;
var cardsList = document.getElementById('cards');
$('#cards').empty();
if(myData == undefined) {
return;
}
for (var i = 0; i < myData.length; i++)
{
var dt = myDat... | JavaScript | 0 | @@ -2075,24 +2075,220 @@
vComment);%0A%0A
+ //add Comment%0A var divMotivation = document.createElement('p');%0A divMotivation.innerHTML = %22%3Cb%3EMotivation:%3C/b%3E %22+ dt.motivation;%0A divBody.appendChild(divMotivation);%0A%0A
card
|
4b6c5631d5d9c28ab5403a5ec6d731d572cc0b70 | Add concatenation of comma to addHeader function in tableCreator.js | sashimi-webapp/src/database/create/tableCreator.js | sashimi-webapp/src/database/create/tableCreator.js | const constants = require('../constants');
const sqlCommands = require('../sql-related/sqlCommands');
const exceptions = require('../exceptions');
let isTableInitializedForCreation = constants.CONST_TABLE_CREATION_CLOSED;
let sqlCreateTableString = constants.STRING_INITIALIZE;
const stringConcat = function stringCo... | JavaScript | 0.000003 | @@ -1587,32 +1587,103 @@
ndex%5D);%0A %7D%0A
+ sqlCreateTableString = stringConcat(sqlCreateTableString, ', ');%0A
%7D%0A %7D%0A%7D%0A%0Amod
|
0c1d974de530332099cf5ae04389a99c362c067c | fix free space on pages | assets/js/index.js | assets/js/index.js | // reading time
(function ($) {
"use strict";
$(document).ready(function(){
$(".post-content").fitVids();
// Calculates Reading Time
$('.post-content').readingTime({
readingTimeTarget: '.post-reading-time',
wordCountTarget: '.post-word-count',
});
// Creates Captions from Alt tags
... | JavaScript | 0.000012 | @@ -2333,20 +2333,16 @@
ding');%0A
-
%0A $te
@@ -2446,24 +2446,67 @@
ht(height);%0A
+ if ($articleImageContainer.length) %7B%0A
$content
@@ -2537,24 +2537,30 @@
ht + 'px');%0A
+ %7D%0A
$postRea
|
11101470a59b3cc86d1c3407c802e7b9cef0c63f | Fix typo in test | test/test-date-plus.js | test/test-date-plus.js | /**
* test-date-plus.js
* copyright 2015-2020, Jürgen Leschner - github.com/jldec - MIT license
*
**/
var test = require('tape');
var date = require('../date-plus.js');
var dateformat = require('../dateformat.js');
test('date', function(t) {
var nativeDate = new Date;
var dd = date(nativeDate);
t.true(dd.va... | JavaScript | 0.020738 | @@ -464,13 +464,11 @@
ate(
-'
NaN
-'
).va
|
5cbe1779a5ea3e741afa92a5ba36ffc4d9942d3f | add package.json to wallaby config | .wallaby.js | .wallaby.js | 'use strict';
module.exports = function wallabyConfig() {
return {
files: [
'lib/**/*.js'
],
tests: [
'test/**/*.spec.js'
],
env: {
type: 'node',
runner: 'node'
},
testFramework: 'mocha',
bootstrap: function bootstrap(wallaby) {
var path = require('path')... | JavaScript | 0.000001 | @@ -91,24 +91,46 @@
lib/**/*.js'
+,%0A 'package.json'
%0A %5D,%0A
|
3abb95e9d752a3e08bdbea759a65535d7b9f9c1d | resolve linter issues | lib/mode.js | lib/mode.js | /**
* Write a function that find the most repeated numbe
* @param {Array} list
*/
function mode(list) {
//Your code goes here
var cnt = {},
mx = -1;
if(!list.length) return "No elements in the Array";
var ans = [];
Array.prototype.forEach.call(list, function(elem) {
if(!cnt.hasOwnProperty(... | JavaScript | 0 | @@ -105,32 +105,8 @@
) %7B%0A
- //Your code goes here%0A
va
@@ -119,15 +119,15 @@
= %7B%7D
-,%0A
+;%0A var
mx
@@ -139,16 +139,17 @@
%0A %0A if
+
(!list.l
@@ -154,16 +154,22 @@
.length)
+ %7B%0A
return
@@ -196,16 +196,20 @@
Array%22;%0A
+ %7D%0A
%0A var
@@ -264,16 +264,17 @@
function
+ ... |
7db4e978f9d1e32914d3be0532cc9d1791d7ec36 | enable button on set pages again | src/content_script/sc.js | src/content_script/sc.js | var MutationSummary = require('mutation-summary').MutationSummary;
function addButton(soundActions) {
var url;
try {
var wrap = soundActions.parentElement;
// different containers:
if (wrap.classList.contains('sound__soundActions')) { /* STREAM */
var soundEl = soundActions.parentElement.parentEl... | JavaScript | 0 | @@ -596,24 +596,88 @@
t__actions')
+ %7C%7C soundActions.classList.contains('listenEngagement__actions')
) %7B /* PAGE
|
ae135c1c0582ec9ce637af9a8a411d62f8115429 | Remove JS-code, adding to a branch instead | assets/js/index.js | assets/js/index.js | /**
* Main JS file for Casper behaviours
*/
/* globals jQuery, document */
(function ($, undefined) {
"use strict";
var $document = $(document);
$document.ready(function () {
var $postContent = $(".post-content");
$postContent.fitVids();
$(".scroll-down").arctic_scroll();
... | JavaScript | 0 | @@ -503,249 +503,8 @@
);%0A%0A
- $document.on(%22scroll%22,function()%7B%0A if($(document).scrollTop() %3E 100)%7B%0A $(%22.navigation%22).removeClass(%22large%22).addClass(%22small%22);%0A %7D else %7B%0A $(%22.navigation%22).removeClass(%22small%22).addClass(%22large%22);%0A %7D%0A ... |
55b6313428cd0f60e77596a7cadc372e774d5d3b | Fix bug in Node's prune tree | lib/node.js | lib/node.js | 'use strict';
var BehaviorConduit = require('./behavior-conduit');
var Bundle = require('./bundle');
var EventConduit = require('./event-conduit');
var EventManager = require('./event-manager');
var NodeStore = require('./node-store');
var StateManager = require('./state-manager');
var VirtualDOM = require('./virtual-... | JavaScript | 0.000001 | @@ -3738,17 +3738,24 @@
;%0A%0A /
-/
+*-------
Process
@@ -3768,118 +3768,179 @@
ren
-first%0A if (node.children.length %3E 0) %7B%0A for (var i = 0; i %3C node.children.length; i++) %7B%0A
+-------*/%0A var childrenCount = node.children.length;%0A var childIndex = 0;%0A var wasChi... |
e71ab4bc47addf4a91cfa8aea93e14dc89d6f830 | Add my page stack | app/alloy.js | app/alloy.js | // The contents of this file will be executed before any of
// your view controllers are ever executed, including the index.
// You have access to all functionality on the `Alloy` namespace.
//
// This is a great place to do any initialization for your app
// or create any global variables/functions that you'd like to
... | JavaScript | 0 | @@ -1,529 +1,1387 @@
-// The contents of this file will be executed before any of%0A// your view controllers are ever executed, including the index.%0A// You have access to all functionality on the %60Alloy%60 namespace.%0A//%0A// This is a great place to do any initialization for your app%0A// or create any global var... |
e63949e34cef3f5482558d2abb744e051d7ddca4 | Make mutator/perf-script runnable from node | packages/@sanity/mutator/perf/run.js | packages/@sanity/mutator/perf/run.js | import {BufferedDocument, Mutation} from '../src'
import mutations from './fixtures/patches'
import snapshot from './fixtures/snapshot'
const bufferedDocument = new BufferedDocument(snapshot)
const labelAll = `Adding ${mutations.length} mutations`
console.time(labelAll)
mutations.forEach((patches, i) => {
const labe... | JavaScript | 0 | @@ -1,13 +1,12 @@
-impor
+cons
t %7BBuffe
@@ -32,27 +32,32 @@
on%7D
-from '../src'%0Aimpor
+= require('../lib')%0Acons
t mu
@@ -64,21 +64,26 @@
tations
-from
+= require(
'./fixtu
@@ -98,14 +98,14 @@
hes'
-%0Aimpor
+)%0Acons
t sn
@@ -115,13 +115,18 @@
hot
-from
+= require(
'./f
@@ -142,16 +142,17 @@
napsh... |
4963a5b30f676e928833dd8afba27d3678d208da | Fix language selection; Fix #4756 | settings/js/personal.js | settings/js/personal.js | /**
* Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYING-README file.
*/
/**
* Post the email address change to the server.
*/
function changeEmailAddress(){
var emailInfo = $('#email');
if (emai... | JavaScript | 0 | @@ -2875,21 +2875,19 @@
vider%22).
-remov
+hid
e();%0A%0A%09$
|
e6222cf085b8d7eff41498d3461b14cf95ad9900 | fix sign up bug | controllers/user.js | controllers/user.js | 'use strict';
var path = require('path');
var fs = require('fs');
var page = fs.readFileSync(path.join(__dirname, '../views/index/index.ejs'), 'utf8');
var co = require('co');
var views = require('co-views');
var mysql = require('co-mysql');
var customer = require('../modles/customer.js');
va... | JavaScript | 0 | @@ -1381,32 +1381,37 @@
_id.indexOf(
-current_
+this.session.
customer.cus
@@ -1429,32 +1429,37 @@
== -1) %7B%0A%09%09%09
-current_
+this.session.
customer.is_
@@ -1482,32 +1482,37 @@
%7D else %7B%0A%09%09%09
-current_
+this.session.
customer.is_
|
80de1a0fbd63e5d6162ecd95c2147a73d7f74d8a | Remove a FlowFixMe | core/local/stater.js | core/local/stater.js | /* @flow */
const fse = require('fs-extra')
let winfs
if (process.platform === 'win32') {
// $FlowFixMe
winfs = require('@gyselroth/windows-fsstat')
}
/*::
import type { Metadata } from '../metadata'
import type { Callback } from '../utils/func'
import type fs from 'fs'
export type WinStats = {
fileid: string... | JavaScript | 0.000001 | @@ -296,16 +296,17 @@
tats = %7B
+%7C
%0A filei
@@ -432,16 +432,17 @@
k: bool%0A
+%7C
%7D%0Aexport
@@ -1273,36 +1273,16 @@
tory) %7B%0A
- // $FlowFixMe%0A
re
|
7d95b2a738098ee1d4a321ca1d0f2b5cd6509fa5 | Fix referencing incorrect variable due to JS conversion | src/controllers/affix.js | src/controllers/affix.js | /**
* @name MacAffixController
*
* @description
* Controller for affix directive
*/
function MacAffixController ($element, $document, $window, defaults) {
this.$document = $document;
this.defaults = defaults;
this.$element = $element;
this.offset = {
top: defaults.top,
bottom: defaults.bottom
... | JavaScript | 0 | @@ -1862,24 +1862,30 @@
npin) %7B%0A
+this.$
element.css(
@@ -2013,16 +2013,21 @@
unpin =
+this.
pinnedOf
@@ -2507,16 +2507,22 @@
ffset =
+this.$
element.
@@ -2535,16 +2535,22 @@
();%0A
+this.$
element.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.