├── .gitignore ├── JavaScript30 ├── .babelrc ├── 19 - Webcam Fun │ ├── .gitignore │ └── package.json ├── 21 - Geolocation │ ├── .gitignore │ ├── package.json │ └── script.js ├── .gitignore ├── 08 - Fun with HTML5 Canvas │ ├── style.css │ ├── index-START.html │ └── README.md ├── 01 - JavaScript Drum Kit │ ├── sounds │ │ ├── boom.wav │ │ ├── clap.wav │ │ ├── kick.wav │ │ ├── ride.wav │ │ ├── tink.wav │ │ ├── tom.wav │ │ ├── hihat.wav │ │ ├── snare.wav │ │ └── openhat.wav │ └── script.js ├── .tern-project ├── .eslintrc ├── 14 - JavaScript References VS Copying │ └── index-START.html ├── 07 - Array Cardio Day 2 │ └── index-START.html ├── 09 - Dev Tools Domination │ └── index-START.html ├── 04 - Array Cardio Day 1 │ └── index-START.html ├── 12 - Key Sequence Detection │ ├── index-START.html │ ├── script.js │ ├── index-FINISHED.html │ └── README.md ├── 17 - Sort Without Articles │ ├── index-START.html │ ├── script.js │ ├── style.css │ └── README.md ├── 20 - Speech Detection │ ├── package.json │ ├── index-START.html │ ├── style.css │ └── script.js ├── 16 - Mouse Move Shadow │ ├── index-start.html │ ├── style.css │ └── script.js ├── 25 - Event Capture, Propagation, Bubbling and Once │ ├── style.css │ ├── script.js │ └── index-START.html ├── 03 - CSS Variables │ ├── script.js │ ├── style.css │ └── index-START.html ├── 24 - Sticky Nav │ ├── script.js │ └── README.md ├── 05 - Flex Panel Gallery │ ├── script.js │ └── README.md ├── 06 - Type Ahead │ └── index-START.html ├── 02 - JS and CSS Clock │ ├── index-START.html │ └── script.js ├── 28 - Video Speed Controller │ ├── index-START.html │ ├── script.js │ └── README.md ├── package.json ├── PULL_REQUEST_TEMPLATE.md ├── 18 - Adding Up Times with Reduce │ ├── script.js │ └── README.md ├── 10 - Hold Shift and Check Checkboxes │ ├── script.js │ ├── README.md │ └── style.css ├── 22 - Follow Along Link Highlighter │ └── script.js └── 27 - Click and Drag │ └── script.js ├── testing ├── mocha │ └── nick-tutorial │ │ ├── .gitignore │ │ ├── node_modules │ │ ├── .bin │ │ │ ├── _mocha │ │ │ ├── mkdirp │ │ │ └── mocha │ │ ├── chai │ │ │ ├── index.js │ │ │ ├── register-assert.js │ │ │ ├── register-expect.js │ │ │ ├── register-should.js │ │ │ ├── .npmignore │ │ │ ├── bower.json │ │ │ ├── lib │ │ │ │ └── chai │ │ │ │ │ ├── utils │ │ │ │ │ ├── getActual.js │ │ │ │ │ ├── test.js │ │ │ │ │ ├── getEnumerableProperties.js │ │ │ │ │ ├── isProxyEnabled.js │ │ │ │ │ ├── isNaN.js │ │ │ │ │ ├── getOwnEnumerableProperties.js │ │ │ │ │ ├── compareByInspect.js │ │ │ │ │ └── flag.js │ │ │ │ │ └── interface │ │ │ │ │ └── expect.js │ │ │ └── karma.conf.js │ │ ├── debug │ │ │ ├── node.js │ │ │ ├── .coveralls.yml │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── .eslintrc │ │ │ ├── src │ │ │ │ └── index.js │ │ │ ├── component.json │ │ │ └── bower.json │ │ ├── graceful-readlink │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── index.js │ │ │ └── README.md │ │ ├── supports-color │ │ │ └── browser.js │ │ ├── concat-map │ │ │ ├── .travis.yml │ │ │ ├── example │ │ │ │ └── map.js │ │ │ └── index.js │ │ ├── mocha │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── browser │ │ │ │ │ ├── .eslintrc.yaml │ │ │ │ │ ├── debug.js │ │ │ │ │ └── tty.js │ │ │ │ ├── interfaces │ │ │ │ │ └── index.js │ │ │ │ ├── pending.js │ │ │ │ ├── template.html │ │ │ │ ├── reporters │ │ │ │ │ └── min.js │ │ │ │ └── hook.js │ │ │ ├── images │ │ │ │ ├── ok.png │ │ │ │ └── error.png │ │ │ ├── bower.json │ │ │ └── bin │ │ │ │ └── options.js │ │ ├── minimist │ │ │ ├── .travis.yml │ │ │ ├── example │ │ │ │ └── parse.js │ │ │ └── test │ │ │ │ ├── whitespace.js │ │ │ │ ├── parse_modified.js │ │ │ │ ├── dotted.js │ │ │ │ ├── default_bool.js │ │ │ │ ├── dash.js │ │ │ │ └── long.js │ │ ├── balanced-match │ │ │ └── .npmignore │ │ ├── diff │ │ │ └── runtime.js │ │ ├── mkdirp │ │ │ ├── .travis.yml │ │ │ ├── examples │ │ │ │ └── pow.js │ │ │ ├── bin │ │ │ │ ├── usage.txt │ │ │ │ └── cmd.js │ │ │ └── test │ │ │ │ ├── root.js │ │ │ │ ├── return.js │ │ │ │ └── return_sync.js │ │ ├── assertion-error │ │ │ ├── .npmignore │ │ │ └── History.md │ │ ├── inherits │ │ │ ├── inherits.js │ │ │ ├── inherits_browser.js │ │ │ └── LICENSE │ │ ├── escape-string-regexp │ │ │ ├── index.js │ │ │ └── readme.md │ │ ├── has-flag │ │ │ └── index.js │ │ ├── pathval │ │ │ └── CHANGELOG.md │ │ ├── type-detect │ │ │ └── type-detect.js │ │ ├── deep-eql │ │ │ └── node_modules │ │ │ │ └── type-detect │ │ │ │ └── type-detect.js │ │ ├── lodash.isarguments │ │ │ └── README.md │ │ ├── lodash._basecopy │ │ │ └── README.md │ │ ├── lodash._getnative │ │ │ └── README.md │ │ ├── lodash.keys │ │ │ └── README.md │ │ ├── lodash._baseassign │ │ │ └── README.md │ │ ├── lodash._basecreate │ │ │ └── README.md │ │ ├── lodash.create │ │ │ └── README.md │ │ ├── lodash.isarray │ │ │ └── README.md │ │ ├── lodash._isiterateecall │ │ │ └── README.md │ │ ├── path-is-absolute │ │ │ └── index.js │ │ ├── browser-stdout │ │ │ ├── index.js │ │ │ └── README.md │ │ ├── inflight │ │ │ └── LICENSE │ │ ├── glob │ │ │ └── LICENSE │ │ ├── once │ │ │ └── LICENSE │ │ ├── wrappy │ │ │ ├── LICENSE │ │ │ └── README.md │ │ └── minimatch │ │ │ └── LICENSE │ │ ├── js │ │ └── functions.js │ │ ├── README.md │ │ └── test │ │ ├── test.js │ │ └── index.html └── tdd │ └── jr-sinclair-tutorial │ ├── node_modules │ ├── domutils │ │ ├── .npmignore │ │ ├── readme.md │ │ ├── test │ │ │ ├── fixture.js │ │ │ ├── utils.js │ │ │ └── tests │ │ │ │ └── traversal.js │ │ ├── index.js │ │ └── lib │ │ │ ├── traversal.js │ │ │ └── stringify.js │ ├── isarray │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── Makefile │ │ ├── index.js │ │ ├── test.js │ │ └── component.json │ ├── string_decoder │ │ └── .npmignore │ ├── chai │ │ ├── index.js │ │ ├── .npmignore │ │ ├── lib │ │ │ └── chai │ │ │ │ ├── utils │ │ │ │ ├── getActual.js │ │ │ │ ├── getName.js │ │ │ │ ├── test.js │ │ │ │ └── getEnumerableProperties.js │ │ │ │ └── interface │ │ │ │ └── expect.js │ │ ├── bower.json │ │ └── karma.conf.js │ ├── deep-eql │ │ ├── index.js │ │ ├── node_modules │ │ │ └── type-detect │ │ │ │ ├── index.js │ │ │ │ ├── .npmignore │ │ │ │ └── History.md │ │ ├── .npmignore │ │ ├── karma.conf.js │ │ └── History.md │ ├── entities │ │ ├── test │ │ │ └── mocha.opts │ │ ├── maps │ │ │ ├── xml.json │ │ │ └── decode.json │ │ ├── .travis.yml │ │ ├── lib │ │ │ └── decode_codepoint.js │ │ └── index.js │ ├── safe-buffer │ │ ├── browser.js │ │ └── .travis.yml │ ├── type-detect │ │ ├── index.js │ │ └── .npmignore │ ├── domelementtype │ │ ├── readme.md │ │ └── index.js │ ├── readable-stream │ │ ├── duplex.js │ │ ├── transform.js │ │ ├── lib │ │ │ ├── internal │ │ │ │ └── streams │ │ │ │ │ ├── stream.js │ │ │ │ │ └── stream-browser.js │ │ │ └── _stream_passthrough.js │ │ ├── passthrough.js │ │ ├── duplex-browser.js │ │ ├── writable-browser.js │ │ ├── .npmignore │ │ ├── writable.js │ │ ├── readable-browser.js │ │ └── readable.js │ ├── nth-check │ │ ├── .travis.yml │ │ └── index.js │ ├── core-util-is │ │ └── README.md │ ├── dom-serializer │ │ └── node_modules │ │ │ └── domelementtype │ │ │ ├── readme.md │ │ │ └── index.js │ ├── boolbase │ │ ├── index.js │ │ └── README.md │ ├── util-deprecate │ │ ├── node.js │ │ └── History.md │ ├── assertion-error │ │ ├── .npmignore │ │ └── History.md │ ├── process-nextick-args │ │ ├── .travis.yml │ │ ├── readme.md │ │ └── test.js │ ├── domhandler │ │ ├── .travis.yml │ │ ├── test │ │ │ └── cases │ │ │ │ ├── 12-text_only.json │ │ │ │ ├── 18-enforce_empty_tags.json │ │ │ │ ├── 10-singular_attribute.json │ │ │ │ ├── 17-xml_namespace.json │ │ │ │ ├── 02-single_tag_1.json │ │ │ │ ├── 03-single_tag_2.json │ │ │ │ ├── 13-comment_in_text.json │ │ │ │ ├── 06-comment_in_script.json │ │ │ │ ├── 19-ignore_empty_tags.json │ │ │ │ ├── 09-unquoted_attrib.json │ │ │ │ ├── 08-extra_spaces_in_tag.json │ │ │ │ ├── 05-tags_in_comment.json │ │ │ │ ├── 14-comment_in_text_in_script.json │ │ │ │ ├── 15-non-verbose.json │ │ │ │ ├── 20-template_script_tags.json │ │ │ │ ├── 07-unescaped_in_style.json │ │ │ │ ├── 21-conditional_comments.json │ │ │ │ ├── 04-unescaped_in_script.json │ │ │ │ └── 11-text_outside_tags.json │ │ └── lib │ │ │ └── element.js │ ├── cheerio │ │ └── index.js │ ├── css-select │ │ └── lib │ │ │ └── procedure.json │ ├── inherits │ │ ├── inherits.js │ │ ├── inherits_browser.js │ │ └── LICENSE │ ├── lodash.map │ │ └── README.md │ ├── lodash.bind │ │ └── README.md │ ├── lodash.pick │ │ └── README.md │ ├── lodash.some │ │ └── README.md │ ├── lodash.merge │ │ └── README.md │ ├── lodash.filter │ │ └── README.md │ ├── lodash.reduce │ │ └── README.md │ ├── lodash.reject │ │ └── README.md │ ├── lodash.flatten │ │ └── README.md │ ├── lodash.foreach │ │ └── README.md │ ├── lodash.assignin │ │ └── README.md │ ├── lodash.defaults │ │ └── README.md │ ├── buffer-shims │ │ └── readme.md │ └── htmlparser2 │ │ └── lib │ │ ├── ProxyHandler.js │ │ ├── WritableStream.js │ │ └── Stream.js │ ├── README.md │ └── photo-lister.js ├── .eslintrc.json ├── Eloquent_JS ├── README.md ├── documentObjectModel │ ├── img │ │ └── florence_flask.png │ └── DOM1.html ├── modules │ └── map.js └── webProgramming │ ├── webProgramming1.js │ ├── webProgrammingExample2.html │ └── webProgrammingExample4.html ├── ES6ForEveryone ├── .gitignore ├── 12 - Code Quality with ESLint │ ├── docs.md │ ├── code-in-html.html │ ├── commit-msg.txt │ ├── 2bad-code.js │ └── bad-code.js ├── 14 - ES6 Tooling │ ├── systemjs │ │ ├── checkout.js │ │ ├── main.js │ │ ├── package.json │ │ └── index.html │ └── mybabel │ │ ├── index.html │ │ ├── app.js │ │ └── package.json ├── readme.md ├── .editorconfig ├── 13 - JavaScript Modules and Using npm │ └── es6modules │ │ ├── index.html │ │ ├── src │ │ ├── config.js │ │ └── user.js │ │ ├── app.js │ │ ├── package.json │ │ └── webpack.config.js ├── 01 - New Variables │ ├── temporal-dad-zone.html │ ├── let-const.html │ ├── let-const-real-life.html │ └── var-let-const.html ├── 05 - Destructuring │ ├── destructuring-WTF.html │ ├── destructuring-in-action.html │ ├── destructuring-arrays.html │ ├── destructuring-and-functions.html │ └── destructuring-intro.html ├── 02 - Arrow functions │ ├── default-arguments.html │ ├── arrow-functions.html │ ├── arrow-functions-examples.html │ └── exercises │ │ ├── Exercise 2.html │ │ ├── Exercise 2-WES.html │ │ └── Exercise 2 - ANSWER.html ├── 10 - Promises │ ├── promises-introduction.html │ └── creating-promises.html ├── 19 - Maps and WeakMaps │ ├── maps.html │ ├── weak-maps.html │ └── maps-metadata.html ├── 17 - Proxies │ ├── proxies-phone-numbers.html │ ├── proxies-intro.html │ └── proxies-case-saftey.html ├── 18 - Sets and WeakSets │ ├── weak-set.html │ ├── sets.html │ └── sets-brunch.html ├── 07 - An Array of Improvements │ ├── array-some-and-every.html │ └── Array-from-and-of.html ├── 06 - Iterables & Looping │ └── for-of-object.html ├── 03 - Template Strings │ ├── template-strings-if.html │ ├── template-strings-looping.html │ ├── template-strings-html.html │ ├── template-strings.html │ ├── tagged-templates.html │ └── template-strings-render-functions.html ├── 16 - Generators │ ├── looping-generators.html │ └── generators-syncish-ajax.html ├── 08 - Say Hello to ...Spread and ...Rest │ ├── spreading-into-a-function.html │ ├── spread-introduction.html │ └── rest-params.html ├── 11 - Symbols │ └── symbols.html ├── 15 - Classes │ ├── inheritance-review.html │ ├── extending-arrays.html │ ├── extending-arrays-ANSWER.html │ ├── extending-classes-ANSWER.html │ └── extending-classes.html └── 04 - Additional String Improvements │ └── string-methods.html ├── .eslintrc ├── README.md └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /JavaScript30/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } -------------------------------------------------------------------------------- /JavaScript30/19 - Webcam Fun/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /JavaScript30/21 - Geolocation/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "prettier" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/.bin/_mocha: -------------------------------------------------------------------------------- 1 | ../mocha/bin/_mocha -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | ../mkdirp/bin/cmd.js -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/.bin/mocha: -------------------------------------------------------------------------------- 1 | ../mocha/bin/mocha -------------------------------------------------------------------------------- /Eloquent_JS/README.md: -------------------------------------------------------------------------------- 1 | Code from the first edition of Eloquent Javascript. 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/domutils/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /JavaScript30/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | *.log 4 | haters/ 5 | .idea/ 6 | -------------------------------------------------------------------------------- /JavaScript30/08 - Fun with HTML5 Canvas/style.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | margin: 0; 3 | } 4 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /ES6ForEveryone/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .eslintrc 3 | .tern-project 4 | .tags 5 | .tags1 6 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/chai/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/chai'); 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/chai/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/chai'); 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/chai/register-assert.js: -------------------------------------------------------------------------------- 1 | global.assert = require('./').assert; 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/chai/register-expect.js: -------------------------------------------------------------------------------- 1 | global.expect = require('./').expect; 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/chai/register-should.js: -------------------------------------------------------------------------------- 1 | global.should = require('./').should(); 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/deep-eql/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/eql'); 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/entities/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --check-leaks 2 | --reporter spec 3 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/safe-buffer/browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('buffer') 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/graceful-readlink/.npmignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .DS_Store 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/supports-color/browser.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = false; 3 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/domutils/readme.md: -------------------------------------------------------------------------------- 1 | utilities for working with htmlparser2's dom 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/type-detect/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/type'); 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/domelementtype/readme.md: -------------------------------------------------------------------------------- 1 | all the types of nodes in htmlparser2's dom 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/mocha/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./lib/mocha'); 4 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Duplex 2 | -------------------------------------------------------------------------------- /ES6ForEveryone/12 - Code Quality with ESLint/docs.md: -------------------------------------------------------------------------------- 1 | # Fake JavaScript Docs 2 | 3 | ```javascript 4 | var x = 10; 5 | ``` 6 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/entities/maps/xml.json: -------------------------------------------------------------------------------- 1 | {"amp":"&","apos":"'","gt":">","lt":"<","quot":"\""} 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Transform 2 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": [ 3 | "prettier" 4 | ], 5 | "rules": { 6 | "prettier/prettier": "error" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/deep-eql/node_modules/type-detect/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/type'); 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/readable-stream/lib/internal/streams/stream.js: -------------------------------------------------------------------------------- 1 | module.exports = require('stream'); 2 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').PassThrough 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/readable-stream/duplex-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_duplex.js'); 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/diff/runtime.js: -------------------------------------------------------------------------------- 1 | require('babel-core/register')({ 2 | ignore: /\/lib\/|\/node_modules\// 3 | }); 4 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/mocha/lib/browser/.eslintrc.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | node: false 3 | browser: false 4 | commonjs: true 5 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/nth-check/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - "0.10" 5 | - 0.11 6 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/readable-stream/writable-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_writable.js'); 2 | -------------------------------------------------------------------------------- /ES6ForEveryone/14 - ES6 Tooling/systemjs/checkout.js: -------------------------------------------------------------------------------- 1 | export function addTax(amount, taxRate) { 2 | return amount + (amount * taxRate); 3 | } 4 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/dom-serializer/node_modules/domelementtype/readme.md: -------------------------------------------------------------------------------- 1 | all the types of nodes in htmlparser2's dom 2 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/graceful-readlink/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "io.js" 6 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/readable-stream/lib/internal/streams/stream-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('events').EventEmitter; 2 | -------------------------------------------------------------------------------- /JavaScript30/01 - JavaScript Drum Kit/sounds/boom.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/JavaScript30/01 - JavaScript Drum Kit/sounds/boom.wav -------------------------------------------------------------------------------- /JavaScript30/01 - JavaScript Drum Kit/sounds/clap.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/JavaScript30/01 - JavaScript Drum Kit/sounds/clap.wav -------------------------------------------------------------------------------- /JavaScript30/01 - JavaScript Drum Kit/sounds/kick.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/JavaScript30/01 - JavaScript Drum Kit/sounds/kick.wav -------------------------------------------------------------------------------- /JavaScript30/01 - JavaScript Drum Kit/sounds/ride.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/JavaScript30/01 - JavaScript Drum Kit/sounds/ride.wav -------------------------------------------------------------------------------- /JavaScript30/01 - JavaScript Drum Kit/sounds/tink.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/JavaScript30/01 - JavaScript Drum Kit/sounds/tink.wav -------------------------------------------------------------------------------- /JavaScript30/01 - JavaScript Drum Kit/sounds/tom.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/JavaScript30/01 - JavaScript Drum Kit/sounds/tom.wav -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/js/functions.js: -------------------------------------------------------------------------------- 1 | function isEven (num) { 2 | if (num % 2 !== 0) { 3 | return false; 4 | } 5 | return true; 6 | } 7 | -------------------------------------------------------------------------------- /Eloquent_JS/documentObjectModel/img/florence_flask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/Eloquent_JS/documentObjectModel/img/florence_flask.png -------------------------------------------------------------------------------- /JavaScript30/01 - JavaScript Drum Kit/sounds/hihat.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/JavaScript30/01 - JavaScript Drum Kit/sounds/hihat.wav -------------------------------------------------------------------------------- /JavaScript30/01 - JavaScript Drum Kit/sounds/snare.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/JavaScript30/01 - JavaScript Drum Kit/sounds/snare.wav -------------------------------------------------------------------------------- /JavaScript30/01 - JavaScript Drum Kit/sounds/openhat.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/JavaScript30/01 - JavaScript Drum Kit/sounds/openhat.wav -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/safe-buffer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 'node' 4 | - '5' 5 | - '4' 6 | - '0.12' 7 | - '0.10' 8 | -------------------------------------------------------------------------------- /JavaScript30/.tern-project: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "airbnb-base", 3 | "rules": { 4 | "no-console": 0 5 | }, 6 | "env": { 7 | "browser": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/README.md: -------------------------------------------------------------------------------- 1 | Browser based Mocha testing tutorial 2 | 3 | It can be found [here](http://callmenick.com/post/basic-front-end-testing-with-mocha-chai) 4 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/mocha/images/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/testing/mocha/nick-tutorial/node_modules/mocha/images/ok.png -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/entities/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - "0.10" 5 | - 0.11 6 | 7 | script: npm run coveralls 8 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/mocha/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/usmaanalii/javascript/HEAD/testing/mocha/nick-tutorial/node_modules/mocha/images/error.png -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/mocha/lib/browser/debug.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function noop () {} 4 | 5 | module.exports = function () { 6 | return noop; 7 | }; 8 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js 6 | .zuul.yml 7 | .nyc_output 8 | coverage 9 | docs/ 10 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/README.md: -------------------------------------------------------------------------------- 1 | ### Tutorial used to learn about TDD 2 | 3 | This can be found at the following [link](http://jrsinclair.com/articles/2016/gentle-introduction-to-javascript-tdd-intro/) 4 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/boolbase/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | trueFunc: function trueFunc(){ 3 | return true; 4 | }, 5 | falseFunc: function falseFunc(){ 6 | return false; 7 | } 8 | }; -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /ES6ForEveryone/readme.md: -------------------------------------------------------------------------------- 1 | ![ES6 for Everyone](https://es6.io/images/es6-facebook-share.png?cool=yah) 2 | 3 | # ES6 for Everyone Starter Files 4 | 5 | Everything you need to Learn ES6 over at [ES6.io](https://ES6.io) 6 | -------------------------------------------------------------------------------- /JavaScript30/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "airbnb-base", 3 | "rules": { 4 | "no-console": 0 5 | }, 6 | "env": { 7 | "browser": true 8 | }, 9 | "plugins": [ 10 | "html" 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/assertion-error/.npmignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | test/ 3 | build/ 4 | components/ 5 | support/ 6 | coverage.html 7 | component.json 8 | lib-cov 9 | .travis.yml 10 | Makefile 11 | *.swp 12 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/deep-eql/.npmignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | test/ 3 | build/ 4 | components/ 5 | support/ 6 | coverage.html 7 | component.json 8 | lib-cov 9 | .travis.yml 10 | Makefile 11 | *.swp 12 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/type-detect/.npmignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | test/ 3 | build/ 4 | components/ 5 | support/ 6 | coverage.html 7 | component.json 8 | lib-cov 9 | .travis.yml 10 | Makefile 11 | *.swp 12 | -------------------------------------------------------------------------------- /ES6ForEveryone/14 - ES6 Tooling/systemjs/main.js: -------------------------------------------------------------------------------- 1 | import { sum, kebabCase } from 'npm:lodash'; 2 | import { addTax } from './checkout' 3 | 4 | console.log(kebabCase('Wes is soo cool!')); 5 | 6 | console.log(addTax(100, 0.15)); 7 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/assertion-error/.npmignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | test/ 3 | build/ 4 | components/ 5 | support/ 6 | coverage.html 7 | component.json 8 | lib-cov 9 | .travis.yml 10 | Makefile 11 | *.swp 12 | -------------------------------------------------------------------------------- /ES6ForEveryone/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true -------------------------------------------------------------------------------- /Eloquent_JS/modules/map.js: -------------------------------------------------------------------------------- 1 | // 1.0 2 | function map (func, array) { 3 | var len = array.length, result = new Array(len); 4 | for (var i = 0; i < len; i++) { 5 | result[i] = func(array[i]); 6 | } 7 | return result; 8 | } 9 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/chai/.npmignore: -------------------------------------------------------------------------------- 1 | .git* 2 | docs/ 3 | test/ 4 | support/ 5 | component.json 6 | components/ 7 | build/ 8 | lib-cov/ 9 | coverage/ 10 | .travis.yml 11 | .mailmap 12 | Makefile 13 | *.swp 14 | .DS_Store 15 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/mocha/lib/interfaces/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.bdd = require('./bdd'); 4 | exports.tdd = require('./tdd'); 5 | exports.qunit = require('./qunit'); 6 | exports.exports = require('./exports'); 7 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/deep-eql/node_modules/type-detect/.npmignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | test/ 3 | build/ 4 | components/ 5 | support/ 6 | coverage.html 7 | component.json 8 | lib-cov 9 | .travis.yml 10 | Makefile 11 | *.swp 12 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/process-nextick-args/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "1.7.1" 8 | - 1 9 | - 2 10 | - 3 11 | - 4 12 | - 5 13 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/chai/.npmignore: -------------------------------------------------------------------------------- 1 | .git* 2 | docs/ 3 | test/ 4 | support/ 5 | component.json 6 | components/ 7 | build/ 8 | lib-cov/ 9 | coverage/ 10 | .travis.yml 11 | .mailmap 12 | Makefile 13 | *.swp 14 | .DS_Store 15 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/domhandler/.travis.yml: -------------------------------------------------------------------------------- 1 | before_install: 2 | - '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28' 3 | - npm install -g npm@latest 4 | language: node_js 5 | node_js: 6 | - 0.8 7 | - 0.10 8 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/cheerio/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Export cheerio (with ) 3 | */ 4 | 5 | exports = module.exports = require('./lib/cheerio'); 6 | 7 | /* 8 | Export the version 9 | */ 10 | 11 | exports.version = require('./package.json').version; 12 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/css-select/lib/procedure.json: -------------------------------------------------------------------------------- 1 | { 2 | "universal": 50, 3 | "tag": 30, 4 | "attribute": 1, 5 | "pseudo": 0, 6 | "descendant": -1, 7 | "child": -1, 8 | "parent": -1, 9 | "sibling": -1, 10 | "adjacent": -1 11 | } 12 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/domutils/test/fixture.js: -------------------------------------------------------------------------------- 1 | var makeDom = require("./utils").makeDom; 2 | var markup = Array(21).join( 3 | " text " 4 | ); 5 | 6 | module.exports = makeDom(markup); 7 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /ES6ForEveryone/13 - JavaScript Modules and Using npm/es6modules/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JS Modules 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ES6ForEveryone/14 - ES6 Tooling/mybabel/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Polyfill 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/domhandler/test/cases/12-text_only.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Only text", 3 | "options": {}, 4 | "html": "this is the text", 5 | "expected": [ 6 | { 7 | "data": "this is the text", 8 | "type": "text" 9 | } 10 | ] 11 | } -------------------------------------------------------------------------------- /ES6ForEveryone/14 - ES6 Tooling/mybabel/app.js: -------------------------------------------------------------------------------- 1 | let { x, y, ...z } = { x: 1, y: 2, a: 3, b: 4 }; 2 | 3 | const age = 100; 4 | const people = ['Wes', 'Kait']; 5 | 6 | const fullNames = people.map(name => `${name} Bos`); 7 | 8 | for (const person of people) { 9 | console.log(person); 10 | } 11 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/graceful-readlink/index.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | , lstat = fs.lstatSync; 3 | 4 | exports.readlinkSync = function (p) { 5 | if (lstat(p).isSymbolicLink()) { 6 | return fs.readlinkSync(p); 7 | } else { 8 | return p; 9 | } 10 | }; 11 | 12 | 13 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/nth-check/index.js: -------------------------------------------------------------------------------- 1 | var parse = require("./parse.js"), 2 | compile = require("./compile.js"); 3 | 4 | module.exports = function nthCheck(formula){ 5 | return compile(parse(formula)); 6 | }; 7 | 8 | module.exports.parse = parse; 9 | module.exports.compile = compile; -------------------------------------------------------------------------------- /ES6ForEveryone/12 - Code Quality with ESLint/code-in-html.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Linting Code Inside of HTML 6 | 7 | 8 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ES6ForEveryone/01 - New Variables/temporal-dad-zone.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | let and const real world 6 | 7 | 8 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /JavaScript30/14 - JavaScript References VS Copying/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | JS Reference VS Copy 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | var Stream = require("stream") 2 | var Writable = require("./lib/_stream_writable.js") 3 | 4 | if (process.env.READABLE_STREAM === 'disable') { 5 | module.exports = Stream && Stream.Writable || Writable 6 | } 7 | 8 | module.exports = Writable 9 | -------------------------------------------------------------------------------- /JavaScript30/07 - Array Cardio Day 2/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Array Cardio 💪💪 6 | 7 | 8 |

