coffeecake 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/README.markdown +28 -0
- data/Rakefile +2 -0
- data/bin/ck +16 -0
- data/coffeecake.gemspec +21 -0
- data/lib/coffeecake.rb +4 -0
- data/lib/coffeecake/generators.rb +12 -0
- data/lib/coffeecake/generators/new_generator.rb +55 -0
- data/lib/coffeecake/templates/.gitkeep +0 -0
- data/lib/coffeecake/templates/README.markdown +56 -0
- data/lib/coffeecake/templates/SpecHelper.tt +0 -0
- data/lib/coffeecake/templates/docs_readme +5 -0
- data/lib/coffeecake/templates/jasmine.tt +18 -0
- data/lib/coffeecake/templates/lib.tt +3 -0
- data/lib/coffeecake/templates/spec.tt +3 -0
- data/lib/coffeecake/version.rb +3 -0
- data/lib/thor_register_patch.rb +16 -0
- data/node_modules/.bin/cake +7 -0
- data/node_modules/.bin/coffee +7 -0
- data/node_modules/.bin/docco +8 -0
- data/node_modules/.bin/jasmine +26 -0
- data/node_modules/.bin/jasmine-node +7 -0
- data/node_modules/.bin/uglifycss +127 -0
- data/node_modules/.bin/uglifyjs +317 -0
- data/node_modules/coffee-script/.npmignore +11 -0
- data/node_modules/coffee-script/LICENSE +22 -0
- data/node_modules/coffee-script/README +51 -0
- data/node_modules/coffee-script/Rakefile +78 -0
- data/node_modules/coffee-script/bin/cake +7 -0
- data/node_modules/coffee-script/bin/coffee +7 -0
- data/node_modules/coffee-script/extras/jsl.conf +44 -0
- data/node_modules/coffee-script/lib/coffee-script/browser.js +74 -0
- data/node_modules/coffee-script/lib/coffee-script/cake.js +89 -0
- data/node_modules/coffee-script/lib/coffee-script/coffee-script.js +148 -0
- data/node_modules/coffee-script/lib/coffee-script/command.js +310 -0
- data/node_modules/coffee-script/lib/coffee-script/grammar.js +588 -0
- data/node_modules/coffee-script/lib/coffee-script/helpers.js +72 -0
- data/node_modules/coffee-script/lib/coffee-script/index.js +10 -0
- data/node_modules/coffee-script/lib/coffee-script/lexer.js +687 -0
- data/node_modules/coffee-script/lib/coffee-script/nodes.js +2481 -0
- data/node_modules/coffee-script/lib/coffee-script/optparse.js +122 -0
- data/node_modules/coffee-script/lib/coffee-script/parser.js +670 -0
- data/node_modules/coffee-script/lib/coffee-script/repl.js +149 -0
- data/node_modules/coffee-script/lib/coffee-script/rewriter.js +288 -0
- data/node_modules/coffee-script/lib/coffee-script/scope.js +124 -0
- data/node_modules/coffee-script/npm-install-45965.sh +282 -0
- data/node_modules/coffee-script/package.json +31 -0
- data/node_modules/docco/.gitignore +3 -0
- data/node_modules/docco/Cakefile +27 -0
- data/node_modules/docco/README +13 -0
- data/node_modules/docco/bin/docco +8 -0
- data/node_modules/docco/index.html +143 -0
- data/node_modules/docco/lib/docco.js +155 -0
- data/node_modules/docco/package.json +21 -0
- data/node_modules/docco/resources/docco.css +186 -0
- data/node_modules/docco/resources/docco.jst +58 -0
- data/node_modules/docco/src/docco.coffee +204 -0
- data/node_modules/docco/vendor/showdown.js +1298 -0
- data/node_modules/jasmine-jquery/.gitignore +3 -0
- data/node_modules/jasmine-jquery/MIT.LICENSE +20 -0
- data/node_modules/jasmine-jquery/README.markdown +174 -0
- data/node_modules/jasmine-jquery/SpecRunner.html +24 -0
- data/node_modules/jasmine-jquery/index.js +15 -0
- data/node_modules/jasmine-jquery/lib/jasmine-jquery.js +288 -0
- data/node_modules/jasmine-jquery/package.json +19 -0
- data/node_modules/jasmine-jquery/spec/fixtures/real_non_mocked_fixture.html +1 -0
- data/node_modules/jasmine-jquery/spec/suites/jasmine-jquery-spec.js +691 -0
- data/node_modules/jasmine-node/.gitignore +10 -0
- data/node_modules/jasmine-node/LICENSE +22 -0
- data/node_modules/jasmine-node/README.md +35 -0
- data/node_modules/jasmine-node/bin/jasmine-node +7 -0
- data/node_modules/jasmine-node/lib/jasmine-node/cli.js +110 -0
- data/node_modules/jasmine-node/lib/jasmine-node/index.js +171 -0
- data/node_modules/jasmine-node/lib/jasmine-node/jasmine-2.0.0.rc1.js +2479 -0
- data/node_modules/jasmine-node/lib/jasmine-node/reporter.js +177 -0
- data/node_modules/jasmine-node/package.json +22 -0
- data/node_modules/jasmine-node/spec/CoffeeSpec.coffee +4 -0
- data/node_modules/jasmine-node/spec/SampleSpecs.js +15 -0
- data/node_modules/jasmine-node/spec/TestSpec.js +5 -0
- data/node_modules/jasmine-node/spec/helper_spec.js +7 -0
- data/node_modules/jasmine-node/spec/include/include_spec.js +7 -0
- data/node_modules/jasmine-node/spec/include/lib/test.js +3 -0
- data/node_modules/jasmine-node/spec/nested.js/NestedSpec.js +5 -0
- data/node_modules/jasmine-node/spec/nested/NestedSpec.js +5 -0
- data/node_modules/jasmine-node/spec/nested/uber-nested/UberNestedSpec.js +11 -0
- data/node_modules/jasmine-node/spec/sample_helper.js +19 -0
- data/node_modules/jasmine-node/specs.sh +2 -0
- data/node_modules/jasmine-reporters/.gitignore +1 -0
- data/node_modules/jasmine-reporters/.gitmodules +3 -0
- data/node_modules/jasmine-reporters/LICENSE +21 -0
- data/node_modules/jasmine-reporters/README.markdown +52 -0
- data/node_modules/jasmine-reporters/ext/env.rhino.1.2.js +13989 -0
- data/node_modules/jasmine-reporters/ext/jasmine-html.js +182 -0
- data/node_modules/jasmine-reporters/ext/jasmine.css +166 -0
- data/node_modules/jasmine-reporters/ext/jasmine.js +2421 -0
- data/node_modules/jasmine-reporters/ext/jline.jar +0 -0
- data/node_modules/jasmine-reporters/ext/js.jar +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/.gitignore +10 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/ChangeLog +57 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/LICENSE.BSD +22 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/README.md +28 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/arguments.coffee +6 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/arguments.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/colorwheel.coffee +45 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/colorwheel.js +52 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/countdown.coffee +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/countdown.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/cycle_multiple_urls.js +64 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/direction.coffee +28 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/direction.js +34 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/extract-text.coffee +81 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/extract-text.js +121 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/fibo.coffee +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/fibo.js +9 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/follow.coffee +36 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/follow.js +37 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/hello.coffee +2 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/hello.js +2 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/ipgeocode.coffee +13 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/ipgeocode.js +14 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/loadspeed.coffee +17 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/loadspeed.js +20 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/movies.coffee +13 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/movies.js +14 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/pizza.coffee +10 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/pizza.js +12 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/rasterize.coffee +21 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/rasterize.js +22 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/run-jasmine.js +26 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/run-qunit.js +24 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/seasonfood.coffee +17 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/seasonfood.js +19 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/technews.coffee +13 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/technews.js +14 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/tweets.coffee +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/tweets.js +12 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/useragent.coffee +7 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/useragent.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/version.coffee +5 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/version.js +5 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/waitfor.coffee +40 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/waitfor.js +43 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/weather.coffee +35 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/examples/weather.js +42 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/phantomjs.pro +3 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/INSTALL +20 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/LICENSE +674 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/README +56 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/csconverter.py +41 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/networkaccessmanager.py +84 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/phantom.py +384 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/plugincontroller.py +98 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/plugins/__init__.py +1 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/pyphantomjs.py +154 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources.py +4160 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources.qrc +6 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources/coffee-script.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources/pyphantomjs-icon.ico +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/resources/pyphantomjs-icon.png +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/tools/build_resources.sh +14 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/tools/setup.py +52 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/utils.py +126 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/python/webpage.py +67 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/coffee-script.js +8 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/consts.h +39 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/csconverter.cpp +61 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/csconverter.h +47 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/config.h +1 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/egif_lib.c +1111 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif.pri +20 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_err.c +120 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_hash.c +160 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_hash.h +59 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_lib.h +336 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gif_lib_private.h +59 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gifalloc.c +443 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gifwriter.cpp +126 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/gifwriter.h +38 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/gif/quantize.c +330 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/main.cpp +64 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/networkaccessmanager.cpp +119 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/networkaccessmanager.h +53 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantom.cpp +494 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantom.h +117 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs-icon.png +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs.pro +32 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs.qrc +7 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_os2.ico +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_os2.rc +1 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_win.ico +0 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/phantomjs_win.rc +1 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/usage.txt +11 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/utils.cpp +74 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/utils.h +50 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/webpage.cpp +87 -0
- data/node_modules/jasmine-reporters/ext/phantomjs/src/webpage.h +61 -0
- data/node_modules/jasmine-reporters/package.json +15 -0
- data/node_modules/jasmine-reporters/src/jasmine.console_reporter.js +132 -0
- data/node_modules/jasmine-reporters/src/jasmine.junit_reporter.js +199 -0
- data/node_modules/jasmine-reporters/src/load_reporters.js +2 -0
- data/node_modules/jasmine-reporters/test/JUnitXmlReporterSpec.js +214 -0
- data/node_modules/jasmine-reporters/test/console_reporter.html +36 -0
- data/node_modules/jasmine-reporters/test/envjs.bootstrap.js +14 -0
- data/node_modules/jasmine-reporters/test/envjs.runner.sh +7 -0
- data/node_modules/jasmine-reporters/test/junit_xml_reporter.html +23 -0
- data/node_modules/jasmine-reporters/test/phantomjs-testrunner.js +39 -0
- data/node_modules/jasmine-reporters/test/phantomjs.runner.sh +30 -0
- data/node_modules/jasmine-reporters/test/pyphantomjs-plugins/saveToFile/__init__.py +1 -0
- data/node_modules/jasmine-reporters/test/pyphantomjs-plugins/saveToFile/saveToFile.py +46 -0
- data/node_modules/jasmine-runner/README.md +42 -0
- data/node_modules/jasmine-runner/TODO.md +16 -0
- data/node_modules/jasmine-runner/bin/jasmine +26 -0
- data/node_modules/jasmine-runner/lib/ServerRoutes.js +70 -0
- data/node_modules/jasmine-runner/lib/TestRunner.js +29 -0
- data/node_modules/jasmine-runner/lib/browser.js +14 -0
- data/node_modules/jasmine-runner/lib/config.js +21 -0
- data/node_modules/jasmine-runner/lib/jasmine-runner.js +83 -0
- data/node_modules/jasmine-runner/lib/monitor.js +34 -0
- data/node_modules/jasmine-runner/lib/notify.js +48 -0
- data/node_modules/jasmine-runner/lib/public/control-frame.js +57 -0
- data/node_modules/jasmine-runner/lib/public/jasmine-html.js +188 -0
- data/node_modules/jasmine-runner/lib/public/jasmine.css +166 -0
- data/node_modules/jasmine-runner/lib/public/jasmine.js +2421 -0
- data/node_modules/jasmine-runner/lib/public/jquery-1.4.3.js +166 -0
- data/node_modules/jasmine-runner/lib/public/json2.js +482 -0
- data/node_modules/jasmine-runner/lib/public/run.js +6 -0
- data/node_modules/jasmine-runner/lib/reporters.js +31 -0
- data/node_modules/jasmine-runner/lib/server-worker.js +18 -0
- data/node_modules/jasmine-runner/lib/server.js +27 -0
- data/node_modules/jasmine-runner/lib/template/jasmine.json +18 -0
- data/node_modules/jasmine-runner/lib/template/public/javascript/Player.js +22 -0
- data/node_modules/jasmine-runner/lib/template/public/javascript/Song.js +7 -0
- data/node_modules/jasmine-runner/lib/template/spec/PlayerSpec.coffee +45 -0
- data/node_modules/jasmine-runner/lib/template/spec/PlayerSpec.js +58 -0
- data/node_modules/jasmine-runner/lib/template/spec/SpecHelper.js +9 -0
- data/node_modules/jasmine-runner/lib/testserver.js +26 -0
- data/node_modules/jasmine-runner/lib/views/control-frame.jade +7 -0
- data/node_modules/jasmine-runner/lib/views/index.jade +18 -0
- data/node_modules/jasmine-runner/node_modules/.bin/cake +7 -0
- data/node_modules/jasmine-runner/node_modules/.bin/coffee +7 -0
- data/node_modules/jasmine-runner/node_modules/.bin/express +451 -0
- data/node_modules/jasmine-runner/node_modules/.bin/jade +92 -0
- data/node_modules/jasmine-runner/node_modules/.bin/vows +421 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/.npmignore +11 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/LICENSE +22 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/README +47 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/Rakefile +78 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/bin/cake +7 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/bin/coffee +7 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/browser.js +52 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/cake.js +76 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/coffee-script.js +82 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/command.js +269 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/grammar.js +586 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/helpers.js +66 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/index.js +8 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/lexer.js +638 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/nodes.js +2181 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/optparse.js +111 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/parser.js +656 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/repl.js +47 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/rewriter.js +353 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/lib/scope.js +120 -0
- data/node_modules/jasmine-runner/node_modules/coffee-script/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/colors/MIT-LICENSE.txt +20 -0
- data/node_modules/jasmine-runner/node_modules/colors/ReadMe.md +30 -0
- data/node_modules/jasmine-runner/node_modules/colors/colors.js +75 -0
- data/node_modules/jasmine-runner/node_modules/colors/example.js +6 -0
- data/node_modules/jasmine-runner/node_modules/colors/package.json +14 -0
- data/node_modules/jasmine-runner/node_modules/express/.npmignore +7 -0
- data/node_modules/jasmine-runner/node_modules/express/History.md +630 -0
- data/node_modules/jasmine-runner/node_modules/express/LICENSE +22 -0
- data/node_modules/jasmine-runner/node_modules/express/Makefile +39 -0
- data/node_modules/jasmine-runner/node_modules/express/Readme.md +102 -0
- data/node_modules/jasmine-runner/node_modules/express/bin/express +451 -0
- data/node_modules/jasmine-runner/node_modules/express/index.js +2 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/express.js +78 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/http.js +503 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/https.js +52 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/request.js +289 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/response.js +423 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/router/index.js +329 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/router/methods.js +70 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/router/route.js +71 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/utils.js +122 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/view.js +413 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/view/partial.js +40 -0
- data/node_modules/jasmine-runner/node_modules/express/lib/view/view.js +206 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/.npmignore +11 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/LICENSE +24 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/index.js +2 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/cache.js +81 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/connect.js +106 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/http.js +215 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/https.js +47 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/index.js +46 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/basicAuth.js +93 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js +92 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/compiler.js +163 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/cookieParser.js +46 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/csrf.js +105 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/directory.js +222 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/errorHandler.js +100 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/favicon.js +76 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/limit.js +82 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/logger.js +299 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js +38 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/profiler.js +100 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/query.js +40 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/responseTime.js +34 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/router.js +379 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session.js +346 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session/cookie.js +126 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session/memory.js +131 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session/session.js +137 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/session/store.js +87 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/static.js +225 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/staticCache.js +175 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/middleware/vhost.js +44 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/patch.js +79 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/directory.html +75 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/error.html +13 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/favicon.ico +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_add.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_attach.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_code.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_copy.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_delete.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_edit.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_error.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_excel.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_find.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_gear.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_go.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_green.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_key.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_link.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_paste.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_red.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_save.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_word.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/icons/page_world.png +0 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/public/style.css +141 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/lib/utils.js +451 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/package.json +24 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/connect/test.js +11 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/LICENSE +19 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/README.md +50 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/mime.js +92 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/test.js +79 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/types/mime.types +1479 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/mime/types/node.types +43 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/.gitignore +1 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/.gitmodules +6 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/History.md +57 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/Makefile +7 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/Readme.md +49 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/benchmark.js +17 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/examples.js +48 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/index.js +2 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/lib/querystring.js +236 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/package.json +16 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/test/parse.test.js +156 -0
- data/node_modules/jasmine-runner/node_modules/express/node_modules/qs/test/stringify.test.js +95 -0
- data/node_modules/jasmine-runner/node_modules/express/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/growl/History.md +10 -0
- data/node_modules/jasmine-runner/node_modules/growl/Readme.md +74 -0
- data/node_modules/jasmine-runner/node_modules/growl/lib/growl.js +80 -0
- data/node_modules/jasmine-runner/node_modules/growl/package.json +6 -0
- data/node_modules/jasmine-runner/node_modules/growl/seed.yml +4 -0
- data/node_modules/jasmine-runner/node_modules/growl/test.js +17 -0
- data/node_modules/jasmine-runner/node_modules/jade/.gitignore +3 -0
- data/node_modules/jasmine-runner/node_modules/jade/.gitmodules +21 -0
- data/node_modules/jasmine-runner/node_modules/jade/.npmignore +4 -0
- data/node_modules/jasmine-runner/node_modules/jade/CNAME +1 -0
- data/node_modules/jasmine-runner/node_modules/jade/History.md +163 -0
- data/node_modules/jasmine-runner/node_modules/jade/LICENSE +22 -0
- data/node_modules/jasmine-runner/node_modules/jade/Makefile +25 -0
- data/node_modules/jasmine-runner/node_modules/jade/Readme.md +408 -0
- data/node_modules/jasmine-runner/node_modules/jade/api.html +850 -0
- data/node_modules/jasmine-runner/node_modules/jade/bin/jade +92 -0
- data/node_modules/jasmine-runner/node_modules/jade/index.js +2 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/compiler.js +273 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/doctypes.js +18 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/filters.js +70 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/index.js +314 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/jade.js +314 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/lexer.js +359 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/block.js +29 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/code.js +35 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/comment.js +32 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/doctype.js +29 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/each.js +35 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/filter.js +33 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/index.js +16 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/node.js +20 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/tag.js +80 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/nodes/text.js +29 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/parser.js +358 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/self-closing.js +17 -0
- data/node_modules/jasmine-runner/node_modules/jade/lib/utils.js +49 -0
- data/node_modules/jasmine-runner/node_modules/jade/package.json +9 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/.gitignore +2 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/README.md +59 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/lib/libnotify.js +72 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/package.json +11 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/seed.yml +5 -0
- data/node_modules/jasmine-runner/node_modules/libnotify/test.js +5 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/.gitignore +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/Makefile +10 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/README.md +218 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/example/chat.html +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/example/json.js +18 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/example/server.js +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/index.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/client.js +191 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/index.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/listener.js +166 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/flashsocket.js +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/htmlfile.js +45 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/jsonp-polling.js +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/websocket.js +137 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/xhr-multipart.js +63 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/transports/xhr-polling.js +75 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/lib/socket.io/utils.js +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/package.json +17 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/.gitignore +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/.gitmodules +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/History.md +97 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/Makefile +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/Readme.md +39 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/bin/expresso +837 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/COPYING +339 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/Makefile.am +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/Makefile.in +884 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/Readme.md +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/aclocal.m4 +872 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/config.guess +1526 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/config.h.in +92 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/config.rpath +666 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/config.sub +1658 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/configure +7971 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/configure.ac +88 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/depcomp +589 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/encoding.c +315 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/encoding.h +33 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/generate-resources.c +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/global.h +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/highlight.c +478 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/highlight.h +37 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-connection.c +192 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-exchange.c +494 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-host.c +95 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-message.c +900 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-server.c +236 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-server.h +208 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/http-url.c +156 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/install-sh +519 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/instrument-js.cpp +1873 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/instrument-js.h +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/instrument.c +226 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/instrument.h +31 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/GNUmakefile +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/Makefile.ref +483 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/README.html +54 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/SpiderMonkey.rsp +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/aclocal.m4 +9 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/bench.sh +5 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/builtins.tbl +98 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config.mk +206 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/Makefile.in +106 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/Moz/Milestone.pm +232 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/autoconf.mk.in +349 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/check-sync-dirs.py +108 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/check-sync-exceptions +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/config.mk +884 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/fastcwd.pl +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/gcc_hidden.h +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/insure.mk +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/make-system-wrappers.pl +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/milestone.pl +112 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/milestone.txt +13 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/Makefile.in +84 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/cppsetup.c +233 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/def.h +184 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/ifparser.c +549 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/ifparser.h +83 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/imakemdep.h +733 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/include.c +337 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/main.c +860 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/mkdepend.man +382 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/parse.c +686 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/mkdepend/pr.c +124 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/nfspwd.pl +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/nsinstall.c +481 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/nsinstall.py +139 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/pathsub.c +247 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/pathsub.h +74 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/preprocessor.pl +671 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/revdepth-nt.pl +48 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/revdepth.pl +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/rules.mk +2269 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/system-headers +1038 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/version.mk +85 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/config/version_win.pl +423 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/dtoa.c +3321 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/Makefile.ref +143 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/README +83 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/editline.3 +175 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/editline.c +1368 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/editline.h +135 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/sysunix.c +182 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/editline/unix.h +82 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/javascript-trace.d +73 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jitstats.tbl +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js-config.h.in +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js-config.in +111 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js.cpp +4050 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js.mdp +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js.msg +309 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/js3240.rc +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsOS240.def +654 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsapi.cpp +6060 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsapi.h +2699 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsarena.cpp +450 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsarena.h +318 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsarray.cpp +3426 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsarray.h +191 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsatom.cpp +1064 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsatom.h +458 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbit.h +253 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbool.cpp +182 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbool.h +75 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbuiltins.cpp +497 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsbuiltins.h +374 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsclist.h +139 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscntxt.cpp +1394 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscntxt.h +1247 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscompat.h +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsconfig.mk +181 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscpucfg.cpp +388 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jscpucfg.h +212 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdate.cpp +2475 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdate.h +124 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdbgapi.cpp +1954 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdbgapi.h +500 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdhash.cpp +876 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdhash.h +588 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdtoa.cpp +572 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdtoa.h +131 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdtracef.c +318 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsdtracef.h +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsemit.cpp +6857 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsemit.h +777 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsexn.cpp +1376 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsexn.h +96 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfile.cpp +2736 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfile.h +56 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfile.msg +90 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfun.cpp +2706 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsfun.h +296 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsgc.cpp +3763 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsgc.h +427 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jshash.cpp +476 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jshash.h +151 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsify.pl +483 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsinterp.cpp +7225 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsinterp.h +591 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsinvoke.cpp +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsiter.cpp +1050 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsiter.h +140 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jskeyword.tbl +124 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jskwgen.cpp +460 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslibmath.h +69 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslock.cpp +1417 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslock.h +311 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslocko.asm +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslog2.cpp +94 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslong.cpp +264 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jslong.h +412 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsmath.cpp +721 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsmath.h +63 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsnum.cpp +1338 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsnum.h +287 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsobj.cpp +5563 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsobj.h +735 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/json.cpp +954 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/json.h +107 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsopcode.cpp +5304 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsopcode.h +404 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsopcode.tbl +557 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsoplengen.cpp +121 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsotypes.h +202 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsparse.cpp +6822 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsparse.h +508 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsprf.cpp +1262 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsprf.h +150 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsproto.tbl +129 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsprvtd.h +263 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jspubtd.h +727 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsregexp.cpp +4772 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsregexp.h +192 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsreops.tbl +145 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscan.cpp +2017 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscan.h +389 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscope.cpp +1955 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscope.h +419 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscript.cpp +1891 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsscript.h +330 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsshell.msg +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsstaticcheck.h +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsstddef.h +87 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsstr.cpp +5347 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsstr.h +662 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jstracer.cpp +8276 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jstracer.h +552 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jstypes.h +490 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsutil.cpp +345 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsutil.h +168 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsversion.h +243 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsxdrapi.cpp +800 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsxdrapi.h +220 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsxml.cpp +8343 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/jsxml.h +298 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/lock_SunOS.s +119 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/plify_jsdhash.sed +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/prmjtime.cpp +846 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/prmjtime.h +103 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/AIX4.1.mk +65 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/AIX4.2.mk +64 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/AIX4.3.mk +65 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Cygwin.mk +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin.mk +85 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin1.3.mk +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin1.4.mk +41 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin5.2.mk +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin5.3.mk +81 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Darwin64.mk +72 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/HP-UXB.10.10.mk +77 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/HP-UXB.10.20.mk +77 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/HP-UXB.11.00.mk +80 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX.mk +87 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX5.3.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX6.1.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX6.2.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX6.3.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/IRIX6.5.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Linux_All.mk +105 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/MSYS.mk +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/Mac_OS10.0.mk +82 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/OSF1V4.0.mk +72 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/OSF1V5.0.mk +69 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS4.1.4.mk +101 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.10.mk +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.3.mk +91 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.4.mk +92 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.5.1.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.5.mk +87 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.6.mk +89 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.7.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.8.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/SunOS5.9.mk +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT4.0.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT5.0.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT5.1.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT5.2.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/WINNT6.0.mk +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/ref-config/dgux.mk +64 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/resource.h +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/rules.mk +206 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/time.sh +13 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/js/win32.order +384 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-help.txt +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-highlight.css +38 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-ie.css +89 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-overlay.js +211 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-server-help.txt +17 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-server.1 +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-server.c +1307 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage-throbber.gif +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.1 +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.c +142 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.css +328 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.html +125 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.js +1024 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.jsm +22 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.manifest +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/jscoverage.xul +36 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/m4/iconv.m4 +180 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/m4/lib-ld.m4 +110 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/m4/lib-link.m4 +709 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/m4/lib-prefix.m4 +185 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/make-bin-dist.sh.in +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/make-dist.sh.in +43 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/missing +367 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/report.js +76 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/resource-manager.c +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/resource-manager.h +46 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/stream.c +129 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/stream.h +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/Makefile.am +130 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/Makefile.in +846 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/asprintf.c +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/asprintf.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/charset.sh +110 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/chunked.sh +74 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/common.sh +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/destination-is-existing-directory.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/destination-is-file.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/encoding-requires-argument.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/encodings.c +223 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/encodings.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/exclude-requires-argument.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/fatal.sh +110 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/gethostbyname.c +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/gethostbyname.sh +25 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/help.sh +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-client-bad-body.c +98 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-client-bad-url.c +77 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-client-close-after-request.c +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-bad-body.c +97 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-bad-headers.c +97 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-charset.c +144 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-chunked.c +196 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/http-server-close-immediately.c +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/invalid-option.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/invalid-option.sh +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-ignore.expected/ignore.js +106 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-ignore.sh +28 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-ignore/ignore.js +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-invalid.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-invalid/javascript-invalid.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-setter.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-setter/javascript-setter.js +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-utf-8.expected/javascript-utf-8.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-utf-8.sh +43 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-utf-8/javascript-utf-8.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-xml.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript-xml/javascript-xml.js +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-array-comprehension.js +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-assign.js +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-colon.js +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-comma.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-cr.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-crlf.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-debugger.js +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-dec.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-delete.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-destructuring.js +96 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-do.js +28 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-dot.js +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-empty.js +9 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-for.js +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-foreach.js +16 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-function.js +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-generator-expression.js +45 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-generator.js +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-getter-setter.js +31 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-hook.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-if.js +71 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-in.js +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-inc.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-iso-8859-1.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-lambda.js +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-let.js +148 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-lf.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-new.js +22 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-number.js +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-object.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-op.js +108 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-primary.js +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-rb.js +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-rc.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-rp.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-special-characters.js +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-string.js +36 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-switch.js +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-throw.js +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-try.js +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-unaryop.js +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-var.js +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-while.js +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-with.js +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript.sh +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-array-comprehension.js +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-assign.js +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-colon.js +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-comma.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-cr.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-crlf.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-debugger.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-dec.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-delete.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-destructuring.js +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-do.js +10 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-dot.js +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-empty.js +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-for.js +22 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-foreach.js +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-function.js +38 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-generator-expression.js +18 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-generator.js +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-getter-setter.js +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-hook.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-if.js +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-in.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-inc.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-iso-8859-1.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-lambda.js +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-let.js +79 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-lf.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-new.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-number.js +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-object.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-op.js +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-primary.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-rb.js +5 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-rc.js +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-rp.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-special-characters.js +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-string.js +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-switch.js +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-throw.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-try.js +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-unaryop.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-var.js +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-while.js +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-with.js +9 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/json-cmp.js +65 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/json.c +48 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/json.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/mkdirs.c +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/mkdirs.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/netcat.pl +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/no-arguments.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/no-arguments.sh +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/no-instrument-requires-argument.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-request-body.sh +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-response-body-javascript.sh +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-response-body.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-response-body.sh +54 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-bad-response-headers.sh +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-no-server.sh +49 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy-url.sh +67 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/proxy.sh +143 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-crlf.sh +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-dir-list.c +93 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-dir-list.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-exclude.sh +41 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-fatal.sh +40 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive-no-instrument.sh +41 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/1.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/1.html +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/1.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/2/2.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/2/2.html +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/1/2/2.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/image.png +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/index.html +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/script.js +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/style.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/unix.txt +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/windows.txt +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.expected/x +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive.sh +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/1.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/1.html +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/1.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/2/2.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/2/2.html +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/1/2/2.js +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/image.png +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/index.html +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/script.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/style.css +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/unix.txt +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/windows.txt +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/recursive/x +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/same-directory.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/same-directory.sh +30 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-bad-requests.sh +104 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-close-after-request.sh +47 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-content-types.sh +68 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-directory-listing.expected +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-directory-listing.sh +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-directory-redirect.sh +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-encoded-url.sh +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-error.sh +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-help.sh +26 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-ip-address.sh +68 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-shutdown-bad-method.sh +49 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-shutdown.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-shutdown.sh +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-special-file.sh +62 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-unreadable-directory.sh +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-unreadable-file.sh +62 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-verbose.expected.err +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-verbose.sh +54 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server-version.sh +25 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server.pl +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/server.sh +216 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/source-does-not-exist.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/source-is-file.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-json.sh +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-request-body.sh +48 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-response-headers.sh +56 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-source-urls.expected.err +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-bad-source-urls.expected.json +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-escaped-characters.expected.json +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-escaped-characters.js +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-escaped-characters.json +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-escaped-characters.sh +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-server-bad-body.sh +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-server-closes-immediately.sh +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-not-found.expected.err +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-not-found.expected.json +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-not-found.json +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-not-found.sh +50 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-urls.expected.err +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-source-urls.expected.json +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-unreachable-source-urls.expected.err +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-unreachable-source-urls.expected.json +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-unreadable-json.sh +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store-unwritable-json.sh +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store.expected.json +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store.json +5 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/store.sh +137 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/streams.c +107 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/streams.sh +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/too-many-arguments.expected.err +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/valgrind.sh +7 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/tests/version.sh +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/util.c +570 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/deps/jscoverage/util.h +133 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/api.html +1048 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/index.html +373 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/index.md +290 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/layout/foot.html +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/docs/layout/head.html +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/lib/bar.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/lib/foo.js +16 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/package.json +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/assert.test.js +84 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/async.test.js +6 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/bar.test.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/foo.test.js +13 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/http.test.js +82 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/serial/async.test.js +38 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/expresso/test/serial/http.test.js +47 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/LICENSE +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/Makefile +8 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/README.md +41 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/examples/client-unix.js +12 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/examples/client.js +10 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/examples/server-unix.js +13 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/lib/websocket.js +562 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-basic.js +63 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-readonly-attrs.js +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-ready-state.js +23 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-unix-send-fd.js +63 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/node-websocket-client/test/test-unix-sockets.js +46 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/.gitignore +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/.gitmodules +3 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/Makefile +2 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/README.md +213 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/io.js +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/socket.js +157 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transport.js +141 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/flashsocket.js +53 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/htmlfile.js +73 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/jsonp-polling.js +116 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/websocket.js +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/xhr-multipart.js +36 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/xhr-polling.js +68 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/transports/xhr.js +131 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/util.js +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/.gitignore +1 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/FABridge.js +604 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/README.txt +109 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/WebSocketMainInsecure.zip +0 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocket.as +461 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMain.as +94 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as +19 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketStateEvent.as +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/bridge/FABridge.as +943 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/build.sh +10 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/adobe/net/proxies/RFC2817Socket.as +204 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/gsolo/encryption/MD5.as +375 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/Crypto.as +287 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/MozillaRootCertificates.as +3235 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509Certificate.as +218 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509CertificateCollection.as +57 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/HMAC.as +82 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHMAC.as +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHash.as +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MAC.as +137 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD2.as +124 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD5.as +204 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA1.as +106 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA224.as +28 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA256.as +115 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHABase.as +71 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/ARC4.as +90 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/IPRNG.as +20 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/Random.as +119 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/TLSPRF.as +142 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/rsa/RSAKey.as +339 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/AESKey.as +2797 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/BlowFishKey.as +375 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CBCMode.as +55 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFB8Mode.as +61 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFBMode.as +64 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CTRMode.as +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/DESKey.as +365 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ECBMode.as +86 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ICipher.as +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IMode.as +15 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IPad.as +32 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IStreamCipher.as +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ISymmetricKey.as +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IVMode.as +110 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/NullPad.as +34 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/OFBMode.as +52 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/PKCS5.as +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SSLPad.as +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SimpleIVMode.as +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TLSPad.as +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TripleDESKey.as +88 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/XTeaKey.as +94 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/aeskey.pl +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/dump.txt +2304 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/AESKeyTest.as +1220 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ARC4Test.as +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BigIntegerTest.as +39 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BlowFishKeyTest.as +148 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CBCModeTest.as +160 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFB8ModeTest.as +71 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFBModeTest.as +98 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CTRModeTest.as +109 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/DESKeyTest.as +112 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ECBModeTest.as +151 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/HMACTest.as +184 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ITestHarness.as +20 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD2Test.as +56 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD5Test.as +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/OFBModeTest.as +101 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/RSAKeyTest.as +92 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA1Test.as +198 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA224Test.as +58 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA256Test.as +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TLSPRFTest.as +51 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TestCase.as +42 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TripleDESKeyTest.as +59 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/XTeaKeyTest.as +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/BulkCiphers.as +102 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/CipherSuites.as +117 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/IConnectionState.as +14 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/ISecurityParameters.as +29 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as +24 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/MACs.as +38 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLConnectionState.as +171 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as +26 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLSecurityParameters.as +340 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConfig.as +70 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConnectionState.as +151 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEngine.as +895 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSError.as +39 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEvent.as +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSecurityParameters.as +197 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocket.as +370 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocketEvent.as +26 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSTest.as +180 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BarrettReduction.as +90 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BigInteger.as +1543 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/ClassicReduction.as +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/IReduction.as +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/MontgomeryReduction.as +85 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/NullReduction.as +34 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/bi_internal.as +11 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as +25 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Base64.as +189 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Hex.as +66 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as +28 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ByteString.as +43 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/DER.as +210 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/IAsn1Type.as +21 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Integer.as +44 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/OID.as +35 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ObjectIdentifier.as +112 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PEM.as +118 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PrintableString.as +49 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Sequence.as +90 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Set.as +27 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Type.as +94 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/UTCTime.as +60 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/sample.html +76 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/swfobject.js +4 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/lib/vendor/web-socket-js/web_socket.js +388 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/support/socket.io-client/socket.io.js +1918 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/index.js +17 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/listener.js +152 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.flashsocket.js +48 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.htmlfile.js +214 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.jsonp-polling.js +148 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.websocket.js +245 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.xhr-multipart.js +215 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/transports.xhr-polling.js +138 -0
- data/node_modules/jasmine-runner/node_modules/socket.io/tests/utils.js +25 -0
- data/node_modules/jasmine-runner/node_modules/vows/LICENSE +20 -0
- data/node_modules/jasmine-runner/node_modules/vows/Makefile +7 -0
- data/node_modules/jasmine-runner/node_modules/vows/README.md +39 -0
- data/node_modules/jasmine-runner/node_modules/vows/bin/vows +421 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/assert/error.js +27 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/assert/macros.js +180 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows.js +195 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/console.js +93 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/context.js +55 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/extras.js +28 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/dot-matrix.js +69 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/json.js +10 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/silent.js +8 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/spec.js +74 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/watch.js +38 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/reporters/xunit.js +90 -0
- data/node_modules/jasmine-runner/node_modules/vows/lib/vows/suite.js +321 -0
- data/node_modules/jasmine-runner/node_modules/vows/package.json +14 -0
- data/node_modules/jasmine-runner/node_modules/vows/test/assert-test.js +101 -0
- data/node_modules/jasmine-runner/node_modules/vows/test/vows-test.js +373 -0
- data/node_modules/jasmine-runner/node_modules/webworker/.gitignore +2 -0
- data/node_modules/jasmine-runner/node_modules/webworker/LICENSE +27 -0
- data/node_modules/jasmine-runner/node_modules/webworker/Makefile +15 -0
- data/node_modules/jasmine-runner/node_modules/webworker/README.md +74 -0
- data/node_modules/jasmine-runner/node_modules/webworker/docs/design.md +103 -0
- data/node_modules/jasmine-runner/node_modules/webworker/examples/prefork/README.md +1 -0
- data/node_modules/jasmine-runner/node_modules/webworker/examples/prefork/master.js +12 -0
- data/node_modules/jasmine-runner/node_modules/webworker/examples/prefork/worker.js +20 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/webworker-child.js +173 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/webworker-util.js +185 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/webworker.js +304 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/ws.js +118 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/ws/connection.js +408 -0
- data/node_modules/jasmine-runner/node_modules/webworker/lib/ws/manager.js +98 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/LICENSE +27 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/Makefile +8 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/README.md +41 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/examples/client-unix.js +12 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/examples/client.js +10 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/examples/server-unix.js +13 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/lib/websocket.js +516 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/package.json +22 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-basic.js +63 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-readonly-attrs.js +44 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-ready-state.js +23 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-unix-send-fd.js +63 -0
- data/node_modules/jasmine-runner/node_modules/webworker/node_modules/websocket-client/test/test-unix-sockets.js +46 -0
- data/node_modules/jasmine-runner/node_modules/webworker/package.json +25 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/test-error.js +24 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/test-fd.js +32 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/test-simple.js +36 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/workers/error.js +6 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/workers/fd.js +17 -0
- data/node_modules/jasmine-runner/node_modules/webworker/test/workers/simple.js +15 -0
- data/node_modules/jasmine-runner/package.json +22 -0
- data/node_modules/jasmine-runner/spec/ConsoleLoggerSpec.js +1 -0
- data/node_modules/jasmine-runner/spec/ServerSpec.js +42 -0
- data/node_modules/jasmine-runner/spec/TestRunner.js +72 -0
- data/node_modules/jasmine-runner/spec/file.worker +8 -0
- data/node_modules/jasmine-runner/spec/temp/spec/foo.spec.js +0 -0
- data/node_modules/jasmine-runner/spec/temp/src/foo.hs +1 -0
- data/node_modules/uglify-js/.gitignore +4 -0
- data/node_modules/uglify-js/README.html +1026 -0
- data/node_modules/uglify-js/README.org +571 -0
- data/node_modules/uglify-js/bin/uglifyjs +317 -0
- data/node_modules/uglify-js/docstyle.css +75 -0
- data/node_modules/uglify-js/lib/object-ast.js +75 -0
- data/node_modules/uglify-js/lib/parse-js.js +1339 -0
- data/node_modules/uglify-js/lib/process.js +2001 -0
- data/node_modules/uglify-js/lib/squeeze-more.js +51 -0
- data/node_modules/uglify-js/package.json +24 -0
- data/node_modules/uglify-js/package.json~ +24 -0
- data/node_modules/uglify-js/test/beautify.js +28 -0
- data/node_modules/uglify-js/test/testparser.js +403 -0
- data/node_modules/uglify-js/test/unit/compress/expected/array1.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/array2.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/array3.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/array4.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/assignment.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/concatstring.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/const.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/forstatement.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/if.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue10.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue11.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue13.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue14.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue16.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue17.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue20.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue21.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue25.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue27.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue28.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue29.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue30.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue34.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue4.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue48.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue50.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue53.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue68.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue69.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/issue9.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/mangle.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/null_string.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/var.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/whitespace.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/expected/with.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/array1.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/array2.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/array3.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/array4.js +6 -0
- data/node_modules/uglify-js/test/unit/compress/test/assignment.js +20 -0
- data/node_modules/uglify-js/test/unit/compress/test/concatstring.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/const.js +5 -0
- data/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/forstatement.js +10 -0
- data/node_modules/uglify-js/test/unit/compress/test/if.js +6 -0
- data/node_modules/uglify-js/test/unit/compress/test/ifreturn.js +9 -0
- data/node_modules/uglify-js/test/unit/compress/test/ifreturn2.js +16 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue10.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue11.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue13.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue14.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue16.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue17.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue20.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue21.js +6 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue25.js +7 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue27.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue28.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue29.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue30.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue34.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue4.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue48.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue50.js +9 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue53.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue54.1.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue68.js +5 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue69.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/issue9.js +4 -0
- data/node_modules/uglify-js/test/unit/compress/test/mangle.js +5 -0
- data/node_modules/uglify-js/test/unit/compress/test/null_string.js +1 -0
- data/node_modules/uglify-js/test/unit/compress/test/strict-equals.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/var.js +3 -0
- data/node_modules/uglify-js/test/unit/compress/test/whitespace.js +21 -0
- data/node_modules/uglify-js/test/unit/compress/test/with.js +2 -0
- data/node_modules/uglify-js/test/unit/scripts.js +55 -0
- data/node_modules/uglify-js/uglify-js.js +17 -0
- data/node_modules/uglifycss/README.md +21 -0
- data/node_modules/uglifycss/index.js +26 -0
- data/node_modules/uglifycss/package.json +15 -0
- data/node_modules/uglifycss/test.js +43 -0
- data/node_modules/uglifycss/tests.yui.js +42 -0
- data/node_modules/uglifycss/uglifycss +127 -0
- data/node_modules/uglifycss/uglifycss-lib.js +461 -0
- metadata +1383 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2
|
+
* vim: set ts=8 sw=4 et tw=78:
|
3
|
+
*
|
4
|
+
* ***** BEGIN LICENSE BLOCK *****
|
5
|
+
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
6
|
+
*
|
7
|
+
* The contents of this file are subject to the Mozilla Public License Version
|
8
|
+
* 1.1 (the "License"); you may not use this file except in compliance with
|
9
|
+
* the License. You may obtain a copy of the License at
|
10
|
+
* http://www.mozilla.org/MPL/
|
11
|
+
*
|
12
|
+
* Software distributed under the License is distributed on an "AS IS" basis,
|
13
|
+
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
14
|
+
* for the specific language governing rights and limitations under the
|
15
|
+
* License.
|
16
|
+
*
|
17
|
+
* The Original Code is Mozilla SpiderMonkey JavaScript 1.8 code, released
|
18
|
+
* March 4, 2008.
|
19
|
+
*
|
20
|
+
* The Initial Developer of the Original Code is
|
21
|
+
* Igor Bukanov <igor@mir2.org>
|
22
|
+
*
|
23
|
+
* Contributor(s):
|
24
|
+
* Brendan Eich <brendan@mozilla.org
|
25
|
+
*
|
26
|
+
* Alternatively, the contents of this file may be used under the terms of
|
27
|
+
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
28
|
+
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
29
|
+
* in which case the provisions of the GPL or the LGPL are applicable instead
|
30
|
+
* of those above. If you wish to allow use of your version of this file only
|
31
|
+
* under the terms of either the GPL or the LGPL, and not to allow others to
|
32
|
+
* use your version of this file under the terms of the MPL, indicate your
|
33
|
+
* decision by deleting the provisions above and replace them with the notice
|
34
|
+
* and other provisions required by the GPL or the LGPL. If you do not delete
|
35
|
+
* the provisions above, a recipient may use your version of this file under
|
36
|
+
* the terms of any one of the MPL, the GPL or the LGPL.
|
37
|
+
*
|
38
|
+
* ***** END LICENSE BLOCK ***** */
|
39
|
+
|
40
|
+
#define jsinvoke_cpp___
|
41
|
+
|
42
|
+
#include "jsinterp.cpp"
|
@@ -0,0 +1,1050 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2
|
+
* vim: set ts=8 sw=4 et tw=78:
|
3
|
+
*
|
4
|
+
* ***** BEGIN LICENSE BLOCK *****
|
5
|
+
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
6
|
+
*
|
7
|
+
* The contents of this file are subject to the Mozilla Public License Version
|
8
|
+
* 1.1 (the "License"); you may not use this file except in compliance with
|
9
|
+
* the License. You may obtain a copy of the License at
|
10
|
+
* http://www.mozilla.org/MPL/
|
11
|
+
*
|
12
|
+
* Software distributed under the License is distributed on an "AS IS" basis,
|
13
|
+
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
14
|
+
* for the specific language governing rights and limitations under the
|
15
|
+
* License.
|
16
|
+
*
|
17
|
+
* The Original Code is Mozilla Communicator client code, released
|
18
|
+
* March 31, 1998.
|
19
|
+
*
|
20
|
+
* The Initial Developer of the Original Code is
|
21
|
+
* Netscape Communications Corporation.
|
22
|
+
* Portions created by the Initial Developer are Copyright (C) 1998
|
23
|
+
* the Initial Developer. All Rights Reserved.
|
24
|
+
*
|
25
|
+
* Contributor(s):
|
26
|
+
*
|
27
|
+
* Alternatively, the contents of this file may be used under the terms of
|
28
|
+
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
29
|
+
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
30
|
+
* in which case the provisions of the GPL or the LGPL are applicable instead
|
31
|
+
* of those above. If you wish to allow use of your version of this file only
|
32
|
+
* under the terms of either the GPL or the LGPL, and not to allow others to
|
33
|
+
* use your version of this file under the terms of the MPL, indicate your
|
34
|
+
* decision by deleting the provisions above and replace them with the notice
|
35
|
+
* and other provisions required by the GPL or the LGPL. If you do not delete
|
36
|
+
* the provisions above, a recipient may use your version of this file under
|
37
|
+
* the terms of any one of the MPL, the GPL or the LGPL.
|
38
|
+
*
|
39
|
+
* ***** END LICENSE BLOCK ***** */
|
40
|
+
|
41
|
+
/*
|
42
|
+
* JavaScript iterators.
|
43
|
+
*/
|
44
|
+
#include "jsstddef.h"
|
45
|
+
#include <string.h> /* for memcpy */
|
46
|
+
#include "jstypes.h"
|
47
|
+
#include "jsutil.h"
|
48
|
+
#include "jsarena.h"
|
49
|
+
#include "jsapi.h"
|
50
|
+
#include "jsarray.h"
|
51
|
+
#include "jsatom.h"
|
52
|
+
#include "jsbool.h"
|
53
|
+
#include "jscntxt.h"
|
54
|
+
#include "jsversion.h"
|
55
|
+
#include "jsexn.h"
|
56
|
+
#include "jsfun.h"
|
57
|
+
#include "jsgc.h"
|
58
|
+
#include "jsinterp.h"
|
59
|
+
#include "jsiter.h"
|
60
|
+
#include "jslock.h"
|
61
|
+
#include "jsnum.h"
|
62
|
+
#include "jsobj.h"
|
63
|
+
#include "jsopcode.h"
|
64
|
+
#include "jsscan.h"
|
65
|
+
#include "jsscope.h"
|
66
|
+
#include "jsscript.h"
|
67
|
+
|
68
|
+
#if JS_HAS_XML_SUPPORT
|
69
|
+
#include "jsxml.h"
|
70
|
+
#endif
|
71
|
+
|
72
|
+
#if JSSLOT_ITER_FLAGS >= JS_INITIAL_NSLOTS
|
73
|
+
#error JS_INITIAL_NSLOTS must be greater than JSSLOT_ITER_FLAGS.
|
74
|
+
#endif
|
75
|
+
|
76
|
+
#if JS_HAS_GENERATORS
|
77
|
+
|
78
|
+
static JSBool
|
79
|
+
CloseGenerator(JSContext *cx, JSObject *genobj);
|
80
|
+
|
81
|
+
#endif
|
82
|
+
|
83
|
+
/*
|
84
|
+
* Shared code to close iterator's state either through an explicit call or
|
85
|
+
* when GC detects that the iterator is no longer reachable.
|
86
|
+
*/
|
87
|
+
void
|
88
|
+
js_CloseNativeIterator(JSContext *cx, JSObject *iterobj)
|
89
|
+
{
|
90
|
+
jsval state;
|
91
|
+
JSObject *iterable;
|
92
|
+
|
93
|
+
JS_ASSERT(STOBJ_GET_CLASS(iterobj) == &js_IteratorClass);
|
94
|
+
|
95
|
+
/* Avoid double work if js_CloseNativeIterator was called on obj. */
|
96
|
+
state = STOBJ_GET_SLOT(iterobj, JSSLOT_ITER_STATE);
|
97
|
+
if (JSVAL_IS_NULL(state))
|
98
|
+
return;
|
99
|
+
|
100
|
+
/* Protect against failure to fully initialize obj. */
|
101
|
+
iterable = STOBJ_GET_PARENT(iterobj);
|
102
|
+
if (iterable) {
|
103
|
+
#if JS_HAS_XML_SUPPORT
|
104
|
+
uintN flags = JSVAL_TO_INT(STOBJ_GET_SLOT(iterobj, JSSLOT_ITER_FLAGS));
|
105
|
+
if ((flags & JSITER_FOREACH) && OBJECT_IS_XML(cx, iterable)) {
|
106
|
+
((JSXMLObjectOps *) iterable->map->ops)->
|
107
|
+
enumerateValues(cx, iterable, JSENUMERATE_DESTROY, &state,
|
108
|
+
NULL, NULL);
|
109
|
+
} else
|
110
|
+
#endif
|
111
|
+
OBJ_ENUMERATE(cx, iterable, JSENUMERATE_DESTROY, &state, NULL);
|
112
|
+
}
|
113
|
+
STOBJ_SET_SLOT(iterobj, JSSLOT_ITER_STATE, JSVAL_NULL);
|
114
|
+
}
|
115
|
+
|
116
|
+
JSClass js_IteratorClass = {
|
117
|
+
"Iterator",
|
118
|
+
JSCLASS_HAS_RESERVED_SLOTS(2) | /* slots for state and flags */
|
119
|
+
JSCLASS_HAS_CACHED_PROTO(JSProto_Iterator),
|
120
|
+
JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_PropertyStub,
|
121
|
+
JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, JS_FinalizeStub,
|
122
|
+
JSCLASS_NO_OPTIONAL_MEMBERS
|
123
|
+
};
|
124
|
+
|
125
|
+
static JSBool
|
126
|
+
InitNativeIterator(JSContext *cx, JSObject *iterobj, JSObject *obj, uintN flags)
|
127
|
+
{
|
128
|
+
jsval state;
|
129
|
+
JSBool ok;
|
130
|
+
|
131
|
+
JS_ASSERT(STOBJ_GET_CLASS(iterobj) == &js_IteratorClass);
|
132
|
+
|
133
|
+
/* Initialize iterobj in case of enumerate hook failure. */
|
134
|
+
STOBJ_SET_PARENT(iterobj, obj);
|
135
|
+
STOBJ_SET_SLOT(iterobj, JSSLOT_ITER_STATE, JSVAL_NULL);
|
136
|
+
STOBJ_SET_SLOT(iterobj, JSSLOT_ITER_FLAGS, INT_TO_JSVAL(flags));
|
137
|
+
if (!js_RegisterCloseableIterator(cx, iterobj))
|
138
|
+
return JS_FALSE;
|
139
|
+
if (!obj)
|
140
|
+
return JS_TRUE;
|
141
|
+
|
142
|
+
ok =
|
143
|
+
#if JS_HAS_XML_SUPPORT
|
144
|
+
((flags & JSITER_FOREACH) && OBJECT_IS_XML(cx, obj))
|
145
|
+
? ((JSXMLObjectOps *) obj->map->ops)->
|
146
|
+
enumerateValues(cx, obj, JSENUMERATE_INIT, &state, NULL, NULL)
|
147
|
+
:
|
148
|
+
#endif
|
149
|
+
OBJ_ENUMERATE(cx, obj, JSENUMERATE_INIT, &state, NULL);
|
150
|
+
if (!ok)
|
151
|
+
return JS_FALSE;
|
152
|
+
|
153
|
+
STOBJ_SET_SLOT(iterobj, JSSLOT_ITER_STATE, state);
|
154
|
+
if (flags & JSITER_ENUMERATE) {
|
155
|
+
/*
|
156
|
+
* The enumerating iterator needs the original object to suppress
|
157
|
+
* enumeration of deleted or shadowed prototype properties. Since the
|
158
|
+
* enumerator never escapes to scripts, we use the prototype slot to
|
159
|
+
* store the original object.
|
160
|
+
*/
|
161
|
+
JS_ASSERT(obj != iterobj);
|
162
|
+
STOBJ_SET_PROTO(iterobj, obj);
|
163
|
+
}
|
164
|
+
return JS_TRUE;
|
165
|
+
}
|
166
|
+
|
167
|
+
static JSBool
|
168
|
+
Iterator(JSContext *cx, JSObject *iterobj, uintN argc, jsval *argv, jsval *rval)
|
169
|
+
{
|
170
|
+
JSBool keyonly;
|
171
|
+
uintN flags;
|
172
|
+
JSObject *obj;
|
173
|
+
|
174
|
+
keyonly = js_ValueToBoolean(argv[1]);
|
175
|
+
flags = keyonly ? 0 : JSITER_FOREACH;
|
176
|
+
|
177
|
+
if (cx->fp->flags & JSFRAME_CONSTRUCTING) {
|
178
|
+
/* XXX work around old valueOf call hidden beneath js_ValueToObject */
|
179
|
+
if (!JSVAL_IS_PRIMITIVE(argv[0])) {
|
180
|
+
obj = JSVAL_TO_OBJECT(argv[0]);
|
181
|
+
} else {
|
182
|
+
obj = js_ValueToNonNullObject(cx, argv[0]);
|
183
|
+
if (!obj)
|
184
|
+
return JS_FALSE;
|
185
|
+
argv[0] = OBJECT_TO_JSVAL(obj);
|
186
|
+
}
|
187
|
+
return InitNativeIterator(cx, iterobj, obj, flags);
|
188
|
+
}
|
189
|
+
|
190
|
+
*rval = argv[0];
|
191
|
+
return js_ValueToIterator(cx, flags, rval);
|
192
|
+
}
|
193
|
+
|
194
|
+
static JSBool
|
195
|
+
NewKeyValuePair(JSContext *cx, jsid key, jsval val, jsval *rval)
|
196
|
+
{
|
197
|
+
jsval vec[2];
|
198
|
+
JSTempValueRooter tvr;
|
199
|
+
JSObject *aobj;
|
200
|
+
|
201
|
+
vec[0] = ID_TO_VALUE(key);
|
202
|
+
vec[1] = val;
|
203
|
+
|
204
|
+
JS_PUSH_TEMP_ROOT(cx, 2, vec, &tvr);
|
205
|
+
aobj = js_NewArrayObject(cx, 2, vec);
|
206
|
+
*rval = OBJECT_TO_JSVAL(aobj);
|
207
|
+
JS_POP_TEMP_ROOT(cx, &tvr);
|
208
|
+
|
209
|
+
return aobj != NULL;
|
210
|
+
}
|
211
|
+
|
212
|
+
static JSBool
|
213
|
+
IteratorNextImpl(JSContext *cx, JSObject *obj, jsval *rval)
|
214
|
+
{
|
215
|
+
JSObject *iterable;
|
216
|
+
jsval state;
|
217
|
+
uintN flags;
|
218
|
+
JSBool foreach, ok;
|
219
|
+
jsid id;
|
220
|
+
|
221
|
+
JS_ASSERT(OBJ_GET_CLASS(cx, obj) == &js_IteratorClass);
|
222
|
+
|
223
|
+
iterable = OBJ_GET_PARENT(cx, obj);
|
224
|
+
JS_ASSERT(iterable);
|
225
|
+
state = STOBJ_GET_SLOT(obj, JSSLOT_ITER_STATE);
|
226
|
+
if (JSVAL_IS_NULL(state))
|
227
|
+
goto stop;
|
228
|
+
|
229
|
+
flags = JSVAL_TO_INT(STOBJ_GET_SLOT(obj, JSSLOT_ITER_FLAGS));
|
230
|
+
JS_ASSERT(!(flags & JSITER_ENUMERATE));
|
231
|
+
foreach = (flags & JSITER_FOREACH) != 0;
|
232
|
+
ok =
|
233
|
+
#if JS_HAS_XML_SUPPORT
|
234
|
+
(foreach && OBJECT_IS_XML(cx, iterable))
|
235
|
+
? ((JSXMLObjectOps *) iterable->map->ops)->
|
236
|
+
enumerateValues(cx, iterable, JSENUMERATE_NEXT, &state,
|
237
|
+
&id, rval)
|
238
|
+
:
|
239
|
+
#endif
|
240
|
+
OBJ_ENUMERATE(cx, iterable, JSENUMERATE_NEXT, &state, &id);
|
241
|
+
if (!ok)
|
242
|
+
return JS_FALSE;
|
243
|
+
|
244
|
+
STOBJ_SET_SLOT(obj, JSSLOT_ITER_STATE, state);
|
245
|
+
if (JSVAL_IS_NULL(state))
|
246
|
+
goto stop;
|
247
|
+
|
248
|
+
if (foreach) {
|
249
|
+
#if JS_HAS_XML_SUPPORT
|
250
|
+
if (!OBJECT_IS_XML(cx, iterable) &&
|
251
|
+
!OBJ_GET_PROPERTY(cx, iterable, id, rval)) {
|
252
|
+
return JS_FALSE;
|
253
|
+
}
|
254
|
+
#endif
|
255
|
+
if (!NewKeyValuePair(cx, id, *rval, rval))
|
256
|
+
return JS_FALSE;
|
257
|
+
} else {
|
258
|
+
*rval = ID_TO_VALUE(id);
|
259
|
+
}
|
260
|
+
return JS_TRUE;
|
261
|
+
|
262
|
+
stop:
|
263
|
+
JS_ASSERT(STOBJ_GET_SLOT(obj, JSSLOT_ITER_STATE) == JSVAL_NULL);
|
264
|
+
*rval = JSVAL_HOLE;
|
265
|
+
return JS_TRUE;
|
266
|
+
}
|
267
|
+
|
268
|
+
JSBool
|
269
|
+
js_ThrowStopIteration(JSContext *cx)
|
270
|
+
{
|
271
|
+
jsval v;
|
272
|
+
|
273
|
+
JS_ASSERT(!JS_IsExceptionPending(cx));
|
274
|
+
if (js_FindClassObject(cx, NULL, INT_TO_JSID(JSProto_StopIteration), &v))
|
275
|
+
JS_SetPendingException(cx, v);
|
276
|
+
return JS_FALSE;
|
277
|
+
}
|
278
|
+
|
279
|
+
static JSBool
|
280
|
+
iterator_next(JSContext *cx, uintN argc, jsval *vp)
|
281
|
+
{
|
282
|
+
JSObject *obj;
|
283
|
+
|
284
|
+
obj = JS_THIS_OBJECT(cx, vp);
|
285
|
+
if (!JS_InstanceOf(cx, obj, &js_IteratorClass, vp + 2))
|
286
|
+
return JS_FALSE;
|
287
|
+
|
288
|
+
if (!IteratorNextImpl(cx, obj, vp))
|
289
|
+
return JS_FALSE;
|
290
|
+
|
291
|
+
if (*vp == JSVAL_HOLE) {
|
292
|
+
*vp = JSVAL_NULL;
|
293
|
+
js_ThrowStopIteration(cx);
|
294
|
+
return JS_FALSE;
|
295
|
+
}
|
296
|
+
return JS_TRUE;
|
297
|
+
}
|
298
|
+
|
299
|
+
static JSBool
|
300
|
+
iterator_self(JSContext *cx, uintN argc, jsval *vp)
|
301
|
+
{
|
302
|
+
*vp = JS_THIS(cx, vp);
|
303
|
+
return !JSVAL_IS_NULL(*vp);
|
304
|
+
}
|
305
|
+
|
306
|
+
#define JSPROP_ROPERM (JSPROP_READONLY | JSPROP_PERMANENT)
|
307
|
+
|
308
|
+
static JSFunctionSpec iterator_methods[] = {
|
309
|
+
JS_FN(js_iterator_str, iterator_self, 0,JSPROP_ROPERM),
|
310
|
+
JS_FN(js_next_str, iterator_next, 0,JSPROP_ROPERM),
|
311
|
+
JS_FS_END
|
312
|
+
};
|
313
|
+
|
314
|
+
uintN
|
315
|
+
js_GetNativeIteratorFlags(JSContext *cx, JSObject *iterobj)
|
316
|
+
{
|
317
|
+
if (OBJ_GET_CLASS(cx, iterobj) != &js_IteratorClass)
|
318
|
+
return 0;
|
319
|
+
return JSVAL_TO_INT(STOBJ_GET_SLOT(iterobj, JSSLOT_ITER_FLAGS));
|
320
|
+
}
|
321
|
+
|
322
|
+
/*
|
323
|
+
* Call ToObject(v).__iterator__(keyonly) if ToObject(v).__iterator__ exists.
|
324
|
+
* Otherwise construct the default iterator.
|
325
|
+
*/
|
326
|
+
JS_FRIEND_API(JSBool)
|
327
|
+
js_ValueToIterator(JSContext *cx, uintN flags, jsval *vp)
|
328
|
+
{
|
329
|
+
JSObject *obj;
|
330
|
+
JSTempValueRooter tvr;
|
331
|
+
JSAtom *atom;
|
332
|
+
JSClass *clasp;
|
333
|
+
JSExtendedClass *xclasp;
|
334
|
+
JSBool ok;
|
335
|
+
JSObject *iterobj;
|
336
|
+
jsval arg;
|
337
|
+
|
338
|
+
JS_ASSERT(!(flags & ~(JSITER_ENUMERATE |
|
339
|
+
JSITER_FOREACH |
|
340
|
+
JSITER_KEYVALUE)));
|
341
|
+
|
342
|
+
/* JSITER_KEYVALUE must always come with JSITER_FOREACH */
|
343
|
+
JS_ASSERT(!(flags & JSITER_KEYVALUE) || (flags & JSITER_FOREACH));
|
344
|
+
|
345
|
+
/* XXX work around old valueOf call hidden beneath js_ValueToObject */
|
346
|
+
if (!JSVAL_IS_PRIMITIVE(*vp)) {
|
347
|
+
obj = JSVAL_TO_OBJECT(*vp);
|
348
|
+
} else {
|
349
|
+
/*
|
350
|
+
* Enumerating over null and undefined gives an empty enumerator.
|
351
|
+
* This is contrary to ECMA-262 9.9 ToObject, invoked from step 3 of
|
352
|
+
* the first production in 12.6.4 and step 4 of the second production,
|
353
|
+
* but it's "web JS" compatible.
|
354
|
+
*/
|
355
|
+
if ((flags & JSITER_ENUMERATE)) {
|
356
|
+
if (!js_ValueToObject(cx, *vp, &obj))
|
357
|
+
return JS_FALSE;
|
358
|
+
if (!obj)
|
359
|
+
goto default_iter;
|
360
|
+
} else {
|
361
|
+
obj = js_ValueToNonNullObject(cx, *vp);
|
362
|
+
if (!obj)
|
363
|
+
return JS_FALSE;
|
364
|
+
}
|
365
|
+
}
|
366
|
+
|
367
|
+
JS_ASSERT(obj);
|
368
|
+
JS_PUSH_TEMP_ROOT_OBJECT(cx, obj, &tvr);
|
369
|
+
|
370
|
+
clasp = OBJ_GET_CLASS(cx, obj);
|
371
|
+
if ((clasp->flags & JSCLASS_IS_EXTENDED) &&
|
372
|
+
(xclasp = (JSExtendedClass *) clasp)->iteratorObject) {
|
373
|
+
iterobj = xclasp->iteratorObject(cx, obj, !(flags & JSITER_FOREACH));
|
374
|
+
if (!iterobj)
|
375
|
+
goto bad;
|
376
|
+
*vp = OBJECT_TO_JSVAL(iterobj);
|
377
|
+
} else {
|
378
|
+
atom = cx->runtime->atomState.iteratorAtom;
|
379
|
+
#if JS_HAS_XML_SUPPORT
|
380
|
+
if (OBJECT_IS_XML(cx, obj)) {
|
381
|
+
if (!js_GetXMLFunction(cx, obj, ATOM_TO_JSID(atom), vp))
|
382
|
+
goto bad;
|
383
|
+
} else
|
384
|
+
#endif
|
385
|
+
{
|
386
|
+
if (!OBJ_GET_PROPERTY(cx, obj, ATOM_TO_JSID(atom), vp))
|
387
|
+
goto bad;
|
388
|
+
}
|
389
|
+
|
390
|
+
if (JSVAL_IS_VOID(*vp)) {
|
391
|
+
default_iter:
|
392
|
+
/*
|
393
|
+
* Fail over to the default enumerating native iterator.
|
394
|
+
*
|
395
|
+
* Create iterobj with a NULL parent to ensure that we use the
|
396
|
+
* correct scope chain to lookup the iterator's constructor. Since
|
397
|
+
* we use the parent slot to keep track of the iterable, we must
|
398
|
+
* fix it up after.
|
399
|
+
*/
|
400
|
+
iterobj = js_NewObject(cx, &js_IteratorClass, NULL, NULL, 0);
|
401
|
+
if (!iterobj)
|
402
|
+
goto bad;
|
403
|
+
|
404
|
+
/* Store in *vp to protect it from GC (callers must root vp). */
|
405
|
+
*vp = OBJECT_TO_JSVAL(iterobj);
|
406
|
+
|
407
|
+
if (!InitNativeIterator(cx, iterobj, obj, flags))
|
408
|
+
goto bad;
|
409
|
+
} else {
|
410
|
+
arg = BOOLEAN_TO_JSVAL((flags & JSITER_FOREACH) == 0);
|
411
|
+
if (!js_InternalInvoke(cx, obj, *vp, JSINVOKE_ITERATOR, 1, &arg,
|
412
|
+
vp)) {
|
413
|
+
goto bad;
|
414
|
+
}
|
415
|
+
if (JSVAL_IS_PRIMITIVE(*vp)) {
|
416
|
+
const char *printable = js_AtomToPrintableString(cx, atom);
|
417
|
+
if (printable) {
|
418
|
+
js_ReportValueError2(cx, JSMSG_BAD_ITERATOR_RETURN,
|
419
|
+
JSDVG_SEARCH_STACK, *vp, NULL,
|
420
|
+
printable);
|
421
|
+
}
|
422
|
+
goto bad;
|
423
|
+
}
|
424
|
+
}
|
425
|
+
}
|
426
|
+
|
427
|
+
ok = JS_TRUE;
|
428
|
+
out:
|
429
|
+
if (obj)
|
430
|
+
JS_POP_TEMP_ROOT(cx, &tvr);
|
431
|
+
return ok;
|
432
|
+
bad:
|
433
|
+
ok = JS_FALSE;
|
434
|
+
goto out;
|
435
|
+
}
|
436
|
+
|
437
|
+
JS_FRIEND_API(JSBool) JS_FASTCALL
|
438
|
+
js_CloseIterator(JSContext *cx, jsval v)
|
439
|
+
{
|
440
|
+
JSObject *obj;
|
441
|
+
JSClass *clasp;
|
442
|
+
|
443
|
+
JS_ASSERT(!JSVAL_IS_PRIMITIVE(v));
|
444
|
+
obj = JSVAL_TO_OBJECT(v);
|
445
|
+
clasp = OBJ_GET_CLASS(cx, obj);
|
446
|
+
|
447
|
+
if (clasp == &js_IteratorClass) {
|
448
|
+
js_CloseNativeIterator(cx, obj);
|
449
|
+
}
|
450
|
+
#if JS_HAS_GENERATORS
|
451
|
+
else if (clasp == &js_GeneratorClass) {
|
452
|
+
if (!CloseGenerator(cx, obj))
|
453
|
+
return JS_FALSE;
|
454
|
+
}
|
455
|
+
#endif
|
456
|
+
return JS_TRUE;
|
457
|
+
}
|
458
|
+
|
459
|
+
static JSBool
|
460
|
+
CallEnumeratorNext(JSContext *cx, JSObject *iterobj, uintN flags, jsval *rval)
|
461
|
+
{
|
462
|
+
JSObject *obj, *origobj;
|
463
|
+
jsval state;
|
464
|
+
JSBool foreach;
|
465
|
+
jsid id;
|
466
|
+
JSObject *obj2;
|
467
|
+
JSBool cond;
|
468
|
+
JSClass *clasp;
|
469
|
+
JSExtendedClass *xclasp;
|
470
|
+
JSProperty *prop;
|
471
|
+
JSString *str;
|
472
|
+
|
473
|
+
JS_ASSERT(flags & JSITER_ENUMERATE);
|
474
|
+
JS_ASSERT(STOBJ_GET_CLASS(iterobj) == &js_IteratorClass);
|
475
|
+
|
476
|
+
obj = STOBJ_GET_PARENT(iterobj);
|
477
|
+
origobj = STOBJ_GET_PROTO(iterobj);
|
478
|
+
state = STOBJ_GET_SLOT(iterobj, JSSLOT_ITER_STATE);
|
479
|
+
if (JSVAL_IS_NULL(state))
|
480
|
+
goto stop;
|
481
|
+
|
482
|
+
foreach = (flags & JSITER_FOREACH) != 0;
|
483
|
+
#if JS_HAS_XML_SUPPORT
|
484
|
+
/*
|
485
|
+
* Treat an XML object specially only when it starts the prototype chain.
|
486
|
+
* Otherwise we need to do the usual deleted and shadowed property checks.
|
487
|
+
*/
|
488
|
+
if (obj == origobj && OBJECT_IS_XML(cx, obj)) {
|
489
|
+
if (foreach) {
|
490
|
+
JSXMLObjectOps *xmlops = (JSXMLObjectOps *) obj->map->ops;
|
491
|
+
|
492
|
+
if (!xmlops->enumerateValues(cx, obj, JSENUMERATE_NEXT, &state,
|
493
|
+
&id, rval)) {
|
494
|
+
return JS_FALSE;
|
495
|
+
}
|
496
|
+
} else {
|
497
|
+
if (!OBJ_ENUMERATE(cx, obj, JSENUMERATE_NEXT, &state, &id))
|
498
|
+
return JS_FALSE;
|
499
|
+
}
|
500
|
+
STOBJ_SET_SLOT(iterobj, JSSLOT_ITER_STATE, state);
|
501
|
+
if (JSVAL_IS_NULL(state))
|
502
|
+
goto stop;
|
503
|
+
} else
|
504
|
+
#endif
|
505
|
+
{
|
506
|
+
restart:
|
507
|
+
if (!OBJ_ENUMERATE(cx, obj, JSENUMERATE_NEXT, &state, &id))
|
508
|
+
return JS_FALSE;
|
509
|
+
|
510
|
+
STOBJ_SET_SLOT(iterobj, JSSLOT_ITER_STATE, state);
|
511
|
+
if (JSVAL_IS_NULL(state)) {
|
512
|
+
#if JS_HAS_XML_SUPPORT
|
513
|
+
if (OBJECT_IS_XML(cx, obj)) {
|
514
|
+
/*
|
515
|
+
* We just finished enumerating an XML obj that is present on
|
516
|
+
* the prototype chain of a non-XML origobj. Stop further
|
517
|
+
* prototype chain searches because XML objects don't
|
518
|
+
* enumerate prototypes.
|
519
|
+
*/
|
520
|
+
JS_ASSERT(origobj != obj);
|
521
|
+
JS_ASSERT(!OBJECT_IS_XML(cx, origobj));
|
522
|
+
} else
|
523
|
+
#endif
|
524
|
+
{
|
525
|
+
obj = OBJ_GET_PROTO(cx, obj);
|
526
|
+
if (obj) {
|
527
|
+
STOBJ_SET_PARENT(iterobj, obj);
|
528
|
+
if (!OBJ_ENUMERATE(cx, obj, JSENUMERATE_INIT, &state, NULL))
|
529
|
+
return JS_FALSE;
|
530
|
+
STOBJ_SET_SLOT(iterobj, JSSLOT_ITER_STATE, state);
|
531
|
+
if (!JSVAL_IS_NULL(state))
|
532
|
+
goto restart;
|
533
|
+
}
|
534
|
+
}
|
535
|
+
goto stop;
|
536
|
+
}
|
537
|
+
|
538
|
+
/* Skip properties not in obj when looking from origobj. */
|
539
|
+
if (!OBJ_LOOKUP_PROPERTY(cx, origobj, id, &obj2, &prop))
|
540
|
+
return JS_FALSE;
|
541
|
+
if (!prop)
|
542
|
+
goto restart;
|
543
|
+
OBJ_DROP_PROPERTY(cx, obj2, prop);
|
544
|
+
|
545
|
+
/*
|
546
|
+
* If the id was found in a prototype object or an unrelated object
|
547
|
+
* (specifically, not in an inner object for obj), skip it. This step
|
548
|
+
* means that all OBJ_LOOKUP_PROPERTY implementations must return an
|
549
|
+
* object further along on the prototype chain, or else possibly an
|
550
|
+
* object returned by the JSExtendedClass.outerObject optional hook.
|
551
|
+
*/
|
552
|
+
if (obj != obj2) {
|
553
|
+
cond = JS_FALSE;
|
554
|
+
clasp = OBJ_GET_CLASS(cx, obj2);
|
555
|
+
if (clasp->flags & JSCLASS_IS_EXTENDED) {
|
556
|
+
xclasp = (JSExtendedClass *) clasp;
|
557
|
+
cond = xclasp->outerObject &&
|
558
|
+
xclasp->outerObject(cx, obj2) == obj;
|
559
|
+
}
|
560
|
+
if (!cond)
|
561
|
+
goto restart;
|
562
|
+
}
|
563
|
+
|
564
|
+
if (foreach) {
|
565
|
+
/* Get property querying the original object. */
|
566
|
+
if (!OBJ_GET_PROPERTY(cx, origobj, id, rval))
|
567
|
+
return JS_FALSE;
|
568
|
+
}
|
569
|
+
}
|
570
|
+
|
571
|
+
if (foreach) {
|
572
|
+
if (flags & JSITER_KEYVALUE) {
|
573
|
+
if (!NewKeyValuePair(cx, id, *rval, rval))
|
574
|
+
return JS_FALSE;
|
575
|
+
}
|
576
|
+
} else {
|
577
|
+
/* Make rval a string for uniformity and compatibility. */
|
578
|
+
str = js_ValueToString(cx, ID_TO_VALUE(id));
|
579
|
+
if (!str)
|
580
|
+
return JS_FALSE;
|
581
|
+
*rval = STRING_TO_JSVAL(str);
|
582
|
+
}
|
583
|
+
return JS_TRUE;
|
584
|
+
|
585
|
+
stop:
|
586
|
+
JS_ASSERT(STOBJ_GET_SLOT(iterobj, JSSLOT_ITER_STATE) == JSVAL_NULL);
|
587
|
+
*rval = JSVAL_HOLE;
|
588
|
+
return JS_TRUE;
|
589
|
+
}
|
590
|
+
|
591
|
+
JS_FRIEND_API(JSBool)
|
592
|
+
js_CallIteratorNext(JSContext *cx, JSObject *iterobj, jsval *rval)
|
593
|
+
{
|
594
|
+
uintN flags;
|
595
|
+
|
596
|
+
/* Fast path for native iterators */
|
597
|
+
if (OBJ_GET_CLASS(cx, iterobj) == &js_IteratorClass) {
|
598
|
+
flags = JSVAL_TO_INT(STOBJ_GET_SLOT(iterobj, JSSLOT_ITER_FLAGS));
|
599
|
+
if (flags & JSITER_ENUMERATE)
|
600
|
+
return CallEnumeratorNext(cx, iterobj, flags, rval);
|
601
|
+
|
602
|
+
/*
|
603
|
+
* Call next directly as all the methods of the native iterator are
|
604
|
+
* read-only and permanent.
|
605
|
+
*/
|
606
|
+
if (!IteratorNextImpl(cx, iterobj, rval))
|
607
|
+
return JS_FALSE;
|
608
|
+
} else {
|
609
|
+
jsid id = ATOM_TO_JSID(cx->runtime->atomState.nextAtom);
|
610
|
+
|
611
|
+
if (!JS_GetMethodById(cx, iterobj, id, &iterobj, rval))
|
612
|
+
return JS_FALSE;
|
613
|
+
if (!js_InternalCall(cx, iterobj, *rval, 0, NULL, rval)) {
|
614
|
+
/* Check for StopIteration. */
|
615
|
+
if (!cx->throwing || !js_ValueIsStopIteration(cx->exception))
|
616
|
+
return JS_FALSE;
|
617
|
+
|
618
|
+
/* Inline JS_ClearPendingException(cx). */
|
619
|
+
cx->throwing = JS_FALSE;
|
620
|
+
cx->exception = JSVAL_VOID;
|
621
|
+
*rval = JSVAL_HOLE;
|
622
|
+
return JS_TRUE;
|
623
|
+
}
|
624
|
+
}
|
625
|
+
|
626
|
+
return JS_TRUE;
|
627
|
+
}
|
628
|
+
|
629
|
+
static JSBool
|
630
|
+
stopiter_hasInstance(JSContext *cx, JSObject *obj, jsval v, JSBool *bp)
|
631
|
+
{
|
632
|
+
*bp = js_ValueIsStopIteration(v);
|
633
|
+
return JS_TRUE;
|
634
|
+
}
|
635
|
+
|
636
|
+
JSClass js_StopIterationClass = {
|
637
|
+
js_StopIteration_str,
|
638
|
+
JSCLASS_HAS_CACHED_PROTO(JSProto_StopIteration),
|
639
|
+
JS_PropertyStub, JS_PropertyStub,
|
640
|
+
JS_PropertyStub, JS_PropertyStub,
|
641
|
+
JS_EnumerateStub, JS_ResolveStub,
|
642
|
+
JS_ConvertStub, JS_FinalizeStub,
|
643
|
+
NULL, NULL,
|
644
|
+
NULL, NULL,
|
645
|
+
NULL, stopiter_hasInstance,
|
646
|
+
NULL, NULL
|
647
|
+
};
|
648
|
+
|
649
|
+
#if JS_HAS_GENERATORS
|
650
|
+
|
651
|
+
static void
|
652
|
+
generator_finalize(JSContext *cx, JSObject *obj)
|
653
|
+
{
|
654
|
+
JSGenerator *gen;
|
655
|
+
|
656
|
+
gen = (JSGenerator *) JS_GetPrivate(cx, obj);
|
657
|
+
if (gen) {
|
658
|
+
/*
|
659
|
+
* gen can be open on shutdown when close hooks are ignored or when
|
660
|
+
* the embedding cancels scheduled close hooks.
|
661
|
+
*/
|
662
|
+
JS_ASSERT(gen->state == JSGEN_NEWBORN || gen->state == JSGEN_CLOSED ||
|
663
|
+
gen->state == JSGEN_OPEN);
|
664
|
+
JS_free(cx, gen);
|
665
|
+
}
|
666
|
+
}
|
667
|
+
|
668
|
+
static void
|
669
|
+
generator_trace(JSTracer *trc, JSObject *obj)
|
670
|
+
{
|
671
|
+
JSGenerator *gen;
|
672
|
+
|
673
|
+
gen = (JSGenerator *) JS_GetPrivate(trc->context, obj);
|
674
|
+
if (!gen)
|
675
|
+
return;
|
676
|
+
|
677
|
+
/*
|
678
|
+
* js_TraceStackFrame does not recursively trace the down-linked frame
|
679
|
+
* chain, so we insist that gen->frame has no parent to trace when the
|
680
|
+
* generator is not running.
|
681
|
+
*/
|
682
|
+
JS_ASSERT_IF(gen->state != JSGEN_RUNNING && gen->state != JSGEN_CLOSING,
|
683
|
+
!gen->frame.down);
|
684
|
+
|
685
|
+
/*
|
686
|
+
* FIXME be 390950. Generator's frame is a part of the JS stack when the
|
687
|
+
* generator is running or closing. Thus tracing the frame in this case
|
688
|
+
* here duplicates the work done in js_TraceContext.
|
689
|
+
*/
|
690
|
+
js_TraceStackFrame(trc, &gen->frame);
|
691
|
+
}
|
692
|
+
|
693
|
+
JSClass js_GeneratorClass = {
|
694
|
+
js_Generator_str,
|
695
|
+
JSCLASS_HAS_PRIVATE | JSCLASS_IS_ANONYMOUS |
|
696
|
+
JSCLASS_MARK_IS_TRACE | JSCLASS_HAS_CACHED_PROTO(JSProto_Generator),
|
697
|
+
JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_PropertyStub,
|
698
|
+
JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, generator_finalize,
|
699
|
+
NULL, NULL, NULL, NULL,
|
700
|
+
NULL, NULL, JS_CLASS_TRACE(generator_trace), NULL
|
701
|
+
};
|
702
|
+
|
703
|
+
/*
|
704
|
+
* Called from the JSOP_GENERATOR case in the interpreter, with fp referring
|
705
|
+
* to the frame by which the generator function was activated. Create a new
|
706
|
+
* JSGenerator object, which contains its own JSStackFrame that we populate
|
707
|
+
* from *fp. We know that upon return, the JSOP_GENERATOR opcode will return
|
708
|
+
* from the activation in fp, so we can steal away fp->callobj and fp->argsobj
|
709
|
+
* if they are non-null.
|
710
|
+
*/
|
711
|
+
JSObject *
|
712
|
+
js_NewGenerator(JSContext *cx, JSStackFrame *fp)
|
713
|
+
{
|
714
|
+
JSObject *obj;
|
715
|
+
uintN argc, nargs, nslots;
|
716
|
+
JSGenerator *gen;
|
717
|
+
jsval *slots;
|
718
|
+
|
719
|
+
/* After the following return, failing control flow must goto bad. */
|
720
|
+
obj = js_NewObject(cx, &js_GeneratorClass, NULL, NULL, 0);
|
721
|
+
if (!obj)
|
722
|
+
return NULL;
|
723
|
+
|
724
|
+
/* Load and compute stack slot counts. */
|
725
|
+
argc = fp->argc;
|
726
|
+
nargs = JS_MAX(argc, fp->fun->nargs);
|
727
|
+
nslots = 2 + nargs + fp->script->nslots;
|
728
|
+
|
729
|
+
/* Allocate obj's private data struct. */
|
730
|
+
gen = (JSGenerator *)
|
731
|
+
JS_malloc(cx, sizeof(JSGenerator) + (nslots - 1) * sizeof(jsval));
|
732
|
+
if (!gen)
|
733
|
+
goto bad;
|
734
|
+
|
735
|
+
gen->obj = obj;
|
736
|
+
|
737
|
+
/* Steal away objects reflecting fp and point them at gen->frame. */
|
738
|
+
gen->frame.callobj = fp->callobj;
|
739
|
+
if (fp->callobj) {
|
740
|
+
JS_SetPrivate(cx, fp->callobj, &gen->frame);
|
741
|
+
fp->callobj = NULL;
|
742
|
+
}
|
743
|
+
gen->frame.argsobj = fp->argsobj;
|
744
|
+
if (fp->argsobj) {
|
745
|
+
JS_SetPrivate(cx, fp->argsobj, &gen->frame);
|
746
|
+
fp->argsobj = NULL;
|
747
|
+
}
|
748
|
+
|
749
|
+
/* These two references can be shared with fp until it goes away. */
|
750
|
+
gen->frame.varobj = fp->varobj;
|
751
|
+
gen->frame.thisp = fp->thisp;
|
752
|
+
|
753
|
+
/* Copy call-invariant script and function references. */
|
754
|
+
gen->frame.script = fp->script;
|
755
|
+
gen->frame.callee = fp->callee;
|
756
|
+
gen->frame.fun = fp->fun;
|
757
|
+
|
758
|
+
/* Use slots to carve space out of gen->slots. */
|
759
|
+
slots = gen->slots;
|
760
|
+
gen->arena.next = NULL;
|
761
|
+
gen->arena.base = (jsuword) slots;
|
762
|
+
gen->arena.limit = gen->arena.avail = (jsuword) (slots + nslots);
|
763
|
+
|
764
|
+
/* Copy rval, argv and vars. */
|
765
|
+
gen->frame.rval = fp->rval;
|
766
|
+
memcpy(slots, fp->argv - 2, (2 + nargs) * sizeof(jsval));
|
767
|
+
gen->frame.argc = nargs;
|
768
|
+
gen->frame.argv = slots + 2;
|
769
|
+
slots += 2 + nargs;
|
770
|
+
memcpy(slots, fp->slots, fp->script->nfixed * sizeof(jsval));
|
771
|
+
|
772
|
+
/* Initialize or copy virtual machine state. */
|
773
|
+
gen->frame.down = NULL;
|
774
|
+
gen->frame.annotation = NULL;
|
775
|
+
gen->frame.scopeChain = fp->scopeChain;
|
776
|
+
|
777
|
+
gen->frame.imacpc = NULL;
|
778
|
+
gen->frame.slots = slots;
|
779
|
+
JS_ASSERT(StackBase(fp) == fp->regs->sp);
|
780
|
+
gen->savedRegs.sp = slots + fp->script->nfixed;
|
781
|
+
gen->savedRegs.pc = fp->regs->pc;
|
782
|
+
gen->frame.regs = &gen->savedRegs;
|
783
|
+
|
784
|
+
/* Copy remaining state (XXX sharp* and xml* should be local vars). */
|
785
|
+
gen->frame.sharpDepth = 0;
|
786
|
+
gen->frame.sharpArray = NULL;
|
787
|
+
gen->frame.flags = (fp->flags & ~JSFRAME_ROOTED_ARGV) | JSFRAME_GENERATOR;
|
788
|
+
gen->frame.dormantNext = NULL;
|
789
|
+
gen->frame.xmlNamespace = NULL;
|
790
|
+
gen->frame.blockChain = NULL;
|
791
|
+
|
792
|
+
/* Note that gen is newborn. */
|
793
|
+
gen->state = JSGEN_NEWBORN;
|
794
|
+
|
795
|
+
if (!JS_SetPrivate(cx, obj, gen)) {
|
796
|
+
JS_free(cx, gen);
|
797
|
+
goto bad;
|
798
|
+
}
|
799
|
+
return obj;
|
800
|
+
|
801
|
+
bad:
|
802
|
+
cx->weakRoots.newborn[GCX_OBJECT] = NULL;
|
803
|
+
return NULL;
|
804
|
+
}
|
805
|
+
|
806
|
+
typedef enum JSGeneratorOp {
|
807
|
+
JSGENOP_NEXT,
|
808
|
+
JSGENOP_SEND,
|
809
|
+
JSGENOP_THROW,
|
810
|
+
JSGENOP_CLOSE
|
811
|
+
} JSGeneratorOp;
|
812
|
+
|
813
|
+
/*
|
814
|
+
* Start newborn or restart yielding generator and perform the requested
|
815
|
+
* operation inside its frame.
|
816
|
+
*/
|
817
|
+
static JSBool
|
818
|
+
SendToGenerator(JSContext *cx, JSGeneratorOp op, JSObject *obj,
|
819
|
+
JSGenerator *gen, jsval arg)
|
820
|
+
{
|
821
|
+
JSStackFrame *fp;
|
822
|
+
JSArena *arena;
|
823
|
+
JSBool ok;
|
824
|
+
|
825
|
+
if (gen->state == JSGEN_RUNNING || gen->state == JSGEN_CLOSING) {
|
826
|
+
js_ReportValueError(cx, JSMSG_NESTING_GENERATOR,
|
827
|
+
JSDVG_SEARCH_STACK, OBJECT_TO_JSVAL(obj),
|
828
|
+
JS_GetFunctionId(gen->frame.fun));
|
829
|
+
return JS_FALSE;
|
830
|
+
}
|
831
|
+
|
832
|
+
JS_ASSERT(gen->state == JSGEN_NEWBORN || gen->state == JSGEN_OPEN);
|
833
|
+
switch (op) {
|
834
|
+
case JSGENOP_NEXT:
|
835
|
+
case JSGENOP_SEND:
|
836
|
+
if (gen->state == JSGEN_OPEN) {
|
837
|
+
/*
|
838
|
+
* Store the argument to send as the result of the yield
|
839
|
+
* expression.
|
840
|
+
*/
|
841
|
+
gen->savedRegs.sp[-1] = arg;
|
842
|
+
}
|
843
|
+
gen->state = JSGEN_RUNNING;
|
844
|
+
break;
|
845
|
+
|
846
|
+
case JSGENOP_THROW:
|
847
|
+
JS_SetPendingException(cx, arg);
|
848
|
+
gen->state = JSGEN_RUNNING;
|
849
|
+
break;
|
850
|
+
|
851
|
+
default:
|
852
|
+
JS_ASSERT(op == JSGENOP_CLOSE);
|
853
|
+
JS_SetPendingException(cx, JSVAL_ARETURN);
|
854
|
+
gen->state = JSGEN_CLOSING;
|
855
|
+
break;
|
856
|
+
}
|
857
|
+
|
858
|
+
/* Extend the current stack pool with gen->arena. */
|
859
|
+
arena = cx->stackPool.current;
|
860
|
+
JS_ASSERT(!arena->next);
|
861
|
+
JS_ASSERT(!gen->arena.next);
|
862
|
+
JS_ASSERT(cx->stackPool.current != &gen->arena);
|
863
|
+
cx->stackPool.current = arena->next = &gen->arena;
|
864
|
+
|
865
|
+
/* Push gen->frame around the interpreter activation. */
|
866
|
+
fp = cx->fp;
|
867
|
+
cx->fp = &gen->frame;
|
868
|
+
gen->frame.down = fp;
|
869
|
+
ok = js_Interpret(cx);
|
870
|
+
cx->fp = fp;
|
871
|
+
gen->frame.down = NULL;
|
872
|
+
|
873
|
+
/* Retract the stack pool and sanitize gen->arena. */
|
874
|
+
JS_ASSERT(!gen->arena.next);
|
875
|
+
JS_ASSERT(arena->next == &gen->arena);
|
876
|
+
JS_ASSERT(cx->stackPool.current == &gen->arena);
|
877
|
+
cx->stackPool.current = arena;
|
878
|
+
arena->next = NULL;
|
879
|
+
|
880
|
+
if (gen->frame.flags & JSFRAME_YIELDING) {
|
881
|
+
/* Yield cannot fail, throw or be called on closing. */
|
882
|
+
JS_ASSERT(ok);
|
883
|
+
JS_ASSERT(!cx->throwing);
|
884
|
+
JS_ASSERT(gen->state == JSGEN_RUNNING);
|
885
|
+
JS_ASSERT(op != JSGENOP_CLOSE);
|
886
|
+
gen->frame.flags &= ~JSFRAME_YIELDING;
|
887
|
+
gen->state = JSGEN_OPEN;
|
888
|
+
return JS_TRUE;
|
889
|
+
}
|
890
|
+
|
891
|
+
gen->frame.rval = JSVAL_VOID;
|
892
|
+
gen->state = JSGEN_CLOSED;
|
893
|
+
if (ok) {
|
894
|
+
/* Returned, explicitly or by falling off the end. */
|
895
|
+
if (op == JSGENOP_CLOSE)
|
896
|
+
return JS_TRUE;
|
897
|
+
return js_ThrowStopIteration(cx);
|
898
|
+
}
|
899
|
+
|
900
|
+
/*
|
901
|
+
* An error, silent termination by operation callback or an exception.
|
902
|
+
* Propagate the condition to the caller.
|
903
|
+
*/
|
904
|
+
return JS_FALSE;
|
905
|
+
}
|
906
|
+
|
907
|
+
static JSBool
|
908
|
+
CloseGenerator(JSContext *cx, JSObject *obj)
|
909
|
+
{
|
910
|
+
JSGenerator *gen;
|
911
|
+
|
912
|
+
JS_ASSERT(STOBJ_GET_CLASS(obj) == &js_GeneratorClass);
|
913
|
+
gen = (JSGenerator *) JS_GetPrivate(cx, obj);
|
914
|
+
if (!gen) {
|
915
|
+
/* Generator prototype object. */
|
916
|
+
return JS_TRUE;
|
917
|
+
}
|
918
|
+
|
919
|
+
if (gen->state == JSGEN_CLOSED)
|
920
|
+
return JS_TRUE;
|
921
|
+
|
922
|
+
return SendToGenerator(cx, JSGENOP_CLOSE, obj, gen, JSVAL_VOID);
|
923
|
+
}
|
924
|
+
|
925
|
+
/*
|
926
|
+
* Common subroutine of generator_(next|send|throw|close) methods.
|
927
|
+
*/
|
928
|
+
static JSBool
|
929
|
+
generator_op(JSContext *cx, JSGeneratorOp op, jsval *vp, uintN argc)
|
930
|
+
{
|
931
|
+
JSObject *obj;
|
932
|
+
JSGenerator *gen;
|
933
|
+
jsval arg;
|
934
|
+
|
935
|
+
obj = JS_THIS_OBJECT(cx, vp);
|
936
|
+
if (!JS_InstanceOf(cx, obj, &js_GeneratorClass, vp + 2))
|
937
|
+
return JS_FALSE;
|
938
|
+
|
939
|
+
gen = (JSGenerator *) JS_GetPrivate(cx, obj);
|
940
|
+
if (gen == NULL) {
|
941
|
+
/* This happens when obj is the generator prototype. See bug 352885. */
|
942
|
+
goto closed_generator;
|
943
|
+
}
|
944
|
+
|
945
|
+
if (gen->state == JSGEN_NEWBORN) {
|
946
|
+
switch (op) {
|
947
|
+
case JSGENOP_NEXT:
|
948
|
+
case JSGENOP_THROW:
|
949
|
+
break;
|
950
|
+
|
951
|
+
case JSGENOP_SEND:
|
952
|
+
if (argc >= 1 && !JSVAL_IS_VOID(vp[2])) {
|
953
|
+
js_ReportValueError(cx, JSMSG_BAD_GENERATOR_SEND,
|
954
|
+
JSDVG_SEARCH_STACK, vp[2], NULL);
|
955
|
+
return JS_FALSE;
|
956
|
+
}
|
957
|
+
break;
|
958
|
+
|
959
|
+
default:
|
960
|
+
JS_ASSERT(op == JSGENOP_CLOSE);
|
961
|
+
gen->state = JSGEN_CLOSED;
|
962
|
+
return JS_TRUE;
|
963
|
+
}
|
964
|
+
} else if (gen->state == JSGEN_CLOSED) {
|
965
|
+
closed_generator:
|
966
|
+
switch (op) {
|
967
|
+
case JSGENOP_NEXT:
|
968
|
+
case JSGENOP_SEND:
|
969
|
+
return js_ThrowStopIteration(cx);
|
970
|
+
case JSGENOP_THROW:
|
971
|
+
JS_SetPendingException(cx, argc >= 1 ? vp[2] : JSVAL_VOID);
|
972
|
+
return JS_FALSE;
|
973
|
+
default:
|
974
|
+
JS_ASSERT(op == JSGENOP_CLOSE);
|
975
|
+
return JS_TRUE;
|
976
|
+
}
|
977
|
+
}
|
978
|
+
|
979
|
+
arg = ((op == JSGENOP_SEND || op == JSGENOP_THROW) && argc != 0)
|
980
|
+
? vp[2]
|
981
|
+
: JSVAL_VOID;
|
982
|
+
if (!SendToGenerator(cx, op, obj, gen, arg))
|
983
|
+
return JS_FALSE;
|
984
|
+
*vp = gen->frame.rval;
|
985
|
+
return JS_TRUE;
|
986
|
+
}
|
987
|
+
|
988
|
+
static JSBool
|
989
|
+
generator_send(JSContext *cx, uintN argc, jsval *vp)
|
990
|
+
{
|
991
|
+
return generator_op(cx, JSGENOP_SEND, vp, argc);
|
992
|
+
}
|
993
|
+
|
994
|
+
static JSBool
|
995
|
+
generator_next(JSContext *cx, uintN argc, jsval *vp)
|
996
|
+
{
|
997
|
+
return generator_op(cx, JSGENOP_NEXT, vp, argc);
|
998
|
+
}
|
999
|
+
|
1000
|
+
static JSBool
|
1001
|
+
generator_throw(JSContext *cx, uintN argc, jsval *vp)
|
1002
|
+
{
|
1003
|
+
return generator_op(cx, JSGENOP_THROW, vp, argc);
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
static JSBool
|
1007
|
+
generator_close(JSContext *cx, uintN argc, jsval *vp)
|
1008
|
+
{
|
1009
|
+
return generator_op(cx, JSGENOP_CLOSE, vp, argc);
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
static JSFunctionSpec generator_methods[] = {
|
1013
|
+
JS_FN(js_iterator_str, iterator_self, 0,JSPROP_ROPERM),
|
1014
|
+
JS_FN(js_next_str, generator_next, 0,JSPROP_ROPERM),
|
1015
|
+
JS_FN(js_send_str, generator_send, 1,JSPROP_ROPERM),
|
1016
|
+
JS_FN(js_throw_str, generator_throw, 1,JSPROP_ROPERM),
|
1017
|
+
JS_FN(js_close_str, generator_close, 0,JSPROP_ROPERM),
|
1018
|
+
JS_FS_END
|
1019
|
+
};
|
1020
|
+
|
1021
|
+
#endif /* JS_HAS_GENERATORS */
|
1022
|
+
|
1023
|
+
JSObject *
|
1024
|
+
js_InitIteratorClasses(JSContext *cx, JSObject *obj)
|
1025
|
+
{
|
1026
|
+
JSObject *proto, *stop;
|
1027
|
+
|
1028
|
+
/* Idempotency required: we initialize several things, possibly lazily. */
|
1029
|
+
if (!js_GetClassObject(cx, obj, JSProto_StopIteration, &stop))
|
1030
|
+
return NULL;
|
1031
|
+
if (stop)
|
1032
|
+
return stop;
|
1033
|
+
|
1034
|
+
proto = JS_InitClass(cx, obj, NULL, &js_IteratorClass, Iterator, 2,
|
1035
|
+
NULL, iterator_methods, NULL, NULL);
|
1036
|
+
if (!proto)
|
1037
|
+
return NULL;
|
1038
|
+
STOBJ_SET_SLOT(proto, JSSLOT_ITER_STATE, JSVAL_NULL);
|
1039
|
+
|
1040
|
+
#if JS_HAS_GENERATORS
|
1041
|
+
/* Initialize the generator internals if configured. */
|
1042
|
+
if (!JS_InitClass(cx, obj, NULL, &js_GeneratorClass, NULL, 0,
|
1043
|
+
NULL, generator_methods, NULL, NULL)) {
|
1044
|
+
return NULL;
|
1045
|
+
}
|
1046
|
+
#endif
|
1047
|
+
|
1048
|
+
return JS_InitClass(cx, obj, NULL, &js_StopIterationClass, NULL, 0,
|
1049
|
+
NULL, NULL, NULL, NULL);
|
1050
|
+
}
|