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/node_modules/glob/node_modules/minimatch/test/basic.js | challenge6/finished/node_modules/browserify/node_modules/glob/node_modules/minimatch/test/basic.js | // http://www.bashcookbook.com/bashinfo/source/bash-1.14.7/tests/glob-test
//
// TODO: Some of these tests do very bad things with backslashes, and will
// most likely fail badly on windows. They should probably be skipped.
var tap = require("tap")
, globalBefore = Object.keys(global)
, mm = require("../")
, fi... | 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/node_modules/glob/node_modules/minimatch/test/extglob-ending-with-state-char.js | challenge6/finished/node_modules/browserify/node_modules/glob/node_modules/minimatch/test/extglob-ending-with-state-char.js | var test = require('tap').test
var minimatch = require('../')
test('extglob ending with statechar', function(t) {
t.notOk(minimatch('ax', 'a?(b*)'))
t.ok(minimatch('ax', '?(a*|b)'))
t.end()
})
| 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/node_modules/glob/node_modules/minimatch/test/brace-expand.js | challenge6/finished/node_modules/browserify/node_modules/glob/node_modules/minimatch/test/brace-expand.js | var tap = require("tap")
, minimatch = require("../")
tap.test("brace expansion", function (t) {
// [ pattern, [expanded] ]
; [ [ "a{b,c{d,e},{f,g}h}x{y,z}"
, [ "abxy"
, "abxz"
, "acdxy"
, "acdxz"
, "acexy"
, "acexz"
, "afhxy"
, "afhxz"
, "agh... | 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/node_modules/glob/node_modules/minimatch/test/defaults.js | challenge6/finished/node_modules/browserify/node_modules/glob/node_modules/minimatch/test/defaults.js | // http://www.bashcookbook.com/bashinfo/source/bash-1.14.7/tests/glob-test
//
// TODO: Some of these tests do very bad things with backslashes, and will
// most likely fail badly on windows. They should probably be skipped.
var tap = require("tap")
, globalBefore = Object.keys(global)
, mm = require("../")
, fi... | 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/node_modules/glob/node_modules/minimatch/test/caching.js | challenge6/finished/node_modules/browserify/node_modules/glob/node_modules/minimatch/test/caching.js | var Minimatch = require("../minimatch.js").Minimatch
var tap = require("tap")
tap.test("cache test", function (t) {
var mm1 = new Minimatch("a?b")
var mm2 = new Minimatch("a?b")
t.equal(mm1, mm2, "should get the same object")
// the lru should drop it after 100 entries
for (var i = 0; i < 100; i ++) {
new... | 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/node_modules/glob/test/bash-comparison.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/bash-comparison.js | // basic test
// show that it does the same thing by default as the shell.
var tap = require("tap")
, child_process = require("child_process")
, bashResults = require("./bash-results.json")
, globs = Object.keys(bashResults)
, glob = require("../")
, path = require("path")
// run from the root of the project
// this 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/node_modules/glob/test/nocase-nomagic.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/nocase-nomagic.js | var fs = require('fs');
var test = require('tap').test;
var glob = require('../');
test('mock fs', function(t) {
var stat = fs.stat
var statSync = fs.statSync
var readdir = fs.readdir
var readdirSync = fs.readdirSync
function fakeStat(path) {
var ret
switch (path.toLowerCase()) {
case '/tmp': ... | 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/node_modules/glob/test/zz-cleanup.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/zz-cleanup.js | // remove the fixtures
var tap = require("tap")
, rimraf = require("rimraf")
, path = require("path")
tap.test("cleanup fixtures", function (t) {
rimraf(path.resolve(__dirname, "a"), function (er) {
t.ifError(er, "removed")
t.end()
})
})
| 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/node_modules/glob/test/new-glob-optional-options.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/new-glob-optional-options.js | var Glob = require('../glob.js').Glob;
var test = require('tap').test;
test('new glob, with cb, and no options', function (t) {
new Glob(__filename, function(er, results) {
if (er) throw er;
t.same(results, [__filename]);
t.end();
});
});
| 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/node_modules/glob/test/readme-issue.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/readme-issue.js | var test = require("tap").test
var glob = require("../")
var mkdirp = require("mkdirp")
var fs = require("fs")
var rimraf = require("rimraf")
var dir = __dirname + "/package"
test("setup", function (t) {
mkdirp.sync(dir)
fs.writeFileSync(dir + "/package.json", "{}", "ascii")
fs.writeFileSync(dir + "/README", "x... | 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/node_modules/glob/test/pause-resume.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/pause-resume.js | // show that no match events happen while paused.
var tap = require("tap")
, child_process = require("child_process")
// just some gnarly pattern with lots of matches
, pattern = "test/a/!(symlink)/**"
, bashResults = require("./bash-results.json")
, patterns = Object.keys(bashResults)
, glob = require("../")
, Glob = ... | 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/node_modules/glob/test/cwd-test.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/cwd-test.js | var tap = require("tap")
var origCwd = process.cwd()
process.chdir(__dirname)
tap.test("changing cwd and searching for **/d", function (t) {
var glob = require('../')
var path = require('path')
t.test('.', function (t) {
glob('**/d', function (er, matches) {
t.ifError(er)
t.like(matches, [ 'a/b/... | 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/node_modules/glob/test/00-setup.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/00-setup.js | // just a little pre-run script to set up the fixtures.
// zz-finish cleans it up
var mkdirp = require("mkdirp")
var path = require("path")
var i = 0
var tap = require("tap")
var fs = require("fs")
var rimraf = require("rimraf")
var files =
[ "a/.abcdef/x/y/z/a"
, "a/abcdef/g/h"
, "a/abcfed/g/h"
, "a/b/c/d"
, "a/bc/e... | 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/node_modules/glob/test/root.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/root.js | var t = require("tap")
var origCwd = process.cwd()
process.chdir(__dirname)
var glob = require('../')
var path = require('path')
t.test('.', function (t) {
glob('/b*/**', { globDebug: true, root: '.' }, function (er, matches) {
t.ifError(er)
t.like(matches, [])
t.end()
})
})
t.test('a', function (t... | 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/node_modules/glob/test/stat.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/stat.js | var glob = require('../')
var test = require('tap').test
var path = require('path')
test('stat all the things', function(t) {
var g = new glob.Glob('a/*abc*/**', { stat: true, cwd: __dirname })
var matches = []
g.on('match', function(m) {
matches.push(m)
})
var stats = []
g.on('stat', function(m) {
... | 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/node_modules/glob/test/root-nomount.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/root-nomount.js | var tap = require("tap")
var origCwd = process.cwd()
process.chdir(__dirname)
tap.test("changing root and searching for /b*/**", function (t) {
var glob = require('../')
var path = require('path')
t.test('.', function (t) {
glob('/b*/**', { globDebug: true, root: '.', nomount: true }, function (er, matches)... | 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/node_modules/glob/test/globstar-match.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/globstar-match.js | var Glob = require("../glob.js").Glob
var test = require('tap').test
test('globstar should not have dupe matches', function(t) {
var pattern = 'a/**/[gh]'
var g = new Glob(pattern, { cwd: __dirname })
var matches = []
g.on('match', function(m) {
console.error('match %j', m)
matches.push(m)
})
g.on(... | 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/node_modules/glob/test/mark.js | challenge6/finished/node_modules/browserify/node_modules/glob/test/mark.js | var test = require("tap").test
var glob = require('../')
process.chdir(__dirname)
// expose timing issues
var lag = 5
glob.Glob.prototype._stat = function(o) { return function(f, cb) {
var args = arguments
setTimeout(function() {
o.call(this, f, cb)
}.bind(this), lag += 5)
}}(glob.Glob.prototype._stat)
tes... | 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/node_modules/glob/examples/usr-local.js | challenge6/finished/node_modules/browserify/node_modules/glob/examples/usr-local.js | var Glob = require("../").Glob
var pattern = "{./*/*,/*,/usr/local/*}"
console.log(pattern)
var mg = new Glob(pattern, {mark: true}, function (er, matches) {
console.log("matches", matches)
})
console.log("after")
| 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/node_modules/glob/examples/g.js | challenge6/finished/node_modules/browserify/node_modules/glob/examples/g.js | var Glob = require("../").Glob
var pattern = "test/a/**/[cg]/../[cg]"
console.log(pattern)
var mg = new Glob(pattern, {mark: true, sync:true}, function (er, matches) {
console.log("matches", matches)
})
console.log("after")
| 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/node_modules/defined/index.js | challenge6/finished/node_modules/browserify/node_modules/defined/index.js | module.exports = function () {
for (var i = 0; i < arguments.length; i++) {
if (arguments[i] !== undefined) return arguments[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/node_modules/defined/test/def.js | challenge6/finished/node_modules/browserify/node_modules/defined/test/def.js | var defined = require('../');
var test = require('tape');
test('defined-or', function (t) {
var u = undefined;
t.equal(defined(), u, 'empty arguments');
t.equal(defined(u), u, '1 undefined');
t.equal(defined(u, u), u, '2 undefined');
t.equal(defined(u, u, u, u), u, '4 undefineds');
t.... | 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/node_modules/defined/example/defined.js | challenge6/finished/node_modules/browserify/node_modules/defined/example/defined.js | var defined = require('../');
var opts = { y : false, w : 4 };
var x = defined(opts.x, opts.y, opts.w, 8);
console.log(x);
| 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/node_modules/https-browserify/index.js | challenge6/finished/node_modules/browserify/node_modules/https-browserify/index.js | var http = require('http');
var https = module.exports;
for (var key in http) {
if (http.hasOwnProperty(key)) https[key] = http[key];
};
https.request = function (params, cb) {
if (!params) params = {};
params.scheme = 'https';
return http.request.call(this, params, cb);
}
| 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/node_modules/console-browserify/index.js | challenge6/finished/node_modules/browserify/node_modules/console-browserify/index.js | /*global window, global*/
var util = require("util")
var assert = require("assert")
var slice = Array.prototype.slice
var console
var times = {}
if (typeof global !== "undefined" && global.console) {
console = global.console
} else if (typeof window !== "undefined" && window.console) {
console = window.consol... | 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/node_modules/console-browserify/test/index.js | challenge6/finished/node_modules/browserify/node_modules/console-browserify/test/index.js | var console = require("../index")
var test = require("tape")
if (typeof window !== "undefined" && !window.JSON) {
window.JSON = require("jsonify")
}
test("console has expected methods", function (assert) {
assert.ok(console.log)
assert.ok(console.info)
assert.ok(console.warn)
assert.ok(console.dir... | 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/node_modules/console-browserify/test/static/test-adapter.js | challenge6/finished/node_modules/browserify/node_modules/console-browserify/test/static/test-adapter.js | (function () {
var Testem = window.Testem
var regex = /^((?:not )?ok) (\d+) (.+)$/
Testem.useCustomAdapter(tapAdapter)
function tapAdapter(socket){
var results = {
failed: 0
, passed: 0
, total: 0
, tests: []
}
socket.emit('tests... | 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/node_modules/syntax-error/index.js | challenge6/finished/node_modules/browserify/node_modules/syntax-error/index.js | var esprima = require('esprima-six');
module.exports = function (src, file) {
if (typeof src !== 'string') src = String(src);
try {
Function(src);
return;
}
catch (err) {
if (err.constructor.name !== 'SyntaxError') throw err;
return errorInfo(src, file);
}
};
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/node_modules/syntax-error/node_modules/esprima-six/esprima.js | challenge6/finished/node_modules/browserify/node_modules/syntax-error/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/node_modules/syntax-error/node_modules/esprima-six/tools/generate-test-fixture.js | challenge6/finished/node_modules/browserify/node_modules/syntax-error/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/node_modules/syntax-error/node_modules/esprima-six/test/runner.js | challenge6/finished/node_modules/browserify/node_modules/syntax-error/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/node_modules/syntax-error/node_modules/esprima-six/test/reflect.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/harmonytest.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/compare.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/test.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/compat.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/run.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/benchmarks.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/module.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/ext-core-3.1.0.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/modifier.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/platform.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/esmorph.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/acorn.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/mootools-1.3.2.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/prototype-1.6.1.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/harmonizr.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/jquery-1.6.4.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/XMLHttpRequest.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/jquery-1.7.1.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/underscore-1.2.3.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/escodegen.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/benchmark.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/mootools-1.4.1.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/prototype-1.7.0.0.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/parse-js.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/backbone-0.5.3.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/ext-core-3.0.0.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/test/3rdparty/jquery.mobile-1.0.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/bin/esparse.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/assets/require.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/assets/json2.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/assets/codemirror/codemirror.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/assets/codemirror/javascript.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/assets/yui/yahoo-dom-event.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/assets/yui/treeview-min.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/assets/prettify/prettify.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/examples/detectnestedternary.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/examples/tokendist.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/examples/findbooleantrap.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/demo/collector.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/demo/checkenv.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/demo/rewrite.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/demo/transpile.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/demo/functiontrace.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/demo/highlight.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/demo/validate.js | challenge6/finished/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/node_modules/syntax-error/node_modules/esprima-six/demo/minify.js | challenge6/finished/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/node_modules/syntax-error/test/check.js | challenge6/finished/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/node_modules/syntax-error/test/sources/check.js | challenge6/finished/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/node_modules/syntax-error/example/src.js | challenge6/finished/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/node_modules/syntax-error/example/check.js | challenge6/finished/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/node_modules/timers-browserify/main.js | challenge6/finished/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/node_modules/timers-browserify/node_modules/process/index.js | challenge6/finished/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/node_modules/timers-browserify/node_modules/process/browser.js | challenge6/finished/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/node_modules/timers-browserify/example/enroll/server.js | challenge6/finished/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/node_modules/timers-browserify/example/enroll/js/browserify.js | challenge6/finished/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/node_modules/timers-browserify/example/enroll/js/main.js | challenge6/finished/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/node_modules/deep-equal/index.js | challenge6/finished/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/node_modules/deep-equal/test/cmp.js | challenge6/finished/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/node_modules/deep-equal/example/cmp.js | challenge6/finished/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/node_modules/deep-equal/lib/is_arguments.js | challenge6/finished/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/node_modules/deep-equal/lib/keys.js | challenge6/finished/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/node_modules/buffer/index.js | challenge6/finished/node_modules/browserify/node_modules/buffer/index.js | /**
* The buffer module from node.js, for the browser.
*
* Author: Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* License: MIT
*
* `npm install buffer`
*/
var base64 = require('base64-js')
var ieee754 = require('ieee754')
exports.Buffer = Buffer
exports.SlowBuffer = Buffer
exports.INSPECT_MAX... | 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/node_modules/buffer/bundle.js | challenge6/finished/node_modules/browserify/node_modules/buffer/bundle.js | require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]... | 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/node_modules/buffer/node_modules/ieee754/index.js | challenge6/finished/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js | exports.read = function(buffer, offset, isLE, mLen, nBytes) {
var e, m,
eLen = nBytes * 8 - mLen - 1,
eMax = (1 << eLen) - 1,
eBias = eMax >> 1,
nBits = -7,
i = isLE ? (nBytes - 1) : 0,
d = isLE ? -1 : 1,
s = buffer[offset + i];
i += d;
e = s & ((1 << (-nBits)) - 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/node_modules/buffer/node_modules/ieee754/test/basic.js | challenge6/finished/node_modules/browserify/node_modules/buffer/node_modules/ieee754/test/basic.js | var ieee754 = require('../')
var test = require('tape')
var EPSILON = 0.00001
test('read float', function (t) {
var buf = new Buffer(4)
buf.writeFloatLE(42.42, 0)
var num = ieee754.read(buf, 0, true, 23, 4)
t.ok(Math.abs(num - 42.42) < EPSILON)
t.end()
})
test('write float', function (t) {
var buf = new... | 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/node_modules/buffer/node_modules/base64-js/bench/bench.js | challenge6/finished/node_modules/browserify/node_modules/buffer/node_modules/base64-js/bench/bench.js | var random = require('crypto').pseudoRandomBytes
var b64 = require('../')
var fs = require('fs')
var path = require('path')
var data = random(1e6).toString('base64')
//fs.readFileSync(path.join(__dirname, 'example.b64'), 'ascii').split('\n').join('')
var start = Date.now()
var raw = b64.toByteArray(data)
var middle = ... | 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/node_modules/buffer/node_modules/base64-js/test/convert.js | challenge6/finished/node_modules/browserify/node_modules/buffer/node_modules/base64-js/test/convert.js | var test = require('tape'),
b64 = require('../lib/b64'),
checks = [
'a',
'aa',
'aaa',
'hi',
'hi!',
'hi!!',
'sup',
'sup?',
'sup?!'
],
res;
test('convert to base64 and back', function (t) {
t.plan(checks.length);
for (var i = 0; i < checks.length; i++) {
var check = checks[i],
b64St... | 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/node_modules/buffer/node_modules/base64-js/lib/b64.js | challenge6/finished/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib/b64.js | var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
;(function (exports) {
'use strict';
var Arr = (typeof Uint8Array !== 'undefined')
? Uint8Array
: Array
var ZERO = '0'.charCodeAt(0)
var PLUS = '+'.charCodeAt(0)
var SLASH = '/'.charCodeAt(0)
var NUMBER = '0'.charCod... | 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.