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
7fc3348c70a06e5c90338e4f92bcb47677b72372
Add timestamp to server sent ADDTEXT messages
server/lib/textLine.js
server/lib/textLine.js
// // Copyright 2009-2014 Ilkka Oksanen <iao@iki.fi> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
JavaScript
0.000001
@@ -3340,16 +3340,60 @@ ; // TBD +%0A msg.ts = Math.round(Date.now() / 1000); %0A%0A va
73012229c0152af0865953d6a15d4902945d9695
Change else statement
server/models/index.js
server/models/index.js
'use strict'; import dotenv from 'dotenv'; import fs from 'fs'; import path from 'path'; import Sequelize from 'sequelize'; dotenv.config(); const basename = path.basename(module.filename); const env = process.env.NODE_ENV || 'development'; const config = require('../../server/config/config')[env]; const db = {}; ...
JavaScript
0.000027
@@ -444,18 +444,9 @@ );%0A%7D - else %7B%0A +%0A sequ @@ -481,34 +481,32 @@ s.env.DB_URL, %7B%0A - dialect: 'post @@ -511,23 +511,19 @@ stgres'%0A - %7D); -%0A%7D %0A%0Afs%0A .
7725b6ed02b8d4406364adf4daa542c566cb492a
Fix check
server/publications.js
server/publications.js
/* P U B L I C A T I O N S . J S * BRL-CAD * * Copyright (c) 1995-2013 United States Government as represented by * the U.S. Army Research Laboratory. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2...
JavaScript
0.000001
@@ -1670,16 +1670,24 @@ check(id +, String )%0A Me
642aa363b2f3a3d717f03e9b1ebf78885dcac7fa
Clean up 4chan routes
server/routes/4chan.js
server/routes/4chan.js
import Axios from 'axios'; import express from 'express'; import {morphBoard, morphThread, extractBoardList} from '../helpers/morph-4chan'; import defaultRequest from '../helpers/request-config-4chan.js'; console.log("Default request is", defaultRequest); const router = express.Router(); router.get('/boards', functio...
JavaScript
0.000003
@@ -1,31 +1,4 @@ -import Axios from 'axios';%0A impo @@ -36,144 +36,63 @@ rt %7B -morphBoard, morphThread, extractBoardList%7D from '../helpers/morph-4chan';%0Aimport defaultRequest from '../helpers/request-config- +%0A%09getBoardlist, %0A%09getBoard, %0A%09getThread%0A%7D from './ 4chan -.js ';%0A%0A @@ -107,46 +1...
6d3cf81622dbd7a05499cfcf443eda9f7f8b608a
Update books.js
server/routes/books.js
server/routes/books.js
/*jslint node: true, unparam: true, nomen: true, vars: true*/ 'use strict'; var router = require('express').Router(); router.get('/', function (req, res) { if (req.query.timestamp) { req.db.cachestamps.findOne({collectionName: 'books'}, function (err, result) { res.json({ time...
JavaScript
0.000001
@@ -1,5 +1,4 @@ -%09 /*js
71b9be30047e34154758bdb9f37da6bbddef211c
Fix csv export error by adding cookieParser middleware
server/routes/lists.js
server/routes/lists.js
const bodyParser = require('body-parser'); const multer = require('multer')({ dest: 'server/controllers/list/uploads/' }); const parseJson = bodyParser.json(); const cookieParser = require('cookie-parser')(); // List controllers const getLists = require('../controllers/list/get-lists'); const getListSubscribers = requ...
JavaScript
0.000009
@@ -1874,16 +1874,30 @@ iIsAuth, + cookieParser, readLis
419db3eb2be4dbc427d4ba92462fb80ed6994fbe
Fix missing variable
webpack.production.config.js
webpack.production.config.js
const Webpack = require('webpack'); const path = require('path'); const fs = require('fs'); const ExtractTextPlugin = require("extract-text-webpack-plugin"); const HtmlWebpackPlugin = require('html-webpack-plugin'); const nodeModulesPath = path.resolve(__dirname, 'node_modules'); const buildPath = path.resolve(__dirnam...
JavaScript
0.998703
@@ -1,15 +1,15 @@ const -W +w ebpack =
907d38c8b6beeb0ebd11a1db6b8f87fc79a5e606
Set default widget width to 6 columns (task #5719)
webroot/plugins/qobo.grid.js
webroot/plugins/qobo.grid.js
var GridLayout = VueGridLayout.GridLayout; var GridItem = VueGridLayout.GridItem; new Vue({ el: "#grid-app", components: { GridLayout, GridItem, }, data: { targetElement: '#dashboard-options', dashboard:[], elements: [], widgetTypes: [], searchMod...
JavaScript
0
@@ -3594,17 +3594,17 @@ w: -2 +6 ,%0A
6eb5337e8ada34a441e744cd015463e36ab4d747
Update alert banner for HashiConf Global 2021 (#12650)
website/data/alert-banner.js
website/data/alert-banner.js
export const ALERT_BANNER_ACTIVE = true // https://github.com/hashicorp/web-components/tree/master/packages/alert-banner export default { tag: 'Event', url: 'https://hashiconf.com/global/?utm_campaign=22Q3_WW_HASHICONFGLOBAL_EVENT-USER&utm_source=CorpBanner&utm_medium=EVT&utm_offer=EVENT-USER', text: 'Join us fo...
JavaScript
0
@@ -144,13 +144,17 @@ g: ' -Event +Oct%C2%A019-21 ',%0A @@ -311,20 +311,25 @@ t: ' -Join us for +The%C2%A0countdown%C2%A0to%C2%A0 Hash @@ -337,71 +337,50 @@ Conf - +%C2%A0 Global - - product updates, technical sessions, workshops & more +%C2%A0is%C2%A0on.%C2%A0View%C2%A0the%C2%A0full%C2%A0schedule%C2%A0now. '...
5320ebe852de41fab02b25f4aa01078c33b8ac7d
Update alert-banner.js
website/data/alert-banner.js
website/data/alert-banner.js
export const ALERT_BANNER_ACTIVE = true // https://github.com/hashicorp/web-components/tree/master/packages/alert-banner export default { linkText: 'Learn more!', url: 'https://www.hashicorp.com/blog/announcing-general-availability-of-hashicorp-nomad-1-0', tag: 'ANNOUNCEMENT', text: 'Nomad 1.0 is now gener...
JavaScript
0.000001
@@ -151,16 +151,17 @@ 'Le -arn more +t us know !',%0A @@ -180,219 +180,200 @@ s:// -www.hashicorp.com/blog/announcing-general-availability-of-hashicorp-nomad-1-0',%0A tag: 'ANNOUNCEMENT',%0A text:%0A 'Nomad 1.0 is now generally available, which includes 5 major new features and many improvements +docs.google.c...
0182090fa137728c7f55002642fc4f5beb4e8dd1
fix "edit this page" links
website/docusaurus.config.js
website/docusaurus.config.js
module.exports = { title: 'Redux-Saga', tagline: 'An intuitive Redux side effect manager.', url: 'https://redux-saga.js.org/', baseUrl: '/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', favicon: 'static/img/favicon/favicon.ico', organizationName: 'redux-saga', projectName: 'redux-saga', th...
JavaScript
0.000001
@@ -3494,29 +3494,27 @@ m/re -act-redux/react-redux +dux-saga/redux-saga /edi
475ceb548f4339f3a25d4ce46188265875f76107
Update table classes
website/static/cms_editor.js
website/static/cms_editor.js
function init_tinymce(config) { var default_config = { selector: 'textarea', body_class: 'page-content', content_css : [ '/static/min/page.css', 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' ], height: 260, browser_spe...
JavaScript
0.000001
@@ -925,24 +925,31 @@ %7Btitle: ' +Hover, Striped', va @@ -1029,9 +1029,25 @@ e: ' -W +Hover, Striped, w itho @@ -1123,23 +1123,21 @@ title: ' -Striped +Hover , withou @@ -1173,30 +1173,62 @@ le-hover - table-striped +'%7D,%0A %7Btitle: 'Clear', value: 'table '%7D%0A
bbbc338fc6f2db0a008f1c4160eb5a3a8bc1d3ee
Include stack traces in error messages
bin/penguin.js
bin/penguin.js
#!/usr/bin/env node 'use strict' const { Transform } = require('stream') const resolveMod = require('resolve') const subarg = require('subarg') const commands = { build: 'build.js', pack: 'pack.js', serve: 'serve.js', run: 'run.js', publish: 'publish.js' } const command = commands[process.argv[2]] if (!co...
JavaScript
0
@@ -1418,15 +1418,13 @@ err. -message +stack )%0A
922f25a5699b8f3522313de53c20343394012049
add `.ico` loader
server/builder.js
server/builder.js
/** * Module dependencies */ var fs = require('fs'); var exists = fs.existsSync; module.exports = function(r, app, opts, NODE_ENV) { var Builder = r('poe-ui-builder'); var webpack = r('webpack'); if (!Builder) return; var entry = opts.entry; var builder = app.builder = Builder(entry, webpack); var es6 ...
JavaScript
0.000015
@@ -1967,24 +1967,73 @@ e-loader')); +%0A builder.addLoader('ico', load('file-loader')); %0A%0A function @@ -2231,8 +2231,9 @@ ;%0A %7D%0A%7D; +%0A
f55172cdc84cbc009d9ce3f323259170c02e51bd
Add -L to list apps and enhace -h
bin/r2frida.js
bin/r2frida.js
#!/usr/bin/env node /* ** r2frida main commandline program ** --pancake 2015 */ var spawnSync = require('child_process').spawnSync; var colors = require ('colors'); var fs = require ('fs'); /* actions */ const Option = { showHelp: function() { die ('Usage: r2frida [-h|-v] [-f adb|ip] [-n|-s] [-l|procname|pid]'...
JavaScript
0
@@ -200,16 +200,100 @@ ons */%0A%0A +const helpmsg = 'Usage: r2frida %5B-h%7C-v%5D %5B-f adb%7Cip%5D %5B-n%7C-s%5D %5B-l%7C-L%7Cprocname%7Cpid%5D';%0A%0A const Op @@ -303,24 +303,28 @@ n = %7B%0A show +Long Help: functi @@ -343,44 +343,113 @@ ie ( -'Usage: r2frida %5B-h%7C-v%5D %5B +%5Bhelpmsg,%0A ' -l ...
54947867f83002434644bcb3c9e1b85d32ba2825
Set token as unique
server/init_db.js
server/init_db.js
const Knex = require("knex") const knex = Knex(require("./knexfile.js")[process.env.NODE_ENV || "development"]) // Create table knex.schema.createTableIfNotExists("users", (table) => { table.string("id").primary() table.string("token") table.boolean("revoked") table.timestamps(true, true) }) .then(() =...
JavaScript
0.000757
@@ -237,16 +237,25 @@ %22token%22) +.unique() %0A tab
79205f7db320a755224ed9e0fabc82261e1409b5
fix App configError method (#1864)
packages/netlify-cms-core/src/components/App/App.js
packages/netlify-cms-core/src/components/App/App.js
import PropTypes from 'prop-types'; import React from 'react'; import { hot } from 'react-hot-loader'; import { translate } from 'react-polyglot'; import ImmutablePropTypes from 'react-immutable-proptypes'; import styled from 'react-emotion'; import { connect } from 'react-redux'; import { Route, Switch, Redirect } fro...
JavaScript
0
@@ -2177,23 +2177,16 @@ %7D;%0A%0A -static configEr @@ -4061,19 +4061,20 @@ return -App +this .configE
cff1951c21755ee2b661f36bed1aac24dcc95e25
Fix rejudge script
bin/rejudge.js
bin/rejudge.js
const mongoose = require('mongoose'); const assert = require('assert'); const Contest = require('../models/Contest'); const Submission = require('../models/Submission'); const Language = require('../models/Language'); const validation = require('../lib/validation'); const languagesData = require('../data/languages'); ...
JavaScript
0.000001
@@ -582,16 +582,31 @@ e: null%7D +, slug: 'c-gcc' %7D);%0A%0A%09// @@ -1429,16 +1429,47 @@ ission); +%0A%09%09%09console.log(newSubmission); %0A%0A%09%09%09if
428dd4b45887235794d5a8c8ef42ce1eb5c5340e
fix for remove class + css on completion
bannersSrc/lib/initial.js
bannersSrc/lib/initial.js
// Setup banner namespace window.creative = window.creative || {}; //console.log("src/lib/initial.js:: creative = ", window.creative); require("./lazyLoad"); creative.adCompleted = false; // Checks if Enabler is loaded creative.init = function () { creative.detectIE(); creative.setupDOMElements(); if (Enabl...
JavaScript
0
@@ -4091,12 +4091,8 @@ n = -'.'+ elem
a938be4893cd2fefb61786f4af003f3329f0a85e
Disable lint rule
lib/node_modules/@stdlib/assert/is-boolean/test/test.try2serialize.js
lib/node_modules/@stdlib/assert/is-boolean/test/test.try2serialize.js
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
JavaScript
0.000001
@@ -1102,32 +1102,71 @@ returns true' ); + // eslint-disable-line no-new-wrappers %0A%09t.equal( seria @@ -1268,24 +1268,63 @@ rns true' ); + // eslint-disable-line no-new-wrappers %0A%09t.end();%0A%7D
5956337914821e1b5a93211ceefb02474c4dc352
improve assignment testcase
__tests__/ACD.test.js
__tests__/ACD.test.js
import { readFileSync } from 'fs'; import { convert } from '../src'; describe('Test from ACD Jcamp generator', () => { it('COSY simulated spectrum', () => { let result = convert( readFileSync(`${__dirname}/data/acd/test1_cosy.jdx`).toString(), ); expect(result.entries[0].ntuples).toHaveLength(3); ...
JavaScript
0.020735
@@ -537,16 +537,56 @@ nt.jdx%60) +, %7B%0A keepRecordsRegExp: /.*/,%0A %7D );%0A e @@ -624,16 +624,104 @@ gth(5);%0A + const meta = result.flatten%5B1%5D.info;%0A expect(Object.keys(meta)).toHaveLength(9);%0A %7D);%0A%7D)
e8e9ad614cb35cadb4a49bf4d7e102f09933bc4c
Use base Widget class to check version and patch subscribe method.
components/dashboards-web-component/src/utils/WidgetClassRegistry.js
components/dashboards-web-component/src/utils/WidgetClassRegistry.js
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/...
JavaScript
0
@@ -667,16 +667,63 @@ e.%0A */%0A%0A +import Widget from '@wso2-dashboards/widget';%0A%0A /**%0A * R @@ -2209,17 +2209,16 @@ return -! Object.g @@ -2254,16 +2254,47 @@ totype). +constructor.version !== Widget. version; @@ -2721,465 +2721,34 @@ e = -function (listenerCallback, publisherId, context) %7B%0A ...
3bcb91a78510349fa6c4801ab7db1f69359e378b
Change style files
__tests__/app.spec.js
__tests__/app.spec.js
'use strict'; var path = require('path'); var assert = require('yeoman-assert'); var helpers = require('yeoman-test'); describe('generator-batangularjs:app', () => { beforeAll(() => helpers.run(path.join(__dirname, '../generators/app')) ); let files = [ 'index.html', 'package.json', 'webpack.con...
JavaScript
0.000001
@@ -466,16 +466,26 @@ app/app. +component. scss',%0A @@ -656,24 +656,71 @@ nent.html',%0A + 'app/components/home/home.component.scss',%0A 'app/com
42ba8e3d5583be1c72168e0108a4850696b06d7f
Remove extra spaces.
demo_modules/big_image_carousel/big_image_carousel.js
demo_modules/big_image_carousel/big_image_carousel.js
/* Copyright 2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
JavaScript
0.000121
@@ -1076,18 +1076,17 @@ = null; - %0A + %0A thi @@ -1118,17 +1118,16 @@ raArgs;%0A -%0A %7D%0A%0A p @@ -1282,17 +1282,16 @@ Array(); - %0A for @@ -2362,17 +2362,16 @@ e_width; - %0A %7D @@ -3037,17 +3037,16 @@ e x zero - %0A // @@ -3209,17 +3209,16 @@ // - - %0A // @@ -3309,...
e8a12360cc1faf2874c19691d3dbfb0418df5aff
remove unused route
both/router.js
both/router.js
Router.configure({ layoutTemplate: 'layout' }); Meteor.startup(function () { if (Meteor.isClient) { var location = Iron.Location.get(); if (location.queryObject.platformOverride) { Session.set('platformOverride', location.queryObject.platformOverride); } } }); Router.map(function() { this.ro...
JavaScript
0.000007
@@ -1620,115 +1620,8 @@ );%0A%0A - this.route(%22profile%22, %7B%0A waitOn: function() %7B%0A return %5BMeteor.subscribe('images')%5D;%0A %7D%0A %7D);%0A%0A Ro
d9a22726f10d587188cf9b13f9152d460a179e81
Make territory filter mandatory
erpnext/accounts/report/inactive_sales_items/inactive_sales_items.js
erpnext/accounts/report/inactive_sales_items/inactive_sales_items.js
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors // For license information, please see license.txt /* eslint-disable */ frappe.query_reports["Inactive Sales Items"] = { "filters": [ { fieldname: "territory", label: __("Territory"), fieldtype: "Link", options: "Territory" }, { ...
JavaScript
0.000001
@@ -302,16 +302,29 @@ rritory%22 +,%0A%09%09%09reqd: 1, %0A%09%09%7D,%0A%09%09
a856537b97ed26338a152a01e454502f0a92416b
Add pig latin solution
Strings/PigLatin/pig_latin_2.js
Strings/PigLatin/pig_latin_2.js
function pigIt(str){ //Code here }
JavaScript
0.999997
@@ -1,36 +1,502 @@ -function pigIt(str)%7B%0A //Code here%0A%7D +/* it uses a regex to create 3 groups: 1) first letter, 2) rest of the word, then 3) either space or end of the string. The %22g%22 in the end of it means that it has not to stop at the first match, but it has to find all the (non overlapping) occurrenc...
56db9405daadfdce05aec5c2bd9d5d57c1a076db
add PropertyName object to DesktopListing
packages/react-ui-ag/src/Listings/DesktopListing.js
packages/react-ui-ag/src/Listings/DesktopListing.js
import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import themed from 'react-themed' import classnames from 'classnames' import { ListingComponents } from '@rentpath/react-ui-core' import Listing from './Listing' @themed([ 'DesktopListing', 'BedsAndBaths', 'UnitLevelAvailabilityAndLa...
JavaScript
0.000001
@@ -580,20 +580,56 @@ object,%0A + propertyName: PropTypes.object,%0A %7D%0A - %0A stati @@ -696,16 +696,38 @@ gs: %7B%7D,%0A + propertyName: %7B%7D,%0A %7D%0A%0A g @@ -740,24 +740,24 @@ derInfo() %7B%0A - const %7B @@ -779,16 +779,30 @@ ratings +, propertyName %7D = thi @@ -1554,16 +1554,34...
337aed906c69a6a3c63a3d384124a665d1d53d59
Fix flow type for GraphQLResponse
packages/relay-runtime/network/RelayNetworkTypes.js
packages/relay-runtime/network/RelayNetworkTypes.js
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @providesModule RelayNetworkTypes * @flow * @format */ 'use strict'; import type {ConcreteOperation, RequestNode} from 'RelayConcr...
JavaScript
0.000005
@@ -1060,20 +1060,100 @@ sponse = - %7B%7C%0A +%0A %7C %7B%0A data: PayloadData,%0A errors?: Array%3CPayloadError%3E,%0A %7D%0A %7C %7B%0A data?: @@ -1167,24 +1167,28 @@ adData,%0A + errors ?: Array @@ -1171,33 +1171,32 @@ ta,%0A errors -? : Array%3CPayloadE @@ -1202,17 +1202,20 @...
13c284fbcaf8033828bd0dd3edfe9594d342fcca
fix reddit links
services/feeds.js
services/feeds.js
const config = require("../config.json"); const feeds = require("../core/json/feeds.json"); const Redis = require("redis"); const schedule = require("node-schedule"); const needle = require("needle"); const querystring = require("../core/util/query_string"); const redis = Redis.createClient(); const jobs = {}; funct...
JavaScript
0.000032
@@ -1575,33 +1575,8 @@ k = -%60https://www.reddit.com$%7B body @@ -1601,18 +1601,16 @@ k.$.href -%7D%60 ;%0A
d5cd79015524ebdcf2894b3a5cc5a4b33ca92c9f
Fix caret positioning issues
jquery.textareaAutoHeight.js
jquery.textareaAutoHeight.js
$.fn.textareaAutoHeight = function(){ var $elm = this, $clonedField = $elm.clone(), originalFieldHeight = $elm.height(); $elm.height(originalFieldHeight); $clonedField.css({left: "-9999px",position: "absolute"}); $clonedField.appendTo("body"); $elm.keydown(function(e){ if(e.which == ...
JavaScript
0
@@ -1554,33 +1554,127 @@ -newValue = currentValue + +currentHeight = $clonedField%5B0%5D.scrollHeight,%0A selection = $(this).getSelection();%0A%0A if(e.which == 13)%7B%0A cha @@ -1685,290 +1685,894 @@ ssed -, + = %22%5Cn%22; %0A +%7D%0A%0A -currentHeight = $clonedField%5B0%5D.scrollH...
36abebe4d6663324c7c9e26c0e63367a2e3b3714
Update xss-shrapnel.js
xss-shrapnel.js
xss-shrapnel.js
// ==UserScript== // @name Submit form // @namespace * // @description Submit form // @include * // @version 1 // @grant none // ==/UserScript== var bForceUrlEncoded = 1 var bFillHiddenForms = 0 var iPayload = 0 var aPayloads = ['aaa"bbb\'ccc<ddd>eee', 'aaa"bbb\'eee', 'aaa"eee', 'a...
JavaScript
0
@@ -861,16 +861,54 @@ length)%0A +%09%09%09%09%0A%09%09%09%09alert (aPayloads %5BiPayload%5D)%0A %09%09%09%7D%0A%09%09%09
b88ccc024d0c8b2f6988129f51e641e86359572c
Create initial backbone models
src/main/webapp/js/app.js
src/main/webapp/js/app.js
/** * @fileoverview * Provides methods for connecting the app's frontend to the endpoints API. * * @author trevor.nelson1@gmail.com (Trevor Nelson) * Based off of the hello-endpoints-archectype. */ /** * Initialize the app namespace on pageload */ (function() { window.App = { Models: {}, Collections: {},...
JavaScript
0.000001
@@ -480,12 +480,326 @@ );%0A%09%7D;%0A +%09%0A%09App.Models.Account = Backbone.Model.extend(%7B%0A%09%09defaults: %7B%0A%09%09%09'id': '',%0A%09%09%09'username': '',%0A%09%09%09'email': '',%0A%09%09%09'dashboards': %5B%5D%0A%09%09%7D%0A%09%7D);%0A%09%0A%09App.Models.Dashboard = Backbone.Model.extend(%7B%0A%09%09defau...
666ffe8b469e30968a67d1b2a83e20b86194d9dd
apply the attributes in one action
src/jquery.emailaddressmunging.js
src/jquery.emailaddressmunging.js
(function($) { $.fn.emailAddressMunging = function(opts) { return this.each(function() { var $el = $(this); var $newEl; // get email address var mail = $.fn.emailAddressMunging._createEmail($el.text()); // make a new link...
JavaScript
0.000167
@@ -130,44 +130,8 @@ s);%0A - var $newEl;%0A %0A @@ -234,28 +234,16 @@ ext());%0A - %0A @@ -251,139 +251,28 @@ -// make a new link element with email address%0A $newEl = $('%3Ca href=%22mailto:'+ mail + '%22%3E' + mail + '%3C/a%3E');%0A +var ...
469e6885247fec1c6a73add0c4b034bc0bed5fda
add michael :heart:
db/seeds/tapin-demo.js
db/seeds/tapin-demo.js
const hasher = require('feathers-authentication-local/lib/utils/hash') const { flatten, map, pick, merge } = require('ramda') const groups = [ { name: "Ruru Kāhui Ako", description: "Ruru Kāhui Ako" }, { name: "School Supplies R'Us", description: "If you're yearning for some learning, we'll set y...
JavaScript
0.00015
@@ -1497,16 +1497,299 @@ ssword'%0A + %7D,%0A %7B%0A name: 'Michael Smith',%0A description: %22I'm Michael - I love exploring the globe and wearing radical socks%22,%0A avatar: 'https://raw.githubusercontent.com/root-systems/handbook/master/members/michael.png',%0A email: 'michael@rootsystems.nz',%0A ...
d6e318d95d274c3590d202f2ed8f55d3b82074a1
Add spec for the last missing line
spec/Krtek.bundle.spec.js
spec/Krtek.bundle.spec.js
/* eslint import/no-extraneous-dependencies:0 */ /* eslint no-param-reassign:0 */ import test from 'ava'; import sinon from 'sinon'; import Krtek from '../src/Krtek'; import Cache from '../src/Cache'; test.beforeEach((t) => { t.context.krtekInstance = new Krtek(); t.context.jsCode = ` console.log('foo'); ...
JavaScript
0.000003
@@ -194,16 +194,70 @@ /Cache'; +%0Aimport FileProvider from '../src/cache/FileProvider'; %0A%0Atest.b @@ -3622,28 +3622,432 @@ xt.req, t.context.res);%0A%7D);%0A +%0Atest.cb('returns error if something fails', (t) =%3E %7B%0A t.plan(1);%0A%0A t.context.krtekInstance.cacheOptions = %7B%0A provider: new FileProvi...
e751590242eda7acbcac5a2ba5d35efabbcf5d39
Add a constructor for a component of the save-button
js/components/content-header.js
js/components/content-header.js
(function(app) { 'use strict'; var jCore = require('jcore'); var helper = app.helper || require('../helper.js'); var dom = app.dom || require('../dom.js'); var Button = app.Button || require('./button.js'); var SidebarToggleButton = app.SidebarToggleButton || require('./sidebar-toggle-button.js'); var L...
JavaScript
0.000001
@@ -411,24 +411,133 @@ , Button);%0A%0A + var SaveButton = helper.inherits(function(props) %7B%0A SaveButton.super_.call(this, props);%0A %7D, Button);%0A%0A var Conten
10e6375778ba2fd52089a776f63fbf0bf1ad19b4
Define variable.
scripts/__tests__/gridTitle-test.js
scripts/__tests__/gridTitle-test.js
jest.dontMock('../gridTitle.jsx'); jest.dontMock('../columnProperties.js'); var React = require('react'); var GridTitle = require('../gridTitle.jsx'); var TestUtils = require('react-addons-test-utils'); var ColumnProperties = require('../columnProperties.js'); describe('GridTitle', function() { var title; var colum...
JavaScript
0.000005
@@ -382,16 +382,45 @@ Options; +%0A%09var multipleSelectSettings; %0A%0A%09befor
0aac4748db35f8d3f48e463d4ac69e4c67e52f8c
Allow for trail color to set from props
src/Circle.js
src/Circle.js
import React, { Component, PropTypes } from 'react'; import cx from 'classnames'; import s from './style/circle.scss'; export default class Circle extends Component { static propTypes = { prefixClass: PropTypes.string, percent: PropTypes.number, className: PropTypes.className, strokeWidth: PropTypes....
JavaScript
0
@@ -2065,16 +2065,31 @@ stroke= +%7BtrailColor %7C%7C %22#efefef @@ -2089,16 +2089,17 @@ #efefef%22 +%7D %0A
895af9841dbe91517ddb1cceb7221725ece6a7df
Fix load-button to reload file
js/components/load-button.js
js/components/load-button.js
(function(app) { 'use strict'; var dom = app.dom || require('../dom.js'); var Button = app.Button || require('./button.js'); var LoadButton = Button.inherits(function(props) { this.loader = props.loader; this.registerChangeListener(); }); LoadButton.prototype.inputElement = function() { retu...
JavaScript
0.000001
@@ -496,32 +496,127 @@ d(this));%0A %7D;%0A%0A + LoadButton.prototype.resetInput = function() %7B%0A dom.value(this.inputElement(), '');%0A %7D;%0A%0A LoadButton.pro @@ -745,20 +745,19 @@ -this.loader( +var file = dom. @@ -779,18 +779,89 @@ (event)) -) ; +%0A if (file) %7B%0A this.loader(fil...
28bd4cc1fad99c2a11cbc7b02d134c9e89b500c2
Add number parameter to dice command
commands.js
commands.js
const fs = require('fs'); // Commands are called with the following arguments: // commands[command](message, config, msg, ...parameters) // msg is the message content without the prefix or command module.exports = { 'ping': (message) => { message.reply("pong!"); }, // _ denotes arguments we don't ...
JavaScript
0.000004
@@ -725,18 +725,16 @@ efix%7D'%60) - %0A @@ -1883,38 +1883,67 @@ 'dice': (message -) =%3E %7B +, _, _, n) =%3E %7B%0A n = n %7C%7C 6; %0A message @@ -1981,17 +1981,17 @@ andom()* -6 +n ) + 1);%0A @@ -1997,8 +1997,9 @@ %0A %7D%0A%7D +%0A
e607529b5c40404526a4598a1d16415e7ee0fdae
Add todo for infinite scroll article compatibility
src/Config.js
src/Config.js
/** * Import, get, and set configuration values. * * @todo Initialization should die when no valid account or inventory. */ ( function ( root, factory ) { if ( typeof define === 'function' && define.amd ) { define( [ 'jquery', './Util' ], factory ); } else if ( ty...
JavaScript
0
@@ -118,16 +118,98 @@ entory.%0A + * @todo Add optional dynamically-determined context for use in infinite scroll.%0A */%0A( fu
ac738dac727ca97de18751c55da8472a24f8a62c
Make `Move()` fire callback directly when duration is 0.
js/foundation.util.motion.js
js/foundation.util.motion.js
'use strict'; !function($) { /** * Motion module. * @module foundation.motion */ const initClasses = ['mui-enter', 'mui-leave']; const activeClasses = ['mui-enter-active', 'mui-leave-active']; const Motion = { animateIn: function(element, animation, cb) { animate(true, element, animation, cb); }, an...
JavaScript
0
@@ -505,16 +505,172 @@ led');%0A%0A + if (duration === 0) %7B%0A fn.apply(elem);%0A elem.trigger('finished.zf.animate', %5Belem%5D).triggerHandler('finished.zf.animate', %5Belem%5D);%0A return;%0A %7D%0A%0A functi @@ -709,32 +709,10 @@ t = -window.performance.now() +ts ;%0A
324fb51e363c669ec70cdd04df95f3407e8f0bef
update redirect
js/fw/config/RouterConfig.js
js/fw/config/RouterConfig.js
/** * RouterConfig collect route information from each feature and combine them * with ngRoute. * * * @author Howard.Zuo * @date Apr 28th, 2015 * */ (function(define) { 'use strict'; define(['lodash', 'tpl!etc/config.json'], function(_, tpl) { var Configurator = function(features, app)...
JavaScript
0.000001
@@ -1492,27 +1492,8 @@ tTo: - self.config.base + def
bd883dc8452bf1c46d9e242c746bb9049e61ee2d
Fix bug #47902
count_words_and_characters/scripts/code.js
count_words_and_characters/scripts/code.js
(function(window, undefined) { window.Asc.plugin.init = function(text) { var str = text var REGEX_CHINESE = /[\u3000-\u303f]|[\u3040-\u309f]|[\u30a0-\u30ff]|[\uff00-\uff9f]|[\u4e00-\u9faf]|[\u4e00-\u9fff]|[\u3400-\u4dbf]|[\u{20000}-\u{2a6df}]|[\u{2a700}-\u{2b73f}]|[\u{2b740}-\u{2b81f}]|[\u{2b820}-\u{2ceaf}]|[\u...
JavaScript
0
@@ -112,16 +112,32 @@ SE = /%5B%5C +u3131-%5CuD79D%5D%7C%5B%5C u3000-%5Cu @@ -484,32 +484,45 @@ 9f%5Cu4e00-%5Cu9faf%5C +u3131-%5CuD79D%5C u4e00-%5Cu9fff%5Cu34 @@ -683,16 +683,60 @@ f%7D%5D/gu;%0A +%09%09// /%5B%5Cu3131-%5CuD79D%5D/ugi korean characters%0A %09%09var ha
7323c90456d006777c32495b13910430b9d7dbb0
Remove unnecessary use()
examples/javascript/02_googleassistant/multisurface-conversations/src/app.js
examples/javascript/02_googleassistant/multisurface-conversations/src/app.js
'use strict'; // ------------------------------------------------------------------ // APP INITIALIZATION // ------------------------------------------------------------------ const { App } = require('jovo-framework'); const { GoogleAssistant, NotificationPlugin } = require('jovo-platform-googleassistant'); const ap...
JavaScript
0
@@ -381,56 +381,8 @@ );%0A%0A -googleAssistant.use(new NotificationPlugin());%0A%0A app.
e47478b23112fa21327d4c1a35e41abae2e6f617
Change the dropdown menus to align right
src/Header.js
src/Header.js
import React from 'react'; import { Navbar, Nav, NavDropdown, DropdownItem, Dropdown, Form } from 'react-bootstrap'; import AboutDialog from './dialogs/AboutDialog.js'; import BenchmarkDialog from './dialogs/BenchmarkDialog.js'; import AuthorDialog from './dialogs/AuthorDialog.js'; import ThanksDialog from './dialogs/T...
JavaScript
0.000001
@@ -3068,16 +3068,27 @@ ropdown%22 + alignRight %3E%0A @@ -3453,16 +3453,27 @@ d(this)%7D + alignRight %3E%0A
bc825f0453590733feb405dfe1c7e8c4c2276f4b
Update new tab base URL to auto-forward + display user-friendly title
src/Header.js
src/Header.js
!(function( global ) { var Opera = function() {}; Opera.prototype.REVISION = '1'; Opera.prototype.version = function() { return this.REVISION; }; Opera.prototype.buildNumber = function() { return this.REVISION; }; Opera.prototype.postError = function( str ) { console.log( str ); }; ...
JavaScript
0
@@ -796,18 +796,92 @@ l,%3C! ---tab_%25s-- +DOCTYPE html%3E%3C!--tab_%25s--%3E%3Ctitle%3ELoading...%3C/title%3E%3Cscript%3Ehistory.forward()%3C/script %3E';%0A
fc88d874e5a0495f1876062a723fc3114d9fc40a
Put a banner in the client bundle
webpack/build.js
webpack/build.js
const esbuild = require("esbuild"); const isProduction = false; esbuild.buildSync({ entryPoints: ['./src/platform/current/server/serverStartup.ts'], bundle: true, outfile: './build/server/js/bundle2.js', platform: "node", sourcemap: true, minify: false, define: { "process.env.NODE_ENV": isProduction...
JavaScript
0
@@ -59,16 +59,409 @@ false;%0A%0A +const clientBundleBanner = %60/*%0A * LessWrong 2.0 (client JS bundle)%0A * Copyright (c) 2020 the LessWrong development team. See http://github.com/LessWrong2/Lesswrong2%0A * for source and license details.%0A *%0A * Includes CkEditor.%0A * Copyright (c) 2003-2020, CKSource - Freder...
4cb9ddb86d15af7440ef7fa290156ddacb6d97c9
Remove the modal'scallback when in the action's payload
redactions/modal.js
redactions/modal.js
/** * CONSTANTS */ const MODAL_TOGGLE = 'MODAL_TOGGLE'; const MODAL_SET_OPTIONS = 'MODAL_SET_OPTIONS'; const MODAL_LOADING = 'MODAL_LOADING'; const MODAL_EXECUTE_CLOSE_CALLBACK = 'MODAL_EXECUTE_CLOSE_CALLBACK'; // REDUCER const initialState = { open: false, options: { children: null, childrenProps: null, ...
JavaScript
0.000003
@@ -737,16 +737,24 @@ state, %7B +%0A options @@ -755,30 +755,223 @@ ptions: -action.payload +Object.assign(%7B%7D, state.options, action.payload, %7B%0A // We remove the callback if not present%0A onCloseModal: action.payload.onCloseModal ? action.payload.onCloseModal : null%0A %7D...
0b83b11e147fe65870c4dcb5db19bb46c0d4ff76
remove redundant tab changing calls
js/views/conversationTabs.js
js/views/conversationTabs.js
var ChangeVotesView = require("../views/change-votes"); var CommentView = require('../views/vote-view'); var CommentFormView = require("../views/comment-form"); var ConversationStatsHeader = require('../views/conversation-stats-header'); var eb = require("../eventBus"); var Handlebones = require("handlebones"); var tem...
JavaScript
0.000001
@@ -3831,168 +3831,8 @@ B;%0A%0A - eb.on(eb.clusterClicked, function(gid) %7B%0A if (gid === -1) %7B%0A that.doShowTabsUX();%0A %7D else %7B%0A that.doShowGroupUX();%0A %7D%0A %7D);%0A%0A %7D%0A
eccc9721de0091237b71864af1e2099cc7e89b6f
fix create-user-form init after refactor
js/views/create-user-form.js
js/views/create-user-form.js
var View = require("../view"); var template = require("../tmpl/create-user-form"); var PolisStorage = require("../util/polisStorage"); var $ = require("jquery"); module.exports = View.extend({ name: "create-user-form", template: template, gotoCreate: function() { this.model.set("create", true); ...
JavaScript
0.000007
@@ -1042,201 +1042,8 @@ %7D,%0A - initialize: function()%7B%0A var urlPrefix = %22https://www.polis.io/%22;%0A if (-1 === document.domain.indexOf(%22.polis.io%22)) %7B%0A urlPrefix = %22http://localhost:5000/%22;%0A %7D%0A %7D,%0A @@ -1064,32 +1064,32 @@ nction(event) %7B%0A + ...
ad61aa306b9d90c566aa18e45ccf9c17462aa0a0
make modal button options do the right thing. closes #104
www/js/events.js
www/js/events.js
var EVENTS = (function() { var onBeginClick = function() { UI.navigateToInterstitial(); } var onBeginStoryClick = function() { AUDIO.playAudio($audioPlayer, ASSETS_SLUG + 'geology-edit616.mp3'); if ($(this).hasClass('guided')) { VR.turnOnAnimations(); } ...
JavaScript
0.00004
@@ -3221,32 +3221,54 @@ = function(e) %7B%0A + VR.enterVR();%0A UI.setup
0d8a4e781ac5c4cf2026c1fdeb1c2b24044f467a
increase how long we wait for geolocating to complete
www/js/locate.js
www/js/locate.js
var Locate = ( function() { return { locating: 0, lookup: function(q) { var that = this; if (!q) { this.trigger('failed', { msg: FMS.strings.missing_location } ); return false; } var url = CONFIG.FMS_URL + '/ajax/lookup_location?term=' + q; var ...
JavaScript
0
@@ -2409,9 +2409,10 @@ ut: -7 +20 000,
e93c978b00bea052657c6b27bfade481fe5c6f99
Set the link's text content as the search hint
www/js/search.js
www/js/search.js
function getSearchUrlBase(tree, noredirect) { // Figure out the right path separator to use with virtroot sep = virtroot[virtroot.length - 1] === '/' ? '' : '/'; var url = virtroot + sep + 'search.cgi?tree=' + tree; var date = new Date (); url += "&request_time=" + date.getTime (); if (noredirect == true)...
JavaScript
0.000034
@@ -2659,17 +2659,19 @@ ink. -innerHTML +textContent = s
88926fec10532ea4be077d3491a54a65fff9f3e3
Make links inside commented text clickable in rich text
www/pad/links.js
www/pad/links.js
define([ 'jquery', '/common/hyperscript.js', '/common/common-ui-elements.js', '/customize/messages.js' ], function ($, h, UIElements, Messages) { var onLinkClicked = function (e, inner) { var $target = $(e.target); if (!$target.is('a')) { return; } var href = $target.attr('h...
JavaScript
0.000001
@@ -268,24 +268,113 @@ ('a')) %7B - return; +%0A $target = $target.closest('a');%0A if (!$target.length) %7B return; %7D%0A %7D%0A @@ -2267,16 +2267,51 @@ === 'A' + %7C%7C $(e.target).closest('a').length ) %7B%0A
b70c5b417b192f01c179b86a29f3d38b2cfcf473
make a wildcardplugin out of it
esResponseTimes.js
esResponseTimes.js
#! /usr/bin/env node var program = require('commander'); var _ = require('lodash'); var request = require('request-json'); var moment = require('moment-timezone'); program .version('0.0.1') .usage('node index.js <config>') // .option('-p, --peppers', 'Add peppers') // .option('-P, --pineapple', 'Add pin...
JavaScript
0.000002
@@ -3224,25 +3224,24 @@ it(1);%0A %7D%0A -%0A console. @@ -3308,27 +3308,33 @@ eAvg -%5B'50.0'%5D).toFixed(1 +.values%5B'50.0_as_string'%5D ));%0A @@ -3413,27 +3413,33 @@ eAvg -%5B'75.0'%5D).toFixed(1 +.values%5B'75.0_as_string'%5D ));%0A @@ -3518,27 +3518,33 @@ eAvg -%5B'95.0'%5D).toFixed(1 +.values%5B'95...
694b4b853a54f99ca10564ab376c98e027b38c34
Use for...of
esm/setchildren.js
esm/setchildren.js
import { mount } from './mount.js'; import { unmount } from './unmount.js'; import { getEl, isNode } from './util.js'; export const setChildren = (parent, ...children) => { const parentEl = getEl(parent); let current = traverse(parent, children, parentEl.firstChild); while (current) { const next = current.n...
JavaScript
0
@@ -472,51 +472,8 @@ or ( -let i = 0; i %3C children.length; i++) %7B%0A cons @@ -480,17 +480,18 @@ t child -= +of childre @@ -495,13 +495,11 @@ dren -%5Bi%5D;%0A +) %7B %0A
b74584c0f249e8aa75905b1dfd7bc47566b791df
Fix comments for mouse handler which were outdated.
Examples/Skeleton/Skeleton.js
Examples/Skeleton/Skeleton.js
/*global require*/ require({ baseUrl : '../../Source' }, ['Cesium'], function(Cesium) { "use strict"; //A real application should require only the subset of modules that //are actually used, instead of requiring the Cesium module, which //includes everything. var canvas = document.getElementByI...
JavaScript
0
@@ -2483,56 +2483,38 @@ tart -X, movement.startY, movement.endX, movement.endY +Position, movement.endPosition %0A @@ -2636,25 +2636,24 @@ arCodeAt(0): - // %223%22 -%3E 3 @@ -2829,25 +2829,24 @@ arCodeAt(0): - // %222%22 -%3E C @@ -3043,17 +3043,16 @@ deAt(0): - // %221%22 @@ -3531,17 +3531,16 @@ fu...
e3caf9c56672cef45a42f0aff74201ff6837b5de
use new signals hash
scripted/src/extensions/time/time-extension.js
scripted/src/extensions/time/time-extension.js
/** * @fileOverview An extension to Exhibit adding a view using SIMILE Timeline. * @author David Huynh * @author <a href="mailto:ryanlee@zepheira.com">Ryan Lee</a> * @example Load this file like so: * <script src="http://host/exhibit/3.0.0/exhibit-api.js"></script> * <script src="http://host/exhibit/3.0.0/extensi...
JavaScript
0.000003
@@ -1772,32 +1772,52 @@ ut(function() %7B%0A + var loader;%0A if (type @@ -1911,49 +1911,16 @@ -$(document).one(%22loadExtensions.exhibit%22, +loader = fun @@ -6393,18 +6393,206 @@ %7D -) ; +%0A if (Exhibit.signals%5B%22loadExtensions.exhibit%22%5D) %7B%0A loa...
688845da01d1cdc0f8be5341261809ee56d7fd3b
Allow <input ... df-autocomplete-submit-on-select> option that instructs the autocompleted input to submit its parent form when the user makes a selection
modules/directives/autocomplete/autocomplete.js
modules/directives/autocomplete/autocomplete.js
angular.module('dataform.directives').directive('dfAutocompleteDatalist', ['$document', '$timeout', function($document, $timeout) { return { restrict: 'A', require: 'ngModel', link: function(scope, elem, attrs, ngModel) { if (!attrs.dfAutocompleteDatalist) throw new Error('df-autocomplete-datalist ...
JavaScript
0.000001
@@ -1327,24 +1327,411 @@ %7D); +%0A%0A // Allow %3Cinput ... df-autocomplete-submit-on-select%3E option that instructs this%0A // directive to submit its parent form when the user makes a selection.%0A if (attrs.hasOwnProperty('dfAutocompleteSubmitOnSelect')) %7B%0A conso...
b90f61dd35b7889f05a21fbc29e6340b895de497
Update latex_envs.js
nbextensions/usability/latex_envs/latex_envs.js
nbextensions/usability/latex_envs/latex_envs.js
/* */ var conversion_to_html = false; var config_toolbar_present=false; var cite_by, bibliofile, eqNumInitial, eqNum, eqLabelWithNumbers; //These variables are initialized in init_config() //EQUATIONS //var eqNumInitial = 0; //var eqNum = eqNumInitial; // begins equation numbering at eqNum+1 //var eqLabelWithNumb...
JavaScript
0.000001
@@ -2169,17 +2169,16 @@ equire%22, - %0A%09'base/ @@ -2240,24 +2240,17 @@ InNb4%22,%0A - +%09 %22nbexten
319b858e7767c974967ed3cd768855ad8e2172d3
fix typo in comment (#13883)
examples/with-firebase/context/userContext.js
examples/with-firebase/context/userContext.js
import { useState, useEffect, createContext, useContext } from 'react' import firebase from '../firebase/clientApp' export const UserContext = createContext() export default function UserContextComp({ children }) { const [user, setUser] = useState(null) const [loadingUser, setLoadingUser] = useState(true) // Help...
JavaScript
0.000005
@@ -942,16 +942,17 @@ e approp +r iately.%0A
9d54d81a76b3674737458b9a8f146d91a51a1b8d
remove unnecessary pre-processor for all ~/src files
build/karma.js
build/karma.js
import { argv } from 'yargs'; import config from '../config'; import webpackConfig from '../webpack.config'; const KARMA_ENTRY_FILE = 'karma.entry.js'; function makeDefaultConfig () { const karma = { files : [ './node_modules/phantomjs-polyfill/bind-polyfill.js', './tests/**/*.js', ...
JavaScript
0.000001
@@ -511,66 +511,8 @@ '%5D,%0A - %5B%60$%7Bconfig.get('dir_src')%7D/**/*.js%60%5D : %5B'webpack'%5D,%0A
932098d74ebab32e0844dd7295eb595d41b9fcdc
Fix setCenterPoint when zooming
src/Render.js
src/Render.js
import React from 'react'; import ReactDOM from 'react-dom'; import Wire from './Wire.js'; import { createElement } from './utils'; import { registerEvents } from './dom-handler.js' import { NodeGraph } from './react/components'; import { _p } from './points'; const config = { width: 800, height: 600 }; export defa...
JavaScript
0.000002
@@ -4218,25 +4218,17 @@ Size(), -this.zoom +1 );%0A r @@ -4355,22 +4355,24 @@ nt = _p. -divide +multiply (_p.mult @@ -4392,32 +4392,94 @@ 1), this.zoom);%0A + const vCanvasSize = _p.multiply(this.getCanvasSize(), 1);%0A this.offset @@ -4504,24 +4504,17 @@ .divide( -this.get +v CanvasSi @@ -4515,18 +...
2412be8acb161b6d59a862bd403d5da2b60b2fad
Add more logs for errors
server/services/qr-codes-service.js
server/services/qr-codes-service.js
'use strict'; let qrCode = require('node-qrcode'); let fs = require('fs'); let path = require('path'); const QR_CODES_DIRECTORY = path.join('./', 'public', 'qr-codes'); const DEFAULT_IMAGE_EXTENSION = 'png'; class QrCodesService { getQrCodeForTouristSite(touristSiteId) { let that = this; let promise = new P...
JavaScript
0
@@ -93,24 +93,68 @@ re('path');%0A +let logger = require('./../common/logger');%0A const QR_COD @@ -488,32 +488,61 @@ if (err) %7B%0A + logger.err(err);%0A reje @@ -1785,53 +1785,233 @@ %7D, -reject);%0A %0A %7D, reject +function (err) %7B%0A l...
1f4219e3ce7629814a027da7e00b969954f38be4
comment improvements webcam
src/Webcam.js
src/Webcam.js
/** * Webcam base class * * @class Webcam * @constructor * @param {Object} options composition options * used to set * */ "use strict"; var CHILD_PROCESS = require('child_process'); var EXEC = CHILD_PROCESS.exec; var FS = require( "fs" ); var Utils = require( __dirname + "/utils/Utils.js" ); var EventDispa...
JavaScript
0
@@ -830,17 +830,16 @@ * @ -m property @@ -4969,16 +4969,27 @@ Object%0A + * @static%0A *%0A */%0A%0A
f9280a3a8e027631e7bf279b4e3fd74e8912f272
Add styling for form fields and submit button
registration.ios.js
registration.ios.js
import React, { Component } from 'react'; import NavigationBar from 'react-native-navbar' import Button from 'react-native-button'; import { AppRegistry, StyleSheet, Text, TextInput, View, SegmentedControlIOS, Image, Switch, DatePickerIOS, Navigator, } from 'react-native' class Registration extends...
JavaScript
0
@@ -823,34 +823,111 @@ style=%7B%7B -height: 30 +fontSize: 20, height: 50, borderColor: 'gray', borderWidth: 3, padding: 3, marginTop: 1 %7D%7D%0A @@ -940,16 +940,17 @@ holder=%22 + First Na @@ -1054,34 +1054,111 @@ style=%7B%7B -height: 30 +fontSize: 20, height: 50, borderColor: 'gray', borderWi...
57e8e56d307f9185322b104be4dcc14d60669ae0
Copy bindings when changing binded object
source/binding.js
source/binding.js
Sandwich.Module.define('Binding', ['Namespace'], function ( Namespace ) { // Create a namespace object got our bindings var NS = new Namespace(), observer = new PB.Observer(); return { set: function ( namespace, object ) { NS.set(namespace, object); }, get: function ( namespace ) { return NS.get(...
JavaScript
0
@@ -180,57 +180,462 @@ ;%0A%0A%09 -return %7B%0A%0A%09%09set: function ( namespace, object ) %7B +/**%0A%09 *%0A%09 */%0A%09function copyListeners ( object, listeners ) %7B%0A%0A%09%09var type;%0A%0A%09%09for( type in listeners ) %7B%0A%0A%09%09%09if( listeners.hasOwnProperty(type) ) %7B%0A%0A%09%09%09%09listeners%5Bt...
67d35f316ed44189e24b6b2ff3e0555ccbc80175
update lighthouse assertions
.lighthouserc.js
.lighthouserc.js
module.exports = { ci: { assert: { preset: 'lighthouse:no-pwa', assertions: { // Superflous text like "Introduction" on the homepage has a really // low color contrast, but is also not essential text. 'color-contrast': 'warn', }, }, }, }
JavaScript
0
@@ -85,24 +85,98 @@ sertions: %7B%0A + 'uses-rel-preconnect': 'off',%0A 'unused-javascript': 'off',%0A // S @@ -301,16 +301,80 @@ al text. + I do still%0A // want warnings for other elements, though. %0A
c816bfa1df1f976cf8aa71f99d8aecac6c77bb99
Remove font CDN
server/app/config/config.js
server/app/config/config.js
'use strict'; module.exports = (function () { var csp = { 'default-src': '\'none\'', 'connect-src': '\'self\'', 'font-src': ['\'self\'', 'http://netdna.bootstrapcdn.com/'], 'script-src': ['\'self\'', '\'unsafe-eval\'', '\'unsafe-inline\'', 'ajax.googleapis.com', 'www.google-analytic...
JavaScript
0.000022
@@ -161,42 +161,49 @@ f%5C'' -, 'http://netdna.bootstrapcdn.com/ +%5D,%0A 'img-src': %5B'%5C'self%5C'', 'data: '%5D,%0A
99cf2f883a07a8a2f80ddf92dabc86c3bb45b9f5
Make sure to flag up noop on Journey updates for watched journeys
server/listeners/journey.js
server/listeners/journey.js
"use strict"; const Journeys = require('../../models/journeys'); const Users = require('../../models/users'); const sync = require('../../sync/sync'); const debug = require('../../util/debug'); function error(operation, journey, err) { console.error(`Journey: Error performing ${operation} on ${journey.uid}`, er...
JavaScript
0
@@ -145,16 +145,61 @@ /sync'); +%0Aconst watcher = require('../../sync/watch'); %0A%0Aconst @@ -541,20 +541,108 @@ ) %7B%0A -debu +const log = watcher.isJourneyWatched(journey.uid, journey.ssd) ? console.log : debug;%0A lo g(%60Journ
7faa049b19236a9c8a59f5e473fcc0878d23fb9f
Update vic.js
chat-plugins/vic.js
chat-plugins/vic.js
exports.commands = { v: 'vic', popup("<body background="http://static.spin.com/files/141201-r%C3%B6yksopp-skulls-music-video-watch-cabin-rave-creepy.png"><center><img src="http://images.cooltext.com/4547425.png" width="350" height="70" alt="OPVictreebel" /><br></center><br><center><img src="http://www.screwattac...
JavaScript
0.000001
@@ -38,16 +38,22 @@ %09popup(%22 +%7Chtml%7C %3Cbody ba
d461eae1bfa290bd19ab63e0eba0039e9cc2a33d
Update activate.js
services/editor/service-worker/src/activate.js
services/editor/service-worker/src/activate.js
import { CACHE_NAME, urls } from './constants'; import activateSocket from './activateSocket'; import { refresh } from './data-actions'; import getUrl from './getUrl'; import activateSocket from './activateSocket'; import { refresh } from './data-actions'; export default async function activate() { const cache = awa...
JavaScript
0.000001
@@ -45,97 +45,8 @@ s';%0A -import activateSocket from './activateSocket';%0Aimport %7B refresh %7D from './data-actions';%0A impo
9b595e47eb2620b1f412df35feacda5f56a1c969
Remove deletion of `@ember/jquery` in addon blueprint
blueprints/addon/index.js
blueprints/addon/index.js
'use strict'; const fs = require('fs-extra'); const path = require('path'); const walkSync = require('walk-sync'); const chalk = require('chalk'); const stringUtil = require('ember-cli-string-utils'); const { uniq } = require('ember-cli-lodash-subset'); const SilentError = require('silent-error'); const sortPackageJso...
JavaScript
0
@@ -2635,117 +2635,8 @@ %5D;%0A%0A - // addons should test _without_ jquery by default%0A delete contents.devDependencies%5B'@ember/jquery'%5D;%0A%0A
d33ac3413519840b7c7a9afae03bcd9539956aa0
fix for bind after ajax submit
src/method/ajax_submit.js
src/method/ajax_submit.js
AS.container.addBindListener(function(root) { $(root).find('form[data-ajax-form]').each(function() { var _this = this, $form = $(_this), options = $form.data('dataAjaxForm'), beforeSubmit, success ; if (!options) { options = { ...
JavaScript
0
@@ -205,16 +205,54 @@ Form'),%0A + $parent = $form.parent(),%0A @@ -825,32 +825,62 @@ xhr, jqForm) %7B%0A + AS.bind($parent);%0A if ( @@ -1381,16 +1381,25 @@ kOptions +, $parent ;%0A%0A A @@ -2795,16 +2795,48 @@ target); +%0A $parent = $target.parent(); %0A%0A ...
258722cac4453a98c36fbca3a15b25517e1cc399
Use typeof in undefined check
bulbs/special_coverage/static/special_coverage/js/special-coverage-loader.js
bulbs/special_coverage/static/special_coverage/js/special-coverage-loader.js
module.exports = (function () { // eslint-disable-line no-unused-vars function isUndefined (suspect) { return suspect === undefined; // eslint-disable-line no-undefined } function requireArgument (value, message) { if (isUndefined(value)) { throw new Error(message); } } function assign (target, sour...
JavaScript
0
@@ -113,20 +113,29 @@ urn +typeof( suspect +) === +' unde @@ -143,45 +143,10 @@ ined +' ; - // eslint-disable-line no-undefined %0A %7D
692a8551b35d9b624bcdf0ec04e8639c2e911695
Correct field name
src/model/transactions.js
src/model/transactions.js
import { Schema } from "mongoose"; import { connectionAPI, connectionDefault } from "../config"; // Request Schema definition const RequestDef = { host: String, port: String, path: String, headers: Object, querystring: String, body: String, method: String, timestamp: { type: Date, required: true ...
JavaScript
0.000201
@@ -2146,17 +2146,18 @@ (%7BchildI -d +Ds : 1, %22re
65013f9cdb18f9a78bcf9bed8dc4e77ca9d5fed3
fix uuid
app/assets/javascripts/scripts/plugins/workspace.data/mvc/workspace.data.view.js
app/assets/javascripts/scripts/plugins/workspace.data/mvc/workspace.data.view.js
/** * Created with JetBrains RubyMine. * User: teamco * Date: 11/24/12 * Time: 10:13 PM * To change this template use File | Settings | File Templates. */ define( [ 'modules/View', 'plugins/preferences/preferences', 'element/header.element', 'element/footer.element', '...
JavaScript
0.013232
@@ -4344,24 +4344,26 @@ +uu id: %5B%0A
8dfd371c6f4378530c89a66e623f1429b3ed04c3
Build pdf sandbox.
build/build.js
build/build.js
/* * Spreed WebRTC. * Copyright (C) 2013-2014 struktur AG * * This file is part of Spreed WebRTC. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License...
JavaScript
0
@@ -1685,16 +1685,128 @@ ue%0A%09%09%09%7D%0A +%09%09%7D,%0A%09%09%7B%0A%09%09%09name: 'sandboxes/pdf',%0A%09%09%09dir: './out/sandboxes',%0A%09%09%09override: %7B%0A%09%09%09%09skipModuleInsertion: true%0A%09%09%09%7D%0A %09%09%7D%0A%09%5D%0A%7D
dc04871bbe659d91fb838fe29c4eb1d40e3e067c
allow images from the headnode
lg_sv/webapps/client/js/pano.js
lg_sv/webapps/client/js/pano.js
var panoClient; function panoRunner() { init(); animate(0); } function getConfig(key, def) { key = key.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + key + "=([^&#]*)"), results = regex.exec(location.search); return results === null ? def : decodeURIComponent(results[...
JavaScript
0
@@ -34,16 +34,53 @@ ner() %7B%0A + THREE.ImageUtils.crossOrigin = '';%0A init()
6f47a30b4850f53253cf1457ed4cdb79f62ddada
Make general updates to build script.
build/build.js
build/build.js
#!/usr/bin/env node const hyperquest = require('hyperzip')(require('hyperdirect')) , bl = require('bl') , fs = require('fs') , path = require('path') , cheerio = require('cheerio') , files = require('./files') , testReplace = require('./test-replacements') ...
JavaScript
0
@@ -221,16 +221,130 @@ eerio')%0A + , encoding = 'utf8'%0A , nodeVersion = process.argv%5B2%5D%0A , nodeVersionRegexString = '%5C%5Cd+%5C%5C.%5C%5Cd+%5C%5C.%5C%5Cd+' %0A , f @@ -547,31 +547,27 @@ node/v$%7B -process.argv%5B2%5D +nodeVersion %7D/%60%0A @@ -710,31 +710,27 @@ tree/v$%7B -process.ar...
599681079eefaa888425117038961c0b4a1f284c
corrected the address
YamahaControlInterface.js
YamahaControlInterface.js
{ "name": "refreshButton", "type": "Button", "x": 0, "y": .85, "width": .15, "height": .15, "mode": "momentary", "color": "#000000", "stroke": "#aaaaaa", "ontouchstart": "interfaceManager.refreshInterface()", }, { "name" : "yamahaPower", "type" : "Button", "x" : 0, "y" : 0, "width" : .25, "height" : .25, "mode" :...
JavaScript
0.999998
@@ -358,19 +358,214 @@ in%22: -- +0, %22max%22: 1, +%0A %22 -max%22:1 +address%22 : %22/yamaha%22,%0A%7D,%0A%0A%7B%0A %22name%22 : %22yamahaVolumeUp%22,%0A %22type%22 : %22Button%22,%0A %22x%22 : 0, %22y%22 : .30,%0A %22width%22 : .25, %22height%22 : .25,%0A %22mode%22 : %22momentary%22,%0A %22label%22 : %22VolumeU...
e855175a5301caf55e3b5d87269e71fd529e0099
Fix build paths for v2 and v3 folders.
build/build.js
build/build.js
/* eslint-env node */ const fs = require('fs'); const zlib = require('zlib'); const rollup = require('rollup'); const uglify = require('uglify-js'); const babel = require('rollup-plugin-babel'); const replace = require('rollup-plugin-replace'); const {name, version, homepage} = require('../package.json'); const banner...
JavaScript
0
@@ -746,32 +746,35 @@ js',%0A name: ' +v2/ vue-auth',%0A%7D, %7B%0A @@ -808,16 +808,19 @@ name: ' +v3/ vue-auth
548d402f91439a63499cedd7e763952eccbde639
Remove uneeded args.
assets/js/components/dashboard-sharing/DashboardSharingSettingsButton.stories.js
assets/js/components/dashboard-sharing/DashboardSharingSettingsButton.stories.js
/** * DashboardSharingSettingsButton Component 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.o...
JavaScript
0
@@ -801,14 +801,8 @@ = ( - args ) =%3E @@ -837,20 +837,8 @@ tton - %7B ...args %7D /%3E;
2a1cdfcc0b4a762a2d0b5f12b55addeb0c44a5e3
Use same ticks for search-console graph.
assets/js/modules/search-console/components/module/ModuleOverviewWidget/Stats.js
assets/js/modules/search-console/components/module/ModuleOverviewWidget/Stats.js
/** * Stats component for ModuleOverviewWidget. * * Site Kit by Google, Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licen...
JavaScript
0
@@ -1179,16 +1179,356 @@ ) =%3E %7B%0A +%09const %7B compareRange, currentRange %7D = partitionReport( data, %7B dateRangeLength %7D );%0A%09const googleChartData = getSiteStatsDataForGoogleChart(%0A%09%09currentRange,%0A%09%09compareRange,%0A%09%09metrics%5B selectedStats %5D.label,%0A%09%09metrics%5B selectedStats ...
82d56bade62d79471b16abf3a327d8607bd38a4d
Wrap a method that is guaranteed to be there.
lib/JooseX/DOMBinding/JQuery.js
lib/JooseX/DOMBinding/JQuery.js
Module("JooseX.DOMBinding", function (module) { // Role for meta classes that implement bindings between Joose objects and DOM elements Role("JQueryMetaRole", { requires: ["getAttribute"], // and requires attribute $ that includes a jquery object methods: { han...
JavaScript
0.999999
@@ -1507,32 +1507,42 @@ fore%22, function +beforeGet () %7B%0A @@ -1996,22 +1996,21 @@ unction -before +after Set () %7B @@ -2554,11 +2554,11 @@ od(%22 -sho +dra w%22,
66a24096121e44ac10a9a11567e6e067749c33eb
build file update
build/index.js
build/index.js
(function (global, factory) { if (typeof define === "function" && define.amd) { define(['module'], factory); } else if (typeof exports !== "undefined") { factory(module); } else { var mod = { exports: {} }; factory(mod); global.index = mod.exports;...
JavaScript
0.000001
@@ -2847,17 +2847,16 @@ ion') %7B%0A -%0A
e60485352df13a58147df70641d07fa04bf0ae50
add error report
buildServer.js
buildServer.js
const Koa = require('koa'); const cors = require('koa2-cors'); const kjson = require('koa-json') const router = require('koa-router')(); const bodyParser = require('koa-bodyparser'); const JWT = require('jsonwebtoken'); const IO = require('socket.io'); const path = require('path'); const fs = require('fs'); const os = ...
JavaScript
0.000001
@@ -809,34 +809,63 @@ error%22,function( -)%7B +err)%7B%0A log.error(%22JOB%22,err); %0A q.current=f
24b620f987513ef8c6cfda2ee220927011811156
Make sure that we can play YouTube history items
youtube/model.js
youtube/model.js
'use strict'; const YT = require('./client'); const LocalModel = require('../local/models/playlists'); module.exports = class YouTubeModel { static history() { if (Cache.youtube.history) return Cache.youtube.history; return LocalModel.loadPlaylist(Paths.youtube_history).then((history) => { ...
JavaScript
0
@@ -2527,24 +2527,129 @@ cache) =%3E %7B%0A + if (section == 'history')%0A return cache.items.find(record =%3E record.id == id);%0A else%0A return
18c0e889e3ce0bad44de3844969a623d5d0b4c15
Update wew.js
examples/js/wew.js
examples/js/wew.js
function wew(WEW){ 'use strict'; this.uid = new Date; this.appid = WEW.opts.appID; this.ttl = WEW.opts.ttl; (this.storage = window.localStorage).setItem(this.uid, this.uid); } wew.prototype.getSet = function (setName,callback){ 'use strict'; var storageKey = setName || ""; console.log("setName: "+setName); ...
JavaScript
0.000001
@@ -1450,196 +1450,8 @@ ge;%0A -%09%09var w=window,d=document,%0A%09%09%09e=d.documentElement,g=d.getElementsByTagName('body')%5B0%5D,%0A%09%09%09x=w.innerWidth%7C%7Ce.clientWidth%7C%7Cg.clientWidth,%0A%09%09%09y=w.innerHeight%7C%7Ce.clientHeight%7C%7Cg.clientHeight;%0A %09%09va @@ -1507,17 +1507,29 @@ eight = -y +...
9590c0a567dec9a4257db77b61283d76dfa9c488
Update Fixer Node Argument Range (#3755)
eslint/cactbot-response-default-severities.js
eslint/cactbot-response-default-severities.js
module.exports = { meta: { type: 'suggestion', docs: { description: 'prevent explicit overrides where the response default is being used', category: 'Stylistic Issues', recommended: true, url: 'https://github.com/quisquous/cactbot/blob/main/docs/RaidbossGuide.md#trigger-elements', ...
JavaScript
0.000001
@@ -2585,13 +2585,16 @@ %5B0%5D. -start +range%5B0%5D , no @@ -2633,19 +2633,24 @@ th - 1%5D. -end +range%5B1%5D %5D,%0A
8ab7b8567073c9d14c77964d044d2872a015cdc5
Fix type ContextRouter (#820)
definitions/npm/react-router-dom_v4.x.x/flow_v0.38.x-/react-router-dom_v4.x.x.js
definitions/npm/react-router-dom_v4.x.x/flow_v0.38.x-/react-router-dom_v4.x.x.js
declare module 'react-router-dom' { declare export class BrowserRouter extends React$Component { props: { basename?: string, forceRefresh?: boolean, getUserConfirmation?: GetUserConfirmation, keyLength?: number, children?: React$Element<*>, } } declare export class HashRoute...
JavaScript
0.999999
@@ -2273,25 +2273,61 @@ r = -RouterHistory & %7B +%7B%0A history: RouterHistory,%0A location: Location, %0A
561cb895ec70a1d74f4b20ca4cbf3489c866eb2c
make sure to only hydrate on first pass
packages/react/dom.js
packages/react/dom.js
'use strict'; var React = require('react'); var ReactDOM = require('react-dom'); var ReactRouterDOM = require('react-router-dom'); var mixinable = require('mixinable'); var hopsConfig = require('hops-config'); exports.combineContexts = mixinable({ bootstrap: mixinable.parallel, enhanceElement: mixinable.pipe, ...
JavaScript
0
@@ -1072,20 +1072,32 @@ ();%0A -if ( +var isMounted = mountpoi @@ -1128,16 +1128,35 @@ psroot') +;%0A if (isMounted ) %7B%0A @@ -1446,16 +1446,30 @@ .hydrate + && !isMounted ) %7B%0A
1b9a7eca982b27b395ce4194b71b4416a3db935c
Limit to 25 characters
share/spice/zanran/spice.js
share/spice/zanran/spice.js
/* nr is the prefix for this function space. There's probably a way to do it in YUI that's not so awful, but I only know jQuery... */ function ddg_spice_zanran(zanran_results) { /* IE6 cannot be supported due to lack of max-width / min-width without rewriting everything */ if(YAHOO.env.ua.ie && YAHOO.env.ua....
JavaScript
0.999998
@@ -897,24 +897,401 @@ idiv);%0A %0A + var very_short_title = results%5Bi%5D.short_title;%0A if(very_short_title.length %3E 25) %7B%0A var words = very_short_title.split(/%5Cs+/);%0A very_short_title = %22%22;%0A while(words.length && very_short_title.length + 1 + words%5B0%5D.length %3C 25) %7...
458b7ceb9de07176689c5312b7a80ad2894bbd85
fix link
src/pages/boards/index.js
src/pages/boards/index.js
import React from "react"; import R from "ramda"; import { connect } from "react-redux"; import { compose } from "redux"; import { Link } from "react-router-dom"; import { firebaseConnect, isLoaded, isEmpty, dataToJS } from "react-redux-firebase"; class Boards extends React.Component { render() { return ...
JavaScript
0
@@ -509,18 +509,27 @@ + board. -id +public_code %7D%3E%7Bboard
db3605dc7b7c0c013bcc2bbb9c684e56884a318b
Update offline region example to show off pack status method
example/src/components/CreateOfflineRegion.js
example/src/components/CreateOfflineRegion.js
import React from 'react'; import { Text, View, TouchableOpacity, Dimensions, StyleSheet } from 'react-native'; import MapboxGL from '@mapbox/react-native-mapbox-gl'; import geoViewport from '@mapbox/geo-viewport'; import BaseExamplePropTypes from './common/BaseExamplePropTypes'; import Page from './common/Page'; impo...
JavaScript
0
@@ -24,16 +24,17 @@ t';%0A +%0A import %7B Tex @@ -33,20 +33,35 @@ rt %7B +%0A Alert,%0A Text, +%0A View, +%0A Tou @@ -74,16 +74,18 @@ Opacity, +%0A Dimensi @@ -88,16 +88,18 @@ ensions, +%0A StyleSh @@ -101,17 +101,18 @@ yleSheet - +,%0A %7D from ' @@ -122,24 +122,25 @@ ct-native';%0A +%0A i...
c9e69e233aaa0c72fae98c74a3226bad75a4a557
handle getting response headers on timeout with better chances of not getting a browser exception (good for debugging with breaking on all exceptions)
packages/util/ajax.js
packages/util/ajax.js
"use import"; import std.uri as URI; var SIMULTANEOUS = 4; var _inflight = 0; var doc; exports.getDoc = function() { if (doc) { return doc; } try { doc = window.ActiveXObject && new ActiveXObject('htmlfile'); if (doc) { doc.open().write('<html></html>'); doc.close(); window.attachEvent('onunload', fun...
JavaScript
0
@@ -3330,23 +3330,72 @@ = true;%0A +%09if (xhr.readyState %3E= xhr.HEADERS_RECEIVED) %7B%0A%09 %09try %7B%0A +%09 %09%09var he @@ -3431,16 +3431,17 @@ ders();%0A +%09 %09%7D catch @@ -3448,16 +3448,21 @@ (e) %7B%7D%0A +%09%7D%0A%09%0A %09request
1c066096053a7fe11aa14edad109707c827fad3d
fix pokemon api request
examples/code-splitting/modules/PokemonAPI.js
examples/code-splitting/modules/PokemonAPI.js
class Pokemons { async retrieve(id) { const response = await fetch(`http://pokeapi.co/api/v2/pokemon/${id}/`); return response.json(); } } export default new Pokemons();
JavaScript
0.000002
@@ -71,16 +71,17 @@ ch(%60http +s ://pokea
13b271d3d1f631f4d6b7247e2907e7065cd4fefb
add one more test
test/integration/cloud/profile.js
test/integration/cloud/profile.js
var { CloudContext } = require('./utils'); describe('User profile story', () => { let ctx = new CloudContext(); let aliceData = ctx.userData.alice; let bobData = ctx.userData.bob; let newBobData = { name: bobData.name, hates: bobData.likes, }; describe('When alice gets her account without creating...
JavaScript
0.000003
@@ -5369,32 +5369,154 @@ elete();%0A %7D); +%0A%0A ctx.requestShouldError(404, async () =%3E %7B%0A ctx.response = await ctx.alice.user(ctx.alice.userId).get();%0A %7D); %0A %7D);%0A%0A descri