Psst: have a look at the JavaScript Console 💁

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/domutils/test/utils.js: -------------------------------------------------------------------------------- 1 | var htmlparser = require("htmlparser2"); 2 | 3 | exports.makeDom = function(markup) { 4 | var handler = new htmlparser.DomHandler(), 5 | parser = new htmlparser.Parser(handler); 6 | parser.write(markup); 7 | parser.done(); 8 | return handler.dom; 9 | }; 10 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/escape-string-regexp/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; 4 | 5 | module.exports = function (str) { 6 | if (typeof str !== 'string') { 7 | throw new TypeError('Expected a string'); 8 | } 9 | 10 | return str.replace(matchOperatorsRe, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /JavaScript30/09 - Dev Tools Domination/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Console Tricks! 7 | 8 | 9 | 10 | 11 |

×BREAK×DOWN×

12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: ['123'] }); 9 | }); 10 | -------------------------------------------------------------------------------- /JavaScript30/04 - Array Cardio Day 1/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Array Cardio 💪 7 | 8 | 9 | 10 |

Psst: have a look at the JavaScript Console 💁

11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/mocha/lib/pending.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Expose `Pending`. 5 | */ 6 | 7 | module.exports = Pending; 8 | 9 | /** 10 | * Initialize a new `Pending` error with the given message. 11 | * 12 | * @param {string} message 13 | */ 14 | function Pending (message) { 15 | this.message = message; 16 | } 17 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/entities/maps/decode.json: -------------------------------------------------------------------------------- 1 | {"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376} -------------------------------------------------------------------------------- /ES6ForEveryone/13 - JavaScript Modules and Using npm/es6modules/src/config.js: -------------------------------------------------------------------------------- 1 | // Named export 2 | export const apiKey = 'abc123'; 3 | 4 | export const url = 'http://wesbos.com'; 5 | 6 | export function sayHi(name) { 7 | console.log(`Hello there ${name}`); 8 | } 9 | 10 | const age = 100; 11 | const dog = 'snickers'; 12 | 13 | export { age as old, dog }; 14 | -------------------------------------------------------------------------------- /JavaScript30/12 - Key Sequence Detection/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Key Detection 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ES6ForEveryone/05 - Destructuring/destructuring-WTF.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Destructuring! 6 | 7 | 8 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /JavaScript30/17 - Sort Without Articles/index-START.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Sort Without Articles 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /testing/mocha/nick-tutorial/node_modules/has-flag/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (flag, argv) { 3 | argv = argv || process.argv; 4 | 5 | var terminatorPos = argv.indexOf('--'); 6 | var prefix = /^--/.test(flag) ? '' : '--'; 7 | var pos = argv.indexOf(prefix + flag); 8 | 9 | return pos !== -1 && (terminatorPos !== -1 ? pos < terminatorPos : true); 10 | }; 11 | -------------------------------------------------------------------------------- /JavaScript30/20 - Speech Detection/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gum", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "scripts.js", 6 | "scripts": { 7 | "start" : "browser-sync start --directory --server --files '*.css, *.html, *.js'" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "browser-sync": "^2.12.5" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /JavaScript30/21 - Geolocation/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gum", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "scripts.js", 6 | "scripts": { 7 | "start" : "browser-sync start --directory --server --files '*.css, *.html, *.js' --https" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "browser-sync": "^2.12.5" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/domhandler/test/cases/18-enforce_empty_tags.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Enforce empty tags", 3 | "options": {}, 4 | "html": "text", 5 | "expected": [ 6 | { 7 | "type": "tag", 8 | "name": "link", 9 | "attribs": {} 10 | }, 11 | { 12 | "data": "text", 13 | "type": "text" 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /testing/tdd/jr-sinclair-tutorial/node_modules/domhandler/test/cases/10-singular_attribute.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Singular attribute", 3 | "options": {}, 4 | "html": "