repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/reflect.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/reflect.js | // This is modified from Mozilla Reflect.parse test suite (the file is located
// at js/src/tests/js1_8_5/extensions/reflect-parse.js in the source tree).
//
// Some notable changes:
// * Removed unsupported features (destructuring, let, comprehensions...).
// * Removed tests for E4X (ECMAScript for XML).
// * Re... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/harmonytest.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/harmonytest.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/compare.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/compare.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@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 reta... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/test.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/test.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/compat.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/compat.js | /*
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/run.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/run.js | /*
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/benchmarks.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/benchmarks.js | /*
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@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... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/module.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/module.js | /*jslint browser:true plusplus:true */
/*global require:true */
function runTests() {
'use strict';
function setText(el, str) {
if (typeof el.innerText === 'string') {
el.innerText = str;
} else {
el.textContent = str;
}
}
function reportSuccess(code) {
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/ext-core-3.1.0.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/ext-core-3.1.0.js | /*!
* Ext Core Library 3.0
* http://extjs.com/
* Copyright(c) 2006-2009, Ext JS, LLC.
*
* MIT Licensed - http://extjs.com/license/mit.txt
*/
// for old browsers
window.undefined = window.undefined;
/**
* @class Ext
* Ext core utilities and functions.
* @singleton
*/
Ext = {
/**
* The version of t... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/modifier.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/modifier.js | var modifier = function() {var parse = esprima.parse, Syntax = esprima.Syntax;
var Modifier = (function () {
function Modifier(src) {
this.ast = parse(src, { loc: true });
this.lines = src.split('\n');
}
Modifier.prototype.finish = function() {
return this.lines.join('\n');
};
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/platform.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/platform.js | /*!
* Platform.js v1.0.0-pre <http://mths.be/platform>
* Copyright 2010-2012 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <http://mths.be/mit>
*/
;(function(window) {
/** Backup possible window/global object */
var oldWin = window;
/** Detect free variable `exports` */
var f... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/esmorph.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/esmorph.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/acorn.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/acorn.js | // Acorn is a tiny, fast JavaScript parser written in JavaScript.
//
// Acorn was written by Marijn Haverbeke and released under an MIT
// license. The Unicode regexps (for identifiers and whitespace) were
// taken from [Esprima](http://esprima.org) by Ariya Hidayat.
//
// Git repositories for Acorn are available at
//... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/mootools-1.3.2.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/mootools-1.3.2.js | /*
---
MooTools: the javascript framework
web build:
- http://mootools.net/core/7c56cfef9dddcf170a5d68e3fb61cfd7
packager build:
- packager build Core/Core Core/Array Core/String Core/Number Core/Function Core/Object Core/Event Core/Browser Core/Class Core/Class.Extras Core/Slick.Parser Core/Slick.Finder Core/Eleme... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/prototype-1.6.1.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/prototype-1.6.1.js | /* Prototype JavaScript framework, version 1.6.1
* (c) 2005-2009 Sam Stephenson
*
* Prototype is freely distributable under the terms of an MIT-style license.
* For details, see the Prototype web site: http://www.prototypejs.org/
*
*--------------------------------------------------------------------------*/
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/harmonizr.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/harmonizr.js | var harmonizr = function() {var parse = esprima.parse, Syntax = esprima.Syntax;
var Modifier = modifier.Modifier;
var Modifier = Modifier;
function harmonize(src, options) {
options = options || {};
var modifier = new Modifier(src);
var stages = [
{name: 'shorthand properties', fn: processShorthan... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/jquery-1.6.4.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/jquery-1.6.4.js | /*!
* jQuery JavaScript Library v1.6.4
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/XMLHttpRequest.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/XMLHttpRequest.js | /**
* XMLHttpRequest.js Copyright (C) 2011 Sergey Ilinsky (http://www.ilinsky.com)
*
* This work is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/jquery-1.7.1.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/jquery-1.7.1.js | /*!
* jQuery JavaScript Library v1.7.1
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/underscore-1.2.3.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/underscore-1.2.3.js | // Underscore.js 1.2.3
// (c) 2009-2011 Jeremy Ashkenas, DocumentCloud Inc.
// Underscore is freely distributable under the MIT license.
// Portions of Underscore are inspired or borrowed from Prototype,
// Oliver Steele's Functional, and John Resig's Micro-Templating.
// For all details and doc... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/escodegen.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/escodegen.js | /*
Copyright (C) 2012 Michael Ficarra <escodegen.copyright@michael.ficarra.me>
Copyright (C) 2012 Robert Gust-Bardon <donate@robert.gust-bardon.org>
Copyright (C) 2012 John Freeman <jfreeman08@gmail.com>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Mathias Bynens <mathias@qiwi... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/benchmark.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/benchmark.js | /*!
* Benchmark.js v1.0.0 <http://benchmarkjs.com/>
* Copyright 2010-2012 Mathias Bynens <http://mths.be/>
* Based on JSLitmus.js, copyright Robert Kieffer <http://broofa.com/>
* Modified by John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <http://mths.be/mit>
*/
;(function(window, unde... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/mootools-1.4.1.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/mootools-1.4.1.js | /*
---
MooTools: the javascript framework
web build:
- http://mootools.net/core/76bf47062d6c1983d66ce47ad66aa0e0
packager build:
- packager build Core/Core Core/Array Core/String Core/Number Core/Function Core/Object Core/Event Core/Browser Core/Class Core/Class.Extras Core/Slick.Parser Core/Slick.Finder Core/Eleme... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/prototype-1.7.0.0.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/prototype-1.7.0.0.js | /* Prototype JavaScript framework, version 1.7
* (c) 2005-2010 Sam Stephenson
*
* Prototype is freely distributable under the terms of an MIT-style license.
* For details, see the Prototype web site: http://www.prototypejs.org/
*
*--------------------------------------------------------------------------*/
v... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/parse-js.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/parse-js.js | /***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
This version is suitable for Node.js. With minimal changes (the
exports stuff) it should work on any JS platform.
This file contains the tokenizer/parser. It is a port to Java... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/backbone-0.5.3.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/backbone-0.5.3.js | // Backbone.js 0.5.3
// (c) 2010 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://documentcloud.github.com/backbone
(function(){
// Initial Setup
// -------------
// Save a reference to the globa... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/ext-core-3.0.0.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/ext-core-3.0.0.js | /*
* Ext Core Library 3.0
* http://extjs.com/
* Copyright(c) 2006-2009, Ext JS, LLC.
*
* MIT Licensed - http://extjs.com/license/mit.txt
*
*/
// for old browsers
window.undefined = window.undefined;
Ext = {
version: '3.0'
};
Ext.apply = function(o, c, defaults){
// no "this" reference for f... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/jquery.mobile-1.0.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/jquery.mobile-1.0.js | /*
* jQuery Mobile Framework 1.0
* http://jquerymobile.com
*
* Copyright 2011 (c) jQuery Project
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
*/
/*!
* jQuery UI Widget @VERSION
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/bin/esparse.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/bin/esparse.js | #!/usr/bin/env node
/*
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@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... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/require.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/require.js | /*
RequireJS 2.0.4 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
Available via the MIT or new BSD license.
see: http://github.com/jrburke/requirejs for details
*/
var requirejs,require,define;
(function(Y){function x(b){return J.call(b)==="[object Function]"}function G(b){return J.call(b)==="[obj... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/json2.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/json2.js | /*
http://www.JSON.org/json2.js
2011-10-19
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/codemirror/codemirror.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/codemirror/codemirror.js | // CodeMirror version 2.32
//
// All functions that need access to the editor's state live inside
// the CodeMirror function. Below that, at the bottom of the file,
// some utilities are defined.
// CodeMirror is the only global var we claim
var CodeMirror = (function() {
// This is the function that produces an edi... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/codemirror/javascript.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/codemirror/javascript.js | CodeMirror.defineMode("javascript", function(config, parserConfig) {
var indentUnit = config.indentUnit;
var jsonMode = parserConfig.json;
// Tokenizer
var keywords = function(){
function kw(type) {return {type: type, style: "keyword"};}
var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword c"... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/yui/yahoo-dom-event.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/yui/yahoo-dom-event.js | /*
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.9.0
*/
if(typeof YAHOO=="undefined"||!YAHOO){var YAHOO={};}YAHOO.namespace=function(){var b=arguments,g=null,e,c,f;for(e=0;e<b.length;e=e+1){f=(""+b[e]).split(".");g=YAHOO;... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/yui/treeview-min.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/yui/treeview-min.js | /*
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.9.0
*/
(function(){var d=YAHOO.util.Dom,b=YAHOO.util.Event,f=YAHOO.lang,e=YAHOO.widget;YAHOO.widget.TreeView=function(h,g){if(h){this.init(h);}if(g){this.buildTreeFromObjec... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/prettify/prettify.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/assets/prettify/prettify.js | var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.to... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/examples/detectnestedternary.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/examples/detectnestedternary.js | // Usage: node detectnestedternary.js /path/to/some/directory
// For more details, please read http://esprima.org/doc/#nestedternary
/*jslint node:true sloppy:true plusplus:true */
var fs = require('fs'),
esprima = require('../esprima'),
dirname = process.argv[2];
// Executes visitor on the object and its c... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/examples/tokendist.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/examples/tokendist.js | /*jslint node:true */
var fs = require('fs'),
esprima = require('../esprima'),
files = process.argv.splice(2),
histogram,
type;
histogram = {
Boolean: 0,
Identifier: 0,
Keyword: 0,
Null: 0,
Numeric: 0,
Punctuator: 0,
RegularExpression: 0,
String: 0
};
files.forEach(func... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/examples/findbooleantrap.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/examples/findbooleantrap.js | // Usage: node findbooleantrap.js /path/to/some/directory
// For more details, please read http://esprima.org/doc/#booleantrap.
/*jslint node:true sloppy:true plusplus:true */
var fs = require('fs'),
esprima = require('../esprima'),
dirname = process.argv[2],
doubleNegativeList = [];
// Black-list of te... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/collector.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/collector.js | /*
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/checkenv.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/checkenv.js | /*
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/rewrite.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/rewrite.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/transpile.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/transpile.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/functiontrace.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/functiontrace.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/highlight.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/highlight.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/validate.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/validate.js | /*jslint sloppy:true browser:true */
/*global esprima:true, CodeMirror:true */
var validateId;
function validate(delay) {
if (validateId) {
window.clearTimeout(validateId);
}
validateId = window.setTimeout(function () {
var code, result, i, str;
if (typeof window.editor === 'undef... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/minify.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/node_modules/esprima-six/demo/minify.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/test/check.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/test/check.js | var test = require('tape');
var fs = require('fs');
var check = require('../');
var file = __dirname + '/sources/check.js';
var src = fs.readFileSync(file);
test(function (t) {
var err = check(src, file);
t.ok(err);
t.equal(err.line, 5);
t.equal(err.column, 30);
t.equal(err.message, 'Unexpected i... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/test/sources/check.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/test/sources/check.js | module.exports = function (xs, fn) {
var res = [];
for (var i = 0; i < xs.length; i++) {
var x = fn(xs[i], i);
if (Array.isArray(x) res.push.apply(res, x);
else res.push(x);
}
return res;
};
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/example/src.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/example/src.js | module.exports = function (xs, fn) {
var res = [];
for (var i = 0; i < xs.length; i++) {
var x = fn(xs[i], i);
if (Array.isArray(x) res.push.apply(res, x);
else res.push(x);
}
return res;
};
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/example/check.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/syntax-error/example/check.js | var fs = require('fs');
var check = require('../');
var file = __dirname + '/src.js';
var src = fs.readFileSync(file);
var err = check(src, file);
if (err) {
console.error('ERROR DETECTED' + Array(62).join('!'));
console.error(err);
console.error(Array(76).join('-'));
}
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/main.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/main.js | // DOM APIs, for completeness
if (typeof setTimeout !== 'undefined') exports.setTimeout = setTimeout;
if (typeof clearTimeout !== 'undefined') exports.clearTimeout = clearTimeout;
if (typeof setInterval !== 'undefined') exports.setInterval = setInterval;
if (typeof clearInterval !== 'undefined') exports.clearInterval ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/node_modules/process/index.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/node_modules/process/index.js | // for now just expose the builtin process global from node.js
module.exports = global.process;
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/node_modules/process/browser.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/node_modules/process/browser.js | // shim for using process in browser
var process = module.exports = {};
process.nextTick = (function () {
var canSetImmediate = typeof window !== 'undefined'
&& window.setImmediate;
var canPost = typeof window !== 'undefined'
&& window.postMessage && window.addEventListener
;
if (canSetImmedi... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/example/enroll/server.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/example/enroll/server.js | var connect = require('connect');
var server = connect.createServer();
server.use(connect.static(__dirname));
var browserify = require('browserify');
var bundle = browserify(__dirname + '/js/main.js', { mount: '/js/browserify.js' });
server.use(bundle);
var port = parseInt(process.argv[2] || 8080, 10);
server.listen(... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/example/enroll/js/browserify.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/example/enroll/js/browserify.js | var require = function (file, cwd) {
var resolved = require.resolve(file, cwd || '/');
var mod = require.modules[resolved];
if (!mod) throw new Error(
'Failed to resolve module ' + file + ', tried ' + resolved
);
var res = mod._cached ? mod._cached : mod();
return res;
}
require.paths =... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/example/enroll/js/main.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/timers-browserify/example/enroll/js/main.js | var timers = require('timers');
var obj = {
_onTimeout: function() {
console.log('Timer ran for: ' + (new Date().getTime() - obj.now) + ' ms');
},
start: function() {
console.log('Timer should run for 100 ms');
this.now = new Date().getTime();
timers.enroll(this, 100);
}
};
obj.start();
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/index.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/index.js | var pSlice = Array.prototype.slice;
var objectKeys = require('./lib/keys.js');
var isArguments = require('./lib/is_arguments.js');
var deepEqual = module.exports = function (actual, expected, opts) {
if (!opts) opts = {};
// 7.1. All identical values are equivalent, as determined by ===.
if (actual === expected)... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/test/cmp.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/test/cmp.js | var test = require('tape');
var equal = require('../');
var isArguments = require('../lib/is_arguments.js');
var objectKeys = require('../lib/keys.js');
test('equal', function (t) {
t.ok(equal(
{ a : [ 2, 3 ], b : [ 4 ] },
{ a : [ 2, 3 ], b : [ 4 ] }
));
t.end();
});
test('not equal', func... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/example/cmp.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/example/cmp.js | var equal = require('../');
console.dir([
equal(
{ a : [ 2, 3 ], b : [ 4 ] },
{ a : [ 2, 3 ], b : [ 4 ] }
),
equal(
{ x : 5, y : [6] },
{ x : 5, y : 6 }
)
]);
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/lib/is_arguments.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/lib/is_arguments.js | var supportsArgumentsClass = (function(){
return Object.prototype.toString.call(arguments)
})() == '[object Arguments]';
exports = module.exports = supportsArgumentsClass ? supported : unsupported;
exports.supported = supported;
function supported(object) {
return Object.prototype.toString.call(object) == '[objec... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/lib/keys.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/deep-equal/lib/keys.js | exports = module.exports = typeof Object.keys === 'function'
? Object.keys : shim;
exports.shim = shim;
function shim (obj) {
var keys = [];
for (var key in obj) keys.push(key);
return keys;
}
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/index.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/index.js | 'use strict';
var estraverse = require('estraverse');
var esprima = require('esprima-six');
var esrefactor = require('esrefactor');
var requireRegexp = /require.*\(.*['"]/m;
function testParse (code) {
try{
return esprima.parse(code,{range:true});
}catch(e){}
}
function rename(code, tokenTo, tokenFrom... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/esprima.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/esprima.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 20... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/runner.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/runner.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/reflect.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/reflect.js | // This is modified from Mozilla Reflect.parse test suite (the file is located
// at js/src/tests/js1_8_5/extensions/reflect-parse.js in the source tree).
//
// Some notable changes:
// * Removed unsupported features (destructuring, let, comprehensions...).
// * Removed tests for E4X (ECMAScript for XML).
// * Re... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/test.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/test.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/compat.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/compat.js | /*
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@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 ... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/run.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/test/run.js | /*
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/bin/esvalidate.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/bin/esvalidate.js | #!/usr/bin/env node
/*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/bin/esparse.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/esprima/bin/esparse.js | #!/usr/bin/env node
/*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@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 s... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/estraverse/estraverse.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/estraverse/estraverse.js | /*
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/escope/escope.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/escope/escope.js | /*
Copyright (C) 2012-2013 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2013 Alex Seville <hi@alexanderseville.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 re... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/escope/Gruntfile.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/node_modules/escope/Gruntfile.js | /*
Copyright (C) 2013 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 | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/run.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/run.js | /*
Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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 reta... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_invalid_range.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_invalid_range.js | // exception: esrefactor.Context only accepts a syntax tree with range information
context.setCode({ type: 'Program', range: [1, 2, 3]});
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/arguments2.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/arguments2.js | function test (xx, yy) {} // cursor:xx declaration:xx
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_empty.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_empty.js | // exception: Unable to identify anything without a syntax tree
context.identify(0)
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_scope_manager.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_scope_manager.js | // exception: Cannot read property 'type' of null
context.setCode({ type: 'RandomInvalidStuff' });
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/shadowed_argument.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/shadowed_argument.js | function test(alpha, beta, zeta) {
var gamma = alpha + beta;
// 'zeta' does not refer to the above function parameter
var zeta = 42 / gamma; // declaration:zeta reference:zeta
return zeta; // cursor:zeta reference:zeta
}
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/global_init.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/global_init.js | var answer = 42; // declaration:answer reference:answer
++answer; // cursor:answer reference:answer
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/global_leak.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/global_leak.js | answer = 42; // cursor:answer reference:answer
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/global_declaration.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/global_declaration.js | var answer; // declaration:answer
answer = 42; // cursor:answer reference:answer
console.log('The answer is', answer); // reference:answer
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/typo.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/typo.js | function test() {}
tst(x, y, z); // cursor:tst reference:tst
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/arguments3.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/arguments3.js | function test(xx, yy, zz) {} // cursor:yy declaration:yy
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/unused_declaration.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/unused_declaration.js | function test(x, y) {
return x + y
var unused; // cursor:unused declaration:unused
}
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/function_expression.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/function_expression.js | test() // cursor:test reference:test
var test = function() { return x + y } // declaration:test reference:test
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/global_scope.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/global_scope.js | var test; // declaration:test
function f() {
var s = test / 2; // reference:test
return test * s; // cursor:test reference:test
}
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_noscope.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_noscope.js | // exception: Unable to identify anything without a valid scope manager
context.setCode('42');
// manual hijacking
context._scopeManager = null;
context.identify(1);
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/nested_functions.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/nested_functions.js | function x() {
function y() {} // declaration:y
return y; // cursor:y reference:y
}
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_nocode.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/error_nocode.js | // exception:Unable to rename without the original source
context.rename({ type: 'Program' }, '$');
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/function_declaration.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/function_declaration.js | test() // cursor:test reference:test
function test() { return x + y } // declaration:test
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/arguments4.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/arguments4.js | list.map(function(i, j) { // declaration:j
return i * j // cursor:j reference:j
});
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/arguments1.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/test/data/arguments1.js | [1,4,2,3,-8].filter(function(i) { // declaration:i
var max = 3;
function other(i) { i + 2; }
return i < max // cursor:i reference:i
});
| javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/lib/esrefactor.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esrefactor/lib/esrefactor.js | /*
Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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 reta... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/estraverse/estraverse.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/estraverse/estraverse.js | /*
Copyright (C) 2012-2013 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@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 r... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esprima-six/esprima.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esprima-six/esprima.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 20... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | true |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esprima-six/tools/generate-test-fixture.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esprima-six/tools/generate-test-fixture.js | // #!/usr/bin/env node
/*
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esprima-six/test/runner.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esprima-six/test/runner.js | /*
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
kwhinnery/node-workshop | https://github.com/kwhinnery/node-workshop/blob/594bfc6bebf38d34a36b797e48f6f6d4600da5e4/challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esprima-six/test/reflect.js | challenge6/finished/node_modules/browserify-middleware/node_modules/browserify/node_modules/derequire/node_modules/esprima-six/test/reflect.js | // This is modified from Mozilla Reflect.parse test suite (the file is located
// at js/src/tests/js1_8_5/extensions/reflect-parse.js in the source tree).
//
// Some notable changes:
// * Removed unsupported features (destructuring, let, comprehensions...).
// * Removed tests for E4X (ECMAScript for XML).
// * Re... | javascript | MIT | 594bfc6bebf38d34a36b797e48f6f6d4600da5e4 | 2026-01-05T03:35:40.007163Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.