ruby-wisp-source 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +28 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +12 -0
- data/Rakefile +39 -0
- data/VERSION +1 -0
- data/lib/wisp/source.rb +7 -0
- data/ruby-wisp-source.gemspec +13 -0
- data/vendor/History.md +159 -0
- data/vendor/LICENSE +24 -0
- data/vendor/Makefile +64 -0
- data/vendor/Readme.md +615 -0
- data/vendor/analyzer.js +385 -0
- data/vendor/ast.js +214 -0
- data/vendor/backend/javascript/writer.js +212 -0
- data/vendor/bin/wisp.js +2 -0
- data/vendor/compiler.js +1026 -0
- data/vendor/design.md +114 -0
- data/vendor/embed.js +2 -0
- data/vendor/engine/browser.js +59 -0
- data/vendor/engine/node.js +13 -0
- data/vendor/interactivate/Makefile +38 -0
- data/vendor/interactivate/Readme.md +28 -0
- data/vendor/interactivate/build/cache.manifest +12 -0
- data/vendor/interactivate/build/codemirror-compressed.js +4 -0
- data/vendor/interactivate/build/codemirror.css +248 -0
- data/vendor/interactivate/build/main.js +5401 -0
- data/vendor/interactivate/build/solarized.css +203 -0
- data/vendor/interactivate/index.html +429 -0
- data/vendor/interactivate/node_modules/codemirror-activine/License.md +18 -0
- data/vendor/interactivate/node_modules/codemirror-activine/Readme.md +22 -0
- data/vendor/interactivate/node_modules/codemirror-activine/core.js +33 -0
- data/vendor/interactivate/node_modules/codemirror-activine/package.json +36 -0
- data/vendor/interactivate/node_modules/codemirror-hashare/License.md +18 -0
- data/vendor/interactivate/node_modules/codemirror-hashare/Readme.md +23 -0
- data/vendor/interactivate/node_modules/codemirror-hashare/core.js +31 -0
- data/vendor/interactivate/node_modules/codemirror-hashare/package.json +37 -0
- data/vendor/interactivate/node_modules/codemirror-persist/License.md +18 -0
- data/vendor/interactivate/node_modules/codemirror-persist/Readme.md +22 -0
- data/vendor/interactivate/node_modules/codemirror-persist/core.js +25 -0
- data/vendor/interactivate/node_modules/codemirror-persist/package.json +34 -0
- data/vendor/interactivate/node_modules/interactivate/History.md +47 -0
- data/vendor/interactivate/node_modules/interactivate/License.md +18 -0
- data/vendor/interactivate/node_modules/interactivate/Readme.md +11 -0
- data/vendor/interactivate/node_modules/interactivate/demo/Readme.md +24 -0
- data/vendor/interactivate/node_modules/interactivate/demo/build/cache.manifest +12 -0
- data/vendor/interactivate/node_modules/interactivate/demo/build/codemirror-compressed.js +4 -0
- data/vendor/interactivate/node_modules/interactivate/demo/build/codemirror.css +248 -0
- data/vendor/interactivate/node_modules/interactivate/demo/build/main.js +267 -0
- data/vendor/interactivate/node_modules/interactivate/demo/build/solarized.css +207 -0
- data/vendor/interactivate/node_modules/interactivate/demo/index.html +115 -0
- data/vendor/interactivate/node_modules/interactivate/demo/main.js +39 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/License.md +18 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/Readme.md +22 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/core.js +33 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/package.json +36 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/License.md +18 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/Readme.md +23 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/core.js +31 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/package.json +37 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/License.md +18 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/Readme.md +22 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/core.js +25 -0
- data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/package.json +34 -0
- data/vendor/interactivate/node_modules/interactivate/demo/package.json +21 -0
- data/vendor/interactivate/node_modules/interactivate/host/window.js +19 -0
- data/vendor/interactivate/node_modules/interactivate/interactivate.js +187 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/History.md +10 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/License.md +18 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/Readme.md +68 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/diff.js +45 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/index.js +5 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/package.json +53 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/patch.js +21 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/rebase.js +33 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/diff.js +62 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/index.js +16 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/patch.js +54 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/History.md +15 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/License.md +18 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/Readme.md +54 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/event.js +39 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/index.js +3 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/History.md +20 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/License.md +18 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/Readme.md +45 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/end.js +3 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/index.js +8 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-error.js +9 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-reduced.js +9 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/package.json +57 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduce.js +59 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduced.js +15 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reducible.js +87 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/index.js +6 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reduce.js +116 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reducible.js +106 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/package.json +56 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/test/index.js +91 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/History.md +60 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/License.md +18 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/Readme.md +125 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/core.js +227 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/package.json +93 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/browser.js +18 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/common-index.js +3 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/common.js +270 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/index.js +3 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/phantom-index.js +3 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/tap-index.js +3 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/testling-index.js +3 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/History.md +139 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/License.md +19 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/Readme.md +253 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/capture.js +34 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/concat.js +37 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/debug/print.js +45 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/delay.js +29 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/drop-while.js +39 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/drop.js +40 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/expand.js +25 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/filter.js +21 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/fold.js +55 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/hub.js +102 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/index.js +33 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/into.js +16 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/map.js +19 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/merge.js +50 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/History.md +20 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/License.md +18 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/Readme.md +45 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/end.js +3 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/index.js +8 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-error.js +9 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-reduced.js +9 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/package.json +57 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduce.js +59 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduced.js +15 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reducible.js +87 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/index.js +6 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reduce.js +116 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reducible.js +106 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/package.json +60 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/reducer.js +51 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/reductions.js +31 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/take-while.js +23 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/take.js +40 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/benchmark.js +32 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/capture.js +108 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/concat.js +104 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/delay.js +29 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/drop-while.js +118 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/drop.js +89 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/errors.js +222 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/filter.js +72 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/fold.js +111 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/hub.js +222 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/index.js +23 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/into.js +22 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/map.js +67 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/merge.js +75 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/reductions.js +105 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/take-while.js +134 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/take.js +82 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/util/event.js +25 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/util/lazy.js +9 -0
- data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/util/test.js +34 -0
- data/vendor/interactivate/node_modules/interactivate/output.js +60 -0
- data/vendor/interactivate/node_modules/interactivate/package.json +30 -0
- data/vendor/interactivate/node_modules/interactivate/render.js +23 -0
- data/vendor/interactivate/node_modules/interactivate/view.js +79 -0
- data/vendor/interactivate/package.json +22 -0
- data/vendor/interactivate/src/host.wisp +84 -0
- data/vendor/interactivate/src/main.wisp +38 -0
- data/vendor/node_modules/browserify/LICENSE +63 -0
- data/vendor/node_modules/browserify/_empty.js +0 -0
- data/vendor/node_modules/browserify/bin/advanced.txt +36 -0
- data/vendor/node_modules/browserify/bin/cmd.js +150 -0
- data/vendor/node_modules/browserify/bin/usage.txt +32 -0
- data/vendor/node_modules/browserify/example/api/browser/bar.js +1 -0
- data/vendor/node_modules/browserify/example/api/browser/foo.js +5 -0
- data/vendor/node_modules/browserify/example/api/browser/main.js +2 -0
- data/vendor/node_modules/browserify/example/api/build.js +4 -0
- data/vendor/node_modules/browserify/example/multiple_bundles/beep.js +2 -0
- data/vendor/node_modules/browserify/example/multiple_bundles/boop.js +2 -0
- data/vendor/node_modules/browserify/example/multiple_bundles/build.sh +4 -0
- data/vendor/node_modules/browserify/example/multiple_bundles/robot.js +1 -0
- data/vendor/node_modules/browserify/example/multiple_bundles/static/beep.html +2 -0
- data/vendor/node_modules/browserify/example/multiple_bundles/static/beep.js +6 -0
- data/vendor/node_modules/browserify/example/multiple_bundles/static/boop.html +2 -0
- data/vendor/node_modules/browserify/example/multiple_bundles/static/boop.js +6 -0
- data/vendor/node_modules/browserify/example/multiple_bundles/static/common.js +3 -0
- data/vendor/node_modules/browserify/example/source_maps/build.js +10 -0
- data/vendor/node_modules/browserify/example/source_maps/build.sh +4 -0
- data/vendor/node_modules/browserify/example/source_maps/index.html +11 -0
- data/vendor/node_modules/browserify/example/source_maps/js/foo.js +7 -0
- data/vendor/node_modules/browserify/example/source_maps/js/main.js +4 -0
- data/vendor/node_modules/browserify/example/source_maps/js/wunder/bar.js +8 -0
- data/vendor/node_modules/browserify/index.js +352 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/LICENSE.APACHE2 +15 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/LICENSE.MIT +24 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/examples/all_docs.js +13 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/index.js +191 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/LICENSE +24 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/README.markdown +11 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/bench.js +26 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/examples/twitterfeed.js +30 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/jsonparse.js +401 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/package.json +40 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic.json +167 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic2.json +180 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/test/boundary.js +110 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/test/primitives.js +54 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/test/utf8.js +38 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/package.json +43 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/readme.markdown +145 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/bool.js +41 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/destroy_missing.js +22 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/empty.js +44 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/fixtures/all_npm.json +4030 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/fn.js +39 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/multiple_objects.js +42 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/multiple_objects_error.js +35 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/parsejson.js +28 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/stringify.js +41 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/stringify_object.js +47 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/test.js +35 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/test2.js +29 -0
- data/vendor/node_modules/browserify/node_modules/JSONStream/test/two-ways.js +41 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/cmd.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/example/input.json +13 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/example/output.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/example/sourcemap/input.json +15 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/example/sourcemap/output.js +6 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/index.js +79 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/LICENSE +23 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/README.md +111 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/example/two-files-short.js +26 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/example/two-files.js +47 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/index.js +97 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/LICENSE +23 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/README.md +85 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/example/comment-to-json.js +15 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/index.js +89 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/package.json +40 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/comment-regex.js +25 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/convert-source-map.js +129 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/LICENSE +23 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/README.md +88 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/example/foo-bar.js +8 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/index.js +127 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/CHANGELOG.md +58 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/LICENSE +28 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/Makefile.dryice.js +166 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/README.md +347 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/assert-shim.js +56 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/mini-require.js +152 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/suffix-browser.js +8 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/test-prefix.js +8 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/test-suffix.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/array-set.js +96 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/base64.js +42 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/binary-search.js +81 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-map-consumer.js +426 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-map-generator.js +381 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-node.js +353 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/util.js +91 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map.js +8 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/README.md +119 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/package.json +40 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/package.json +81 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/run-tests.js +73 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-api.js +26 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-array-set.js +71 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-base64.js +35 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-source-map-consumer.js +291 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-source-map-generator.js +391 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-source-node.js +282 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/util.js +152 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/package.json +49 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/inline-source-map.js +247 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/source-content.js +129 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/LICENSE +23 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/MOZILLA_LICENSE +28 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/README.md +35 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/base64-vlq.js +108 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/base64.js +35 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/example/one-to-one-mappings.js +5 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/index.js +82 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/package.json +46 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/test/parse-base64vlq-mappings.js +72 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/package.json +52 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/test/combine-source-map.js +143 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/README.html +1012 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/README.org +593 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/bin/uglifyjs +334 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/docstyle.css +75 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/consolidator.js +1220 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/parse-js.js +1369 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/process.js +2117 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/squeeze-more.js +78 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/package.json +35 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/beautify.js +28 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/testconsolidator.js +1391 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/testparser.js +409 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/1e21.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array1.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array2.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array3.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array4.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/assignment.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/concatstring.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/const.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/div-with-regexp.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/forstatement.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/if-not.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/if.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/infinite.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue10.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue11.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue13.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue14.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue16.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue17.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue20.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue21.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue25.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue27.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue278.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue28.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue29.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue30.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue34.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue349.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue353.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue372.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue4.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue48.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue50.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue53.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue68.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue69.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue9.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issues222_324.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/mangle.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/null_string.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/var.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/whitespace.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/with.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/1e21.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array1.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array2.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array3.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array4.js +6 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/assignment.js +20 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/concatstring.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/const.js +5 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/div-with-regexp.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/forstatement.js +10 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/if-not.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/if.js +6 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/ifreturn.js +9 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/ifreturn2.js +16 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/infinite.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue10.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue11.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue13.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue14.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue16.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue17.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue20.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue21.js +6 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue25.js +7 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue27.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue278.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue28.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue29.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue30.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue34.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue349.js +25 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue353.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue372.js +32 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue4.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue48.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue50.js +9 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue53.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue54.1.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue68.js +5 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue69.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue9.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issues222_324.js +82 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/mangle.js +5 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/null_string.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/strict-equals.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/var.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/whitespace.js +21 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/with.js +2 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/scripts.js +57 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/tmp/hoist.js +33 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/tmp/instrument.js +97 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/tmp/test.js +30 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/uglify-js.js +18 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/package.json +70 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/prelude.js +42 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/readme.markdown +81 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/test/comment.js +33 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/test/only_execute_entries.js +26 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/test/order.js +38 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/test/pack.js +28 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/test/raw.js +32 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/test/source-maps-existing.js +56 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/test/source-maps.js +113 -0
- data/vendor/node_modules/browserify/node_modules/browser-pack/test/this.js +24 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/README.md +115 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/assert.js +314 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/child_process.js +2 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/dgram.js +0 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/events.js +183 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/fs.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/https.js +13 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/net.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/path.js +175 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/process.js +55 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/querystring.js +250 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/stream.js +119 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/string_decoder.js +161 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/sys.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/timers.js +39 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/tls.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/tty.js +2 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/url.js +604 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/util.js +351 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/empty.js +0 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/example/builtin.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/example/custom/custom.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/example/custom/main.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/example/custom/package.json +7 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/example/custom.js +5 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/example/resolve.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/example/skip/main.js +9 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/example/skip/package.json +7 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/example/skip.js +5 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/index.js +170 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/README.md +11 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/buffer_ieee754.js +84 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/index.js +1317 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/README.md +14 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/lib/b64.js +84 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/package.json +33 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/test/runner.js +50 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/package.json +49 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/test/buffer.js +218 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/LICENCE +19 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/README.md +32 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/index.js +85 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/package.json +80 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/test/index.js +67 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/test/static/index.html +12 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/test/static/test-adapter.js +53 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/example/bundle.js +637 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/example/index.html +12 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/example/test.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/index.js +74 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/md5.js +384 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/package.json +37 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/readme.markdown +20 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/rng.js +37 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/sha.js +210 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/test/simple.js +35 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/get/index.html +9 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/get/main.js +14 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/get/server.js +12 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/headers/index.html +9 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/headers/main.js +18 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/headers/server.js +15 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/data.json +139 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/index.html +9 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/main.js +13 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/LICENSE.APACHE2 +15 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/LICENSE.MIT +24 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/examples/all_docs.js +13 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/index.js +189 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/LICENSE +24 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/README.markdown +11 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/bench.js +26 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/examples/twitterfeed.js +30 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/jsonparse.js +379 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/package.json +36 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic.json +167 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic2.json +180 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/primitives.js +54 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/utf8.js +38 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/package.json +40 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/readme.markdown +145 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/bool.js +41 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/destroy_missing.js +22 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/empty.js +44 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/fixtures/all_npm.json +4030 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/fn.js +39 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/memory.js +69 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects.js +42 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects_error.js +35 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/parsejson.js +28 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify.js +41 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify_object.js +47 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test.js +35 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test2.js +29 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/two-ways.js +41 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/server.js +10 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/post/index.html +9 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/post/main.js +16 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/post/server.js +19 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/streaming/index.html +9 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/streaming/main.js +16 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/streaming/server.js +21 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/index.js +60 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/lib/request.js +131 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/lib/response.js +119 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/index.js +48 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/package.json +33 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/readme.md +31 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/test.js +34 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/package.json +49 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/readme.markdown +128 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/example/async.js +5 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/example/sync.js +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/index.js +5 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js +131 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/core.js +4 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/core.json +38 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/sync.js +99 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/package.json +39 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/readme.markdown +134 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/core.js +12 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/filter.js +17 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/filter_sync.js +15 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/mock.js +68 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/mock_sync.js +68 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/baz/package.json +3 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/cup.coffee +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/foo.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/mug.js +0 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver.js +144 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver_sync.js +157 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/README.markdown +103 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/example/run/bundle.js +473 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/example/run/entry.js +6 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/example/run/index.html +9 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/example/run/server.js +6 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/index.js +85 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/package.json +46 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/testling/run.js +22 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/testling/test.sh +11 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/index.js +43 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/package.json +40 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/readme.md +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/test/zlib.test.js +65 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/zlib.js +55 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/package.json +45 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/test/core.js +28 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/test/false.js +24 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/test/fixtures/foo.js +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/test/local.js +15 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/test/mocha.opts +1 -0
- data/vendor/node_modules/browserify/node_modules/browser-resolve/test/modules.js +99 -0
- data/vendor/node_modules/browserify/node_modules/concat-stream/index.js +50 -0
- data/vendor/node_modules/browserify/node_modules/concat-stream/package.json +33 -0
- data/vendor/node_modules/browserify/node_modules/concat-stream/readme.md +31 -0
- data/vendor/node_modules/browserify/node_modules/concat-stream/test.js +34 -0
- data/vendor/node_modules/browserify/node_modules/duplexer/LICENCE +19 -0
- data/vendor/node_modules/browserify/node_modules/duplexer/Makefile +4 -0
- data/vendor/node_modules/browserify/node_modules/duplexer/README.md +36 -0
- data/vendor/node_modules/browserify/node_modules/duplexer/index.js +77 -0
- data/vendor/node_modules/browserify/node_modules/duplexer/package.json +46 -0
- data/vendor/node_modules/browserify/node_modules/duplexer/test.js +27 -0
- data/vendor/node_modules/browserify/node_modules/inherits/README.md +51 -0
- data/vendor/node_modules/browserify/node_modules/inherits/inherits.js +29 -0
- data/vendor/node_modules/browserify/node_modules/inherits/package.json +29 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/bench/results.txt +18 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/bench/run.sh +2 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/bin/cmd.js +13 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/buffer.js +3863 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/bundle.sh +4 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/example/files/foo/index.js +6 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/example/files/main.js +6 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/example/insert.js +10 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/index.js +102 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/README.markdown +45 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/example/base.js +3 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/example/dir.js +3 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/index.js +29 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/package.json +50 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/test/dirs.js +66 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/jquery.js +4 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/results.txt +15 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/run.js +7 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/example/detect.js +6 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/example/src.js +27 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/index.js +166 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/example/types.js +8 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/index.js +42 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/ChangeLog +18 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/LICENSE.BSD +19 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/README.md +73 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/bin/esparse.js +117 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/bin/esvalidate.js +177 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/component.json +14 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/doc/index.html +473 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/esprima.js +3895 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/examples/detectnestedternary.js +106 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/examples/findbooleantrap.js +173 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/examples/tokendist.js +33 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/index.html +102 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/package.json +47 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/benchmarks.html +58 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/benchmarks.js +334 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/compare.html +69 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/compare.js +328 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/compat.html +40 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/compat.js +239 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/coverage.footer.html +3 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/coverage.header.html +37 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/coverage.html +4676 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/index.html +37 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/module.html +36 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/module.js +129 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/reflect.js +422 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/run.js +66 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/runner.js +387 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/test.js +19764 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/package.json +57 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/readme.markdown +52 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/test/parent.js +25 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/package.json +68 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/readme.markdown +99 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/argument.js +17 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/assign_implicit.js +13 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/detect.js +17 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/argument.js +6 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/assign_implicit.js +2 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/detect.js +32 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/named_arg.js +6 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/obj.js +1 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/return_hash.js +5 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/right_hand.js +2 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/named_arg.js +17 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/obj.js +16 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/package.json +5 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/return_hash.js +13 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/right_hand.js +16 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/shebang.js +19 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/2132fedf7e11adbdb654aea08615ffea7b84cbf0.patch +25 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/README.md +15 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js +52 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/index.js +2 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/package.json +33 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/package.json +59 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/readme.markdown +86 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/always/main.js +6 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/always.js +23 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/global/filename.js +2 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/global/main.js +2 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/global.js +49 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert/buffer.js +1 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert/foo/buf.js +4 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert/foo/index.js +4 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert/main.js +4 -0
- data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert.js +35 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/cmd.js +8 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/example/deps.js +8 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/example/files/bar.js +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/example/files/foo.js +5 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/example/files/main.js +2 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/example/files/xyz.js +2 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/index.js +177 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/example/strings.js +6 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/example/strings_src.js +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/index.js +66 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/LICENSE.BSD +19 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/LICENSE.source-map +27 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/README.md +99 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/bin/escodegen.js +43 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/bin/esgenerate.js +43 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/escodegen.js +2245 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/CHANGELOG.md +58 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/LICENSE +28 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/Makefile.dryice.js +166 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/README.md +347 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/assert-shim.js +56 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/mini-require.js +152 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-browser.js +8 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/test-prefix.js +8 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/test-suffix.js +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/array-set.js +96 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/base64.js +42 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/binary-search.js +81 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-consumer.js +426 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-generator.js +381 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-node.js +353 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/util.js +91 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map.js +8 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/README.md +119 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/package.json +40 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/package.json +81 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/run-tests.js +73 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-api.js +26 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-array-set.js +71 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64.js +35 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-consumer.js +291 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-generator.js +391 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-node.js +282 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/util.js +152 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/package.json +55 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/ChangeLog +18 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/LICENSE.BSD +19 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/README.md +73 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/bin/esparse.js +117 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/bin/esvalidate.js +177 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/component.json +14 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/doc/index.html +473 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/esprima.js +3895 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/examples/detectnestedternary.js +106 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/examples/findbooleantrap.js +173 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/examples/tokendist.js +33 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/index.html +102 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/package.json +47 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/benchmarks.html +58 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/benchmarks.js +334 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compare.html +69 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compare.js +328 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compat.html +40 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compat.js +239 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/coverage.footer.html +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/coverage.header.html +37 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/coverage.html +4676 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/index.html +37 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/module.html +36 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/module.js +129 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/reflect.js +422 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/run.js +66 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/runner.js +387 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/test.js +19764 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/package.json +43 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/readme.markdown +73 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/both.js +26 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/chained.js +9 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/both.js +4 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/chained.js +5 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/nested.js +22 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/shebang.js +5 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/sparse-array.js +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/strings.js +13 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/word.js +13 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/nested.js +9 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/return.js +9 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/shebang.js +9 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/sparse-array.js +14 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/strings.js +9 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/word.js +12 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/example/async.js +5 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/example/sync.js +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/index.js +5 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/async.js +131 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/core.js +4 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/core.json +38 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/sync.js +99 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/package.json +39 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/readme.markdown +134 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/core.js +12 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/filter.js +17 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/filter_sync.js +15 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/mock.js +68 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/mock_sync.js +68 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/baz/package.json +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/cup.coffee +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/foo.js +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/mug.js +0 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver.js +144 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver_sync.js +157 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/LICENSE.APACHE2 +15 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/LICENSE.MIT +24 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/index.js +108 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/package.json +50 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/readme.markdown +63 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/test/auto-destroy.js +30 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/test/buffering.js +71 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/test/end.js +45 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/test/index.js +114 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/package.json +55 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/readme.markdown +135 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/bundle.js +21 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/deps.js +42 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/bar.js +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/filterable.js +10 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/foo.js +5 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/main.js +2 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/f.js +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/main.js +7 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/g/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/g/node_modules/insert-ggg/index.js +7 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/g/package.json +6 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/insert-aaa/index.js +7 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/insert-bbb/index.js +7 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/m/index.js +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/f.js +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/main.js +7 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/node_modules/g/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/node_modules/g/package.json +6 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/node_modules/g/tr_g.js +6 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/node_modules/m/index.js +3 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/tr_a.js +6 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/tr_b.js +6 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/files/xyz.js +2 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/filter.js +37 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/noparse.js +37 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/tr_fn.js +29 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/tr_module.js +21 -0
- data/vendor/node_modules/browserify/node_modules/module-deps/test/tr_sh.js +21 -0
- data/vendor/node_modules/browserify/node_modules/optimist/LICENSE +21 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/bool.js +10 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/boolean_double.js +7 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/boolean_single.js +7 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/default_hash.js +8 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/default_singles.js +7 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/divide.js +8 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/line_count.js +20 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/line_count_options.js +29 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/line_count_wrap.js +29 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/nonopt.js +4 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/reflect.js +2 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/short.js +3 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/string.js +11 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/usage-options.js +19 -0
- data/vendor/node_modules/browserify/node_modules/optimist/example/xup.js +10 -0
- data/vendor/node_modules/browserify/node_modules/optimist/index.js +478 -0
- data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/README.markdown +70 -0
- data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/example/center.js +10 -0
- data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/example/meat.js +3 -0
- data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/index.js +76 -0
- data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/package.json +44 -0
- data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/test/break.js +30 -0
- data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/test/idleness.txt +63 -0
- data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/test/wrap.js +31 -0
- data/vendor/node_modules/browserify/node_modules/optimist/package.json +45 -0
- data/vendor/node_modules/browserify/node_modules/optimist/readme.markdown +487 -0
- data/vendor/node_modules/browserify/node_modules/optimist/test/_/argv.js +2 -0
- data/vendor/node_modules/browserify/node_modules/optimist/test/_/bin.js +3 -0
- data/vendor/node_modules/browserify/node_modules/optimist/test/_.js +71 -0
- data/vendor/node_modules/browserify/node_modules/optimist/test/parse.js +446 -0
- data/vendor/node_modules/browserify/node_modules/optimist/test/usage.js +292 -0
- data/vendor/node_modules/browserify/node_modules/shell-quote/README.markdown +72 -0
- data/vendor/node_modules/browserify/node_modules/shell-quote/example/parse.js +3 -0
- data/vendor/node_modules/browserify/node_modules/shell-quote/example/quote.js +3 -0
- data/vendor/node_modules/browserify/node_modules/shell-quote/index.js +33 -0
- data/vendor/node_modules/browserify/node_modules/shell-quote/package.json +46 -0
- data/vendor/node_modules/browserify/node_modules/shell-quote/test/parse.js +14 -0
- data/vendor/node_modules/browserify/node_modules/shell-quote/test/quote.js +15 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/example/check.js +12 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/example/src.js +9 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/index.js +54 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/LICENSE.BSD +19 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/README.md +74 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/codemirror/codemirror.css +112 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/codemirror/codemirror.js +2972 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/codemirror/javascript.js +360 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/json2.js +487 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/style.css +164 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/yui/treeview-min.js +12 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/yui/treeview-sprite.gif +0 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/yui/treeview.css +7 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/yui/yahoo-dom-event.js +14 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/bin/esparse.js +42 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/changes +92 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/cm +696 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/checkenv.js +42 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/collector.html +82 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/collector.js +170 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/functiontrace.html +106 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/functiontrace.js +123 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/parse.css +82 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/parse.html +352 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/precedence.html +225 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/rewrite.html +120 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/rewrite.js +71 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/esprima.js +3577 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/index.html +103 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/package.json +42 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/Tokenizer.js +646 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/XMLHttpRequest.js +509 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/ZeParser.js +2185 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/backbone-0.5.3.js +1158 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/benchmark.js +3261 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/escodegen.js +906 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/esmorph.js +240 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/ext-core-3.0.0.js +6579 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/ext-core-3.1.0.js +10255 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jquery-1.6.4.js +9046 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jquery-1.7.1.js +9266 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jquery.mobile-1.0.js +6951 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jsdefs.js +731 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jslex.js +588 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jsparse.js +1921 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/mootools-1.3.2.js +5952 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/mootools-1.4.1.js +6297 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/parse-js.js +1342 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/platform.js +878 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/prototype-1.6.1.js +4874 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/prototype-1.7.0.0.js +6082 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/underscore-1.2.3.js +981 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/benchmarks.html +58 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/benchmarks.js +328 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/compare.html +140 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/compare.js +270 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/compat.html +40 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/compat.js +239 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/coverage.footer.html +3 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/coverage.header.html +37 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/coverage.html +3617 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/index.html +36 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/reflect.js +403 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/run.js +66 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/test.js +16659 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/tools/generate-unicode-regex.py +164 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/tools/update-coverage.sh +28 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/package.json +53 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/readme.markdown +87 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/test/check.js +17 -0
- data/vendor/node_modules/browserify/node_modules/syntax-error/test/sources/check.js +9 -0
- data/vendor/node_modules/browserify/node_modules/through/LICENSE.APACHE2 +15 -0
- data/vendor/node_modules/browserify/node_modules/through/LICENSE.MIT +24 -0
- data/vendor/node_modules/browserify/node_modules/through/index.js +103 -0
- data/vendor/node_modules/browserify/node_modules/through/package.json +50 -0
- data/vendor/node_modules/browserify/node_modules/through/readme.markdown +43 -0
- data/vendor/node_modules/browserify/node_modules/through/test/buffering.js +71 -0
- data/vendor/node_modules/browserify/node_modules/through/test/end.js +26 -0
- data/vendor/node_modules/browserify/node_modules/through/test/index.js +114 -0
- data/vendor/node_modules/browserify/node_modules/umd/README.md +46 -0
- data/vendor/node_modules/browserify/node_modules/umd/index.js +63 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/README.md +81 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/index.js +39 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/History.md +10 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/Makefile +6 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/Readme.md +44 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/index.js +10 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/package.json +31 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/LICENSE +18 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/example/async.js +5 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/example/sync.js +3 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/index.js +5 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/async.js +131 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/core.js +4 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/core.json +38 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/sync.js +99 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/package.json +39 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/readme.markdown +134 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/core.js +12 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/filter.js +17 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/filter_sync.js +15 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/mock.js +68 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/mock_sync.js +68 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/baz/package.json +3 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/cup.coffee +1 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/foo.js +1 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/mug.js +0 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver.js +144 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver_sync.js +157 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/package.json +43 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/test/index.js +43 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/README.md +26 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/index.js +9 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/package.json +46 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.js +9597 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.min.js +3 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/index.js +8 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/LICENSE.APACHE2 +15 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/LICENSE.MIT +24 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/index.js +108 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/package.json +50 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/readme.markdown +63 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/test/auto-destroy.js +30 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/test/buffering.js +71 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/test/end.js +45 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/test/index.js +114 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/README.md +544 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/bin/uglifyjs +370 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/ast.js +964 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/compress.js +1968 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/mozilla-ast.js +265 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/output.js +1220 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/parse.js +1407 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/scope.js +580 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/sourcemap.js +81 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/transform.js +218 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/utils.js +288 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/CHANGELOG.md +58 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/LICENSE +28 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/Makefile.dryice.js +166 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/README.md +347 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/assert-shim.js +56 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/mini-require.js +152 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm +20 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm +18 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js +8 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm +6 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm +21 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js +8 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js +3 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/array-set.js +96 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64.js +42 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/binary-search.js +81 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-consumer.js +426 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-generator.js +381 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-node.js +353 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/util.js +91 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map.js +8 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/README.md +119 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/package.json +40 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/package.json +81 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/run-tests.js +73 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js +26 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-array-set.js +71 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64.js +35 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-consumer.js +291 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-generator.js +391 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-node.js +282 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/util.js +152 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/package.json +48 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/arrays.js +12 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/blocks.js +49 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/conditionals.js +143 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/dead-code.js +89 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/debugger.js +24 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/drop-unused.js +97 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-105.js +17 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-12.js +11 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-22.js +17 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-44.js +31 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-59.js +30 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/labels.js +163 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/loops.js +123 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/properties.js +25 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/sequences.js +161 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/switch.js +210 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/run-tests.js +170 -0
- data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/tools/node.js +164 -0
- data/vendor/node_modules/browserify/node_modules/umd/package.json +39 -0
- data/vendor/node_modules/browserify/node_modules/umd/template.js +33 -0
- data/vendor/node_modules/browserify/package.json +65 -0
- data/vendor/node_modules/browserify/readme.markdown +426 -0
- data/vendor/node_modules/browserify/test/backbone.js +22 -0
- data/vendor/node_modules/browserify/test/bin.js +31 -0
- data/vendor/node_modules/browserify/test/bin_entry.js +31 -0
- data/vendor/node_modules/browserify/test/buffer.js +118 -0
- data/vendor/node_modules/browserify/test/bundle_sourcemap.js +30 -0
- data/vendor/node_modules/browserify/test/catch/main.js +1 -0
- data/vendor/node_modules/browserify/test/catch.js +22 -0
- data/vendor/node_modules/browserify/test/circular/a.js +3 -0
- data/vendor/node_modules/browserify/test/circular/b.js +1 -0
- data/vendor/node_modules/browserify/test/circular/main.js +1 -0
- data/vendor/node_modules/browserify/test/circular.js +34 -0
- data/vendor/node_modules/browserify/test/coffee_bin/main.coffee +2 -0
- data/vendor/node_modules/browserify/test/coffee_bin/x.coffee +1 -0
- data/vendor/node_modules/browserify/test/coffee_bin.js +36 -0
- data/vendor/node_modules/browserify/test/comment/main.js +2 -0
- data/vendor/node_modules/browserify/test/comment.js +16 -0
- data/vendor/node_modules/browserify/test/crypto.js +37 -0
- data/vendor/node_modules/browserify/test/dnode.js +27 -0
- data/vendor/node_modules/browserify/test/dollar/dollar/index.js +7 -0
- data/vendor/node_modules/browserify/test/dollar.js +18 -0
- data/vendor/node_modules/browserify/test/entry/main.js +1 -0
- data/vendor/node_modules/browserify/test/entry/one.js +1 -0
- data/vendor/node_modules/browserify/test/entry/two.js +1 -0
- data/vendor/node_modules/browserify/test/entry.js +19 -0
- data/vendor/node_modules/browserify/test/entry_exec/fail.js +1 -0
- data/vendor/node_modules/browserify/test/entry_exec/main.js +1 -0
- data/vendor/node_modules/browserify/test/entry_exec.js +15 -0
- data/vendor/node_modules/browserify/test/error_code/src.js +2 -0
- data/vendor/node_modules/browserify/test/error_code.js +22 -0
- data/vendor/node_modules/browserify/test/export/entry.js +1 -0
- data/vendor/node_modules/browserify/test/export.js +35 -0
- data/vendor/node_modules/browserify/test/fake/fake_fs.js +1 -0
- data/vendor/node_modules/browserify/test/fake/main.js +2 -0
- data/vendor/node_modules/browserify/test/fake.js +15 -0
- data/vendor/node_modules/browserify/test/field/miss.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-miss/browser.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-miss/main.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-miss/package.json +4 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-object/browser.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-object/main.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-object/package.json +4 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-string/browser.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-string/main.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-string/package.json +4 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-sub/browser/a.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-sub/browser/b.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-sub/main.js +1 -0
- data/vendor/node_modules/browserify/test/field/node_modules/z-sub/package.json +4 -0
- data/vendor/node_modules/browserify/test/field/object.js +1 -0
- data/vendor/node_modules/browserify/test/field/string.js +1 -0
- data/vendor/node_modules/browserify/test/field/sub.js +1 -0
- data/vendor/node_modules/browserify/test/field.js +64 -0
- data/vendor/node_modules/browserify/test/file_event.js +33 -0
- data/vendor/node_modules/browserify/test/global/buffer.js +2 -0
- data/vendor/node_modules/browserify/test/global/filename.js +2 -0
- data/vendor/node_modules/browserify/test/global/main.js +2 -0
- data/vendor/node_modules/browserify/test/global/tick.js +3 -0
- data/vendor/node_modules/browserify/test/global.js +54 -0
- data/vendor/node_modules/browserify/test/ignore/main.js +1 -0
- data/vendor/node_modules/browserify/test/ignore/skip.js +1 -0
- data/vendor/node_modules/browserify/test/ignore.js +16 -0
- data/vendor/node_modules/browserify/test/json/beep.json +4 -0
- data/vendor/node_modules/browserify/test/json/main.js +1 -0
- data/vendor/node_modules/browserify/test/json.js +18 -0
- data/vendor/node_modules/browserify/test/maxlisteners/main.js +3 -0
- data/vendor/node_modules/browserify/test/maxlisteners.js +13 -0
- data/vendor/node_modules/browserify/test/multi_bundle/a.js +2 -0
- data/vendor/node_modules/browserify/test/multi_bundle/b.js +5 -0
- data/vendor/node_modules/browserify/test/multi_bundle.js +44 -0
- data/vendor/node_modules/browserify/test/multi_entry/a.js +2 -0
- data/vendor/node_modules/browserify/test/multi_entry/b.js +2 -0
- data/vendor/node_modules/browserify/test/multi_entry/c.js +2 -0
- data/vendor/node_modules/browserify/test/multi_entry.js +25 -0
- data/vendor/node_modules/browserify/test/node_modules/beep/index.js +1 -0
- data/vendor/node_modules/browserify/test/process/main.js +3 -0
- data/vendor/node_modules/browserify/test/process/one.js +1 -0
- data/vendor/node_modules/browserify/test/process/two.js +1 -0
- data/vendor/node_modules/browserify/test/process.js +20 -0
- data/vendor/node_modules/browserify/test/require_cache.js +19 -0
- data/vendor/node_modules/browserify/test/retarget.js +23 -0
- data/vendor/node_modules/browserify/test/reverse_multi_bundle/app.js +22 -0
- data/vendor/node_modules/browserify/test/reverse_multi_bundle/lazy.js +4 -0
- data/vendor/node_modules/browserify/test/reverse_multi_bundle/shared.js +4 -0
- data/vendor/node_modules/browserify/test/reverse_multi_bundle.js +43 -0
- data/vendor/node_modules/browserify/test/shebang/foo.js +2 -0
- data/vendor/node_modules/browserify/test/shebang/main.js +4 -0
- data/vendor/node_modules/browserify/test/shebang.js +11 -0
- data/vendor/node_modules/browserify/test/standalone/main.js +3 -0
- data/vendor/node_modules/browserify/test/standalone/one.js +1 -0
- data/vendor/node_modules/browserify/test/standalone/two.js +1 -0
- data/vendor/node_modules/browserify/test/standalone.js +73 -0
- data/vendor/node_modules/browserify/test/subdep/index.js +1 -0
- data/vendor/node_modules/browserify/test/subdep/node_modules/qq/b.js +1 -0
- data/vendor/node_modules/browserify/test/subdep/node_modules/qq/ignore_me.js +1 -0
- data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/a/index.js +1 -0
- data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/a/package.json +5 -0
- data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/c/index.js +1 -0
- data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/c/package.json +5 -0
- data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/f/index.js +1 -0
- data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/z/index.js +1 -0
- data/vendor/node_modules/browserify/test/subdep/node_modules/qq/package.json +3 -0
- data/vendor/node_modules/browserify/test/subdep/package.json +6 -0
- data/vendor/node_modules/browserify/test/subdep.js +16 -0
- data/vendor/node_modules/browserify/test/tr/f.js +1 -0
- data/vendor/node_modules/browserify/test/tr/main.js +7 -0
- data/vendor/node_modules/browserify/test/tr/node_modules/g/index.js +1 -0
- data/vendor/node_modules/browserify/test/tr/node_modules/g/node_modules/insert-ggg/index.js +7 -0
- data/vendor/node_modules/browserify/test/tr/node_modules/g/package.json +6 -0
- data/vendor/node_modules/browserify/test/tr/node_modules/insert-aaa/index.js +7 -0
- data/vendor/node_modules/browserify/test/tr/node_modules/insert-bbb/index.js +7 -0
- data/vendor/node_modules/browserify/test/tr/node_modules/m/index.js +3 -0
- data/vendor/node_modules/browserify/test/tr.js +21 -0
- data/vendor/node_modules/browserify/test/util.js +62 -0
- data/vendor/node_modules/wisp/History.md +152 -0
- data/vendor/node_modules/wisp/LICENSE +24 -0
- data/vendor/node_modules/wisp/Makefile +80 -0
- data/vendor/node_modules/wisp/Readme.md +615 -0
- data/vendor/node_modules/wisp/analyzer.js +385 -0
- data/vendor/node_modules/wisp/ast.js +214 -0
- data/vendor/node_modules/wisp/backend/javascript/writer.js +212 -0
- data/vendor/node_modules/wisp/bin/wisp.js +2 -0
- data/vendor/node_modules/wisp/compiler.js +1028 -0
- data/vendor/node_modules/wisp/design.md +114 -0
- data/vendor/node_modules/wisp/engine/browser.js +65 -0
- data/vendor/node_modules/wisp/engine/node.js +20 -0
- data/vendor/node_modules/wisp/index.html +405 -0
- data/vendor/node_modules/wisp/interactivate/Makefile +38 -0
- data/vendor/node_modules/wisp/interactivate/Readme.md +24 -0
- data/vendor/node_modules/wisp/interactivate/build/cache.manifest +12 -0
- data/vendor/node_modules/wisp/interactivate/build/codemirror-compressed.js +4 -0
- data/vendor/node_modules/wisp/interactivate/build/codemirror.css +248 -0
- data/vendor/node_modules/wisp/interactivate/build/main.js +5430 -0
- data/vendor/node_modules/wisp/interactivate/build/solarized.css +207 -0
- data/vendor/node_modules/wisp/interactivate/host.wisp +83 -0
- data/vendor/node_modules/wisp/interactivate/index.html +392 -0
- data/vendor/node_modules/wisp/interactivate/main.wisp +37 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-activine/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-activine/Readme.md +22 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-activine/core.js +33 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-activine/package.json +36 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-hashare/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-hashare/Readme.md +23 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-hashare/core.js +31 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-hashare/package.json +37 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-persist/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-persist/Readme.md +22 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-persist/core.js +25 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-persist/package.json +34 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/History.md +47 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/Readme.md +11 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/Readme.md +24 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/cache.manifest +12 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/codemirror-compressed.js +4 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/codemirror.css +248 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/main.js +267 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/solarized.css +207 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/index.html +115 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/main.js +39 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/Readme.md +22 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/core.js +33 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/package.json +36 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/Readme.md +23 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/core.js +31 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/package.json +37 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/Readme.md +22 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/core.js +25 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/package.json +34 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/package.json +21 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/host/window.js +19 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/interactivate.js +187 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/History.md +10 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/Readme.md +68 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/diff.js +45 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/index.js +5 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/package.json +53 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/patch.js +21 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/rebase.js +33 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/diff.js +62 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/index.js +16 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/patch.js +54 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/History.md +15 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/Readme.md +54 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/event.js +39 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/index.js +3 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/History.md +20 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/Readme.md +45 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/end.js +3 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/index.js +8 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-error.js +9 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-reduced.js +9 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/package.json +57 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduce.js +59 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduced.js +15 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reducible.js +87 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/index.js +6 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reduce.js +116 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reducible.js +106 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/package.json +56 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/test/index.js +91 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/History.md +60 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/Readme.md +125 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/core.js +227 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/package.json +93 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/browser.js +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/common-index.js +3 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/common.js +270 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/index.js +3 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/phantom-index.js +3 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/tap-index.js +3 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/testling-index.js +3 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/History.md +139 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/License.md +19 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/Readme.md +253 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/capture.js +34 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/concat.js +37 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/debug/print.js +45 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/delay.js +29 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/drop-while.js +39 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/drop.js +40 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/expand.js +25 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/filter.js +21 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/fold.js +55 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/hub.js +102 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/index.js +33 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/into.js +16 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/map.js +19 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/merge.js +50 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/History.md +20 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/License.md +18 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/Readme.md +45 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/end.js +3 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/index.js +8 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-error.js +9 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-reduced.js +9 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/package.json +57 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduce.js +59 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduced.js +15 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reducible.js +87 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/index.js +6 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reduce.js +116 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reducible.js +106 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/package.json +60 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/reducer.js +51 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/reductions.js +31 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/take-while.js +23 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/take.js +40 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/benchmark.js +32 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/capture.js +108 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/concat.js +104 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/delay.js +29 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/drop-while.js +118 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/drop.js +89 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/errors.js +222 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/filter.js +72 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/fold.js +111 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/hub.js +222 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/index.js +23 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/into.js +22 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/map.js +67 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/merge.js +75 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/reductions.js +105 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/take-while.js +134 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/take.js +82 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/event.js +25 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/lazy.js +9 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/test.js +34 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/output.js +60 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/package.json +30 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/render.js +23 -0
- data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/view.js +79 -0
- data/vendor/node_modules/wisp/interactivate/package.json +22 -0
- data/vendor/node_modules/wisp/package.json +61 -0
- data/vendor/node_modules/wisp/reader.js +785 -0
- data/vendor/node_modules/wisp/repl.js +121 -0
- data/vendor/node_modules/wisp/runtime.js +609 -0
- data/vendor/node_modules/wisp/sequence.js +553 -0
- data/vendor/node_modules/wisp/src/ast.wisp +160 -0
- data/vendor/node_modules/wisp/src/backend/javascript/writer.wisp +161 -0
- data/vendor/node_modules/wisp/src/backend/js/generator.wisp +939 -0
- data/vendor/node_modules/wisp/src/compiler.wisp +1185 -0
- data/vendor/node_modules/wisp/src/drafts.wisp +50 -0
- data/vendor/node_modules/wisp/src/drft.wisp +329 -0
- data/vendor/node_modules/wisp/src/engine/browser.wisp +73 -0
- data/vendor/node_modules/wisp/src/engine/node.wisp +23 -0
- data/vendor/node_modules/wisp/src/extra.wisp +36 -0
- data/vendor/node_modules/wisp/src/reader.wisp +615 -0
- data/vendor/node_modules/wisp/src/repl.wisp +79 -0
- data/vendor/node_modules/wisp/src/runtime.wisp +511 -0
- data/vendor/node_modules/wisp/src/sequence.wisp +416 -0
- data/vendor/node_modules/wisp/src/string.wisp +110 -0
- data/vendor/node_modules/wisp/src/type.wisp +51 -0
- data/vendor/node_modules/wisp/src/wisp.wisp +57 -0
- data/vendor/node_modules/wisp/string.js +96 -0
- data/vendor/node_modules/wisp/support/ambiance.css +119 -0
- data/vendor/node_modules/wisp/support/app.js +3669 -0
- data/vendor/node_modules/wisp/support/codemirror-compressed.js +1 -0
- data/vendor/node_modules/wisp/support/codemirror.css +173 -0
- data/vendor/node_modules/wisp/support/embed.js +71 -0
- data/vendor/node_modules/wisp/support/embed.wisp +74 -0
- data/vendor/node_modules/wisp/support/require.js +35 -0
- data/vendor/node_modules/wisp/test/ast.wisp +58 -0
- data/vendor/node_modules/wisp/test/compiler.wisp +549 -0
- data/vendor/node_modules/wisp/test/reader.wisp +228 -0
- data/vendor/node_modules/wisp/test/runtime.wisp +180 -0
- data/vendor/node_modules/wisp/test/sequence.wisp +338 -0
- data/vendor/node_modules/wisp/test/string.wisp +44 -0
- data/vendor/node_modules/wisp/test/test.wisp +8 -0
- data/vendor/node_modules/wisp/wisp.js +60 -0
- data/vendor/package.json +39 -0
- data/vendor/reader.js +784 -0
- data/vendor/repl.js +116 -0
- data/vendor/runtime.js +613 -0
- data/vendor/sequence.js +555 -0
- data/vendor/src/ast.wisp +162 -0
- data/vendor/src/backend/escodegen/writer.wisp +939 -0
- data/vendor/src/backend/javascript/writer.wisp +164 -0
- data/vendor/src/compiler.wisp +1191 -0
- data/vendor/src/drafts/drafts.wisp +50 -0
- data/vendor/src/drafts/drft.wisp +329 -0
- data/vendor/src/drafts/extra.wisp +36 -0
- data/vendor/src/engine/browser.wisp +67 -0
- data/vendor/src/engine/node.wisp +16 -0
- data/vendor/src/functional-reader.wisp +96 -0
- data/vendor/src/reader.wisp +619 -0
- data/vendor/src/repl.wisp +80 -0
- data/vendor/src/runtime.wisp +512 -0
- data/vendor/src/sequence.wisp +417 -0
- data/vendor/src/string.wisp +111 -0
- data/vendor/src/type.wisp +54 -0
- data/vendor/src/wisp.wisp +58 -0
- data/vendor/string.js +97 -0
- data/vendor/test/ast.wisp +60 -0
- data/vendor/test/compiler.wisp +552 -0
- data/vendor/test/reader.wisp +228 -0
- data/vendor/test/runtime.wisp +180 -0
- data/vendor/test/sequence.wisp +337 -0
- data/vendor/test/string.wisp +45 -0
- data/vendor/test/test.wisp +9 -0
- data/vendor/try/Makefile +27 -0
- data/vendor/try/Readme.md +25 -0
- data/vendor/try/build/codemirror-compressed.js +4 -0
- data/vendor/try/build/codemirror.css +248 -0
- data/vendor/try/build/main.js +3742 -0
- data/vendor/try/build/require.js +35 -0
- data/vendor/try/build/solarized.css +203 -0
- data/vendor/try/index.html +399 -0
- data/vendor/try/node_modules/codemirror-activine/License.md +18 -0
- data/vendor/try/node_modules/codemirror-activine/Readme.md +22 -0
- data/vendor/try/node_modules/codemirror-activine/core.js +33 -0
- data/vendor/try/node_modules/codemirror-activine/package.json +36 -0
- data/vendor/try/node_modules/codemirror-persist/License.md +18 -0
- data/vendor/try/node_modules/codemirror-persist/Readme.md +22 -0
- data/vendor/try/node_modules/codemirror-persist/core.js +25 -0
- data/vendor/try/node_modules/codemirror-persist/package.json +34 -0
- data/vendor/try/node_modules/~wisp/History.md +152 -0
- data/vendor/try/node_modules/~wisp/LICENSE +24 -0
- data/vendor/try/node_modules/~wisp/Makefile +80 -0
- data/vendor/try/node_modules/~wisp/Readme.md +615 -0
- data/vendor/try/node_modules/~wisp/analyzer.js +385 -0
- data/vendor/try/node_modules/~wisp/ast.js +214 -0
- data/vendor/try/node_modules/~wisp/backend/javascript/writer.js +212 -0
- data/vendor/try/node_modules/~wisp/bin/wisp.js +2 -0
- data/vendor/try/node_modules/~wisp/compiler.js +1028 -0
- data/vendor/try/node_modules/~wisp/design.md +114 -0
- data/vendor/try/node_modules/~wisp/engine/browser.js +65 -0
- data/vendor/try/node_modules/~wisp/engine/node.js +20 -0
- data/vendor/try/node_modules/~wisp/index.html +405 -0
- data/vendor/try/node_modules/~wisp/interactivate/Makefile +38 -0
- data/vendor/try/node_modules/~wisp/interactivate/Readme.md +24 -0
- data/vendor/try/node_modules/~wisp/interactivate/build/cache.manifest +12 -0
- data/vendor/try/node_modules/~wisp/interactivate/build/codemirror-compressed.js +4 -0
- data/vendor/try/node_modules/~wisp/interactivate/build/codemirror.css +248 -0
- data/vendor/try/node_modules/~wisp/interactivate/build/main.js +5430 -0
- data/vendor/try/node_modules/~wisp/interactivate/build/solarized.css +207 -0
- data/vendor/try/node_modules/~wisp/interactivate/host.wisp +83 -0
- data/vendor/try/node_modules/~wisp/interactivate/index.html +392 -0
- data/vendor/try/node_modules/~wisp/interactivate/main.wisp +37 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-activine/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-activine/Readme.md +22 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-activine/core.js +33 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-activine/package.json +36 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-hashare/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-hashare/Readme.md +23 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-hashare/core.js +31 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-hashare/package.json +37 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-persist/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-persist/Readme.md +22 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-persist/core.js +25 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-persist/package.json +34 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/History.md +47 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/Readme.md +11 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/Readme.md +24 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/cache.manifest +12 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/codemirror-compressed.js +4 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/codemirror.css +248 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/main.js +267 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/solarized.css +207 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/index.html +115 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/main.js +39 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/Readme.md +22 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/core.js +33 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/package.json +36 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/Readme.md +23 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/core.js +31 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/package.json +37 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/Readme.md +22 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/core.js +25 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/package.json +34 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/package.json +21 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/host/window.js +19 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/interactivate.js +187 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/History.md +10 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/Readme.md +68 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/diff.js +45 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/index.js +5 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/package.json +53 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/patch.js +21 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/rebase.js +33 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/diff.js +62 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/index.js +16 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/patch.js +54 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/History.md +15 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/Readme.md +54 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/event.js +39 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/index.js +3 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/History.md +20 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/Readme.md +45 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/end.js +3 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/index.js +8 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-error.js +9 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-reduced.js +9 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/package.json +57 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduce.js +59 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduced.js +15 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reducible.js +87 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/index.js +6 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reduce.js +116 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reducible.js +106 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/package.json +56 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/test/index.js +91 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/History.md +60 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/Readme.md +125 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/core.js +227 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/package.json +93 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/browser.js +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/common-index.js +3 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/common.js +270 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/index.js +3 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/phantom-index.js +3 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/tap-index.js +3 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/testling-index.js +3 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/History.md +139 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/License.md +19 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/Readme.md +253 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/capture.js +34 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/concat.js +37 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/debug/print.js +45 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/delay.js +29 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/drop-while.js +39 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/drop.js +40 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/expand.js +25 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/filter.js +21 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/fold.js +55 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/hub.js +102 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/index.js +33 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/into.js +16 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/map.js +19 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/merge.js +50 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/History.md +20 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/License.md +18 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/Readme.md +45 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/end.js +3 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/index.js +8 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-error.js +9 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-reduced.js +9 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/package.json +57 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduce.js +59 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduced.js +15 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reducible.js +87 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/index.js +6 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reduce.js +116 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reducible.js +106 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/package.json +60 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/reducer.js +51 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/reductions.js +31 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/take-while.js +23 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/take.js +40 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/benchmark.js +32 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/capture.js +108 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/concat.js +104 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/delay.js +29 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/drop-while.js +118 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/drop.js +89 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/errors.js +222 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/filter.js +72 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/fold.js +111 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/hub.js +222 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/index.js +23 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/into.js +22 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/map.js +67 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/merge.js +75 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/reductions.js +105 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/take-while.js +134 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/take.js +82 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/event.js +25 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/lazy.js +9 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/test.js +34 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/output.js +60 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/package.json +30 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/render.js +23 -0
- data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/view.js +79 -0
- data/vendor/try/node_modules/~wisp/interactivate/package.json +22 -0
- data/vendor/try/node_modules/~wisp/package.json +57 -0
- data/vendor/try/node_modules/~wisp/reader.js +785 -0
- data/vendor/try/node_modules/~wisp/repl.js +121 -0
- data/vendor/try/node_modules/~wisp/runtime.js +609 -0
- data/vendor/try/node_modules/~wisp/sequence.js +553 -0
- data/vendor/try/node_modules/~wisp/src/ast.wisp +160 -0
- data/vendor/try/node_modules/~wisp/src/backend/javascript/writer.wisp +161 -0
- data/vendor/try/node_modules/~wisp/src/backend/js/generator.wisp +939 -0
- data/vendor/try/node_modules/~wisp/src/compiler.wisp +1185 -0
- data/vendor/try/node_modules/~wisp/src/drafts.wisp +50 -0
- data/vendor/try/node_modules/~wisp/src/drft.wisp +329 -0
- data/vendor/try/node_modules/~wisp/src/engine/browser.wisp +73 -0
- data/vendor/try/node_modules/~wisp/src/engine/node.wisp +23 -0
- data/vendor/try/node_modules/~wisp/src/extra.wisp +36 -0
- data/vendor/try/node_modules/~wisp/src/reader.wisp +615 -0
- data/vendor/try/node_modules/~wisp/src/repl.wisp +79 -0
- data/vendor/try/node_modules/~wisp/src/runtime.wisp +511 -0
- data/vendor/try/node_modules/~wisp/src/sequence.wisp +416 -0
- data/vendor/try/node_modules/~wisp/src/string.wisp +110 -0
- data/vendor/try/node_modules/~wisp/src/type.wisp +51 -0
- data/vendor/try/node_modules/~wisp/src/wisp.wisp +57 -0
- data/vendor/try/node_modules/~wisp/string.js +96 -0
- data/vendor/try/node_modules/~wisp/support/ambiance.css +119 -0
- data/vendor/try/node_modules/~wisp/support/app.js +3669 -0
- data/vendor/try/node_modules/~wisp/support/codemirror-compressed.js +1 -0
- data/vendor/try/node_modules/~wisp/support/codemirror.css +173 -0
- data/vendor/try/node_modules/~wisp/support/embed.js +71 -0
- data/vendor/try/node_modules/~wisp/support/embed.wisp +74 -0
- data/vendor/try/node_modules/~wisp/support/require.js +35 -0
- data/vendor/try/node_modules/~wisp/test/ast.wisp +58 -0
- data/vendor/try/node_modules/~wisp/test/compiler.wisp +549 -0
- data/vendor/try/node_modules/~wisp/test/reader.wisp +228 -0
- data/vendor/try/node_modules/~wisp/test/runtime.wisp +180 -0
- data/vendor/try/node_modules/~wisp/test/sequence.wisp +338 -0
- data/vendor/try/node_modules/~wisp/test/string.wisp +44 -0
- data/vendor/try/node_modules/~wisp/test/test.wisp +8 -0
- data/vendor/try/node_modules/~wisp/wisp.js +60 -0
- data/vendor/try/package.json +19 -0
- data/vendor/try/src/main.wisp +89 -0
- data/vendor/wisp.js +55 -0
- metadata +1727 -0
@@ -0,0 +1,1220 @@
|
|
1
|
+
/**
|
2
|
+
* @preserve Copyright 2012 Robert Gust-Bardon <http://robert.gust-bardon.org/>.
|
3
|
+
* All rights reserved.
|
4
|
+
*
|
5
|
+
* Redistribution and use in source and binary forms, with or without
|
6
|
+
* modification, are permitted provided that the following conditions
|
7
|
+
* are met:
|
8
|
+
*
|
9
|
+
* * Redistributions of source code must retain the above
|
10
|
+
* copyright notice, this list of conditions and the following
|
11
|
+
* disclaimer.
|
12
|
+
*
|
13
|
+
* * Redistributions in binary form must reproduce the above
|
14
|
+
* copyright notice, this list of conditions and the following
|
15
|
+
* disclaimer in the documentation and/or other materials
|
16
|
+
* provided with the distribution.
|
17
|
+
*
|
18
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER "AS IS" AND ANY
|
19
|
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
20
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
21
|
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE
|
22
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
23
|
+
* OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
24
|
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
25
|
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
26
|
+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
27
|
+
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
28
|
+
* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
29
|
+
* SUCH DAMAGE.
|
30
|
+
*/
|
31
|
+
|
32
|
+
/**
|
33
|
+
* @fileoverview Enhances <a href="https://github.com/mishoo/UglifyJS/"
|
34
|
+
* >UglifyJS</a> with consolidation of null, Boolean, and String values.
|
35
|
+
* <p>Also known as aliasing, this feature has been deprecated in <a href=
|
36
|
+
* "http://closure-compiler.googlecode.com/">the Closure Compiler</a> since its
|
37
|
+
* initial release, where it is unavailable from the <abbr title=
|
38
|
+
* "command line interface">CLI</a>. The Closure Compiler allows one to log and
|
39
|
+
* influence this process. In contrast, this implementation does not introduce
|
40
|
+
* any variable declarations in global code and derives String values from
|
41
|
+
* identifier names used as property accessors.</p>
|
42
|
+
* <p>Consolidating literals may worsen the data compression ratio when an <a
|
43
|
+
* href="http://tools.ietf.org/html/rfc2616#section-3.5">encoding
|
44
|
+
* transformation</a> is applied. For instance, <a href=
|
45
|
+
* "http://code.jquery.com/jquery-1.7.1.js">jQuery 1.7.1</a> takes 248235 bytes.
|
46
|
+
* Building it with <a href="https://github.com/mishoo/UglifyJS/tarball/v1.2.5">
|
47
|
+
* UglifyJS v1.2.5</a> results in 93647 bytes (37.73% of the original) which are
|
48
|
+
* then compressed to 33154 bytes (13.36% of the original) using <a href=
|
49
|
+
* "http://linux.die.net/man/1/gzip">gzip(1)</a>. Building it with the same
|
50
|
+
* version of UglifyJS 1.2.5 patched with the implementation of consolidation
|
51
|
+
* results in 80784 bytes (a decrease of 12863 bytes, i.e. 13.74%, in comparison
|
52
|
+
* to the aforementioned 93647 bytes) which are then compressed to 34013 bytes
|
53
|
+
* (an increase of 859 bytes, i.e. 2.59%, in comparison to the aforementioned
|
54
|
+
* 33154 bytes).</p>
|
55
|
+
* <p>Written in <a href="http://es5.github.com/#x4.2.2">the strict variant</a>
|
56
|
+
* of <a href="http://es5.github.com/">ECMA-262 5.1 Edition</a>. Encoded in <a
|
57
|
+
* href="http://tools.ietf.org/html/rfc3629">UTF-8</a>. Follows <a href=
|
58
|
+
* "http://google-styleguide.googlecode.com/svn-history/r76/trunk/javascriptguide.xml"
|
59
|
+
* >Revision 2.28 of the Google JavaScript Style Guide</a> (except for the
|
60
|
+
* discouraged use of the {@code function} tag and the {@code namespace} tag).
|
61
|
+
* 100% typed for the <a href=
|
62
|
+
* "http://closure-compiler.googlecode.com/files/compiler-20120123.tar.gz"
|
63
|
+
* >Closure Compiler Version 1741</a>.</p>
|
64
|
+
* <p>Should you find this software useful, please consider <a href=
|
65
|
+
* "https://paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JZLW72X8FD4WG"
|
66
|
+
* >a donation</a>.</p>
|
67
|
+
* @author follow.me@RGustBardon (Robert Gust-Bardon)
|
68
|
+
* @supported Tested with:
|
69
|
+
* <ul>
|
70
|
+
* <li><a href="http://nodejs.org/dist/v0.6.10/">Node v0.6.10</a>,</li>
|
71
|
+
* <li><a href="https://github.com/mishoo/UglifyJS/tarball/v1.2.5">UglifyJS
|
72
|
+
* v1.2.5</a>.</li>
|
73
|
+
* </ul>
|
74
|
+
*/
|
75
|
+
|
76
|
+
/*global console:false, exports:true, module:false, require:false */
|
77
|
+
/*jshint sub:true */
|
78
|
+
/**
|
79
|
+
* Consolidates null, Boolean, and String values found inside an <abbr title=
|
80
|
+
* "abstract syntax tree">AST</abbr>.
|
81
|
+
* @param {!TSyntacticCodeUnit} oAbstractSyntaxTree An array-like object
|
82
|
+
* representing an <abbr title="abstract syntax tree">AST</abbr>.
|
83
|
+
* @return {!TSyntacticCodeUnit} An array-like object representing an <abbr
|
84
|
+
* title="abstract syntax tree">AST</abbr> with its null, Boolean, and
|
85
|
+
* String values consolidated.
|
86
|
+
*/
|
87
|
+
// TODO(user) Consolidation of mathematical values found in numeric literals.
|
88
|
+
// TODO(user) Unconsolidation.
|
89
|
+
// TODO(user) Consolidation of ECMA-262 6th Edition programs.
|
90
|
+
// TODO(user) Rewrite in ECMA-262 6th Edition.
|
91
|
+
exports['ast_consolidate'] = function(oAbstractSyntaxTree) {
|
92
|
+
'use strict';
|
93
|
+
/*jshint bitwise:true, curly:true, eqeqeq:true, forin:true, immed:true,
|
94
|
+
latedef:true, newcap:true, noarge:true, noempty:true, nonew:true,
|
95
|
+
onevar:true, plusplus:true, regexp:true, undef:true, strict:true,
|
96
|
+
sub:false, trailing:true */
|
97
|
+
|
98
|
+
var _,
|
99
|
+
/**
|
100
|
+
* A record consisting of data about one or more source elements.
|
101
|
+
* @constructor
|
102
|
+
* @nosideeffects
|
103
|
+
*/
|
104
|
+
TSourceElementsData = function() {
|
105
|
+
/**
|
106
|
+
* The category of the elements.
|
107
|
+
* @type {number}
|
108
|
+
* @see ESourceElementCategories
|
109
|
+
*/
|
110
|
+
this.nCategory = ESourceElementCategories.N_OTHER;
|
111
|
+
/**
|
112
|
+
* The number of occurrences (within the elements) of each primitive
|
113
|
+
* value that could be consolidated.
|
114
|
+
* @type {!Array.<!Object.<string, number>>}
|
115
|
+
*/
|
116
|
+
this.aCount = [];
|
117
|
+
this.aCount[EPrimaryExpressionCategories.N_IDENTIFIER_NAMES] = {};
|
118
|
+
this.aCount[EPrimaryExpressionCategories.N_STRING_LITERALS] = {};
|
119
|
+
this.aCount[EPrimaryExpressionCategories.N_NULL_AND_BOOLEAN_LITERALS] =
|
120
|
+
{};
|
121
|
+
/**
|
122
|
+
* Identifier names found within the elements.
|
123
|
+
* @type {!Array.<string>}
|
124
|
+
*/
|
125
|
+
this.aIdentifiers = [];
|
126
|
+
/**
|
127
|
+
* Prefixed representation Strings of each primitive value that could be
|
128
|
+
* consolidated within the elements.
|
129
|
+
* @type {!Array.<string>}
|
130
|
+
*/
|
131
|
+
this.aPrimitiveValues = [];
|
132
|
+
},
|
133
|
+
/**
|
134
|
+
* A record consisting of data about a primitive value that could be
|
135
|
+
* consolidated.
|
136
|
+
* @constructor
|
137
|
+
* @nosideeffects
|
138
|
+
*/
|
139
|
+
TPrimitiveValue = function() {
|
140
|
+
/**
|
141
|
+
* The difference in the number of terminal symbols between the original
|
142
|
+
* source text and the one with the primitive value consolidated. If the
|
143
|
+
* difference is positive, the primitive value is considered worthwhile.
|
144
|
+
* @type {number}
|
145
|
+
*/
|
146
|
+
this.nSaving = 0;
|
147
|
+
/**
|
148
|
+
* An identifier name of the variable that will be declared and assigned
|
149
|
+
* the primitive value if the primitive value is consolidated.
|
150
|
+
* @type {string}
|
151
|
+
*/
|
152
|
+
this.sName = '';
|
153
|
+
},
|
154
|
+
/**
|
155
|
+
* A record consisting of data on what to consolidate within the range of
|
156
|
+
* source elements that is currently being considered.
|
157
|
+
* @constructor
|
158
|
+
* @nosideeffects
|
159
|
+
*/
|
160
|
+
TSolution = function() {
|
161
|
+
/**
|
162
|
+
* An object whose keys are prefixed representation Strings of each
|
163
|
+
* primitive value that could be consolidated within the elements and
|
164
|
+
* whose values are corresponding data about those primitive values.
|
165
|
+
* @type {!Object.<string, {nSaving: number, sName: string}>}
|
166
|
+
* @see TPrimitiveValue
|
167
|
+
*/
|
168
|
+
this.oPrimitiveValues = {};
|
169
|
+
/**
|
170
|
+
* The difference in the number of terminal symbols between the original
|
171
|
+
* source text and the one with all the worthwhile primitive values
|
172
|
+
* consolidated.
|
173
|
+
* @type {number}
|
174
|
+
* @see TPrimitiveValue#nSaving
|
175
|
+
*/
|
176
|
+
this.nSavings = 0;
|
177
|
+
},
|
178
|
+
/**
|
179
|
+
* The processor of <abbr title="abstract syntax tree">AST</abbr>s found
|
180
|
+
* in UglifyJS.
|
181
|
+
* @namespace
|
182
|
+
* @type {!TProcessor}
|
183
|
+
*/
|
184
|
+
oProcessor = (/** @type {!TProcessor} */ require('./process')),
|
185
|
+
/**
|
186
|
+
* A record consisting of a number of constants that represent the
|
187
|
+
* difference in the number of terminal symbols between a source text with
|
188
|
+
* a modified syntactic code unit and the original one.
|
189
|
+
* @namespace
|
190
|
+
* @type {!Object.<string, number>}
|
191
|
+
*/
|
192
|
+
oWeights = {
|
193
|
+
/**
|
194
|
+
* The difference in the number of punctuators required by the bracket
|
195
|
+
* notation and the dot notation.
|
196
|
+
* <p><code>'[]'.length - '.'.length</code></p>
|
197
|
+
* @const
|
198
|
+
* @type {number}
|
199
|
+
*/
|
200
|
+
N_PROPERTY_ACCESSOR: 1,
|
201
|
+
/**
|
202
|
+
* The number of punctuators required by a variable declaration with an
|
203
|
+
* initialiser.
|
204
|
+
* <p><code>':'.length + ';'.length</code></p>
|
205
|
+
* @const
|
206
|
+
* @type {number}
|
207
|
+
*/
|
208
|
+
N_VARIABLE_DECLARATION: 2,
|
209
|
+
/**
|
210
|
+
* The number of terminal symbols required to introduce a variable
|
211
|
+
* statement (excluding its variable declaration list).
|
212
|
+
* <p><code>'var '.length</code></p>
|
213
|
+
* @const
|
214
|
+
* @type {number}
|
215
|
+
*/
|
216
|
+
N_VARIABLE_STATEMENT_AFFIXATION: 4,
|
217
|
+
/**
|
218
|
+
* The number of terminal symbols needed to enclose source elements
|
219
|
+
* within a function call with no argument values to a function with an
|
220
|
+
* empty parameter list.
|
221
|
+
* <p><code>'(function(){}());'.length</code></p>
|
222
|
+
* @const
|
223
|
+
* @type {number}
|
224
|
+
*/
|
225
|
+
N_CLOSURE: 17
|
226
|
+
},
|
227
|
+
/**
|
228
|
+
* Categories of primary expressions from which primitive values that
|
229
|
+
* could be consolidated are derivable.
|
230
|
+
* @namespace
|
231
|
+
* @enum {number}
|
232
|
+
*/
|
233
|
+
EPrimaryExpressionCategories = {
|
234
|
+
/**
|
235
|
+
* Identifier names used as property accessors.
|
236
|
+
* @type {number}
|
237
|
+
*/
|
238
|
+
N_IDENTIFIER_NAMES: 0,
|
239
|
+
/**
|
240
|
+
* String literals.
|
241
|
+
* @type {number}
|
242
|
+
*/
|
243
|
+
N_STRING_LITERALS: 1,
|
244
|
+
/**
|
245
|
+
* Null and Boolean literals.
|
246
|
+
* @type {number}
|
247
|
+
*/
|
248
|
+
N_NULL_AND_BOOLEAN_LITERALS: 2
|
249
|
+
},
|
250
|
+
/**
|
251
|
+
* Prefixes of primitive values that could be consolidated.
|
252
|
+
* The String values of the prefixes must have same number of characters.
|
253
|
+
* The prefixes must not be used in any properties defined in any version
|
254
|
+
* of <a href=
|
255
|
+
* "http://www.ecma-international.org/publications/standards/Ecma-262.htm"
|
256
|
+
* >ECMA-262</a>.
|
257
|
+
* @namespace
|
258
|
+
* @enum {string}
|
259
|
+
*/
|
260
|
+
EValuePrefixes = {
|
261
|
+
/**
|
262
|
+
* Identifies String values.
|
263
|
+
* @type {string}
|
264
|
+
*/
|
265
|
+
S_STRING: '#S',
|
266
|
+
/**
|
267
|
+
* Identifies null and Boolean values.
|
268
|
+
* @type {string}
|
269
|
+
*/
|
270
|
+
S_SYMBOLIC: '#O'
|
271
|
+
},
|
272
|
+
/**
|
273
|
+
* Categories of source elements in terms of their appropriateness of
|
274
|
+
* having their primitive values consolidated.
|
275
|
+
* @namespace
|
276
|
+
* @enum {number}
|
277
|
+
*/
|
278
|
+
ESourceElementCategories = {
|
279
|
+
/**
|
280
|
+
* Identifies a source element that includes the <a href=
|
281
|
+
* "http://es5.github.com/#x12.10">{@code with}</a> statement.
|
282
|
+
* @type {number}
|
283
|
+
*/
|
284
|
+
N_WITH: 0,
|
285
|
+
/**
|
286
|
+
* Identifies a source element that includes the <a href=
|
287
|
+
* "http://es5.github.com/#x15.1.2.1">{@code eval}</a> identifier name.
|
288
|
+
* @type {number}
|
289
|
+
*/
|
290
|
+
N_EVAL: 1,
|
291
|
+
/**
|
292
|
+
* Identifies a source element that must be excluded from the process
|
293
|
+
* unless its whole scope is examined.
|
294
|
+
* @type {number}
|
295
|
+
*/
|
296
|
+
N_EXCLUDABLE: 2,
|
297
|
+
/**
|
298
|
+
* Identifies source elements not posing any problems.
|
299
|
+
* @type {number}
|
300
|
+
*/
|
301
|
+
N_OTHER: 3
|
302
|
+
},
|
303
|
+
/**
|
304
|
+
* The list of literals (other than the String ones) whose primitive
|
305
|
+
* values can be consolidated.
|
306
|
+
* @const
|
307
|
+
* @type {!Array.<string>}
|
308
|
+
*/
|
309
|
+
A_OTHER_SUBSTITUTABLE_LITERALS = [
|
310
|
+
'null', // The null literal.
|
311
|
+
'false', // The Boolean literal {@code false}.
|
312
|
+
'true' // The Boolean literal {@code true}.
|
313
|
+
];
|
314
|
+
|
315
|
+
(/**
|
316
|
+
* Consolidates all worthwhile primitive values in a syntactic code unit.
|
317
|
+
* @param {!TSyntacticCodeUnit} oSyntacticCodeUnit An array-like object
|
318
|
+
* representing the branch of the abstract syntax tree representing the
|
319
|
+
* syntactic code unit along with its scope.
|
320
|
+
* @see TPrimitiveValue#nSaving
|
321
|
+
*/
|
322
|
+
function fExamineSyntacticCodeUnit(oSyntacticCodeUnit) {
|
323
|
+
var _,
|
324
|
+
/**
|
325
|
+
* Indicates whether the syntactic code unit represents global code.
|
326
|
+
* @type {boolean}
|
327
|
+
*/
|
328
|
+
bIsGlobal = 'toplevel' === oSyntacticCodeUnit[0],
|
329
|
+
/**
|
330
|
+
* Indicates whether the whole scope is being examined.
|
331
|
+
* @type {boolean}
|
332
|
+
*/
|
333
|
+
bIsWhollyExaminable = !bIsGlobal,
|
334
|
+
/**
|
335
|
+
* An array-like object representing source elements that constitute a
|
336
|
+
* syntactic code unit.
|
337
|
+
* @type {!TSyntacticCodeUnit}
|
338
|
+
*/
|
339
|
+
oSourceElements,
|
340
|
+
/**
|
341
|
+
* A record consisting of data about the source element that is
|
342
|
+
* currently being examined.
|
343
|
+
* @type {!TSourceElementsData}
|
344
|
+
*/
|
345
|
+
oSourceElementData,
|
346
|
+
/**
|
347
|
+
* The scope of the syntactic code unit.
|
348
|
+
* @type {!TScope}
|
349
|
+
*/
|
350
|
+
oScope,
|
351
|
+
/**
|
352
|
+
* An instance of an object that allows the traversal of an <abbr
|
353
|
+
* title="abstract syntax tree">AST</abbr>.
|
354
|
+
* @type {!TWalker}
|
355
|
+
*/
|
356
|
+
oWalker,
|
357
|
+
/**
|
358
|
+
* An object encompassing collections of functions used during the
|
359
|
+
* traversal of an <abbr title="abstract syntax tree">AST</abbr>.
|
360
|
+
* @namespace
|
361
|
+
* @type {!Object.<string, !Object.<string, function(...[*])>>}
|
362
|
+
*/
|
363
|
+
oWalkers = {
|
364
|
+
/**
|
365
|
+
* A collection of functions used during the surveyance of source
|
366
|
+
* elements.
|
367
|
+
* @namespace
|
368
|
+
* @type {!Object.<string, function(...[*])>}
|
369
|
+
*/
|
370
|
+
oSurveySourceElement: {
|
371
|
+
/**#nocode+*/ // JsDoc Toolkit 2.4.0 hides some of the keys.
|
372
|
+
/**
|
373
|
+
* Classifies the source element as excludable if it does not
|
374
|
+
* contain a {@code with} statement or the {@code eval} identifier
|
375
|
+
* name. Adds the identifier of the function and its formal
|
376
|
+
* parameters to the list of identifier names found.
|
377
|
+
* @param {string} sIdentifier The identifier of the function.
|
378
|
+
* @param {!Array.<string>} aFormalParameterList Formal parameters.
|
379
|
+
* @param {!TSyntacticCodeUnit} oFunctionBody Function code.
|
380
|
+
*/
|
381
|
+
'defun': function(
|
382
|
+
sIdentifier,
|
383
|
+
aFormalParameterList,
|
384
|
+
oFunctionBody) {
|
385
|
+
fClassifyAsExcludable();
|
386
|
+
fAddIdentifier(sIdentifier);
|
387
|
+
aFormalParameterList.forEach(fAddIdentifier);
|
388
|
+
},
|
389
|
+
/**
|
390
|
+
* Increments the count of the number of occurrences of the String
|
391
|
+
* value that is equivalent to the sequence of terminal symbols
|
392
|
+
* that constitute the encountered identifier name.
|
393
|
+
* @param {!TSyntacticCodeUnit} oExpression The nonterminal
|
394
|
+
* MemberExpression.
|
395
|
+
* @param {string} sIdentifierName The identifier name used as the
|
396
|
+
* property accessor.
|
397
|
+
* @return {!Array} The encountered branch of an <abbr title=
|
398
|
+
* "abstract syntax tree">AST</abbr> with its nonterminal
|
399
|
+
* MemberExpression traversed.
|
400
|
+
*/
|
401
|
+
'dot': function(oExpression, sIdentifierName) {
|
402
|
+
fCountPrimaryExpression(
|
403
|
+
EPrimaryExpressionCategories.N_IDENTIFIER_NAMES,
|
404
|
+
EValuePrefixes.S_STRING + sIdentifierName);
|
405
|
+
return ['dot', oWalker.walk(oExpression), sIdentifierName];
|
406
|
+
},
|
407
|
+
/**
|
408
|
+
* Adds the optional identifier of the function and its formal
|
409
|
+
* parameters to the list of identifier names found.
|
410
|
+
* @param {?string} sIdentifier The optional identifier of the
|
411
|
+
* function.
|
412
|
+
* @param {!Array.<string>} aFormalParameterList Formal parameters.
|
413
|
+
* @param {!TSyntacticCodeUnit} oFunctionBody Function code.
|
414
|
+
*/
|
415
|
+
'function': function(
|
416
|
+
sIdentifier,
|
417
|
+
aFormalParameterList,
|
418
|
+
oFunctionBody) {
|
419
|
+
if ('string' === typeof sIdentifier) {
|
420
|
+
fAddIdentifier(sIdentifier);
|
421
|
+
}
|
422
|
+
aFormalParameterList.forEach(fAddIdentifier);
|
423
|
+
},
|
424
|
+
/**
|
425
|
+
* Either increments the count of the number of occurrences of the
|
426
|
+
* encountered null or Boolean value or classifies a source element
|
427
|
+
* as containing the {@code eval} identifier name.
|
428
|
+
* @param {string} sIdentifier The identifier encountered.
|
429
|
+
*/
|
430
|
+
'name': function(sIdentifier) {
|
431
|
+
if (-1 !== A_OTHER_SUBSTITUTABLE_LITERALS.indexOf(sIdentifier)) {
|
432
|
+
fCountPrimaryExpression(
|
433
|
+
EPrimaryExpressionCategories.N_NULL_AND_BOOLEAN_LITERALS,
|
434
|
+
EValuePrefixes.S_SYMBOLIC + sIdentifier);
|
435
|
+
} else {
|
436
|
+
if ('eval' === sIdentifier) {
|
437
|
+
oSourceElementData.nCategory =
|
438
|
+
ESourceElementCategories.N_EVAL;
|
439
|
+
}
|
440
|
+
fAddIdentifier(sIdentifier);
|
441
|
+
}
|
442
|
+
},
|
443
|
+
/**
|
444
|
+
* Classifies the source element as excludable if it does not
|
445
|
+
* contain a {@code with} statement or the {@code eval} identifier
|
446
|
+
* name.
|
447
|
+
* @param {TSyntacticCodeUnit} oExpression The expression whose
|
448
|
+
* value is to be returned.
|
449
|
+
*/
|
450
|
+
'return': function(oExpression) {
|
451
|
+
fClassifyAsExcludable();
|
452
|
+
},
|
453
|
+
/**
|
454
|
+
* Increments the count of the number of occurrences of the
|
455
|
+
* encountered String value.
|
456
|
+
* @param {string} sStringValue The String value of the string
|
457
|
+
* literal encountered.
|
458
|
+
*/
|
459
|
+
'string': function(sStringValue) {
|
460
|
+
if (sStringValue.length > 0) {
|
461
|
+
fCountPrimaryExpression(
|
462
|
+
EPrimaryExpressionCategories.N_STRING_LITERALS,
|
463
|
+
EValuePrefixes.S_STRING + sStringValue);
|
464
|
+
}
|
465
|
+
},
|
466
|
+
/**
|
467
|
+
* Adds the identifier reserved for an exception to the list of
|
468
|
+
* identifier names found.
|
469
|
+
* @param {!TSyntacticCodeUnit} oTry A block of code in which an
|
470
|
+
* exception can occur.
|
471
|
+
* @param {Array} aCatch The identifier reserved for an exception
|
472
|
+
* and a block of code to handle the exception.
|
473
|
+
* @param {TSyntacticCodeUnit} oFinally An optional block of code
|
474
|
+
* to be evaluated regardless of whether an exception occurs.
|
475
|
+
*/
|
476
|
+
'try': function(oTry, aCatch, oFinally) {
|
477
|
+
if (Array.isArray(aCatch)) {
|
478
|
+
fAddIdentifier(aCatch[0]);
|
479
|
+
}
|
480
|
+
},
|
481
|
+
/**
|
482
|
+
* Classifies the source element as excludable if it does not
|
483
|
+
* contain a {@code with} statement or the {@code eval} identifier
|
484
|
+
* name. Adds the identifier of each declared variable to the list
|
485
|
+
* of identifier names found.
|
486
|
+
* @param {!Array.<!Array>} aVariableDeclarationList Variable
|
487
|
+
* declarations.
|
488
|
+
*/
|
489
|
+
'var': function(aVariableDeclarationList) {
|
490
|
+
fClassifyAsExcludable();
|
491
|
+
aVariableDeclarationList.forEach(fAddVariable);
|
492
|
+
},
|
493
|
+
/**
|
494
|
+
* Classifies a source element as containing the {@code with}
|
495
|
+
* statement.
|
496
|
+
* @param {!TSyntacticCodeUnit} oExpression An expression whose
|
497
|
+
* value is to be converted to a value of type Object and
|
498
|
+
* become the binding object of a new object environment
|
499
|
+
* record of a new lexical environment in which the statement
|
500
|
+
* is to be executed.
|
501
|
+
* @param {!TSyntacticCodeUnit} oStatement The statement to be
|
502
|
+
* executed in the augmented lexical environment.
|
503
|
+
* @return {!Array} An empty array to stop the traversal.
|
504
|
+
*/
|
505
|
+
'with': function(oExpression, oStatement) {
|
506
|
+
oSourceElementData.nCategory = ESourceElementCategories.N_WITH;
|
507
|
+
return [];
|
508
|
+
}
|
509
|
+
/**#nocode-*/ // JsDoc Toolkit 2.4.0 hides some of the keys.
|
510
|
+
},
|
511
|
+
/**
|
512
|
+
* A collection of functions used while looking for nested functions.
|
513
|
+
* @namespace
|
514
|
+
* @type {!Object.<string, function(...[*])>}
|
515
|
+
*/
|
516
|
+
oExamineFunctions: {
|
517
|
+
/**#nocode+*/ // JsDoc Toolkit 2.4.0 hides some of the keys.
|
518
|
+
/**
|
519
|
+
* Orders an examination of a nested function declaration.
|
520
|
+
* @this {!TSyntacticCodeUnit} An array-like object representing
|
521
|
+
* the branch of an <abbr title="abstract syntax tree"
|
522
|
+
* >AST</abbr> representing the syntactic code unit along with
|
523
|
+
* its scope.
|
524
|
+
* @return {!Array} An empty array to stop the traversal.
|
525
|
+
*/
|
526
|
+
'defun': function() {
|
527
|
+
fExamineSyntacticCodeUnit(this);
|
528
|
+
return [];
|
529
|
+
},
|
530
|
+
/**
|
531
|
+
* Orders an examination of a nested function expression.
|
532
|
+
* @this {!TSyntacticCodeUnit} An array-like object representing
|
533
|
+
* the branch of an <abbr title="abstract syntax tree"
|
534
|
+
* >AST</abbr> representing the syntactic code unit along with
|
535
|
+
* its scope.
|
536
|
+
* @return {!Array} An empty array to stop the traversal.
|
537
|
+
*/
|
538
|
+
'function': function() {
|
539
|
+
fExamineSyntacticCodeUnit(this);
|
540
|
+
return [];
|
541
|
+
}
|
542
|
+
/**#nocode-*/ // JsDoc Toolkit 2.4.0 hides some of the keys.
|
543
|
+
}
|
544
|
+
},
|
545
|
+
/**
|
546
|
+
* Records containing data about source elements.
|
547
|
+
* @type {Array.<TSourceElementsData>}
|
548
|
+
*/
|
549
|
+
aSourceElementsData = [],
|
550
|
+
/**
|
551
|
+
* The index (in the source text order) of the source element
|
552
|
+
* immediately following a <a href="http://es5.github.com/#x14.1"
|
553
|
+
* >Directive Prologue</a>.
|
554
|
+
* @type {number}
|
555
|
+
*/
|
556
|
+
nAfterDirectivePrologue = 0,
|
557
|
+
/**
|
558
|
+
* The index (in the source text order) of the source element that is
|
559
|
+
* currently being considered.
|
560
|
+
* @type {number}
|
561
|
+
*/
|
562
|
+
nPosition,
|
563
|
+
/**
|
564
|
+
* The index (in the source text order) of the source element that is
|
565
|
+
* the last element of the range of source elements that is currently
|
566
|
+
* being considered.
|
567
|
+
* @type {(undefined|number)}
|
568
|
+
*/
|
569
|
+
nTo,
|
570
|
+
/**
|
571
|
+
* Initiates the traversal of a source element.
|
572
|
+
* @param {!TWalker} oWalker An instance of an object that allows the
|
573
|
+
* traversal of an abstract syntax tree.
|
574
|
+
* @param {!TSyntacticCodeUnit} oSourceElement A source element from
|
575
|
+
* which the traversal should commence.
|
576
|
+
* @return {function(): !TSyntacticCodeUnit} A function that is able to
|
577
|
+
* initiate the traversal from a given source element.
|
578
|
+
*/
|
579
|
+
cContext = function(oWalker, oSourceElement) {
|
580
|
+
/**
|
581
|
+
* @return {!TSyntacticCodeUnit} A function that is able to
|
582
|
+
* initiate the traversal from a given source element.
|
583
|
+
*/
|
584
|
+
var fLambda = function() {
|
585
|
+
return oWalker.walk(oSourceElement);
|
586
|
+
};
|
587
|
+
|
588
|
+
return fLambda;
|
589
|
+
},
|
590
|
+
/**
|
591
|
+
* Classifies the source element as excludable if it does not
|
592
|
+
* contain a {@code with} statement or the {@code eval} identifier
|
593
|
+
* name.
|
594
|
+
*/
|
595
|
+
fClassifyAsExcludable = function() {
|
596
|
+
if (oSourceElementData.nCategory ===
|
597
|
+
ESourceElementCategories.N_OTHER) {
|
598
|
+
oSourceElementData.nCategory =
|
599
|
+
ESourceElementCategories.N_EXCLUDABLE;
|
600
|
+
}
|
601
|
+
},
|
602
|
+
/**
|
603
|
+
* Adds an identifier to the list of identifier names found.
|
604
|
+
* @param {string} sIdentifier The identifier to be added.
|
605
|
+
*/
|
606
|
+
fAddIdentifier = function(sIdentifier) {
|
607
|
+
if (-1 === oSourceElementData.aIdentifiers.indexOf(sIdentifier)) {
|
608
|
+
oSourceElementData.aIdentifiers.push(sIdentifier);
|
609
|
+
}
|
610
|
+
},
|
611
|
+
/**
|
612
|
+
* Adds the identifier of a variable to the list of identifier names
|
613
|
+
* found.
|
614
|
+
* @param {!Array} aVariableDeclaration A variable declaration.
|
615
|
+
*/
|
616
|
+
fAddVariable = function(aVariableDeclaration) {
|
617
|
+
fAddIdentifier(/** @type {string} */ aVariableDeclaration[0]);
|
618
|
+
},
|
619
|
+
/**
|
620
|
+
* Increments the count of the number of occurrences of the prefixed
|
621
|
+
* String representation attributed to the primary expression.
|
622
|
+
* @param {number} nCategory The category of the primary expression.
|
623
|
+
* @param {string} sName The prefixed String representation attributed
|
624
|
+
* to the primary expression.
|
625
|
+
*/
|
626
|
+
fCountPrimaryExpression = function(nCategory, sName) {
|
627
|
+
if (!oSourceElementData.aCount[nCategory].hasOwnProperty(sName)) {
|
628
|
+
oSourceElementData.aCount[nCategory][sName] = 0;
|
629
|
+
if (-1 === oSourceElementData.aPrimitiveValues.indexOf(sName)) {
|
630
|
+
oSourceElementData.aPrimitiveValues.push(sName);
|
631
|
+
}
|
632
|
+
}
|
633
|
+
oSourceElementData.aCount[nCategory][sName] += 1;
|
634
|
+
},
|
635
|
+
/**
|
636
|
+
* Consolidates all worthwhile primitive values in a range of source
|
637
|
+
* elements.
|
638
|
+
* @param {number} nFrom The index (in the source text order) of the
|
639
|
+
* source element that is the first element of the range.
|
640
|
+
* @param {number} nTo The index (in the source text order) of the
|
641
|
+
* source element that is the last element of the range.
|
642
|
+
* @param {boolean} bEnclose Indicates whether the range should be
|
643
|
+
* enclosed within a function call with no argument values to a
|
644
|
+
* function with an empty parameter list if any primitive values
|
645
|
+
* are consolidated.
|
646
|
+
* @see TPrimitiveValue#nSaving
|
647
|
+
*/
|
648
|
+
fExamineSourceElements = function(nFrom, nTo, bEnclose) {
|
649
|
+
var _,
|
650
|
+
/**
|
651
|
+
* The index of the last mangled name.
|
652
|
+
* @type {number}
|
653
|
+
*/
|
654
|
+
nIndex = oScope.cname,
|
655
|
+
/**
|
656
|
+
* The index of the source element that is currently being
|
657
|
+
* considered.
|
658
|
+
* @type {number}
|
659
|
+
*/
|
660
|
+
nPosition,
|
661
|
+
/**
|
662
|
+
* A collection of functions used during the consolidation of
|
663
|
+
* primitive values and identifier names used as property
|
664
|
+
* accessors.
|
665
|
+
* @namespace
|
666
|
+
* @type {!Object.<string, function(...[*])>}
|
667
|
+
*/
|
668
|
+
oWalkersTransformers = {
|
669
|
+
/**
|
670
|
+
* If the String value that is equivalent to the sequence of
|
671
|
+
* terminal symbols that constitute the encountered identifier
|
672
|
+
* name is worthwhile, a syntactic conversion from the dot
|
673
|
+
* notation to the bracket notation ensues with that sequence
|
674
|
+
* being substituted by an identifier name to which the value
|
675
|
+
* is assigned.
|
676
|
+
* Applies to property accessors that use the dot notation.
|
677
|
+
* @param {!TSyntacticCodeUnit} oExpression The nonterminal
|
678
|
+
* MemberExpression.
|
679
|
+
* @param {string} sIdentifierName The identifier name used as
|
680
|
+
* the property accessor.
|
681
|
+
* @return {!Array} A syntactic code unit that is equivalent to
|
682
|
+
* the one encountered.
|
683
|
+
* @see TPrimitiveValue#nSaving
|
684
|
+
*/
|
685
|
+
'dot': function(oExpression, sIdentifierName) {
|
686
|
+
/**
|
687
|
+
* The prefixed String value that is equivalent to the
|
688
|
+
* sequence of terminal symbols that constitute the
|
689
|
+
* encountered identifier name.
|
690
|
+
* @type {string}
|
691
|
+
*/
|
692
|
+
var sPrefixed = EValuePrefixes.S_STRING + sIdentifierName;
|
693
|
+
|
694
|
+
return oSolutionBest.oPrimitiveValues.hasOwnProperty(
|
695
|
+
sPrefixed) &&
|
696
|
+
oSolutionBest.oPrimitiveValues[sPrefixed].nSaving > 0 ?
|
697
|
+
['sub',
|
698
|
+
oWalker.walk(oExpression),
|
699
|
+
['name',
|
700
|
+
oSolutionBest.oPrimitiveValues[sPrefixed].sName]] :
|
701
|
+
['dot', oWalker.walk(oExpression), sIdentifierName];
|
702
|
+
},
|
703
|
+
/**
|
704
|
+
* If the encountered identifier is a null or Boolean literal
|
705
|
+
* and its value is worthwhile, the identifier is substituted
|
706
|
+
* by an identifier name to which that value is assigned.
|
707
|
+
* Applies to identifier names.
|
708
|
+
* @param {string} sIdentifier The identifier encountered.
|
709
|
+
* @return {!Array} A syntactic code unit that is equivalent to
|
710
|
+
* the one encountered.
|
711
|
+
* @see TPrimitiveValue#nSaving
|
712
|
+
*/
|
713
|
+
'name': function(sIdentifier) {
|
714
|
+
/**
|
715
|
+
* The prefixed representation String of the identifier.
|
716
|
+
* @type {string}
|
717
|
+
*/
|
718
|
+
var sPrefixed = EValuePrefixes.S_SYMBOLIC + sIdentifier;
|
719
|
+
|
720
|
+
return [
|
721
|
+
'name',
|
722
|
+
oSolutionBest.oPrimitiveValues.hasOwnProperty(sPrefixed) &&
|
723
|
+
oSolutionBest.oPrimitiveValues[sPrefixed].nSaving > 0 ?
|
724
|
+
oSolutionBest.oPrimitiveValues[sPrefixed].sName :
|
725
|
+
sIdentifier
|
726
|
+
];
|
727
|
+
},
|
728
|
+
/**
|
729
|
+
* If the encountered String value is worthwhile, it is
|
730
|
+
* substituted by an identifier name to which that value is
|
731
|
+
* assigned.
|
732
|
+
* Applies to String values.
|
733
|
+
* @param {string} sStringValue The String value of the string
|
734
|
+
* literal encountered.
|
735
|
+
* @return {!Array} A syntactic code unit that is equivalent to
|
736
|
+
* the one encountered.
|
737
|
+
* @see TPrimitiveValue#nSaving
|
738
|
+
*/
|
739
|
+
'string': function(sStringValue) {
|
740
|
+
/**
|
741
|
+
* The prefixed representation String of the primitive value
|
742
|
+
* of the literal.
|
743
|
+
* @type {string}
|
744
|
+
*/
|
745
|
+
var sPrefixed =
|
746
|
+
EValuePrefixes.S_STRING + sStringValue;
|
747
|
+
|
748
|
+
return oSolutionBest.oPrimitiveValues.hasOwnProperty(
|
749
|
+
sPrefixed) &&
|
750
|
+
oSolutionBest.oPrimitiveValues[sPrefixed].nSaving > 0 ?
|
751
|
+
['name',
|
752
|
+
oSolutionBest.oPrimitiveValues[sPrefixed].sName] :
|
753
|
+
['string', sStringValue];
|
754
|
+
}
|
755
|
+
},
|
756
|
+
/**
|
757
|
+
* Such data on what to consolidate within the range of source
|
758
|
+
* elements that is currently being considered that lead to the
|
759
|
+
* greatest known reduction of the number of the terminal symbols
|
760
|
+
* in comparison to the original source text.
|
761
|
+
* @type {!TSolution}
|
762
|
+
*/
|
763
|
+
oSolutionBest = new TSolution(),
|
764
|
+
/**
|
765
|
+
* Data representing an ongoing attempt to find a better
|
766
|
+
* reduction of the number of the terminal symbols in comparison
|
767
|
+
* to the original source text than the best one that is
|
768
|
+
* currently known.
|
769
|
+
* @type {!TSolution}
|
770
|
+
* @see oSolutionBest
|
771
|
+
*/
|
772
|
+
oSolutionCandidate = new TSolution(),
|
773
|
+
/**
|
774
|
+
* A record consisting of data about the range of source elements
|
775
|
+
* that is currently being examined.
|
776
|
+
* @type {!TSourceElementsData}
|
777
|
+
*/
|
778
|
+
oSourceElementsData = new TSourceElementsData(),
|
779
|
+
/**
|
780
|
+
* Variable declarations for each primitive value that is to be
|
781
|
+
* consolidated within the elements.
|
782
|
+
* @type {!Array.<!Array>}
|
783
|
+
*/
|
784
|
+
aVariableDeclarations = [],
|
785
|
+
/**
|
786
|
+
* Augments a list with a prefixed representation String.
|
787
|
+
* @param {!Array.<string>} aList A list that is to be augmented.
|
788
|
+
* @return {function(string)} A function that augments a list
|
789
|
+
* with a prefixed representation String.
|
790
|
+
*/
|
791
|
+
cAugmentList = function(aList) {
|
792
|
+
/**
|
793
|
+
* @param {string} sPrefixed Prefixed representation String of
|
794
|
+
* a primitive value that could be consolidated within the
|
795
|
+
* elements.
|
796
|
+
*/
|
797
|
+
var fLambda = function(sPrefixed) {
|
798
|
+
if (-1 === aList.indexOf(sPrefixed)) {
|
799
|
+
aList.push(sPrefixed);
|
800
|
+
}
|
801
|
+
};
|
802
|
+
|
803
|
+
return fLambda;
|
804
|
+
},
|
805
|
+
/**
|
806
|
+
* Adds the number of occurrences of a primitive value of a given
|
807
|
+
* category that could be consolidated in the source element with
|
808
|
+
* a given index to the count of occurrences of that primitive
|
809
|
+
* value within the range of source elements that is currently
|
810
|
+
* being considered.
|
811
|
+
* @param {number} nPosition The index (in the source text order)
|
812
|
+
* of a source element.
|
813
|
+
* @param {number} nCategory The category of the primary
|
814
|
+
* expression from which the primitive value is derived.
|
815
|
+
* @return {function(string)} A function that performs the
|
816
|
+
* addition.
|
817
|
+
* @see cAddOccurrencesInCategory
|
818
|
+
*/
|
819
|
+
cAddOccurrences = function(nPosition, nCategory) {
|
820
|
+
/**
|
821
|
+
* @param {string} sPrefixed The prefixed representation String
|
822
|
+
* of a primitive value.
|
823
|
+
*/
|
824
|
+
var fLambda = function(sPrefixed) {
|
825
|
+
if (!oSourceElementsData.aCount[nCategory].hasOwnProperty(
|
826
|
+
sPrefixed)) {
|
827
|
+
oSourceElementsData.aCount[nCategory][sPrefixed] = 0;
|
828
|
+
}
|
829
|
+
oSourceElementsData.aCount[nCategory][sPrefixed] +=
|
830
|
+
aSourceElementsData[nPosition].aCount[nCategory][
|
831
|
+
sPrefixed];
|
832
|
+
};
|
833
|
+
|
834
|
+
return fLambda;
|
835
|
+
},
|
836
|
+
/**
|
837
|
+
* Adds the number of occurrences of each primitive value of a
|
838
|
+
* given category that could be consolidated in the source
|
839
|
+
* element with a given index to the count of occurrences of that
|
840
|
+
* primitive values within the range of source elements that is
|
841
|
+
* currently being considered.
|
842
|
+
* @param {number} nPosition The index (in the source text order)
|
843
|
+
* of a source element.
|
844
|
+
* @return {function(number)} A function that performs the
|
845
|
+
* addition.
|
846
|
+
* @see fAddOccurrences
|
847
|
+
*/
|
848
|
+
cAddOccurrencesInCategory = function(nPosition) {
|
849
|
+
/**
|
850
|
+
* @param {number} nCategory The category of the primary
|
851
|
+
* expression from which the primitive value is derived.
|
852
|
+
*/
|
853
|
+
var fLambda = function(nCategory) {
|
854
|
+
Object.keys(
|
855
|
+
aSourceElementsData[nPosition].aCount[nCategory]
|
856
|
+
).forEach(cAddOccurrences(nPosition, nCategory));
|
857
|
+
};
|
858
|
+
|
859
|
+
return fLambda;
|
860
|
+
},
|
861
|
+
/**
|
862
|
+
* Adds the number of occurrences of each primitive value that
|
863
|
+
* could be consolidated in the source element with a given index
|
864
|
+
* to the count of occurrences of that primitive values within
|
865
|
+
* the range of source elements that is currently being
|
866
|
+
* considered.
|
867
|
+
* @param {number} nPosition The index (in the source text order)
|
868
|
+
* of a source element.
|
869
|
+
*/
|
870
|
+
fAddOccurrences = function(nPosition) {
|
871
|
+
Object.keys(aSourceElementsData[nPosition].aCount).forEach(
|
872
|
+
cAddOccurrencesInCategory(nPosition));
|
873
|
+
},
|
874
|
+
/**
|
875
|
+
* Creates a variable declaration for a primitive value if that
|
876
|
+
* primitive value is to be consolidated within the elements.
|
877
|
+
* @param {string} sPrefixed Prefixed representation String of a
|
878
|
+
* primitive value that could be consolidated within the
|
879
|
+
* elements.
|
880
|
+
* @see aVariableDeclarations
|
881
|
+
*/
|
882
|
+
cAugmentVariableDeclarations = function(sPrefixed) {
|
883
|
+
if (oSolutionBest.oPrimitiveValues[sPrefixed].nSaving > 0) {
|
884
|
+
aVariableDeclarations.push([
|
885
|
+
oSolutionBest.oPrimitiveValues[sPrefixed].sName,
|
886
|
+
[0 === sPrefixed.indexOf(EValuePrefixes.S_SYMBOLIC) ?
|
887
|
+
'name' : 'string',
|
888
|
+
sPrefixed.substring(EValuePrefixes.S_SYMBOLIC.length)]
|
889
|
+
]);
|
890
|
+
}
|
891
|
+
},
|
892
|
+
/**
|
893
|
+
* Sorts primitive values with regard to the difference in the
|
894
|
+
* number of terminal symbols between the original source text
|
895
|
+
* and the one with those primitive values consolidated.
|
896
|
+
* @param {string} sPrefixed0 The prefixed representation String
|
897
|
+
* of the first of the two primitive values that are being
|
898
|
+
* compared.
|
899
|
+
* @param {string} sPrefixed1 The prefixed representation String
|
900
|
+
* of the second of the two primitive values that are being
|
901
|
+
* compared.
|
902
|
+
* @return {number}
|
903
|
+
* <dl>
|
904
|
+
* <dt>-1</dt>
|
905
|
+
* <dd>if the first primitive value must be placed before
|
906
|
+
* the other one,</dd>
|
907
|
+
* <dt>0</dt>
|
908
|
+
* <dd>if the first primitive value may be placed before
|
909
|
+
* the other one,</dd>
|
910
|
+
* <dt>1</dt>
|
911
|
+
* <dd>if the first primitive value must not be placed
|
912
|
+
* before the other one.</dd>
|
913
|
+
* </dl>
|
914
|
+
* @see TSolution.oPrimitiveValues
|
915
|
+
*/
|
916
|
+
cSortPrimitiveValues = function(sPrefixed0, sPrefixed1) {
|
917
|
+
/**
|
918
|
+
* The difference between:
|
919
|
+
* <ol>
|
920
|
+
* <li>the difference in the number of terminal symbols
|
921
|
+
* between the original source text and the one with the
|
922
|
+
* first primitive value consolidated, and</li>
|
923
|
+
* <li>the difference in the number of terminal symbols
|
924
|
+
* between the original source text and the one with the
|
925
|
+
* second primitive value consolidated.</li>
|
926
|
+
* </ol>
|
927
|
+
* @type {number}
|
928
|
+
*/
|
929
|
+
var nDifference =
|
930
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed0].nSaving -
|
931
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed1].nSaving;
|
932
|
+
|
933
|
+
return nDifference > 0 ? -1 : nDifference < 0 ? 1 : 0;
|
934
|
+
},
|
935
|
+
/**
|
936
|
+
* Assigns an identifier name to a primitive value and calculates
|
937
|
+
* whether instances of that primitive value are worth
|
938
|
+
* consolidating.
|
939
|
+
* @param {string} sPrefixed The prefixed representation String
|
940
|
+
* of a primitive value that is being evaluated.
|
941
|
+
*/
|
942
|
+
fEvaluatePrimitiveValue = function(sPrefixed) {
|
943
|
+
var _,
|
944
|
+
/**
|
945
|
+
* The index of the last mangled name.
|
946
|
+
* @type {number}
|
947
|
+
*/
|
948
|
+
nIndex,
|
949
|
+
/**
|
950
|
+
* The representation String of the primitive value that is
|
951
|
+
* being evaluated.
|
952
|
+
* @type {string}
|
953
|
+
*/
|
954
|
+
sName =
|
955
|
+
sPrefixed.substring(EValuePrefixes.S_SYMBOLIC.length),
|
956
|
+
/**
|
957
|
+
* The number of source characters taken up by the
|
958
|
+
* representation String of the primitive value that is
|
959
|
+
* being evaluated.
|
960
|
+
* @type {number}
|
961
|
+
*/
|
962
|
+
nLengthOriginal = sName.length,
|
963
|
+
/**
|
964
|
+
* The number of source characters taken up by the
|
965
|
+
* identifier name that could substitute the primitive
|
966
|
+
* value that is being evaluated.
|
967
|
+
* substituted.
|
968
|
+
* @type {number}
|
969
|
+
*/
|
970
|
+
nLengthSubstitution,
|
971
|
+
/**
|
972
|
+
* The number of source characters taken up by by the
|
973
|
+
* representation String of the primitive value that is
|
974
|
+
* being evaluated when it is represented by a string
|
975
|
+
* literal.
|
976
|
+
* @type {number}
|
977
|
+
*/
|
978
|
+
nLengthString = oProcessor.make_string(sName).length;
|
979
|
+
|
980
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed] =
|
981
|
+
new TPrimitiveValue();
|
982
|
+
do { // Find an identifier unused in this or any nested scope.
|
983
|
+
nIndex = oScope.cname;
|
984
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed].sName =
|
985
|
+
oScope.next_mangled();
|
986
|
+
} while (-1 !== oSourceElementsData.aIdentifiers.indexOf(
|
987
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed].sName));
|
988
|
+
nLengthSubstitution = oSolutionCandidate.oPrimitiveValues[
|
989
|
+
sPrefixed].sName.length;
|
990
|
+
if (0 === sPrefixed.indexOf(EValuePrefixes.S_SYMBOLIC)) {
|
991
|
+
// foo:null, or foo:null;
|
992
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed].nSaving -=
|
993
|
+
nLengthSubstitution + nLengthOriginal +
|
994
|
+
oWeights.N_VARIABLE_DECLARATION;
|
995
|
+
// null vs foo
|
996
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed].nSaving +=
|
997
|
+
oSourceElementsData.aCount[
|
998
|
+
EPrimaryExpressionCategories.
|
999
|
+
N_NULL_AND_BOOLEAN_LITERALS][sPrefixed] *
|
1000
|
+
(nLengthOriginal - nLengthSubstitution);
|
1001
|
+
} else {
|
1002
|
+
// foo:'fromCharCode';
|
1003
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed].nSaving -=
|
1004
|
+
nLengthSubstitution + nLengthString +
|
1005
|
+
oWeights.N_VARIABLE_DECLARATION;
|
1006
|
+
// .fromCharCode vs [foo]
|
1007
|
+
if (oSourceElementsData.aCount[
|
1008
|
+
EPrimaryExpressionCategories.N_IDENTIFIER_NAMES
|
1009
|
+
].hasOwnProperty(sPrefixed)) {
|
1010
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed].nSaving +=
|
1011
|
+
oSourceElementsData.aCount[
|
1012
|
+
EPrimaryExpressionCategories.N_IDENTIFIER_NAMES
|
1013
|
+
][sPrefixed] *
|
1014
|
+
(nLengthOriginal - nLengthSubstitution -
|
1015
|
+
oWeights.N_PROPERTY_ACCESSOR);
|
1016
|
+
}
|
1017
|
+
// 'fromCharCode' vs foo
|
1018
|
+
if (oSourceElementsData.aCount[
|
1019
|
+
EPrimaryExpressionCategories.N_STRING_LITERALS
|
1020
|
+
].hasOwnProperty(sPrefixed)) {
|
1021
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed].nSaving +=
|
1022
|
+
oSourceElementsData.aCount[
|
1023
|
+
EPrimaryExpressionCategories.N_STRING_LITERALS
|
1024
|
+
][sPrefixed] *
|
1025
|
+
(nLengthString - nLengthSubstitution);
|
1026
|
+
}
|
1027
|
+
}
|
1028
|
+
if (oSolutionCandidate.oPrimitiveValues[sPrefixed].nSaving >
|
1029
|
+
0) {
|
1030
|
+
oSolutionCandidate.nSavings +=
|
1031
|
+
oSolutionCandidate.oPrimitiveValues[sPrefixed].nSaving;
|
1032
|
+
} else {
|
1033
|
+
oScope.cname = nIndex; // Free the identifier name.
|
1034
|
+
}
|
1035
|
+
},
|
1036
|
+
/**
|
1037
|
+
* Adds a variable declaration to an existing variable statement.
|
1038
|
+
* @param {!Array} aVariableDeclaration A variable declaration
|
1039
|
+
* with an initialiser.
|
1040
|
+
*/
|
1041
|
+
cAddVariableDeclaration = function(aVariableDeclaration) {
|
1042
|
+
(/** @type {!Array} */ oSourceElements[nFrom][1]).unshift(
|
1043
|
+
aVariableDeclaration);
|
1044
|
+
};
|
1045
|
+
|
1046
|
+
if (nFrom > nTo) {
|
1047
|
+
return;
|
1048
|
+
}
|
1049
|
+
// If the range is a closure, reuse the closure.
|
1050
|
+
if (nFrom === nTo &&
|
1051
|
+
'stat' === oSourceElements[nFrom][0] &&
|
1052
|
+
'call' === oSourceElements[nFrom][1][0] &&
|
1053
|
+
'function' === oSourceElements[nFrom][1][1][0]) {
|
1054
|
+
fExamineSyntacticCodeUnit(oSourceElements[nFrom][1][1]);
|
1055
|
+
return;
|
1056
|
+
}
|
1057
|
+
// Create a list of all derived primitive values within the range.
|
1058
|
+
for (nPosition = nFrom; nPosition <= nTo; nPosition += 1) {
|
1059
|
+
aSourceElementsData[nPosition].aPrimitiveValues.forEach(
|
1060
|
+
cAugmentList(oSourceElementsData.aPrimitiveValues));
|
1061
|
+
}
|
1062
|
+
if (0 === oSourceElementsData.aPrimitiveValues.length) {
|
1063
|
+
return;
|
1064
|
+
}
|
1065
|
+
for (nPosition = nFrom; nPosition <= nTo; nPosition += 1) {
|
1066
|
+
// Add the number of occurrences to the total count.
|
1067
|
+
fAddOccurrences(nPosition);
|
1068
|
+
// Add identifiers of this or any nested scope to the list.
|
1069
|
+
aSourceElementsData[nPosition].aIdentifiers.forEach(
|
1070
|
+
cAugmentList(oSourceElementsData.aIdentifiers));
|
1071
|
+
}
|
1072
|
+
// Distribute identifier names among derived primitive values.
|
1073
|
+
do { // If there was any progress, find a better distribution.
|
1074
|
+
oSolutionBest = oSolutionCandidate;
|
1075
|
+
if (Object.keys(oSolutionCandidate.oPrimitiveValues).length > 0) {
|
1076
|
+
// Sort primitive values descending by their worthwhileness.
|
1077
|
+
oSourceElementsData.aPrimitiveValues.sort(cSortPrimitiveValues);
|
1078
|
+
}
|
1079
|
+
oSolutionCandidate = new TSolution();
|
1080
|
+
oSourceElementsData.aPrimitiveValues.forEach(
|
1081
|
+
fEvaluatePrimitiveValue);
|
1082
|
+
oScope.cname = nIndex;
|
1083
|
+
} while (oSolutionCandidate.nSavings > oSolutionBest.nSavings);
|
1084
|
+
// Take the necessity of adding a variable statement into account.
|
1085
|
+
if ('var' !== oSourceElements[nFrom][0]) {
|
1086
|
+
oSolutionBest.nSavings -= oWeights.N_VARIABLE_STATEMENT_AFFIXATION;
|
1087
|
+
}
|
1088
|
+
if (bEnclose) {
|
1089
|
+
// Take the necessity of forming a closure into account.
|
1090
|
+
oSolutionBest.nSavings -= oWeights.N_CLOSURE;
|
1091
|
+
}
|
1092
|
+
if (oSolutionBest.nSavings > 0) {
|
1093
|
+
// Create variable declarations suitable for UglifyJS.
|
1094
|
+
Object.keys(oSolutionBest.oPrimitiveValues).forEach(
|
1095
|
+
cAugmentVariableDeclarations);
|
1096
|
+
// Rewrite expressions that contain worthwhile primitive values.
|
1097
|
+
for (nPosition = nFrom; nPosition <= nTo; nPosition += 1) {
|
1098
|
+
oWalker = oProcessor.ast_walker();
|
1099
|
+
oSourceElements[nPosition] =
|
1100
|
+
oWalker.with_walkers(
|
1101
|
+
oWalkersTransformers,
|
1102
|
+
cContext(oWalker, oSourceElements[nPosition]));
|
1103
|
+
}
|
1104
|
+
if ('var' === oSourceElements[nFrom][0]) { // Reuse the statement.
|
1105
|
+
(/** @type {!Array.<!Array>} */ aVariableDeclarations.reverse(
|
1106
|
+
)).forEach(cAddVariableDeclaration);
|
1107
|
+
} else { // Add a variable statement.
|
1108
|
+
Array.prototype.splice.call(
|
1109
|
+
oSourceElements,
|
1110
|
+
nFrom,
|
1111
|
+
0,
|
1112
|
+
['var', aVariableDeclarations]);
|
1113
|
+
nTo += 1;
|
1114
|
+
}
|
1115
|
+
if (bEnclose) {
|
1116
|
+
// Add a closure.
|
1117
|
+
Array.prototype.splice.call(
|
1118
|
+
oSourceElements,
|
1119
|
+
nFrom,
|
1120
|
+
0,
|
1121
|
+
['stat', ['call', ['function', null, [], []], []]]);
|
1122
|
+
// Copy source elements into the closure.
|
1123
|
+
for (nPosition = nTo + 1; nPosition > nFrom; nPosition -= 1) {
|
1124
|
+
Array.prototype.unshift.call(
|
1125
|
+
oSourceElements[nFrom][1][1][3],
|
1126
|
+
oSourceElements[nPosition]);
|
1127
|
+
}
|
1128
|
+
// Remove source elements outside the closure.
|
1129
|
+
Array.prototype.splice.call(
|
1130
|
+
oSourceElements,
|
1131
|
+
nFrom + 1,
|
1132
|
+
nTo - nFrom + 1);
|
1133
|
+
}
|
1134
|
+
}
|
1135
|
+
if (bEnclose) {
|
1136
|
+
// Restore the availability of identifier names.
|
1137
|
+
oScope.cname = nIndex;
|
1138
|
+
}
|
1139
|
+
};
|
1140
|
+
|
1141
|
+
oSourceElements = (/** @type {!TSyntacticCodeUnit} */
|
1142
|
+
oSyntacticCodeUnit[bIsGlobal ? 1 : 3]);
|
1143
|
+
if (0 === oSourceElements.length) {
|
1144
|
+
return;
|
1145
|
+
}
|
1146
|
+
oScope = bIsGlobal ? oSyntacticCodeUnit.scope : oSourceElements.scope;
|
1147
|
+
// Skip a Directive Prologue.
|
1148
|
+
while (nAfterDirectivePrologue < oSourceElements.length &&
|
1149
|
+
'directive' === oSourceElements[nAfterDirectivePrologue][0]) {
|
1150
|
+
nAfterDirectivePrologue += 1;
|
1151
|
+
aSourceElementsData.push(null);
|
1152
|
+
}
|
1153
|
+
if (oSourceElements.length === nAfterDirectivePrologue) {
|
1154
|
+
return;
|
1155
|
+
}
|
1156
|
+
for (nPosition = nAfterDirectivePrologue;
|
1157
|
+
nPosition < oSourceElements.length;
|
1158
|
+
nPosition += 1) {
|
1159
|
+
oSourceElementData = new TSourceElementsData();
|
1160
|
+
oWalker = oProcessor.ast_walker();
|
1161
|
+
// Classify a source element.
|
1162
|
+
// Find its derived primitive values and count their occurrences.
|
1163
|
+
// Find all identifiers used (including nested scopes).
|
1164
|
+
oWalker.with_walkers(
|
1165
|
+
oWalkers.oSurveySourceElement,
|
1166
|
+
cContext(oWalker, oSourceElements[nPosition]));
|
1167
|
+
// Establish whether the scope is still wholly examinable.
|
1168
|
+
bIsWhollyExaminable = bIsWhollyExaminable &&
|
1169
|
+
ESourceElementCategories.N_WITH !== oSourceElementData.nCategory &&
|
1170
|
+
ESourceElementCategories.N_EVAL !== oSourceElementData.nCategory;
|
1171
|
+
aSourceElementsData.push(oSourceElementData);
|
1172
|
+
}
|
1173
|
+
if (bIsWhollyExaminable) { // Examine the whole scope.
|
1174
|
+
fExamineSourceElements(
|
1175
|
+
nAfterDirectivePrologue,
|
1176
|
+
oSourceElements.length - 1,
|
1177
|
+
false);
|
1178
|
+
} else { // Examine unexcluded ranges of source elements.
|
1179
|
+
for (nPosition = oSourceElements.length - 1;
|
1180
|
+
nPosition >= nAfterDirectivePrologue;
|
1181
|
+
nPosition -= 1) {
|
1182
|
+
oSourceElementData = (/** @type {!TSourceElementsData} */
|
1183
|
+
aSourceElementsData[nPosition]);
|
1184
|
+
if (ESourceElementCategories.N_OTHER ===
|
1185
|
+
oSourceElementData.nCategory) {
|
1186
|
+
if ('undefined' === typeof nTo) {
|
1187
|
+
nTo = nPosition; // Indicate the end of a range.
|
1188
|
+
}
|
1189
|
+
// Examine the range if it immediately follows a Directive Prologue.
|
1190
|
+
if (nPosition === nAfterDirectivePrologue) {
|
1191
|
+
fExamineSourceElements(nPosition, nTo, true);
|
1192
|
+
}
|
1193
|
+
} else {
|
1194
|
+
if ('undefined' !== typeof nTo) {
|
1195
|
+
// Examine the range that immediately follows this source element.
|
1196
|
+
fExamineSourceElements(nPosition + 1, nTo, true);
|
1197
|
+
nTo = void 0; // Obliterate the range.
|
1198
|
+
}
|
1199
|
+
// Examine nested functions.
|
1200
|
+
oWalker = oProcessor.ast_walker();
|
1201
|
+
oWalker.with_walkers(
|
1202
|
+
oWalkers.oExamineFunctions,
|
1203
|
+
cContext(oWalker, oSourceElements[nPosition]));
|
1204
|
+
}
|
1205
|
+
}
|
1206
|
+
}
|
1207
|
+
}(oAbstractSyntaxTree = oProcessor.ast_add_scope(oAbstractSyntaxTree)));
|
1208
|
+
return oAbstractSyntaxTree;
|
1209
|
+
};
|
1210
|
+
/*jshint sub:false */
|
1211
|
+
|
1212
|
+
/* Local Variables: */
|
1213
|
+
/* mode: js */
|
1214
|
+
/* coding: utf-8 */
|
1215
|
+
/* indent-tabs-mode: nil */
|
1216
|
+
/* tab-width: 2 */
|
1217
|
+
/* End: */
|
1218
|
+
/* vim: set ft=javascript fenc=utf-8 et ts=2 sts=2 sw=2: */
|
1219
|
+
/* :mode=javascript:noTabs=true:tabSize=2:indentSize=2:deepIndent=true: */
|
1220
|
+
|