hooch 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3176) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +12 -0
  3. data/app/assets/javascripts/hooch.js +52 -13
  4. data/hooch.gemspec +5 -0
  5. data/jasmine/.DS_Store +0 -0
  6. data/jasmine/MIT.LICENSE +20 -0
  7. data/jasmine/SpecRunner.html +27 -0
  8. data/jasmine/inheritance.js +63 -0
  9. data/jasmine/jasmine-fixture-1.3.1/.gitignore +8 -0
  10. data/jasmine/jasmine-fixture-1.3.1/.npmignore +8 -0
  11. data/jasmine/jasmine-fixture-1.3.1/.travis.yml +10 -0
  12. data/jasmine/jasmine-fixture-1.3.1/Gruntfile.js +4 -0
  13. data/jasmine/jasmine-fixture-1.3.1/LICENSE.txt +24 -0
  14. data/jasmine/jasmine-fixture-1.3.1/README.md +118 -0
  15. data/jasmine/jasmine-fixture-1.3.1/app/js/.gitkeep +0 -0
  16. data/jasmine/jasmine-fixture-1.3.1/app/js/jasmine-fixture.coffee +320 -0
  17. data/jasmine/jasmine-fixture-1.3.1/config/application.coffee +46 -0
  18. data/jasmine/jasmine-fixture-1.3.1/config/bower-template.json +19 -0
  19. data/jasmine/jasmine-fixture-1.3.1/config/files.coffee +28 -0
  20. data/jasmine/jasmine-fixture-1.3.1/config/lib.json +4 -0
  21. data/jasmine/jasmine-fixture-1.3.1/config/spec-jasmine2.json +11 -0
  22. data/jasmine/jasmine-fixture-1.3.1/config/spec-jq-1.11.json +11 -0
  23. data/jasmine/jasmine-fixture-1.3.1/config/spec-jq-2.1.json +11 -0
  24. data/jasmine/jasmine-fixture-1.3.1/config/spec.json +11 -0
  25. data/jasmine/jasmine-fixture-1.3.1/dist/jasmine-fixture.js +433 -0
  26. data/jasmine/jasmine-fixture-1.3.1/dist/jasmine-fixture.min.js +5 -0
  27. data/jasmine/jasmine-fixture-1.3.1/package.json +39 -0
  28. data/jasmine/jasmine-fixture-1.3.1/spec-e2e/basic-usage-spec.coffee +14 -0
  29. data/jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/invariants.coffee +17 -0
  30. data/jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/spec-within-a-spec.coffee +24 -0
  31. data/jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/tmp-files.coffee +8 -0
  32. data/jasmine/jasmine-fixture-1.3.1/spec-e2e/support/jasmine1-testem-config.json +11 -0
  33. data/jasmine/jasmine-fixture-1.3.1/spec-e2e/support/jasmine2-testem-config.json +11 -0
  34. data/jasmine/jasmine-fixture-1.3.1/spec/helpers/helper.js +33 -0
  35. data/jasmine/jasmine-fixture-1.3.1/spec/helpers/jasmine-given.js +379 -0
  36. data/jasmine/jasmine-fixture-1.3.1/spec/jasmine-fixture-spec.coffee +82 -0
  37. data/jasmine/jasmine-fixture-1.3.1/spec/no-conflict-spec.js +37 -0
  38. data/jasmine/jasmine-fixture-1.3.1/spec/prereq/conflict.js +1 -0
  39. data/jasmine/jasmine-fixture-1.3.1/tasks/.gitkeep +0 -0
  40. data/jasmine/jasmine-fixture-1.3.1/vendor/js/jquery-1.11.0.js +10337 -0
  41. data/jasmine/jasmine-fixture-1.3.1/vendor/js/jquery-1.8.3.js +9472 -0
  42. data/jasmine/jasmine-fixture-1.3.1/vendor/js/jquery-2.1.0.js +9111 -0
  43. data/jasmine/jquery.js +5 -0
  44. data/jasmine/karma.conf.js +69 -0
  45. data/jasmine/lib/jasmine-2.3.4/boot.js +121 -0
  46. data/jasmine/lib/jasmine-2.3.4/console.js +190 -0
  47. data/jasmine/lib/jasmine-2.3.4/jasmine-html.js +446 -0
  48. data/jasmine/lib/jasmine-2.3.4/jasmine.css +58 -0
  49. data/jasmine/lib/jasmine-2.3.4/jasmine.js +3298 -0
  50. data/jasmine/lib/jasmine-2.3.4/jasmine_favicon.png +0 -0
  51. data/jasmine/node_modules/.bin/r.js +29003 -0
  52. data/jasmine/node_modules/jasmine-core/.npmignore +28 -0
  53. data/jasmine/node_modules/jasmine-core/CONTRIBUTING.md +130 -0
  54. data/jasmine/node_modules/jasmine-core/GOALS_2.0.md +64 -0
  55. data/jasmine/node_modules/jasmine-core/MANIFEST.in +5 -0
  56. data/jasmine/node_modules/jasmine-core/MIT.LICENSE +20 -0
  57. data/jasmine/node_modules/jasmine-core/README.md +73 -0
  58. data/jasmine/node_modules/jasmine-core/RELEASE.md +73 -0
  59. data/jasmine/node_modules/jasmine-core/images/jasmine-horizontal.png +0 -0
  60. data/jasmine/node_modules/jasmine-core/images/jasmine-horizontal.svg +102 -0
  61. data/jasmine/node_modules/jasmine-core/images/jasmine_favicon.png +0 -0
  62. data/jasmine/node_modules/jasmine-core/lib/console/console.js +190 -0
  63. data/jasmine/node_modules/jasmine-core/lib/jasmine-core.js +37 -0
  64. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/boot.js +143 -0
  65. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/example/node_example/lib/jasmine_examples/Player.js +24 -0
  66. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/example/node_example/lib/jasmine_examples/Song.js +9 -0
  67. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/example/node_example/spec/helpers/jasmine_examples/SpecHelper.js +15 -0
  68. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/example/node_example/spec/jasmine_examples/PlayerSpec.js +60 -0
  69. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/example/spec/PlayerSpec.js +58 -0
  70. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/example/spec/SpecHelper.js +15 -0
  71. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/example/src/Player.js +22 -0
  72. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/example/src/Song.js +7 -0
  73. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js +446 -0
  74. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.css +58 -0
  75. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js +3298 -0
  76. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/json2.js +489 -0
  77. data/jasmine/node_modules/jasmine-core/lib/jasmine-core/node_boot.js +41 -0
  78. data/jasmine/node_modules/jasmine-core/package.json +63 -0
  79. data/jasmine/node_modules/jasmine-core/requirements.txt +1 -0
  80. data/jasmine/node_modules/karma-jasmine/LICENSE +20 -0
  81. data/jasmine/node_modules/karma-jasmine/README.md +89 -0
  82. data/jasmine/node_modules/karma-jasmine/integration-tests.sh +14 -0
  83. data/jasmine/node_modules/karma-jasmine/lib/adapter.js +325 -0
  84. data/jasmine/node_modules/karma-jasmine/lib/boot.js +43 -0
  85. data/jasmine/node_modules/karma-jasmine/lib/index.js +18 -0
  86. data/jasmine/node_modules/karma-jasmine/package.json +123 -0
  87. data/jasmine/node_modules/karma-phantomjs-launcher/LICENSE +20 -0
  88. data/jasmine/node_modules/karma-phantomjs-launcher/index.js +74 -0
  89. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/.bin/phantomjs +42 -0
  90. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/.jshintrc +3 -0
  91. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/.npmignore +5 -0
  92. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/.travis.yml +7 -0
  93. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/LICENSE.txt +194 -0
  94. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/README.md +199 -0
  95. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/bin/phantomjs +42 -0
  96. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/install.js +354 -0
  97. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/location.js +1 -0
  98. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/ChangeLog +368 -0
  99. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/LICENSE.BSD +22 -0
  100. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/README.md +45 -0
  101. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/bin/phantomjs +0 -0
  102. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/arguments.coffee +7 -0
  103. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/arguments.js +9 -0
  104. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/child_process-examples.coffee +20 -0
  105. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/child_process-examples.js +27 -0
  106. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/colorwheel.coffee +46 -0
  107. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/colorwheel.js +51 -0
  108. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/countdown.coffee +8 -0
  109. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/countdown.js +9 -0
  110. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/detectsniff.coffee +42 -0
  111. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/detectsniff.js +59 -0
  112. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/direction.coffee +30 -0
  113. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/direction.js +35 -0
  114. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/echoToFile.coffee +19 -0
  115. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/echoToFile.js +23 -0
  116. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/features.coffee +23 -0
  117. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/features.js +30 -0
  118. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/fibo.coffee +8 -0
  119. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/fibo.js +9 -0
  120. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/follow.coffee +33 -0
  121. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/follow.js +38 -0
  122. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/hello.coffee +2 -0
  123. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/hello.js +2 -0
  124. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/imagebin.coffee +20 -0
  125. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/imagebin.js +23 -0
  126. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/injectme.coffee +23 -0
  127. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/injectme.js +25 -0
  128. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/ipgeocode.coffee +13 -0
  129. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/ipgeocode.js +14 -0
  130. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/loadspeed.coffee +18 -0
  131. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/loadspeed.js +23 -0
  132. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/loadurlwithoutcss.coffee +20 -0
  133. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/loadurlwithoutcss.js +25 -0
  134. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/modernizr.js +1116 -0
  135. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/module.coffee +4 -0
  136. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/module.js +4 -0
  137. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/movies.coffee +13 -0
  138. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/movies.js +14 -0
  139. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/netlog.coffee +18 -0
  140. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/netlog.js +25 -0
  141. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/netsniff.coffee +114 -0
  142. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/netsniff.js +143 -0
  143. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/outputEncoding.coffee +12 -0
  144. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/outputEncoding.js +16 -0
  145. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/page_events.coffee +132 -0
  146. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/page_events.js +142 -0
  147. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/pagecallback.coffee +16 -0
  148. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/pagecallback.js +17 -0
  149. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/phantomwebintro.coffee +13 -0
  150. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/phantomwebintro.js +19 -0
  151. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/pizza.coffee +18 -0
  152. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/pizza.js +20 -0
  153. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/post.coffee +12 -0
  154. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/post.js +14 -0
  155. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/postserver.coffee +25 -0
  156. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/postserver.js +34 -0
  157. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/printenv.coffee +6 -0
  158. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/printenv.js +10 -0
  159. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/printheaderfooter.coffee +88 -0
  160. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/printheaderfooter.js +89 -0
  161. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/printmargins.coffee +33 -0
  162. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/printmargins.js +35 -0
  163. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/rasterize.coffee +23 -0
  164. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/rasterize.js +32 -0
  165. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/render_multi_url.coffee +60 -0
  166. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/render_multi_url.js +73 -0
  167. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/run-jasmine.coffee +61 -0
  168. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/run-jasmine.js +86 -0
  169. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/run-qunit.coffee +64 -0
  170. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/run-qunit.js +76 -0
  171. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/scandir.coffee +16 -0
  172. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/scandir.js +22 -0
  173. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/seasonfood.coffee +17 -0
  174. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/seasonfood.js +19 -0
  175. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/server.coffee +45 -0
  176. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/server.js +43 -0
  177. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/serverkeepalive.coffee +32 -0
  178. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/serverkeepalive.js +34 -0
  179. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/simpleserver.coffee +38 -0
  180. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/simpleserver.js +42 -0
  181. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/sleepsort.coffee +20 -0
  182. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/sleepsort.js +25 -0
  183. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/stdin-stdout-stderr.coffee +18 -0
  184. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/stdin-stdout-stderr.js +18 -0
  185. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/technews.coffee +17 -0
  186. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/technews.js +16 -0
  187. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/tweets.coffee +31 -0
  188. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/tweets.js +37 -0
  189. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/universe.js +10 -0
  190. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/unrandomize.coffee +18 -0
  191. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/unrandomize.js +24 -0
  192. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/useragent.coffee +11 -0
  193. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/useragent.js +14 -0
  194. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/version.coffee +5 -0
  195. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/version.js +5 -0
  196. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/waitfor.coffee +48 -0
  197. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/waitfor.js +57 -0
  198. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/walk_through_frames.coffee +66 -0
  199. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/walk_through_frames.js +73 -0
  200. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/weather.coffee +29 -0
  201. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/weather.js +37 -0
  202. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/third-party.txt +48 -0
  203. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantomjs.js +61 -0
  204. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/.bin/which +14 -0
  205. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/.idea/scopes/scope_settings.xml +5 -0
  206. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/MIT-LICENSE.txt +21 -0
  207. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/README.md +64 -0
  208. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/adm-zip.js +404 -0
  209. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/headers/entryHeader.js +261 -0
  210. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/headers/index.js +2 -0
  211. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/headers/mainHeader.js +80 -0
  212. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/methods/deflater.js +1578 -0
  213. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/methods/index.js +2 -0
  214. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/methods/inflater.js +448 -0
  215. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/package.json +56 -0
  216. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/attributes_test.zip +0 -0
  217. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden.txt +17 -0
  218. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/attributes_test/New folder/hidden_readonly.txt +17 -0
  219. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/attributes_test/New folder/readonly.txt +17 -0
  220. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/attributes_test/New folder/somefile.txt +17 -0
  221. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/attributes_test/asd/New Text Document.txt b/data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/attributes_test/asd/New Text → Document.txt +0 -0
  222. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/attributes_test/blank file.txt b/data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/attributes_test/blank → file.txt +0 -0
  223. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/fast.zip +0 -0
  224. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/fastest.zip +0 -0
  225. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/linux_arc.zip +0 -0
  226. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/maximum.zip +0 -0
  227. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/normal.zip +0 -0
  228. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/store.zip +0 -0
  229. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/assets/ultra.zip +0 -0
  230. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/test/index.js +5 -0
  231. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/util/constants.js +84 -0
  232. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/util/errors.js +35 -0
  233. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/util/fattr.js +84 -0
  234. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/util/index.js +4 -0
  235. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/util/utils.js +145 -0
  236. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/zipEntry.js +224 -0
  237. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/adm-zip/zipFile.js +311 -0
  238. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/.npmignore +3 -0
  239. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/CHANGELOG.md +191 -0
  240. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/LICENSE +15 -0
  241. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/README.md +411 -0
  242. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/lib/_copy.js +250 -0
  243. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/lib/copy.js +99 -0
  244. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/lib/create.js +39 -0
  245. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/lib/index.js +90 -0
  246. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/lib/json.js +31 -0
  247. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/lib/mkdir.js +103 -0
  248. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/lib/move.js +136 -0
  249. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/lib/output.js +34 -0
  250. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/lib/remove.js +14 -0
  251. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/.bin/rimraf +33 -0
  252. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/.npmignore +1 -0
  253. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/LICENSE +27 -0
  254. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/README.md +36 -0
  255. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/fs.js +11 -0
  256. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js +158 -0
  257. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/package.json +72 -0
  258. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/polyfills.js +255 -0
  259. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/test/max-open.js +69 -0
  260. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/test/open.js +39 -0
  261. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/test/readdir-sort.js +20 -0
  262. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/test/write-then-read.js +45 -0
  263. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/jsonfile/.npmignore +2 -0
  264. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/jsonfile/CHANGELOG.md +32 -0
  265. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/jsonfile/LICENSE +15 -0
  266. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/jsonfile/README.md +126 -0
  267. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/jsonfile/lib/jsonfile.js +59 -0
  268. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/jsonfile/package.json +60 -0
  269. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/LICENSE +23 -0
  270. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/README.md +36 -0
  271. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/bin.js +33 -0
  272. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/LICENSE +15 -0
  273. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/README.md +369 -0
  274. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/common.js +237 -0
  275. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/glob.js +740 -0
  276. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +17 -0
  277. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/LICENSE +15 -0
  278. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md +37 -0
  279. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js +44 -0
  280. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE +15 -0
  281. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +36 -0
  282. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +52 -0
  283. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +51 -0
  284. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +33 -0
  285. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +61 -0
  286. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +97 -0
  287. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +16 -0
  288. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +42 -0
  289. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +1 -0
  290. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
  291. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +50 -0
  292. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +25 -0
  293. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/LICENSE +23 -0
  294. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +216 -0
  295. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/browser.js +1113 -0
  296. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +867 -0
  297. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +2 -0
  298. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.travis.yml +3 -0
  299. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +121 -0
  300. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
  301. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
  302. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +2 -0
  303. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +4 -0
  304. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
  305. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +80 -0
  306. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
  307. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +38 -0
  308. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +73 -0
  309. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +56 -0
  310. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +4 -0
  311. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
  312. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
  313. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
  314. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
  315. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +83 -0
  316. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
  317. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +75 -0
  318. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js +32 -0
  319. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-results.txt +1075 -0
  320. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/cases.txt +182 -0
  321. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/dollar.js +9 -0
  322. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/empty-option.js +10 -0
  323. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh +24 -0
  324. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/negative-increment.js +15 -0
  325. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/nested.js +16 -0
  326. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/order.js +10 -0
  327. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/pad.js +13 -0
  328. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/same-type.js +7 -0
  329. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/sequence.js +50 -0
  330. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +66 -0
  331. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/LICENSE +15 -0
  332. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +51 -0
  333. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +15 -0
  334. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
  335. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +52 -0
  336. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
  337. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
  338. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +21 -0
  339. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +60 -0
  340. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/test/once.js +23 -0
  341. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/package.json +72 -0
  342. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/sync.js +457 -0
  343. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/package.json +61 -0
  344. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/rimraf.js +331 -0
  345. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/package.json +88 -0
  346. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/.npmignore +15 -0
  347. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/LICENSE.TXT +194 -0
  348. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/README.md +296 -0
  349. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/kew.js +724 -0
  350. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/package.json +70 -0
  351. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/test/chain.js +428 -0
  352. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/test/closure_test.js +119 -0
  353. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/test/context.js +89 -0
  354. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/test/defer.js +120 -0
  355. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/test/externs_node.js +9 -0
  356. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/test/scopes.js +54 -0
  357. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/test/static.js +322 -0
  358. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/.npmignore +3 -0
  359. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/LICENSE +27 -0
  360. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/README.md +33 -0
  361. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/config-defs.js +381 -0
  362. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/lib/find-prefix.js +56 -0
  363. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/lib/get-credentials-by-uri.js +73 -0
  364. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/lib/load-cafile.js +31 -0
  365. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/lib/load-prefix.js +49 -0
  366. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/lib/load-uid.js +15 -0
  367. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/lib/nerf-dart.js +21 -0
  368. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/lib/set-credentials-by-uri.js +42 -0
  369. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/lib/set-user.js +30 -0
  370. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/.bin/mkdirp +33 -0
  371. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/.bin/nopt +54 -0
  372. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/.bin/semver +133 -0
  373. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/.npmignore +3 -0
  374. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/LICENCE +22 -0
  375. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/index.js +282 -0
  376. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/LICENSE +23 -0
  377. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/README.md +3 -0
  378. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json +51 -0
  379. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/proto-list.js +88 -0
  380. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/test/basic.js +61 -0
  381. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/package.json +54 -0
  382. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/readme.markdown +228 -0
  383. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/broken.js +10 -0
  384. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/broken.json +21 -0
  385. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/chain-class.js +100 -0
  386. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/env.js +10 -0
  387. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js +13 -0
  388. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/get.js +15 -0
  389. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/ignore-unfound-file.js +5 -0
  390. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/ini.js +18 -0
  391. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/save.js +59 -0
  392. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/inherits/LICENSE +16 -0
  393. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/inherits/README.md +42 -0
  394. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/inherits/inherits.js +1 -0
  395. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/inherits/inherits_browser.js +23 -0
  396. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/inherits/package.json +50 -0
  397. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/inherits/test.js +25 -0
  398. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/.npmignore +1 -0
  399. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/LICENSE +15 -0
  400. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/README.md +102 -0
  401. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/ini.js +190 -0
  402. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/package.json +53 -0
  403. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/bar.js +23 -0
  404. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/fixtures/foo.ini +65 -0
  405. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/ini/test/foo.js +107 -0
  406. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/.travis.yml +8 -0
  407. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/LICENSE +21 -0
  408. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/bin/cmd.js +33 -0
  409. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/bin/usage.txt +12 -0
  410. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/examples/pow.js +6 -0
  411. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/index.js +98 -0
  412. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/.travis.yml +4 -0
  413. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/LICENSE +18 -0
  414. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/example/parse.js +2 -0
  415. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/index.js +187 -0
  416. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/package.json +67 -0
  417. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/readme.markdown +73 -0
  418. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/test/dash.js +24 -0
  419. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/test/default_bool.js +20 -0
  420. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/test/dotted.js +16 -0
  421. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/test/long.js +31 -0
  422. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/test/parse.js +318 -0
  423. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js +9 -0
  424. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/test/short.js +67 -0
  425. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/node_modules/minimist/test/whitespace.js +8 -0
  426. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/package.json +60 -0
  427. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/readme.markdown +100 -0
  428. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/chmod.js +41 -0
  429. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/clobber.js +38 -0
  430. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/mkdirp.js +28 -0
  431. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/opts_fs.js +29 -0
  432. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/opts_fs_sync.js +27 -0
  433. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/perm.js +32 -0
  434. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/perm_sync.js +36 -0
  435. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/race.js +37 -0
  436. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/rel.js +32 -0
  437. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/return.js +25 -0
  438. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/return_sync.js +24 -0
  439. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/root.js +19 -0
  440. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/sync.js +32 -0
  441. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/umask.js +28 -0
  442. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/mkdirp/test/umask_sync.js +32 -0
  443. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/.npmignore +1 -0
  444. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/LICENSE +23 -0
  445. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/README.md +209 -0
  446. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/bin/nopt.js +54 -0
  447. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/examples/my-program.js +30 -0
  448. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/lib/nopt.js +414 -0
  449. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md +3 -0
  450. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/LICENSE +23 -0
  451. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/README.md +23 -0
  452. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/abbrev.js +62 -0
  453. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/package.json +46 -0
  454. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/node_modules/abbrev/test.js +47 -0
  455. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/package.json +57 -0
  456. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/nopt/test/basic.js +251 -0
  457. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/LICENSE +15 -0
  458. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/README.md +51 -0
  459. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/node_modules/wrappy/LICENSE +15 -0
  460. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/node_modules/wrappy/README.md +36 -0
  461. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/node_modules/wrappy/package.json +52 -0
  462. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
  463. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
  464. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/once.js +21 -0
  465. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/package.json +60 -0
  466. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/once/test/once.js +23 -0
  467. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/osenv/.npmignore +13 -0
  468. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/osenv/LICENSE +27 -0
  469. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/osenv/README.md +63 -0
  470. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/osenv/osenv.js +73 -0
  471. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/osenv/package.json +63 -0
  472. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/osenv/test/unix.js +71 -0
  473. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/osenv/test/windows.js +75 -0
  474. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/.npmignore +1 -0
  475. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/LICENSE +15 -0
  476. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/Makefile +24 -0
  477. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/README.md +303 -0
  478. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/bin/semver +133 -0
  479. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/foot.js.txt +6 -0
  480. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/head.js.txt +2 -0
  481. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/package.json +55 -0
  482. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/semver.browser.js +1198 -0
  483. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/semver.browser.js.gz +0 -0
  484. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/semver.js +1202 -0
  485. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/semver.min.js +1 -0
  486. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/semver.min.js.gz +0 -0
  487. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/test/amd.js +15 -0
  488. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/test/big-numbers.js +31 -0
  489. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/test/clean.js +29 -0
  490. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/test/gtr.js +173 -0
  491. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/test/index.js +684 -0
  492. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/test/ltr.js +181 -0
  493. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/test/major-minor-patch.js +72 -0
  494. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/semver/test/no-module.js +19 -0
  495. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/uid-number/LICENSE +15 -0
  496. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/uid-number/README.md +17 -0
  497. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/uid-number/get-uid-gid.js +24 -0
  498. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/uid-number/package.json +47 -0
  499. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/uid-number/uid-number.js +54 -0
  500. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/npmconf.js +415 -0
  501. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/package.json +73 -0
  502. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/00-setup.js +67 -0
  503. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/basic.js +58 -0
  504. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/builtin.js +63 -0
  505. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/certfile.js +17 -0
  506. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/credentials.js +295 -0
  507. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/fixtures/.npmrc +1 -0
  508. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/fixtures/builtin +1 -0
  509. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/fixtures/globalconfig +1 -0
  510. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/fixtures/multi-ca +32 -0
  511. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/fixtures/package.json +0 -0
  512. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/fixtures/userconfig +23 -0
  513. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/project.js +60 -0
  514. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/save.js +84 -0
  515. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/test/semver-tag.js +65 -0
  516. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/progress/.npmignore +4 -0
  517. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/progress/History.md +77 -0
  518. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/progress/LICENSE +22 -0
  519. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/progress/Makefile +8 -0
  520. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/progress/Readme.md +103 -0
  521. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/progress/index.js +1 -0
  522. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/progress/lib/node-progress.js +180 -0
  523. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/progress/package.json +67 -0
  524. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/.editorconfig +12 -0
  525. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/.jshintrc +63 -0
  526. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/.npmignore +2 -0
  527. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/.travis.yml +4 -0
  528. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/LICENSE +19 -0
  529. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/README.md +47 -0
  530. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/index.js +80 -0
  531. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/node_modules/throttleit/.npmignore +2 -0
  532. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/node_modules/throttleit/History.md +11 -0
  533. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/node_modules/throttleit/Makefile +11 -0
  534. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/node_modules/throttleit/Readme.md +16 -0
  535. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/node_modules/throttleit/component.json +13 -0
  536. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/node_modules/throttleit/example.js +14 -0
  537. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/node_modules/throttleit/index.js +30 -0
  538. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/node_modules/throttleit/package.json +47 -0
  539. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/package.json +61 -0
  540. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request-progress/test/test.js +1 -0
  541. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/.npmignore +2 -0
  542. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/.travis.yml +12 -0
  543. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/CHANGELOG.md +954 -0
  544. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/CONTRIBUTING.md +29 -0
  545. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/LICENSE +55 -0
  546. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/README.md +544 -0
  547. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/disabled.appveyor.yml +36 -0
  548. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/index.js +166 -0
  549. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/lib/cookies.js +40 -0
  550. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/lib/copy.js +8 -0
  551. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/lib/debug.js +9 -0
  552. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/lib/helpers.js +46 -0
  553. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/lib/optional.js +13 -0
  554. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/.bin/uuid +26 -0
  555. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/aws-sign2/LICENSE +55 -0
  556. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/aws-sign2/README.md +4 -0
  557. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/aws-sign2/index.js +202 -0
  558. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/aws-sign2/package.json +46 -0
  559. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/.jshintrc +59 -0
  560. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/.npmignore +1 -0
  561. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/.travis.yml +11 -0
  562. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/LICENSE.md +13 -0
  563. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/README.md +198 -0
  564. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/bl.js +216 -0
  565. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/.npmignore +5 -0
  566. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/LICENSE +18 -0
  567. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/README.md +15 -0
  568. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/duplex.js +1 -0
  569. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
  570. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
  571. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +982 -0
  572. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +210 -0
  573. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +386 -0
  574. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/README.md +3 -0
  575. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/float.patch +604 -0
  576. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +107 -0
  577. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/package.json +53 -0
  578. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/util.js +106 -0
  579. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
  580. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
  581. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits.js +1 -0
  582. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
  583. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/package.json +50 -0
  584. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/test.js +25 -0
  585. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/README.md +54 -0
  586. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/build/build.js +209 -0
  587. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
  588. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js +3 -0
  589. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/package.json +53 -0
  590. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/.npmignore +2 -0
  591. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/LICENSE +20 -0
  592. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md +7 -0
  593. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/index.js +221 -0
  594. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/package.json +54 -0
  595. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/package.json +70 -0
  596. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/passthrough.js +1 -0
  597. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/readable.js +8 -0
  598. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/transform.js +1 -0
  599. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/node_modules/readable-stream/writable.js +1 -0
  600. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/package.json +62 -0
  601. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/test/basic-test.js +541 -0
  602. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/test/sauce.js +38 -0
  603. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/bl/test/test.js +9 -0
  604. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/caseless/README.md +45 -0
  605. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/caseless/index.js +65 -0
  606. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/caseless/package.json +52 -0
  607. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/caseless/test.js +33 -0
  608. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/forever-agent/LICENSE +55 -0
  609. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/forever-agent/README.md +4 -0
  610. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/forever-agent/index.js +119 -0
  611. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/forever-agent/package.json +45 -0
  612. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/License +19 -0
  613. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/Readme.md +175 -0
  614. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/lib/form_data.js +351 -0
  615. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/async/.travis.yml +3 -0
  616. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +19 -0
  617. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/async/README.md +1646 -0
  618. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/async/component.json +11 -0
  619. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +1123 -0
  620. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/async/package.json +60 -0
  621. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/License +19 -0
  622. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/Readme.md +132 -0
  623. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/lib/combined_stream.js +188 -0
  624. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/.npmignore +2 -0
  625. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/License +19 -0
  626. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile +7 -0
  627. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +154 -0
  628. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +99 -0
  629. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/package.json +42 -0
  630. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/common.js +6 -0
  631. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js +38 -0
  632. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream-auto-pause.js +21 -0
  633. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream-pause.js +14 -0
  634. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream.js +48 -0
  635. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-handle-source-errors.js +15 -0
  636. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-max-data-size.js +18 -0
  637. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-pipe-resumes.js +13 -0
  638. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-proxy-readable.js +13 -0
  639. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/run.js +7 -0
  640. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/package.json +60 -0
  641. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/mime/LICENSE +19 -0
  642. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/mime/README.md +66 -0
  643. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/mime/mime.js +114 -0
  644. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/mime/package.json +57 -0
  645. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/mime/test.js +84 -0
  646. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/mime/types/mime.types +1588 -0
  647. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/mime/types/node.types +77 -0
  648. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/form-data/package.json +80 -0
  649. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/.npmignore +18 -0
  650. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/.travis.yml +5 -0
  651. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/LICENSE +24 -0
  652. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/Makefile +10 -0
  653. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/README.md +625 -0
  654. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/example/usage.js +78 -0
  655. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
  656. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/images/logo.png +0 -0
  657. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/index.js +1 -0
  658. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/lib/browser.js +507 -0
  659. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/lib/client.js +371 -0
  660. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/lib/crypto.js +118 -0
  661. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/lib/index.js +15 -0
  662. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/lib/server.js +523 -0
  663. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/lib/utils.js +183 -0
  664. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/.npmignore +18 -0
  665. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml +5 -0
  666. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +24 -0
  667. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/Makefile +11 -0
  668. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/README.md +6 -0
  669. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
  670. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/index.js +1 -0
  671. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +207 -0
  672. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/package.json +64 -0
  673. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/boom/test/index.js +245 -0
  674. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/cryptiles/.npmignore +18 -0
  675. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/cryptiles/.travis.yml +5 -0
  676. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +24 -0
  677. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +11 -0
  678. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +6 -0
  679. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +1 -0
  680. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +68 -0
  681. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +65 -0
  682. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/cryptiles/test/index.js +101 -0
  683. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/.npmignore +18 -0
  684. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/.travis.yml +5 -0
  685. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +33 -0
  686. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +10 -0
  687. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +436 -0
  688. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
  689. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/index.js +1 -0
  690. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +132 -0
  691. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +585 -0
  692. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +70 -0
  693. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/test/escaper.js +86 -0
  694. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/test/index.js +1078 -0
  695. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js +1 -0
  696. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js +1 -0
  697. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js +1 -0
  698. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/.npmignore +18 -0
  699. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/.travis.yml +5 -0
  700. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +24 -0
  701. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +11 -0
  702. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +68 -0
  703. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +16 -0
  704. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +25 -0
  705. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +1 -0
  706. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +409 -0
  707. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +65 -0
  708. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/node_modules/sntp/test/index.js +359 -0
  709. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/package.json +70 -0
  710. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/test/browser.js +817 -0
  711. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/test/client.js +206 -0
  712. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/test/crypto.js +86 -0
  713. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/test/index.js +316 -0
  714. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/test/message.js +246 -0
  715. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/test/readme.js +98 -0
  716. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/test/server.js +686 -0
  717. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/test/uri.js +456 -0
  718. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/hawk/test/utils.js +120 -0
  719. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/.dir-locals.el +6 -0
  720. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/.npmignore +7 -0
  721. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/LICENSE +18 -0
  722. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/README.md +79 -0
  723. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/http_signing.md +296 -0
  724. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/lib/index.js +26 -0
  725. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/lib/parser.js +304 -0
  726. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/lib/signer.js +178 -0
  727. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/lib/util.js +304 -0
  728. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/lib/verify.js +42 -0
  729. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/.npmignore +2 -0
  730. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +19 -0
  731. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +50 -0
  732. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +13 -0
  733. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +27 -0
  734. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +267 -0
  735. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +36 -0
  736. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +317 -0
  737. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +20 -0
  738. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +63 -0
  739. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +172 -0
  740. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +296 -0
  741. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +126 -0
  742. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +245 -0
  743. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +45 -0
  744. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/.npmignore +1 -0
  745. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +78 -0
  746. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +24 -0
  747. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/README +82 -0
  748. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +298 -0
  749. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +245 -0
  750. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +1485 -0
  751. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +944 -0
  752. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +241 -0
  753. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +42 -0
  754. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +129 -0
  755. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +839 -0
  756. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/http-signature/package.json +72 -0
  757. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/json-stringify-safe/LICENSE +27 -0
  758. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/json-stringify-safe/README.md +49 -0
  759. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/json-stringify-safe/package.json +50 -0
  760. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/json-stringify-safe/stringify.js +39 -0
  761. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/json-stringify-safe/test.js +128 -0
  762. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/.npmignore +14 -0
  763. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/.travis.yml +12 -0
  764. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/LICENSE +22 -0
  765. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/Makefile +9 -0
  766. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/README.md +101 -0
  767. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/SOURCES.md +17 -0
  768. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/component.json +16 -0
  769. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/lib/custom.json +27 -0
  770. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/lib/index.js +75 -0
  771. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/lib/mime.json +3317 -0
  772. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/lib/node.json +55 -0
  773. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/mime-types/package.json +69 -0
  774. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/.npmignore +2 -0
  775. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/LICENSE.md +21 -0
  776. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/README.md +243 -0
  777. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/benchmark/README.md +53 -0
  778. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +174 -0
  779. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +34 -0
  780. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +34 -0
  781. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +84 -0
  782. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/bin/uuid +26 -0
  783. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/component.json +18 -0
  784. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/package.json +65 -0
  785. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/test/compare_v1.js +63 -0
  786. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/test/test.html +17 -0
  787. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/test/test.js +228 -0
  788. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/node-uuid/uuid.js +247 -0
  789. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/oauth-sign/LICENSE +55 -0
  790. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/oauth-sign/README.md +4 -0
  791. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/oauth-sign/index.js +81 -0
  792. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/oauth-sign/package.json +48 -0
  793. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/oauth-sign/test.js +63 -0
  794. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/.jshintignore +1 -0
  795. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/.jshintrc +10 -0
  796. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/.npmignore +18 -0
  797. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/.travis.yml +4 -0
  798. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/CONTRIBUTING.md +1 -0
  799. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/LICENSE +28 -0
  800. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/Makefile +8 -0
  801. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/README.md +192 -0
  802. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/index.js +1 -0
  803. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/lib/index.js +15 -0
  804. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/lib/parse.js +155 -0
  805. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/lib/stringify.js +55 -0
  806. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/lib/utils.js +133 -0
  807. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/package.json +61 -0
  808. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/test/parse.js +301 -0
  809. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/qs/test/stringify.js +129 -0
  810. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/stringstream/.npmignore +15 -0
  811. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/stringstream/.travis.yml +4 -0
  812. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/stringstream/LICENSE.txt +4 -0
  813. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/stringstream/README.md +38 -0
  814. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/stringstream/example.js +27 -0
  815. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/stringstream/package.json +48 -0
  816. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/stringstream/stringstream.js +102 -0
  817. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/.editorconfig +12 -0
  818. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/.jshintrc +70 -0
  819. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/.npmignore +4 -0
  820. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/.travis.yml +9 -0
  821. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/CONTRIBUTING.md +9 -0
  822. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/LICENSE +74 -0
  823. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/README.md +423 -0
  824. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +293 -0
  825. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/lib/cookie.js +1137 -0
  826. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/lib/memstore.js +143 -0
  827. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +98 -0
  828. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/lib/store.js +67 -0
  829. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/package.json +66 -0
  830. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/public-suffix.txt +10079 -0
  831. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/api_test.js +372 -0
  832. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/cookie_jar_test.js +468 -0
  833. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/cookie_sorting_test.js +90 -0
  834. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/cookie_to_json_test.js +164 -0
  835. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/cookie_to_string_test.js +162 -0
  836. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/date_test.js +79 -0
  837. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/domain_and_path_test.js +201 -0
  838. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/ietf_data/dates/bsd-examples.json +168 -0
  839. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/ietf_data/dates/examples.json +48 -0
  840. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/ietf_data/parser.json +1959 -0
  841. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/ietf_test.js +106 -0
  842. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/lifetime_test.js +97 -0
  843. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/parsing_test.js +294 -0
  844. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/test/regression_test.js +143 -0
  845. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tough-cookie/tough-cookie-deps.tsv +6 -0
  846. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tunnel-agent/.jshintrc +5 -0
  847. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tunnel-agent/LICENSE +55 -0
  848. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tunnel-agent/README.md +4 -0
  849. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tunnel-agent/index.js +236 -0
  850. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/node_modules/tunnel-agent/package.json +45 -0
  851. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/package.json +81 -0
  852. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/request/request.js +1493 -0
  853. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/which/LICENSE +15 -0
  854. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/which/README.md +5 -0
  855. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/which/bin/which +14 -0
  856. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/which/package.json +47 -0
  857. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/which/which.js +101 -0
  858. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/package.json +81 -0
  859. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/test/exit.js +1 -0
  860. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/test/loadspeed.js +25 -0
  861. data/jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/test/tests.js +66 -0
  862. data/jasmine/node_modules/karma-phantomjs-launcher/package.json +102 -0
  863. data/jasmine/node_modules/karma-requirejs/LICENSE +20 -0
  864. data/jasmine/node_modules/karma-requirejs/README.md +16 -0
  865. data/jasmine/node_modules/karma-requirejs/lib/adapter.js +53 -0
  866. data/jasmine/node_modules/karma-requirejs/lib/index.js +18 -0
  867. data/jasmine/node_modules/karma-requirejs/package.json +82 -0
  868. data/jasmine/node_modules/karma-spec-reporter/.npmignore +1 -0
  869. data/jasmine/node_modules/karma-spec-reporter/LICENSE +7 -0
  870. data/jasmine/node_modules/karma-spec-reporter/README.md +35 -0
  871. data/jasmine/node_modules/karma-spec-reporter/index.js +132 -0
  872. data/jasmine/node_modules/karma-spec-reporter/node_modules/colors/MIT-LICENSE.txt +22 -0
  873. data/jasmine/node_modules/karma-spec-reporter/node_modules/colors/ReadMe.md +77 -0
  874. data/jasmine/node_modules/karma-spec-reporter/node_modules/colors/colors.js +342 -0
  875. data/jasmine/node_modules/karma-spec-reporter/node_modules/colors/example.html +76 -0
  876. data/jasmine/node_modules/karma-spec-reporter/node_modules/colors/example.js +77 -0
  877. data/jasmine/node_modules/karma-spec-reporter/node_modules/colors/package.json +46 -0
  878. data/jasmine/node_modules/karma-spec-reporter/node_modules/colors/test.js +70 -0
  879. data/jasmine/node_modules/karma-spec-reporter/node_modules/colors/themes/winston-dark.js +12 -0
  880. data/jasmine/node_modules/karma-spec-reporter/node_modules/colors/themes/winston-light.js +12 -0
  881. data/jasmine/node_modules/karma-spec-reporter/package.json +53 -0
  882. data/jasmine/node_modules/karma/CHANGELOG.md +1127 -0
  883. data/jasmine/node_modules/karma/LICENSE +20 -0
  884. data/jasmine/node_modules/karma/README.md +115 -0
  885. data/jasmine/node_modules/karma/bin/karma +3 -0
  886. data/jasmine/node_modules/karma/config.tpl.coffee +66 -0
  887. data/jasmine/node_modules/karma/config.tpl.js +63 -0
  888. data/jasmine/node_modules/karma/config.tpl.ls +66 -0
  889. data/jasmine/node_modules/karma/karma-completion.sh +50 -0
  890. data/jasmine/node_modules/karma/lib/browser.js +248 -0
  891. data/jasmine/node_modules/karma/lib/browser_collection.js +106 -0
  892. data/jasmine/node_modules/karma/lib/browser_result.js +25 -0
  893. data/jasmine/node_modules/karma/lib/cli.js +247 -0
  894. data/jasmine/node_modules/karma/lib/completion.js +163 -0
  895. data/jasmine/node_modules/karma/lib/config.js +300 -0
  896. data/jasmine/node_modules/karma/lib/constants.js +30 -0
  897. data/jasmine/node_modules/karma/lib/emitter_wrapper.js +31 -0
  898. data/jasmine/node_modules/karma/lib/events.js +92 -0
  899. data/jasmine/node_modules/karma/lib/executor.js +56 -0
  900. data/jasmine/node_modules/karma/lib/file_list.js +425 -0
  901. data/jasmine/node_modules/karma/lib/helper.js +97 -0
  902. data/jasmine/node_modules/karma/lib/index.js +6 -0
  903. data/jasmine/node_modules/karma/lib/init.js +279 -0
  904. data/jasmine/node_modules/karma/lib/init/color_schemes.js +29 -0
  905. data/jasmine/node_modules/karma/lib/init/formatters.js +132 -0
  906. data/jasmine/node_modules/karma/lib/init/state_machine.js +143 -0
  907. data/jasmine/node_modules/karma/lib/launcher.js +177 -0
  908. data/jasmine/node_modules/karma/lib/launchers/base.js +130 -0
  909. data/jasmine/node_modules/karma/lib/launchers/capture_timeout.js +43 -0
  910. data/jasmine/node_modules/karma/lib/launchers/process.js +147 -0
  911. data/jasmine/node_modules/karma/lib/launchers/retry.js +32 -0
  912. data/jasmine/node_modules/karma/lib/logger.js +79 -0
  913. data/jasmine/node_modules/karma/lib/middleware/common.js +93 -0
  914. data/jasmine/node_modules/karma/lib/middleware/karma.js +170 -0
  915. data/jasmine/node_modules/karma/lib/middleware/proxy.js +129 -0
  916. data/jasmine/node_modules/karma/lib/middleware/runner.js +92 -0
  917. data/jasmine/node_modules/karma/lib/middleware/source_files.js +61 -0
  918. data/jasmine/node_modules/karma/lib/middleware/strip_host.js +18 -0
  919. data/jasmine/node_modules/karma/lib/plugin.js +51 -0
  920. data/jasmine/node_modules/karma/lib/preprocessor.js +103 -0
  921. data/jasmine/node_modules/karma/lib/reporter.js +108 -0
  922. data/jasmine/node_modules/karma/lib/reporters/base.js +151 -0
  923. data/jasmine/node_modules/karma/lib/reporters/base_color.js +25 -0
  924. data/jasmine/node_modules/karma/lib/reporters/dots.js +51 -0
  925. data/jasmine/node_modules/karma/lib/reporters/dots_color.js +12 -0
  926. data/jasmine/node_modules/karma/lib/reporters/multi.js +21 -0
  927. data/jasmine/node_modules/karma/lib/reporters/progress.js +66 -0
  928. data/jasmine/node_modules/karma/lib/reporters/progress_color.js +12 -0
  929. data/jasmine/node_modules/karma/lib/runner.js +70 -0
  930. data/jasmine/node_modules/karma/lib/server.js +315 -0
  931. data/jasmine/node_modules/karma/lib/temp_dir.js +31 -0
  932. data/jasmine/node_modules/karma/lib/watcher.js +113 -0
  933. data/jasmine/node_modules/karma/lib/web-server.js +74 -0
  934. data/jasmine/node_modules/karma/node_modules/.bin/node-http-proxy +113 -0
  935. data/jasmine/node_modules/karma/node_modules/.bin/rimraf +33 -0
  936. data/jasmine/node_modules/karma/node_modules/chokidar/CHANGELOG.md +197 -0
  937. data/jasmine/node_modules/karma/node_modules/chokidar/README.md +224 -0
  938. data/jasmine/node_modules/karma/node_modules/chokidar/index.js +482 -0
  939. data/jasmine/node_modules/karma/node_modules/chokidar/lib/fsevents-handler.js +361 -0
  940. data/jasmine/node_modules/karma/node_modules/chokidar/lib/nodefs-handler.js +476 -0
  941. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/LICENSE +15 -0
  942. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/README.md +91 -0
  943. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/index.js +64 -0
  944. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/LICENSE +21 -0
  945. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/README.md +504 -0
  946. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/index.js +411 -0
  947. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/lib/chars.js +81 -0
  948. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/lib/expand.js +376 -0
  949. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/lib/glob.js +210 -0
  950. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/lib/utils.js +86 -0
  951. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/LICENSE-MIT +24 -0
  952. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/README.md +81 -0
  953. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/check.js +22 -0
  954. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/array-differ.js +3 -0
  955. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/current.js +3 -0
  956. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/filter.js +7 -0
  957. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/for-lefthand.js +14 -0
  958. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/for-negative.js +13 -0
  959. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/for-reverse.js +14 -0
  960. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/for.js +13 -0
  961. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/forEach-2.js +12 -0
  962. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/forEach.js +13 -0
  963. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/reduce.js +10 -0
  964. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/while-indexof.js +15 -0
  965. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/while-multi-unshift.js +26 -0
  966. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/while-multi.js +26 -0
  967. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/while-splice.js +10 -0
  968. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/while-unshift.js +13 -0
  969. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/code/while.js +13 -0
  970. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/fixtures/med.js +2 -0
  971. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/fixtures/short.js +1 -0
  972. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/benchmark/index.js +11 -0
  973. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/index.js +59 -0
  974. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/node_modules/array-slice/LICENSE +21 -0
  975. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/node_modules/array-slice/README.md +54 -0
  976. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/node_modules/array-slice/index.js +36 -0
  977. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/node_modules/array-slice/package.json +65 -0
  978. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/package.json +66 -0
  979. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/arr-diff/test.js +41 -0
  980. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/LICENSE +24 -0
  981. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/README.md +242 -0
  982. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/index.js +401 -0
  983. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/LICENSE +24 -0
  984. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/README.md +107 -0
  985. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/index.js +43 -0
  986. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/LICENSE +21 -0
  987. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/README.md +290 -0
  988. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/index.js +408 -0
  989. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/is-number/LICENSE +21 -0
  990. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/is-number/README.md +104 -0
  991. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/is-number/index.js +14 -0
  992. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/is-number/package.json +75 -0
  993. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/isobject/LICENSE +21 -0
  994. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/isobject/README.md +72 -0
  995. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/isobject/index.js +13 -0
  996. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/isobject/package.json +69 -0
  997. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/randomatic/README.md +138 -0
  998. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/randomatic/index.js +86 -0
  999. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/randomatic/package.json +71 -0
  1000. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/repeat-string/LICENSE +24 -0
  1001. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/repeat-string/README.md +94 -0
  1002. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/repeat-string/index.js +66 -0
  1003. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/node_modules/repeat-string/package.json +78 -0
  1004. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/node_modules/fill-range/package.json +90 -0
  1005. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/expand-range/package.json +81 -0
  1006. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/.gitattributes +14 -0
  1007. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/.jshintrc +24 -0
  1008. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/.npmignore +53 -0
  1009. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/.travis.yml +3 -0
  1010. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/.verb.md +59 -0
  1011. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/LICENSE +24 -0
  1012. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/README.md +90 -0
  1013. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/index.js +54 -0
  1014. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/package.json +69 -0
  1015. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/preserve/test.js +48 -0
  1016. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/repeat-element/LICENSE +21 -0
  1017. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/repeat-element/README.md +71 -0
  1018. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/repeat-element/index.js +18 -0
  1019. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_modules/repeat-element/package.json +66 -0
  1020. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/package.json +91 -0
  1021. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/.jshintrc +3 -0
  1022. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/.npmignore +6 -0
  1023. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/History.md +195 -0
  1024. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/Makefile +36 -0
  1025. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/Readme.md +188 -0
  1026. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/browser.js +168 -0
  1027. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/component.json +19 -0
  1028. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/debug.js +197 -0
  1029. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/node.js +209 -0
  1030. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/node_modules/ms/.npmignore +5 -0
  1031. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/node_modules/ms/History.md +66 -0
  1032. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/node_modules/ms/LICENSE +20 -0
  1033. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/node_modules/ms/README.md +35 -0
  1034. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/node_modules/ms/index.js +125 -0
  1035. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/node_modules/ms/package.json +47 -0
  1036. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/debug/package.json +72 -0
  1037. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/expand-brackets/README.md +79 -0
  1038. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/expand-brackets/index.js +157 -0
  1039. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/expand-brackets/package.json +63 -0
  1040. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/filename-regex/README.md +51 -0
  1041. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/filename-regex/index.js +10 -0
  1042. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/filename-regex/package.json +64 -0
  1043. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/kind-of/README.md +155 -0
  1044. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/kind-of/index.js +45 -0
  1045. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/kind-of/package.json +82 -0
  1046. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/.gitattributes +14 -0
  1047. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/.jshintrc +22 -0
  1048. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/.npmignore +52 -0
  1049. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/.travis.yml +3 -0
  1050. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/.verbrc.md +82 -0
  1051. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/LICENSE-MIT +22 -0
  1052. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/README.md +91 -0
  1053. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/index.js +40 -0
  1054. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/for-own/LICENSE +21 -0
  1055. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/for-own/README.md +52 -0
  1056. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/for-own/index.js +19 -0
  1057. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/for-own/node_modules/for-in/LICENSE +21 -0
  1058. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/for-own/node_modules/for-in/README.md +52 -0
  1059. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/for-own/node_modules/for-in/index.js +16 -0
  1060. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/for-own/node_modules/for-in/package.json +69 -0
  1061. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/for-own/package.json +72 -0
  1062. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/.gitattributes +14 -0
  1063. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/.jshintrc +22 -0
  1064. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/.npmignore +52 -0
  1065. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/.verbrc.md +29 -0
  1066. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/LICENSE-MIT +22 -0
  1067. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/README.md +37 -0
  1068. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/index.js +20 -0
  1069. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/package.json +68 -0
  1070. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/test/mocha.opts +1 -0
  1071. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/node_modules/isobject/test/test.js +21 -0
  1072. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/package.json +80 -0
  1073. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/object.omit/test.js +34 -0
  1074. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/LICENSE +21 -0
  1075. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/README.md +122 -0
  1076. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/index.js +156 -0
  1077. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/glob-base/LICENSE +21 -0
  1078. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/glob-base/README.md +158 -0
  1079. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/glob-base/index.js +50 -0
  1080. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/glob-base/package.json +73 -0
  1081. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/is-dotfile/README.md +56 -0
  1082. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/is-dotfile/index.js +15 -0
  1083. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/is-dotfile/package.json +69 -0
  1084. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/is-extglob/LICENSE +21 -0
  1085. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/is-extglob/README.md +75 -0
  1086. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/is-extglob/index.js +11 -0
  1087. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/node_modules/is-extglob/package.json +72 -0
  1088. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/parse-glob/package.json +93 -0
  1089. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/LICENSE +21 -0
  1090. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/README.md +148 -0
  1091. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/index.js +67 -0
  1092. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-equal-shallow/LICENSE +21 -0
  1093. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-equal-shallow/README.md +80 -0
  1094. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-equal-shallow/index.js +27 -0
  1095. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-equal-shallow/node_modules/is-primitive/README.md +58 -0
  1096. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-equal-shallow/node_modules/is-primitive/index.js +21 -0
  1097. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-equal-shallow/node_modules/is-primitive/package.json +69 -0
  1098. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-equal-shallow/package.json +77 -0
  1099. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-primitive/LICENSE +21 -0
  1100. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-primitive/README.md +57 -0
  1101. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-primitive/index.js +13 -0
  1102. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/node_modules/is-primitive/package.json +68 -0
  1103. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/node_modules/regex-cache/package.json +75 -0
  1104. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/node_modules/micromatch/package.json +121 -0
  1105. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/anymatch/package.json +69 -0
  1106. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/arrify/index.js +8 -0
  1107. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/arrify/license +21 -0
  1108. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/arrify/package.json +61 -0
  1109. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/arrify/readme.md +36 -0
  1110. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/async-each/.npmignore +25 -0
  1111. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/async-each/CHANGELOG.md +20 -0
  1112. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/async-each/README.md +64 -0
  1113. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/async-each/component.json +18 -0
  1114. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/async-each/index.js +38 -0
  1115. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/async-each/package.json +61 -0
  1116. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/.npmignore +2 -0
  1117. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/.tern-project +8 -0
  1118. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/.travis.yml +23 -0
  1119. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/CHANGELOG.md +16 -0
  1120. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/LICENSE +22 -0
  1121. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/Readme.md +79 -0
  1122. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/binding.gyp +21 -0
  1123. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/.target.mk +46 -0
  1124. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/Makefile +355 -0
  1125. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/Release/.deps/Release/.node.d +1 -0
  1126. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/Release/.deps/Release/fse.node.d +1 -0
  1127. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d +45 -0
  1128. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/Release/.node +0 -0
  1129. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/Release/fse.node +0 -0
  1130. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/Release/linker.lock +0 -0
  1131. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/binding.Makefile +6 -0
  1132. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/config.gypi +136 -0
  1133. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/fse.target.mk +160 -0
  1134. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/build/gyp-mac-tool +512 -0
  1135. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/fsevents-0.3.0.tgz +0 -0
  1136. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/fsevents.cc +100 -0
  1137. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/fsevents.js +102 -0
  1138. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/.dntrc +30 -0
  1139. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/CHANGELOG.md +294 -0
  1140. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/LICENSE.md +13 -0
  1141. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/README.md +1402 -0
  1142. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/appveyor.yml +38 -0
  1143. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/include_dirs.js +1 -0
  1144. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/nan.h +2322 -0
  1145. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/nan_implementation_12_inl.h +261 -0
  1146. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/nan_implementation_pre_12_inl.h +267 -0
  1147. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/nan_new.h +328 -0
  1148. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/nan_string_bytes.h +312 -0
  1149. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/node_modules/nan/package.json +89 -0
  1150. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/package.json +74 -0
  1151. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/async.cc +41 -0
  1152. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/constants.cc +111 -0
  1153. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/locking.cc +27 -0
  1154. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/methods.cc +48 -0
  1155. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/storage.cc +29 -0
  1156. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/src/thread.cc +71 -0
  1157. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/test/fsevents.js +27 -0
  1158. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/fsevents/test/function.js +93 -0
  1159. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/glob-parent/.npmignore +4 -0
  1160. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/glob-parent/.travis.yml +4 -0
  1161. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/glob-parent/LICENSE +15 -0
  1162. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/glob-parent/README.md +37 -0
  1163. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/glob-parent/index.js +9 -0
  1164. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/glob-parent/package.json +58 -0
  1165. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/glob-parent/test.js +22 -0
  1166. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-binary-path/index.js +18 -0
  1167. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-binary-path/node_modules/binary-extensions/binary-extensions.json +186 -0
  1168. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-binary-path/node_modules/binary-extensions/license +21 -0
  1169. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-binary-path/node_modules/binary-extensions/package.json +77 -0
  1170. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-binary-path/node_modules/binary-extensions/readme.md +33 -0
  1171. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-binary-path/package.json +67 -0
  1172. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-binary-path/readme.md +33 -0
  1173. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-glob/LICENSE +21 -0
  1174. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-glob/README.md +69 -0
  1175. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-glob/index.js +11 -0
  1176. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/is-glob/package.json +72 -0
  1177. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/.npmignore +15 -0
  1178. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/.travis.yml +5 -0
  1179. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/LICENSE +18 -0
  1180. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/README.md +233 -0
  1181. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/examples/Readme.md +37 -0
  1182. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/examples/callback-api.js +10 -0
  1183. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/examples/grep.js +71 -0
  1184. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/examples/package.json +9 -0
  1185. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/examples/stream-api-pipe.js +19 -0
  1186. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/examples/stream-api.js +15 -0
  1187. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/.npmignore +5 -0
  1188. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/LICENSE +18 -0
  1189. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/README.md +15 -0
  1190. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/duplex.js +1 -0
  1191. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
  1192. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
  1193. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/lib/_stream_readable.js +982 -0
  1194. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/lib/_stream_transform.js +210 -0
  1195. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/lib/_stream_writable.js +386 -0
  1196. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/core-util-is/README.md +3 -0
  1197. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/core-util-is/float.patch +604 -0
  1198. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +107 -0
  1199. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/core-util-is/package.json +53 -0
  1200. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/core-util-is/util.js +106 -0
  1201. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
  1202. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
  1203. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/inherits/inherits.js +1 -0
  1204. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
  1205. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/inherits/package.json +50 -0
  1206. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/inherits/test.js +25 -0
  1207. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/isarray/README.md +54 -0
  1208. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/isarray/build/build.js +209 -0
  1209. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
  1210. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/isarray/index.js +3 -0
  1211. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/isarray/package.json +49 -0
  1212. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/string_decoder/.npmignore +2 -0
  1213. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/string_decoder/LICENSE +20 -0
  1214. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/string_decoder/README.md +7 -0
  1215. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/string_decoder/index.js +221 -0
  1216. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/node_modules/string_decoder/package.json +53 -0
  1217. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/package.json +69 -0
  1218. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/passthrough.js +1 -0
  1219. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/readable.js +8 -0
  1220. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/transform.js +1 -0
  1221. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/node_modules/readable-stream/writable.js +1 -0
  1222. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/package.json +71 -0
  1223. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/readdirp.js +288 -0
  1224. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/stream-api.js +100 -0
  1225. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1 +0 -0
  1226. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2 +0 -0
  1227. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3 +0 -0
  1228. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1 +0 -0
  1229. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1 +0 -0
  1230. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2 +0 -0
  1231. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/bed/root_file1.ext1 +0 -0
  1232. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/bed/root_file2.ext2 +0 -0
  1233. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/bed/root_file3.ext3 +0 -0
  1234. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/readdirp-stream.js +310 -0
  1235. data/jasmine/node_modules/karma/node_modules/chokidar/node_modules/readdirp/test/readdirp.js +289 -0
  1236. data/jasmine/node_modules/karma/node_modules/chokidar/package.json +87 -0
  1237. data/jasmine/node_modules/karma/node_modules/colors/MIT-LICENSE.txt +22 -0
  1238. data/jasmine/node_modules/karma/node_modules/colors/ReadMe.md +77 -0
  1239. data/jasmine/node_modules/karma/node_modules/colors/colors.js +342 -0
  1240. data/jasmine/node_modules/karma/node_modules/colors/example.html +76 -0
  1241. data/jasmine/node_modules/karma/node_modules/colors/example.js +77 -0
  1242. data/jasmine/node_modules/karma/node_modules/colors/package.json +45 -0
  1243. data/jasmine/node_modules/karma/node_modules/colors/test.js +70 -0
  1244. data/jasmine/node_modules/karma/node_modules/colors/themes/winston-dark.js +12 -0
  1245. data/jasmine/node_modules/karma/node_modules/colors/themes/winston-light.js +12 -0
  1246. data/jasmine/node_modules/karma/node_modules/connect/.npmignore +4 -0
  1247. data/jasmine/node_modules/karma/node_modules/connect/History.md +1754 -0
  1248. data/jasmine/node_modules/karma/node_modules/connect/LICENSE +24 -0
  1249. data/jasmine/node_modules/karma/node_modules/connect/Readme.md +97 -0
  1250. data/jasmine/node_modules/karma/node_modules/connect/examples/basicAuth.js +35 -0
  1251. data/jasmine/node_modules/karma/node_modules/connect/examples/bodyParser.js +40 -0
  1252. data/jasmine/node_modules/karma/node_modules/connect/examples/cookieSession.js +41 -0
  1253. data/jasmine/node_modules/karma/node_modules/connect/examples/csrf.js +36 -0
  1254. data/jasmine/node_modules/karma/node_modules/connect/examples/directory.js +12 -0
  1255. data/jasmine/node_modules/karma/node_modules/connect/examples/error.js +19 -0
  1256. data/jasmine/node_modules/karma/node_modules/connect/examples/favicon.js +12 -0
  1257. data/jasmine/node_modules/karma/node_modules/connect/examples/helloworld.js +12 -0
  1258. data/jasmine/node_modules/karma/node_modules/connect/examples/limit.js +41 -0
  1259. data/jasmine/node_modules/karma/node_modules/connect/examples/logger.fast.js +14 -0
  1260. data/jasmine/node_modules/karma/node_modules/connect/examples/logger.format.js +62 -0
  1261. data/jasmine/node_modules/karma/node_modules/connect/examples/logger.js +14 -0
  1262. data/jasmine/node_modules/karma/node_modules/connect/examples/mounting.js +33 -0
  1263. data/jasmine/node_modules/karma/node_modules/connect/examples/profiler.js +17 -0
  1264. data/jasmine/node_modules/karma/node_modules/connect/examples/public/form.html +5 -0
  1265. data/jasmine/node_modules/karma/node_modules/connect/examples/public/tobi.jpeg +0 -0
  1266. data/jasmine/node_modules/karma/node_modules/connect/examples/rollingSession.js +64 -0
  1267. data/jasmine/node_modules/karma/node_modules/connect/examples/session.js +198 -0
  1268. data/jasmine/node_modules/karma/node_modules/connect/examples/static.js +14 -0
  1269. data/jasmine/node_modules/karma/node_modules/connect/examples/upload-stream.js +37 -0
  1270. data/jasmine/node_modules/karma/node_modules/connect/examples/upload.js +29 -0
  1271. data/jasmine/node_modules/karma/node_modules/connect/examples/vhost.js +31 -0
  1272. data/jasmine/node_modules/karma/node_modules/connect/index.js +2 -0
  1273. data/jasmine/node_modules/karma/node_modules/connect/lib/cache.js +81 -0
  1274. data/jasmine/node_modules/karma/node_modules/connect/lib/connect.js +100 -0
  1275. data/jasmine/node_modules/karma/node_modules/connect/lib/index.js +50 -0
  1276. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/basicAuth.js +24 -0
  1277. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/bodyParser.js +68 -0
  1278. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/compress.js +20 -0
  1279. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/cookieParser.js +19 -0
  1280. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/cookieSession.js +123 -0
  1281. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/csrf.js +18 -0
  1282. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/directory.js +20 -0
  1283. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/errorHandler.js +17 -0
  1284. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/favicon.js +34 -0
  1285. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/json.js +54 -0
  1286. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/limit.js +90 -0
  1287. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/logger.js +51 -0
  1288. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/methodOverride.js +47 -0
  1289. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/multipart.js +168 -0
  1290. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/query.js +45 -0
  1291. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/responseTime.js +17 -0
  1292. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/session.js +39 -0
  1293. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/static.js +19 -0
  1294. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/staticCache.js +238 -0
  1295. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/timeout.js +17 -0
  1296. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/urlencoded.js +53 -0
  1297. data/jasmine/node_modules/karma/node_modules/connect/lib/middleware/vhost.js +44 -0
  1298. data/jasmine/node_modules/karma/node_modules/connect/lib/patch.js +183 -0
  1299. data/jasmine/node_modules/karma/node_modules/connect/lib/proto.js +220 -0
  1300. data/jasmine/node_modules/karma/node_modules/connect/lib/public/favicon.ico +0 -0
  1301. data/jasmine/node_modules/karma/node_modules/connect/lib/utils.js +415 -0
  1302. data/jasmine/node_modules/karma/node_modules/connect/node_modules/basic-auth-connect/.npmignore +1 -0
  1303. data/jasmine/node_modules/karma/node_modules/connect/node_modules/basic-auth-connect/.travis.yml +3 -0
  1304. data/jasmine/node_modules/karma/node_modules/connect/node_modules/basic-auth-connect/Makefile +8 -0
  1305. data/jasmine/node_modules/karma/node_modules/connect/node_modules/basic-auth-connect/README.md +60 -0
  1306. data/jasmine/node_modules/karma/node_modules/connect/node_modules/basic-auth-connect/index.js +128 -0
  1307. data/jasmine/node_modules/karma/node_modules/connect/node_modules/basic-auth-connect/package.json +48 -0
  1308. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/HISTORY.md +210 -0
  1309. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/LICENSE +23 -0
  1310. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/README.md +192 -0
  1311. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/index.js +84 -0
  1312. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/lib/read.js +145 -0
  1313. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/lib/types/json.js +108 -0
  1314. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/lib/types/raw.js +61 -0
  1315. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/lib/types/text.js +66 -0
  1316. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/lib/types/urlencoded.js +206 -0
  1317. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/.npmignore +5 -0
  1318. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/.travis.yml +5 -0
  1319. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/Changelog.md +29 -0
  1320. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/LICENSE +21 -0
  1321. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/README.md +137 -0
  1322. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/README.md~ +54 -0
  1323. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/dbcs-codec.js +564 -0
  1324. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/dbcs-data.js +168 -0
  1325. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/index.js +20 -0
  1326. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/internal.js +81 -0
  1327. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/sbcs-codec.js +76 -0
  1328. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/sbcs-data-generated.js +450 -0
  1329. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/sbcs-data.js +168 -0
  1330. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  1331. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  1332. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  1333. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  1334. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  1335. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  1336. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
  1337. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  1338. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/utf16.js +202 -0
  1339. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/encodings/utf7.js +284 -0
  1340. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/lib/extend-node.js +210 -0
  1341. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/lib/index.js +122 -0
  1342. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/lib/streams.js +118 -0
  1343. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/iconv-lite/package.json +110 -0
  1344. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/on-finished/HISTORY.md +66 -0
  1345. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/on-finished/LICENSE +23 -0
  1346. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/on-finished/README.md +90 -0
  1347. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/on-finished/index.js +127 -0
  1348. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/on-finished/node_modules/ee-first/LICENSE +22 -0
  1349. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/on-finished/node_modules/ee-first/README.md +63 -0
  1350. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/on-finished/node_modules/ee-first/index.js +60 -0
  1351. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/on-finished/node_modules/ee-first/package.json +64 -0
  1352. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/on-finished/package.json +70 -0
  1353. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/raw-body/.npmignore +3 -0
  1354. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/raw-body/HISTORY.md +114 -0
  1355. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/raw-body/README.md +103 -0
  1356. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/raw-body/index.js +224 -0
  1357. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/node_modules/raw-body/package.json +71 -0
  1358. data/jasmine/node_modules/karma/node_modules/connect/node_modules/body-parser/package.json +96 -0
  1359. data/jasmine/node_modules/karma/node_modules/connect/node_modules/bytes/.npmignore +1 -0
  1360. data/jasmine/node_modules/karma/node_modules/connect/node_modules/bytes/History.md +25 -0
  1361. data/jasmine/node_modules/karma/node_modules/connect/node_modules/bytes/Makefile +7 -0
  1362. data/jasmine/node_modules/karma/node_modules/connect/node_modules/bytes/Readme.md +54 -0
  1363. data/jasmine/node_modules/karma/node_modules/connect/node_modules/bytes/component.json +7 -0
  1364. data/jasmine/node_modules/karma/node_modules/connect/node_modules/bytes/index.js +41 -0
  1365. data/jasmine/node_modules/karma/node_modules/connect/node_modules/bytes/package.json +49 -0
  1366. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/HISTORY.md +95 -0
  1367. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/LICENSE +23 -0
  1368. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/README.md +115 -0
  1369. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/index.js +231 -0
  1370. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/HISTORY.md +74 -0
  1371. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/LICENSE +22 -0
  1372. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/README.md +94 -0
  1373. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/index.js +160 -0
  1374. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/HISTORY.md +97 -0
  1375. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/LICENSE +22 -0
  1376. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/README.md +102 -0
  1377. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/index.js +63 -0
  1378. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/HISTORY.md +188 -0
  1379. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/LICENSE +22 -0
  1380. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/README.md +76 -0
  1381. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/db.json +6325 -0
  1382. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/index.js +11 -0
  1383. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/package.json +94 -0
  1384. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/mime-types/package.json +84 -0
  1385. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/negotiator/LICENSE +23 -0
  1386. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/negotiator/README.md +161 -0
  1387. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/negotiator/lib/charset.js +87 -0
  1388. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/negotiator/lib/encoding.js +117 -0
  1389. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/negotiator/lib/language.js +100 -0
  1390. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/negotiator/lib/mediaType.js +122 -0
  1391. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/negotiator/lib/negotiator.js +37 -0
  1392. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/node_modules/negotiator/package.json +78 -0
  1393. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/accepts/package.json +91 -0
  1394. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/LICENSE +22 -0
  1395. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/README.md +41 -0
  1396. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/index.js +39 -0
  1397. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/node_modules/mime-db/HISTORY.md +188 -0
  1398. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/node_modules/mime-db/LICENSE +22 -0
  1399. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/node_modules/mime-db/README.md +76 -0
  1400. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/node_modules/mime-db/db.json +6325 -0
  1401. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/node_modules/mime-db/index.js +11 -0
  1402. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/node_modules/mime-db/package.json +93 -0
  1403. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/compressible/package.json +96 -0
  1404. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/vary/.npmignore +3 -0
  1405. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/vary/History.md +16 -0
  1406. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/vary/LICENSE +22 -0
  1407. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/vary/README.md +59 -0
  1408. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/vary/index.js +112 -0
  1409. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/node_modules/vary/package.json +71 -0
  1410. data/jasmine/node_modules/karma/node_modules/connect/node_modules/compression/package.json +97 -0
  1411. data/jasmine/node_modules/karma/node_modules/connect/node_modules/connect-timeout/HISTORY.md +44 -0
  1412. data/jasmine/node_modules/karma/node_modules/connect/node_modules/connect-timeout/LICENSE +23 -0
  1413. data/jasmine/node_modules/karma/node_modules/connect/node_modules/connect-timeout/README.md +141 -0
  1414. data/jasmine/node_modules/karma/node_modules/connect/node_modules/connect-timeout/index.js +79 -0
  1415. data/jasmine/node_modules/karma/node_modules/connect/node_modules/connect-timeout/node_modules/ms/.npmignore +5 -0
  1416. data/jasmine/node_modules/karma/node_modules/connect/node_modules/connect-timeout/node_modules/ms/README.md +33 -0
  1417. data/jasmine/node_modules/karma/node_modules/connect/node_modules/connect-timeout/node_modules/ms/index.js +111 -0
  1418. data/jasmine/node_modules/karma/node_modules/connect/node_modules/connect-timeout/node_modules/ms/package.json +43 -0
  1419. data/jasmine/node_modules/karma/node_modules/connect/node_modules/connect-timeout/package.json +98 -0
  1420. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/HISTORY.md +51 -0
  1421. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/LICENSE +22 -0
  1422. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/README.md +78 -0
  1423. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/index.js +59 -0
  1424. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/lib/parse.js +90 -0
  1425. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/node_modules/cookie-signature/.npmignore +4 -0
  1426. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/node_modules/cookie-signature/History.md +38 -0
  1427. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/node_modules/cookie-signature/Readme.md +42 -0
  1428. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/node_modules/cookie-signature/index.js +51 -0
  1429. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/node_modules/cookie-signature/package.json +59 -0
  1430. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-parser/package.json +72 -0
  1431. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-signature/.npmignore +4 -0
  1432. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-signature/History.md +27 -0
  1433. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-signature/Makefile +7 -0
  1434. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-signature/Readme.md +42 -0
  1435. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-signature/index.js +51 -0
  1436. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie-signature/package.json +55 -0
  1437. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie/.npmignore +2 -0
  1438. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie/LICENSE +9 -0
  1439. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie/README.md +44 -0
  1440. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie/index.js +75 -0
  1441. data/jasmine/node_modules/karma/node_modules/connect/node_modules/cookie/package.json +53 -0
  1442. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/HISTORY.md +90 -0
  1443. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/LICENSE +22 -0
  1444. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/README.md +123 -0
  1445. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/index.js +241 -0
  1446. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/HISTORY.md +55 -0
  1447. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/LICENSE +22 -0
  1448. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/README.md +78 -0
  1449. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/index.js +79 -0
  1450. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/base64-url/LICENSE +15 -0
  1451. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/base64-url/README.md +53 -0
  1452. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/base64-url/index.js +24 -0
  1453. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/base64-url/package.json +69 -0
  1454. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/rndm/LICENSE +22 -0
  1455. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/rndm/README.md +27 -0
  1456. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/rndm/index.js +24 -0
  1457. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/rndm/package.json +68 -0
  1458. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/scmp/.npmignore +3 -0
  1459. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/scmp/.travis.yml +6 -0
  1460. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/scmp/LICENSE +24 -0
  1461. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/scmp/README.md +29 -0
  1462. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/scmp/benchmark/benchmark.js +15 -0
  1463. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/scmp/index.js +21 -0
  1464. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/scmp/package.json +55 -0
  1465. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/scmp/test/test.js +24 -0
  1466. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/HISTORY.md +26 -0
  1467. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/LICENSE +22 -0
  1468. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/README.md +78 -0
  1469. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/index.js +110 -0
  1470. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/node_modules/native-or-bluebird/LICENSE +22 -0
  1471. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/node_modules/native-or-bluebird/README.md +48 -0
  1472. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/node_modules/native-or-bluebird/index.js +10 -0
  1473. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/node_modules/native-or-bluebird/package.json +65 -0
  1474. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/node_modules/native-or-bluebird/promise.js +8 -0
  1475. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/node_modules/uid-safe/package.json +84 -0
  1476. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/csrf/package.json +83 -0
  1477. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/HISTORY.md +63 -0
  1478. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/LICENSE +22 -0
  1479. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/README.md +63 -0
  1480. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/index.js +80 -0
  1481. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/inherits/LICENSE +16 -0
  1482. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/inherits/README.md +42 -0
  1483. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/inherits/inherits.js +1 -0
  1484. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/inherits/inherits_browser.js +23 -0
  1485. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/inherits/package.json +50 -0
  1486. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/inherits/test.js +25 -0
  1487. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/statuses/LICENSE +22 -0
  1488. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/statuses/README.md +114 -0
  1489. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/statuses/codes.json +64 -0
  1490. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/statuses/index.js +60 -0
  1491. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/node_modules/statuses/package.json +83 -0
  1492. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/node_modules/http-errors/package.json +74 -0
  1493. data/jasmine/node_modules/karma/node_modules/connect/node_modules/csurf/package.json +100 -0
  1494. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/.jshintrc +3 -0
  1495. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/.npmignore +6 -0
  1496. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/History.md +150 -0
  1497. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/Makefile +33 -0
  1498. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/Readme.md +156 -0
  1499. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/browser.js +147 -0
  1500. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/component.json +19 -0
  1501. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/debug.js +197 -0
  1502. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/node.js +129 -0
  1503. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/node_modules/ms/.npmignore +5 -0
  1504. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/node_modules/ms/README.md +33 -0
  1505. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/node_modules/ms/index.js +111 -0
  1506. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/node_modules/ms/package.json +43 -0
  1507. data/jasmine/node_modules/karma/node_modules/connect/node_modules/debug/package.json +70 -0
  1508. data/jasmine/node_modules/karma/node_modules/connect/node_modules/depd/History.md +62 -0
  1509. data/jasmine/node_modules/karma/node_modules/connect/node_modules/depd/LICENSE +22 -0
  1510. data/jasmine/node_modules/karma/node_modules/connect/node_modules/depd/Readme.md +266 -0
  1511. data/jasmine/node_modules/karma/node_modules/connect/node_modules/depd/index.js +522 -0
  1512. data/jasmine/node_modules/karma/node_modules/connect/node_modules/depd/lib/compat/buffer-concat.js +33 -0
  1513. data/jasmine/node_modules/karma/node_modules/connect/node_modules/depd/lib/compat/callsite-tostring.js +101 -0
  1514. data/jasmine/node_modules/karma/node_modules/connect/node_modules/depd/lib/compat/index.js +69 -0
  1515. data/jasmine/node_modules/karma/node_modules/connect/node_modules/depd/package.json +66 -0
  1516. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/HISTORY.md +63 -0
  1517. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/LICENSE +23 -0
  1518. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/README.md +57 -0
  1519. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/index.js +161 -0
  1520. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/HISTORY.md +74 -0
  1521. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/LICENSE +22 -0
  1522. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/README.md +94 -0
  1523. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/index.js +160 -0
  1524. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/HISTORY.md +97 -0
  1525. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/LICENSE +22 -0
  1526. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/README.md +102 -0
  1527. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/index.js +63 -0
  1528. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/HISTORY.md +188 -0
  1529. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/LICENSE +22 -0
  1530. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/README.md +76 -0
  1531. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/db.json +6325 -0
  1532. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/index.js +11 -0
  1533. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/package.json +94 -0
  1534. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/mime-types/package.json +84 -0
  1535. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/negotiator/LICENSE +23 -0
  1536. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/negotiator/README.md +161 -0
  1537. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/negotiator/lib/charset.js +87 -0
  1538. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/negotiator/lib/encoding.js +117 -0
  1539. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/negotiator/lib/language.js +100 -0
  1540. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/negotiator/lib/mediaType.js +122 -0
  1541. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/negotiator/lib/negotiator.js +37 -0
  1542. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/node_modules/negotiator/package.json +78 -0
  1543. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/accepts/package.json +91 -0
  1544. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/escape-html/.npmignore +2 -0
  1545. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/escape-html/Makefile +11 -0
  1546. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/escape-html/Readme.md +15 -0
  1547. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/escape-html/component.json +10 -0
  1548. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/escape-html/index.js +16 -0
  1549. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/node_modules/escape-html/package.json +45 -0
  1550. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/package.json +90 -0
  1551. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/public/error.html +14 -0
  1552. data/jasmine/node_modules/karma/node_modules/connect/node_modules/errorhandler/public/style.css +35 -0
  1553. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/HISTORY.md +183 -0
  1554. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/LICENSE +24 -0
  1555. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/README.md +222 -0
  1556. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/index.js +525 -0
  1557. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/.npmignore +4 -0
  1558. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/LICENSE +22 -0
  1559. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/README.md +89 -0
  1560. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/crc.js +71 -0
  1561. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/crc1.js +21 -0
  1562. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/crc16.js +25 -0
  1563. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/crc16_ccitt.js +25 -0
  1564. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/crc16_modbus.js +25 -0
  1565. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/crc24.js +25 -0
  1566. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/crc32.js +25 -0
  1567. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/crc8.js +25 -0
  1568. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/crc8_1wire.js +25 -0
  1569. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/create.js +10 -0
  1570. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/hex.js +9 -0
  1571. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/lib/index.js +11 -0
  1572. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/crc/package.json +57 -0
  1573. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/.npmignore +2 -0
  1574. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/LICENSE +22 -0
  1575. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/README.md +44 -0
  1576. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/index.js +27 -0
  1577. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/base64-url/LICENSE +15 -0
  1578. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/base64-url/README.md +53 -0
  1579. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/base64-url/index.js +24 -0
  1580. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/base64-url/package.json +69 -0
  1581. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/HISTORY.md +21 -0
  1582. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/LICENSE +22 -0
  1583. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/README.md +114 -0
  1584. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/child_process.js +8 -0
  1585. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/crypto.js +9 -0
  1586. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/dns.js +16 -0
  1587. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/fs.js +52 -0
  1588. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/native-or-bluebird/LICENSE +22 -0
  1589. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/native-or-bluebird/README.md +48 -0
  1590. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/native-or-bluebird/index.js +10 -0
  1591. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/native-or-bluebird/package.json +65 -0
  1592. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/native-or-bluebird/promise.js +6 -0
  1593. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/thenify-all/History.md +11 -0
  1594. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/thenify-all/LICENSE +22 -0
  1595. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/thenify-all/README.md +66 -0
  1596. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/thenify-all/index.js +73 -0
  1597. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/thenify-all/package.json +75 -0
  1598. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/thenify/LICENSE +22 -0
  1599. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/thenify/README.md +68 -0
  1600. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/thenify/index.js +62 -0
  1601. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/node_modules/thenify/package.json +72 -0
  1602. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/package.json +74 -0
  1603. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/node_modules/mz/zlib.js +13 -0
  1604. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/package.json +58 -0
  1605. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/uid-safe/test.js +46 -0
  1606. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/utils-merge/.travis.yml +6 -0
  1607. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/utils-merge/LICENSE +20 -0
  1608. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/utils-merge/README.md +34 -0
  1609. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/utils-merge/index.js +23 -0
  1610. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/node_modules/utils-merge/package.json +60 -0
  1611. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/package.json +92 -0
  1612. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/session/cookie.js +128 -0
  1613. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/session/memory.js +151 -0
  1614. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/session/session.js +124 -0
  1615. data/jasmine/node_modules/karma/node_modules/connect/node_modules/express-session/session/store.js +84 -0
  1616. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/HISTORY.md +33 -0
  1617. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/LICENSE +22 -0
  1618. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/README.md +133 -0
  1619. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/index.js +163 -0
  1620. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/node_modules/escape-html/.npmignore +2 -0
  1621. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/node_modules/escape-html/Makefile +11 -0
  1622. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/node_modules/escape-html/Readme.md +15 -0
  1623. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/node_modules/escape-html/component.json +10 -0
  1624. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/node_modules/escape-html/index.js +16 -0
  1625. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/node_modules/escape-html/package.json +45 -0
  1626. data/jasmine/node_modules/karma/node_modules/connect/node_modules/finalhandler/package.json +79 -0
  1627. data/jasmine/node_modules/karma/node_modules/connect/node_modules/fresh/HISTORY.md +24 -0
  1628. data/jasmine/node_modules/karma/node_modules/connect/node_modules/fresh/LICENSE +22 -0
  1629. data/jasmine/node_modules/karma/node_modules/connect/node_modules/fresh/README.md +58 -0
  1630. data/jasmine/node_modules/karma/node_modules/connect/node_modules/fresh/index.js +53 -0
  1631. data/jasmine/node_modules/karma/node_modules/connect/node_modules/fresh/package.json +76 -0
  1632. data/jasmine/node_modules/karma/node_modules/connect/node_modules/media-typer/HISTORY.md +22 -0
  1633. data/jasmine/node_modules/karma/node_modules/connect/node_modules/media-typer/LICENSE +22 -0
  1634. data/jasmine/node_modules/karma/node_modules/connect/node_modules/media-typer/README.md +81 -0
  1635. data/jasmine/node_modules/karma/node_modules/connect/node_modules/media-typer/index.js +270 -0
  1636. data/jasmine/node_modules/karma/node_modules/connect/node_modules/media-typer/package.json +58 -0
  1637. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/HISTORY.md +72 -0
  1638. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/LICENSE +23 -0
  1639. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/README.md +173 -0
  1640. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/index.js +130 -0
  1641. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/methods/.npmignore +1 -0
  1642. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/methods/History.md +20 -0
  1643. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/methods/LICENSE +23 -0
  1644. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/methods/Readme.md +4 -0
  1645. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/methods/index.js +41 -0
  1646. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/methods/package.json +57 -0
  1647. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/methods/test/methods.js +33 -0
  1648. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/vary/.npmignore +3 -0
  1649. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/vary/History.md +16 -0
  1650. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/vary/LICENSE +22 -0
  1651. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/vary/README.md +59 -0
  1652. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/vary/index.js +112 -0
  1653. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/node_modules/vary/package.json +71 -0
  1654. data/jasmine/node_modules/karma/node_modules/connect/node_modules/method-override/package.json +90 -0
  1655. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/HISTORY.md +72 -0
  1656. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/LICENSE +23 -0
  1657. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/README.md +200 -0
  1658. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/index.js +326 -0
  1659. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/basic-auth/Readme.md +26 -0
  1660. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/basic-auth/index.js +28 -0
  1661. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/basic-auth/package.json +55 -0
  1662. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/on-finished/HISTORY.md +66 -0
  1663. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/on-finished/LICENSE +23 -0
  1664. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/on-finished/README.md +90 -0
  1665. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/on-finished/index.js +127 -0
  1666. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/on-finished/node_modules/ee-first/LICENSE +22 -0
  1667. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/on-finished/node_modules/ee-first/README.md +63 -0
  1668. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/on-finished/node_modules/ee-first/index.js +60 -0
  1669. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/on-finished/node_modules/ee-first/package.json +63 -0
  1670. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/node_modules/on-finished/package.json +70 -0
  1671. data/jasmine/node_modules/karma/node_modules/connect/node_modules/morgan/package.json +90 -0
  1672. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/.jshintrc +70 -0
  1673. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/.npmignore +2 -0
  1674. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/.travis.yml +6 -0
  1675. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/CHANGELOG.md +285 -0
  1676. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/LICENSE +7 -0
  1677. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/README.md +238 -0
  1678. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/index.js +718 -0
  1679. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/.npmignore +5 -0
  1680. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/LICENSE +18 -0
  1681. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/README.md +15 -0
  1682. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/duplex.js +1 -0
  1683. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/float.patch +923 -0
  1684. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
  1685. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
  1686. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_readable.js +951 -0
  1687. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_transform.js +209 -0
  1688. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_writable.js +477 -0
  1689. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/core-util-is/README.md +3 -0
  1690. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/core-util-is/float.patch +604 -0
  1691. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +107 -0
  1692. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/core-util-is/package.json +53 -0
  1693. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/core-util-is/util.js +106 -0
  1694. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
  1695. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
  1696. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/inherits/inherits.js +1 -0
  1697. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
  1698. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/inherits/package.json +50 -0
  1699. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/inherits/test.js +25 -0
  1700. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/isarray/README.md +54 -0
  1701. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/isarray/build/build.js +209 -0
  1702. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
  1703. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/isarray/index.js +3 -0
  1704. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/isarray/package.json +49 -0
  1705. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/string_decoder/.npmignore +2 -0
  1706. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/string_decoder/LICENSE +20 -0
  1707. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/string_decoder/README.md +7 -0
  1708. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/string_decoder/index.js +221 -0
  1709. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/string_decoder/package.json +53 -0
  1710. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/package.json +69 -0
  1711. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/passthrough.js +1 -0
  1712. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/readable.js +7 -0
  1713. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/transform.js +1 -0
  1714. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/writable.js +1 -0
  1715. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/.npmignore +1 -0
  1716. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/README.md +14 -0
  1717. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/index.js +16 -0
  1718. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/package.json +47 -0
  1719. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/test/test.js +20 -0
  1720. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/test/test.txt +1 -0
  1721. data/jasmine/node_modules/karma/node_modules/connect/node_modules/multiparty/package.json +63 -0
  1722. data/jasmine/node_modules/karma/node_modules/connect/node_modules/on-headers/.npmignore +3 -0
  1723. data/jasmine/node_modules/karma/node_modules/connect/node_modules/on-headers/History.md +11 -0
  1724. data/jasmine/node_modules/karma/node_modules/connect/node_modules/on-headers/LICENSE +22 -0
  1725. data/jasmine/node_modules/karma/node_modules/connect/node_modules/on-headers/README.md +59 -0
  1726. data/jasmine/node_modules/karma/node_modules/connect/node_modules/on-headers/index.js +91 -0
  1727. data/jasmine/node_modules/karma/node_modules/connect/node_modules/on-headers/package.json +59 -0
  1728. data/jasmine/node_modules/karma/node_modules/connect/node_modules/parseurl/.npmignore +4 -0
  1729. data/jasmine/node_modules/karma/node_modules/connect/node_modules/parseurl/HISTORY.md +42 -0
  1730. data/jasmine/node_modules/karma/node_modules/connect/node_modules/parseurl/LICENSE +24 -0
  1731. data/jasmine/node_modules/karma/node_modules/connect/node_modules/parseurl/README.md +107 -0
  1732. data/jasmine/node_modules/karma/node_modules/connect/node_modules/parseurl/index.js +136 -0
  1733. data/jasmine/node_modules/karma/node_modules/connect/node_modules/parseurl/package.json +80 -0
  1734. data/jasmine/node_modules/karma/node_modules/connect/node_modules/pause/.npmignore +4 -0
  1735. data/jasmine/node_modules/karma/node_modules/connect/node_modules/pause/History.md +5 -0
  1736. data/jasmine/node_modules/karma/node_modules/connect/node_modules/pause/Makefile +7 -0
  1737. data/jasmine/node_modules/karma/node_modules/connect/node_modules/pause/Readme.md +29 -0
  1738. data/jasmine/node_modules/karma/node_modules/connect/node_modules/pause/index.js +29 -0
  1739. data/jasmine/node_modules/karma/node_modules/connect/node_modules/pause/package.json +31 -0
  1740. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/.jshintignore +1 -0
  1741. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/.jshintrc +10 -0
  1742. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/.npmignore +18 -0
  1743. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/.travis.yml +4 -0
  1744. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/CHANGELOG.md +47 -0
  1745. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/CONTRIBUTING.md +1 -0
  1746. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/LICENSE +28 -0
  1747. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/Makefile +8 -0
  1748. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/README.md +213 -0
  1749. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/index.js +1 -0
  1750. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/lib/index.js +15 -0
  1751. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/lib/parse.js +156 -0
  1752. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/lib/stringify.js +58 -0
  1753. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/lib/utils.js +139 -0
  1754. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/package.json +60 -0
  1755. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/test/parse.js +391 -0
  1756. data/jasmine/node_modules/karma/node_modules/connect/node_modules/qs/test/stringify.js +139 -0
  1757. data/jasmine/node_modules/karma/node_modules/connect/node_modules/response-time/.npmignore +3 -0
  1758. data/jasmine/node_modules/karma/node_modules/connect/node_modules/response-time/HISTORY.md +18 -0
  1759. data/jasmine/node_modules/karma/node_modules/connect/node_modules/response-time/LICENSE +23 -0
  1760. data/jasmine/node_modules/karma/node_modules/connect/node_modules/response-time/README.md +32 -0
  1761. data/jasmine/node_modules/karma/node_modules/connect/node_modules/response-time/index.js +45 -0
  1762. data/jasmine/node_modules/karma/node_modules/connect/node_modules/response-time/package.json +82 -0
  1763. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/HISTORY.md +75 -0
  1764. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/LICENSE +25 -0
  1765. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/README.md +120 -0
  1766. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/index.js +163 -0
  1767. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/HISTORY.md +55 -0
  1768. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/LICENSE +22 -0
  1769. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/README.md +141 -0
  1770. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/index.js +171 -0
  1771. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/.npmignore +5 -0
  1772. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/LICENSE +22 -0
  1773. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/README.md +98 -0
  1774. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/crc.js +71 -0
  1775. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/crc1.js +21 -0
  1776. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/crc16.js +25 -0
  1777. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/crc16_ccitt.js +25 -0
  1778. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/crc16_modbus.js +25 -0
  1779. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/crc24.js +25 -0
  1780. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/crc32.js +25 -0
  1781. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/crc8.js +25 -0
  1782. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/crc8_1wire.js +25 -0
  1783. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/create.js +11 -0
  1784. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/hex.js +9 -0
  1785. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/lib/index.js +11 -0
  1786. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/node_modules/crc/package.json +58 -0
  1787. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/etag/package.json +75 -0
  1788. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/ms/.npmignore +5 -0
  1789. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/ms/README.md +33 -0
  1790. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/ms/index.js +111 -0
  1791. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/node_modules/ms/package.json +43 -0
  1792. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-favicon/package.json +68 -0
  1793. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/HISTORY.md +75 -0
  1794. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/LICENSE +25 -0
  1795. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/README.md +123 -0
  1796. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/index.js +530 -0
  1797. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/HISTORY.md +74 -0
  1798. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/LICENSE +22 -0
  1799. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/README.md +94 -0
  1800. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/index.js +160 -0
  1801. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/HISTORY.md +97 -0
  1802. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/LICENSE +22 -0
  1803. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/README.md +102 -0
  1804. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/index.js +63 -0
  1805. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/HISTORY.md +188 -0
  1806. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/LICENSE +22 -0
  1807. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/README.md +76 -0
  1808. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/db.json +6325 -0
  1809. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/index.js +11 -0
  1810. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/package.json +94 -0
  1811. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/mime-types/package.json +84 -0
  1812. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/negotiator/LICENSE +23 -0
  1813. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/negotiator/README.md +161 -0
  1814. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/negotiator/lib/charset.js +87 -0
  1815. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/negotiator/lib/encoding.js +117 -0
  1816. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/negotiator/lib/language.js +100 -0
  1817. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/negotiator/lib/mediaType.js +122 -0
  1818. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/negotiator/lib/negotiator.js +37 -0
  1819. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/node_modules/negotiator/package.json +79 -0
  1820. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/accepts/package.json +92 -0
  1821. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/batch/.npmignore +4 -0
  1822. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/batch/History.md +71 -0
  1823. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/batch/Makefile +6 -0
  1824. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/batch/Readme.md +74 -0
  1825. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/batch/component.json +14 -0
  1826. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/batch/index.js +158 -0
  1827. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/node_modules/batch/package.json +42 -0
  1828. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/package.json +85 -0
  1829. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/directory.html +82 -0
  1830. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/application_xp.png +0 -0
  1831. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/application_xp_terminal.png +0 -0
  1832. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/box.png +0 -0
  1833. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/cd.png +0 -0
  1834. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/controller.png +0 -0
  1835. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/drive.png +0 -0
  1836. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/film.png +0 -0
  1837. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/folder.png +0 -0
  1838. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/font.png +0 -0
  1839. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/image.png +0 -0
  1840. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/map.png +0 -0
  1841. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page.png +0 -0
  1842. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_add.png +0 -0
  1843. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_attach.png +0 -0
  1844. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_code.png +0 -0
  1845. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_copy.png +0 -0
  1846. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_delete.png +0 -0
  1847. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_edit.png +0 -0
  1848. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_error.png +0 -0
  1849. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_excel.png +0 -0
  1850. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_find.png +0 -0
  1851. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_gear.png +0 -0
  1852. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_go.png +0 -0
  1853. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_green.png +0 -0
  1854. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_key.png +0 -0
  1855. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_lightning.png +0 -0
  1856. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_link.png +0 -0
  1857. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_paintbrush.png +0 -0
  1858. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_paste.png +0 -0
  1859. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_red.png +0 -0
  1860. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_refresh.png +0 -0
  1861. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_save.png +0 -0
  1862. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white.png +0 -0
  1863. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_acrobat.png +0 -0
  1864. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_actionscript.png +0 -0
  1865. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_add.png +0 -0
  1866. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_c.png +0 -0
  1867. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_camera.png +0 -0
  1868. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_cd.png +0 -0
  1869. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_code.png +0 -0
  1870. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_code_red.png +0 -0
  1871. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_coldfusion.png +0 -0
  1872. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_compressed.png +0 -0
  1873. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_copy.png +0 -0
  1874. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_cplusplus.png +0 -0
  1875. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_csharp.png +0 -0
  1876. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_cup.png +0 -0
  1877. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_database.png +0 -0
  1878. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_delete.png +0 -0
  1879. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_dvd.png +0 -0
  1880. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_edit.png +0 -0
  1881. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_error.png +0 -0
  1882. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_excel.png +0 -0
  1883. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_find.png +0 -0
  1884. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_flash.png +0 -0
  1885. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_freehand.png +0 -0
  1886. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_gear.png +0 -0
  1887. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_get.png +0 -0
  1888. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_go.png +0 -0
  1889. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_h.png +0 -0
  1890. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_horizontal.png +0 -0
  1891. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_key.png +0 -0
  1892. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_lightning.png +0 -0
  1893. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_link.png +0 -0
  1894. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_magnify.png +0 -0
  1895. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_medal.png +0 -0
  1896. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_office.png +0 -0
  1897. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_paint.png +0 -0
  1898. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_paintbrush.png +0 -0
  1899. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_paste.png +0 -0
  1900. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_php.png +0 -0
  1901. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_picture.png +0 -0
  1902. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_powerpoint.png +0 -0
  1903. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_put.png +0 -0
  1904. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_ruby.png +0 -0
  1905. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_stack.png +0 -0
  1906. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_star.png +0 -0
  1907. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_swoosh.png +0 -0
  1908. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_text.png +0 -0
  1909. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_text_width.png +0 -0
  1910. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_tux.png +0 -0
  1911. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_vector.png +0 -0
  1912. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_visualstudio.png +0 -0
  1913. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_width.png +0 -0
  1914. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_word.png +0 -0
  1915. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_world.png +0 -0
  1916. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_wrench.png +0 -0
  1917. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_white_zip.png +0 -0
  1918. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_word.png +0 -0
  1919. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/icons/page_world.png +0 -0
  1920. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-index/public/style.css +257 -0
  1921. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/HISTORY.md +193 -0
  1922. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/LICENSE +25 -0
  1923. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/README.md +159 -0
  1924. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/index.js +137 -0
  1925. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/escape-html/.npmignore +2 -0
  1926. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/escape-html/Makefile +11 -0
  1927. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/escape-html/Readme.md +15 -0
  1928. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/escape-html/component.json +10 -0
  1929. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/escape-html/index.js +16 -0
  1930. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/escape-html/package.json +46 -0
  1931. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/History.md +205 -0
  1932. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/LICENSE +23 -0
  1933. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/Readme.md +182 -0
  1934. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/index.js +773 -0
  1935. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/destroy/README.md +38 -0
  1936. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/destroy/index.js +36 -0
  1937. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/destroy/package.json +67 -0
  1938. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/HISTORY.md +43 -0
  1939. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/LICENSE +22 -0
  1940. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/README.md +141 -0
  1941. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/index.js +161 -0
  1942. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/.npmignore +4 -0
  1943. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/LICENSE +22 -0
  1944. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/README.md +89 -0
  1945. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc.js +71 -0
  1946. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc1.js +21 -0
  1947. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16.js +25 -0
  1948. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16_ccitt.js +25 -0
  1949. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16_modbus.js +25 -0
  1950. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc24.js +25 -0
  1951. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc32.js +25 -0
  1952. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc8.js +25 -0
  1953. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc8_1wire.js +25 -0
  1954. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/create.js +10 -0
  1955. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/hex.js +9 -0
  1956. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/index.js +11 -0
  1957. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/package.json +58 -0
  1958. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/etag/package.json +74 -0
  1959. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/ms/.npmignore +5 -0
  1960. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/ms/README.md +33 -0
  1961. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/ms/index.js +111 -0
  1962. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/ms/package.json +45 -0
  1963. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/on-finished/HISTORY.md +66 -0
  1964. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/on-finished/LICENSE +23 -0
  1965. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/on-finished/README.md +90 -0
  1966. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/on-finished/index.js +127 -0
  1967. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/LICENSE +22 -0
  1968. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/README.md +63 -0
  1969. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/index.js +60 -0
  1970. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/package.json +64 -0
  1971. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/on-finished/package.json +71 -0
  1972. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/range-parser/HISTORY.md +35 -0
  1973. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/range-parser/LICENSE +22 -0
  1974. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/range-parser/README.md +48 -0
  1975. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/range-parser/index.js +49 -0
  1976. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/node_modules/range-parser/package.json +76 -0
  1977. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/send/package.json +85 -0
  1978. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/utils-merge/.travis.yml +6 -0
  1979. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/utils-merge/LICENSE +20 -0
  1980. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/utils-merge/README.md +34 -0
  1981. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/utils-merge/index.js +23 -0
  1982. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/node_modules/utils-merge/package.json +60 -0
  1983. data/jasmine/node_modules/karma/node_modules/connect/node_modules/serve-static/package.json +84 -0
  1984. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/HISTORY.md +115 -0
  1985. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/LICENSE +21 -0
  1986. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/README.md +117 -0
  1987. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/index.js +228 -0
  1988. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/HISTORY.md +97 -0
  1989. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/LICENSE +22 -0
  1990. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/README.md +102 -0
  1991. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/index.js +63 -0
  1992. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/HISTORY.md +188 -0
  1993. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/LICENSE +22 -0
  1994. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/README.md +76 -0
  1995. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/db.json +6325 -0
  1996. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/index.js +11 -0
  1997. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/package.json +93 -0
  1998. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/node_modules/mime-types/package.json +83 -0
  1999. data/jasmine/node_modules/karma/node_modules/connect/node_modules/type-is/package.json +92 -0
  2000. data/jasmine/node_modules/karma/node_modules/connect/node_modules/vhost/HISTORY.md +20 -0
  2001. data/jasmine/node_modules/karma/node_modules/connect/node_modules/vhost/LICENSE +23 -0
  2002. data/jasmine/node_modules/karma/node_modules/connect/node_modules/vhost/README.md +128 -0
  2003. data/jasmine/node_modules/karma/node_modules/connect/node_modules/vhost/index.js +146 -0
  2004. data/jasmine/node_modules/karma/node_modules/connect/node_modules/vhost/package.json +93 -0
  2005. data/jasmine/node_modules/karma/node_modules/connect/package.json +120 -0
  2006. data/jasmine/node_modules/karma/node_modules/connect/support/docs.jade +38 -0
  2007. data/jasmine/node_modules/karma/node_modules/connect/support/docs.js +46 -0
  2008. data/jasmine/node_modules/karma/node_modules/di/LICENSE +20 -0
  2009. data/jasmine/node_modules/karma/node_modules/di/README.md +22 -0
  2010. data/jasmine/node_modules/karma/node_modules/di/lib/annotation.js +37 -0
  2011. data/jasmine/node_modules/karma/node_modules/di/lib/index.js +5 -0
  2012. data/jasmine/node_modules/karma/node_modules/di/lib/injector.js +131 -0
  2013. data/jasmine/node_modules/karma/node_modules/di/lib/module.js +24 -0
  2014. data/jasmine/node_modules/karma/node_modules/di/package.json +52 -0
  2015. data/jasmine/node_modules/karma/node_modules/glob/.npmignore +2 -0
  2016. data/jasmine/node_modules/karma/node_modules/glob/.travis.yml +3 -0
  2017. data/jasmine/node_modules/karma/node_modules/glob/LICENSE +27 -0
  2018. data/jasmine/node_modules/karma/node_modules/glob/README.md +250 -0
  2019. data/jasmine/node_modules/karma/node_modules/glob/examples/g.js +9 -0
  2020. data/jasmine/node_modules/karma/node_modules/glob/examples/usr-local.js +9 -0
  2021. data/jasmine/node_modules/karma/node_modules/glob/glob.js +728 -0
  2022. data/jasmine/node_modules/karma/node_modules/glob/node_modules/inherits/LICENSE +16 -0
  2023. data/jasmine/node_modules/karma/node_modules/glob/node_modules/inherits/README.md +42 -0
  2024. data/jasmine/node_modules/karma/node_modules/glob/node_modules/inherits/inherits.js +1 -0
  2025. data/jasmine/node_modules/karma/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
  2026. data/jasmine/node_modules/karma/node_modules/glob/node_modules/inherits/package.json +48 -0
  2027. data/jasmine/node_modules/karma/node_modules/glob/node_modules/inherits/test.js +25 -0
  2028. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/.npmignore +1 -0
  2029. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/LICENSE +23 -0
  2030. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/README.md +218 -0
  2031. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/minimatch.js +1061 -0
  2032. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/.npmignore +1 -0
  2033. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +14 -0
  2034. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/LICENSE +23 -0
  2035. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/README.md +109 -0
  2036. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +274 -0
  2037. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/package.json +57 -0
  2038. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/test/basic.js +395 -0
  2039. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +121 -0
  2040. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +50 -0
  2041. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/sigmund/LICENSE +27 -0
  2042. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
  2043. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
  2044. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/sigmund/package.json +58 -0
  2045. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
  2046. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/node_modules/sigmund/test/basic.js +24 -0
  2047. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/package.json +56 -0
  2048. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/test/basic.js +399 -0
  2049. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/test/brace-expand.js +33 -0
  2050. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/test/caching.js +14 -0
  2051. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/test/defaults.js +274 -0
  2052. data/jasmine/node_modules/karma/node_modules/glob/node_modules/minimatch/test/extglob-ending-with-state-char.js +8 -0
  2053. data/jasmine/node_modules/karma/node_modules/glob/package.json +57 -0
  2054. data/jasmine/node_modules/karma/node_modules/glob/test/00-setup.js +176 -0
  2055. data/jasmine/node_modules/karma/node_modules/glob/test/bash-comparison.js +63 -0
  2056. data/jasmine/node_modules/karma/node_modules/glob/test/bash-results.json +351 -0
  2057. data/jasmine/node_modules/karma/node_modules/glob/test/cwd-test.js +55 -0
  2058. data/jasmine/node_modules/karma/node_modules/glob/test/globstar-match.js +19 -0
  2059. data/jasmine/node_modules/karma/node_modules/glob/test/mark.js +118 -0
  2060. data/jasmine/node_modules/karma/node_modules/glob/test/new-glob-optional-options.js +10 -0
  2061. data/jasmine/node_modules/karma/node_modules/glob/test/nocase-nomagic.js +113 -0
  2062. data/jasmine/node_modules/karma/node_modules/glob/test/pause-resume.js +73 -0
  2063. data/jasmine/node_modules/karma/node_modules/glob/test/readme-issue.js +36 -0
  2064. data/jasmine/node_modules/karma/node_modules/glob/test/root-nomount.js +39 -0
  2065. data/jasmine/node_modules/karma/node_modules/glob/test/root.js +46 -0
  2066. data/jasmine/node_modules/karma/node_modules/glob/test/stat.js +32 -0
  2067. data/jasmine/node_modules/karma/node_modules/glob/test/zz-cleanup.js +11 -0
  2068. data/jasmine/node_modules/karma/node_modules/graceful-fs/.npmignore +1 -0
  2069. data/jasmine/node_modules/karma/node_modules/graceful-fs/LICENSE +27 -0
  2070. data/jasmine/node_modules/karma/node_modules/graceful-fs/README.md +26 -0
  2071. data/jasmine/node_modules/karma/node_modules/graceful-fs/graceful-fs.js +160 -0
  2072. data/jasmine/node_modules/karma/node_modules/graceful-fs/package.json +64 -0
  2073. data/jasmine/node_modules/karma/node_modules/graceful-fs/polyfills.js +228 -0
  2074. data/jasmine/node_modules/karma/node_modules/graceful-fs/test/open.js +39 -0
  2075. data/jasmine/node_modules/karma/node_modules/graceful-fs/test/readdir-sort.js +21 -0
  2076. data/jasmine/node_modules/karma/node_modules/http-proxy/.npmignore +3 -0
  2077. data/jasmine/node_modules/karma/node_modules/http-proxy/.travis.yml +10 -0
  2078. data/jasmine/node_modules/karma/node_modules/http-proxy/CHANGELOG.md +97 -0
  2079. data/jasmine/node_modules/karma/node_modules/http-proxy/LICENSE +23 -0
  2080. data/jasmine/node_modules/karma/node_modules/http-proxy/README.md +646 -0
  2081. data/jasmine/node_modules/karma/node_modules/http-proxy/benchmark/websockets-throughput.js +88 -0
  2082. data/jasmine/node_modules/karma/node_modules/http-proxy/bin/node-http-proxy +113 -0
  2083. data/jasmine/node_modules/karma/node_modules/http-proxy/config.sample.json +10 -0
  2084. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/balancer/simple-balancer-with-websockets.js +58 -0
  2085. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/balancer/simple-balancer.js +36 -0
  2086. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/helpers/store.js +64 -0
  2087. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/http/basic-proxy.js +58 -0
  2088. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/http/concurrent-proxy.js +66 -0
  2089. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/http/custom-proxy-error.js +54 -0
  2090. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/http/forward-proxy.js +63 -0
  2091. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/http/latent-proxy.js +56 -0
  2092. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/http/proxy-https-to-http.js +51 -0
  2093. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/http/proxy-https-to-https.js +55 -0
  2094. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/http/proxy-table.js +51 -0
  2095. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/http/standalone-proxy.js +57 -0
  2096. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/middleware/bodyDecoder-middleware.js +87 -0
  2097. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/middleware/gzip-middleware-proxytable.js +54 -0
  2098. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/middleware/gzip-middleware.js +50 -0
  2099. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/middleware/jsonp-middleware.js +30 -0
  2100. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/middleware/modifyResponse-middleware.js +57 -0
  2101. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/middleware/url-middleware.js +58 -0
  2102. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/middleware/url-middleware2.js +30 -0
  2103. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/package.json +12 -0
  2104. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/websocket/latent-websocket-proxy.js +92 -0
  2105. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/websocket/standalone-websocket-proxy.js +87 -0
  2106. data/jasmine/node_modules/karma/node_modules/http-proxy/examples/websocket/websocket-proxy.js +69 -0
  2107. data/jasmine/node_modules/karma/node_modules/http-proxy/lib/node-http-proxy.js +397 -0
  2108. data/jasmine/node_modules/karma/node_modules/http-proxy/lib/node-http-proxy/http-proxy.js +983 -0
  2109. data/jasmine/node_modules/karma/node_modules/http-proxy/lib/node-http-proxy/proxy-table.js +282 -0
  2110. data/jasmine/node_modules/karma/node_modules/http-proxy/lib/node-http-proxy/routing-proxy.js +322 -0
  2111. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/.npmignore +2 -0
  2112. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/LICENSE +19 -0
  2113. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/README.md +86 -0
  2114. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/docs/docco.css +194 -0
  2115. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/docs/pkginfo.html +101 -0
  2116. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/examples/all-properties.js +19 -0
  2117. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/examples/array-argument.js +20 -0
  2118. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/examples/multiple-properties.js +19 -0
  2119. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/examples/object-argument.js +22 -0
  2120. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/examples/package.json +10 -0
  2121. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/examples/single-property.js +19 -0
  2122. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/examples/subdir/package.json +11 -0
  2123. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/examples/target-dir.js +20 -0
  2124. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/lib/pkginfo.js +136 -0
  2125. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/package.json +50 -0
  2126. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/pkginfo/test/pkginfo-test.js +83 -0
  2127. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/.npmignore +4 -0
  2128. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/.travis.yml +10 -0
  2129. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/CHANGELOG.md +16 -0
  2130. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/LICENSE +19 -0
  2131. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/README.md +87 -0
  2132. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/lib/args.js +46 -0
  2133. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/lib/base64.js +44 -0
  2134. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/lib/file.js +33 -0
  2135. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/lib/format.js +25 -0
  2136. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/lib/index.js +467 -0
  2137. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/.bin/mkdirp +33 -0
  2138. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/.bin/ncp +48 -0
  2139. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/async/LICENSE +19 -0
  2140. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/async/README.md +1425 -0
  2141. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/async/component.json +11 -0
  2142. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/async/lib/async.js +958 -0
  2143. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/async/package.json +60 -0
  2144. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/deep-equal/.travis.yml +4 -0
  2145. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/deep-equal/LICENSE +18 -0
  2146. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/deep-equal/example/cmp.js +11 -0
  2147. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/deep-equal/index.js +94 -0
  2148. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/deep-equal/lib/is_arguments.js +20 -0
  2149. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/deep-equal/lib/keys.js +9 -0
  2150. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/deep-equal/package.json +83 -0
  2151. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/deep-equal/readme.markdown +61 -0
  2152. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/deep-equal/test/cmp.js +89 -0
  2153. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/.npmignore +3 -0
  2154. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/.travis.yml +9 -0
  2155. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/LICENSE +18 -0
  2156. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/README.md +174 -0
  2157. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/lib/defaults.js +63 -0
  2158. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/lib/inflect.js +11 -0
  2159. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/lib/inflections.js +116 -0
  2160. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/lib/methods.js +233 -0
  2161. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/lib/native.js +26 -0
  2162. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/lib/util.js +136 -0
  2163. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/package.json +78 -0
  2164. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/test/inflector/cases.js +209 -0
  2165. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/test/inflector/inflections-test.js +87 -0
  2166. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/test/inflector/methods-test.js +342 -0
  2167. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/test/utils/array-test.js +39 -0
  2168. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/i/test/utils/string-test.js +88 -0
  2169. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/.travis.yml +8 -0
  2170. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/LICENSE +21 -0
  2171. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/bin/cmd.js +33 -0
  2172. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/bin/usage.txt +12 -0
  2173. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/examples/pow.js +6 -0
  2174. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/index.js +98 -0
  2175. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/.travis.yml +4 -0
  2176. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/LICENSE +18 -0
  2177. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/example/parse.js +2 -0
  2178. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/index.js +187 -0
  2179. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/package.json +67 -0
  2180. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/readme.markdown +73 -0
  2181. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/test/dash.js +24 -0
  2182. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/test/default_bool.js +20 -0
  2183. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/test/dotted.js +16 -0
  2184. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/test/long.js +31 -0
  2185. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/test/parse.js +318 -0
  2186. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js +9 -0
  2187. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/test/short.js +67 -0
  2188. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/node_modules/minimist/test/whitespace.js +8 -0
  2189. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/package.json +59 -0
  2190. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/readme.markdown +100 -0
  2191. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/chmod.js +41 -0
  2192. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/clobber.js +38 -0
  2193. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/mkdirp.js +28 -0
  2194. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/opts_fs.js +29 -0
  2195. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/opts_fs_sync.js +27 -0
  2196. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/perm.js +32 -0
  2197. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/perm_sync.js +36 -0
  2198. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/race.js +37 -0
  2199. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/rel.js +32 -0
  2200. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/return.js +25 -0
  2201. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/return_sync.js +24 -0
  2202. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/root.js +19 -0
  2203. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/sync.js +32 -0
  2204. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/umask.js +28 -0
  2205. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/mkdirp/test/umask_sync.js +32 -0
  2206. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/.npmignore +4 -0
  2207. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/.travis.yml +7 -0
  2208. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/LICENSE.md +21 -0
  2209. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/README.md +52 -0
  2210. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/bin/ncp +48 -0
  2211. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/lib/ncp.js +222 -0
  2212. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/package.json +53 -0
  2213. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/test/fixtures/src/a +1 -0
  2214. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/test/fixtures/src/b +1 -0
  2215. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/test/fixtures/src/c +0 -0
  2216. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/test/fixtures/src/d +0 -0
  2217. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/test/fixtures/src/e +0 -0
  2218. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/test/fixtures/src/f +0 -0
  2219. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/test/fixtures/src/sub/a +1 -0
  2220. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/test/fixtures/src/sub/b +0 -0
  2221. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/node_modules/ncp/test/ncp-test.js +86 -0
  2222. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/package.json +62 -0
  2223. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/file-test.js +31 -0
  2224. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/fixtures/read-json-file/config.json +9 -0
  2225. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/fixtures/require-directory/directory/index.js +2 -0
  2226. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/fixtures/require-directory/helloWorld.js +2 -0
  2227. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/format-test.js +31 -0
  2228. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/function-args-test.js +104 -0
  2229. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/helpers/macros.js +37 -0
  2230. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/random-string-test.js +39 -0
  2231. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/require-directory-test.js +35 -0
  2232. data/jasmine/node_modules/karma/node_modules/http-proxy/node_modules/utile/test/utile-test.js +126 -0
  2233. data/jasmine/node_modules/karma/node_modules/http-proxy/package.json +69 -0
  2234. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/README.md +10 -0
  2235. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/common.js +190 -0
  2236. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/pummel/test-http-upload-timeout.js +69 -0
  2237. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/run +90 -0
  2238. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/run-single +70 -0
  2239. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-chunked.js +63 -0
  2240. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-client-abort.js +80 -0
  2241. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-client-abort2.js +41 -0
  2242. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-client-upload-buf.js +74 -0
  2243. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-client-upload.js +77 -0
  2244. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-contentLength0.js +42 -0
  2245. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-eof-on-connect.js +40 -0
  2246. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-extra-response.js +86 -0
  2247. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-head-request.js +56 -0
  2248. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-head-response-has-no-body-end.js +61 -0
  2249. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-head-response-has-no-body.js +58 -0
  2250. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-host-headers.js +101 -0
  2251. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-many-keep-alive-connections.js +68 -0
  2252. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-multi-line-headers.js +59 -0
  2253. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-proxy.js +109 -0
  2254. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-response-close.js +55 -0
  2255. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-server-multiheaders.js +59 -0
  2256. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-set-cookies.js +84 -0
  2257. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-status-code.js +69 -0
  2258. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http-upgrade-server2.js +72 -0
  2259. data/jasmine/node_modules/karma/node_modules/http-proxy/test/core/simple/test-http.js +108 -0
  2260. data/jasmine/node_modules/karma/node_modules/http-proxy/test/examples-test.js +26 -0
  2261. data/jasmine/node_modules/karma/node_modules/http-proxy/test/fixtures/agent2-cert.pem +13 -0
  2262. data/jasmine/node_modules/karma/node_modules/http-proxy/test/fixtures/agent2-csr.pem +10 -0
  2263. data/jasmine/node_modules/karma/node_modules/http-proxy/test/fixtures/agent2-key.pem +9 -0
  2264. data/jasmine/node_modules/karma/node_modules/http-proxy/test/fixtures/agent2.cnf +19 -0
  2265. data/jasmine/node_modules/karma/node_modules/http-proxy/test/helpers/http.js +182 -0
  2266. data/jasmine/node_modules/karma/node_modules/http-proxy/test/helpers/index.js +105 -0
  2267. data/jasmine/node_modules/karma/node_modules/http-proxy/test/helpers/ws.js +112 -0
  2268. data/jasmine/node_modules/karma/node_modules/http-proxy/test/http/http-test.js +102 -0
  2269. data/jasmine/node_modules/karma/node_modules/http-proxy/test/http/routing-table-test.js +107 -0
  2270. data/jasmine/node_modules/karma/node_modules/http-proxy/test/macros/examples.js +101 -0
  2271. data/jasmine/node_modules/karma/node_modules/http-proxy/test/macros/http.js +531 -0
  2272. data/jasmine/node_modules/karma/node_modules/http-proxy/test/macros/index.js +11 -0
  2273. data/jasmine/node_modules/karma/node_modules/http-proxy/test/macros/ws.js +232 -0
  2274. data/jasmine/node_modules/karma/node_modules/http-proxy/test/ws/routing-table-test.js +25 -0
  2275. data/jasmine/node_modules/karma/node_modules/http-proxy/test/ws/socket.io-test.js +20 -0
  2276. data/jasmine/node_modules/karma/node_modules/http-proxy/test/ws/ws-test.js +23 -0
  2277. data/jasmine/node_modules/karma/node_modules/lodash/LICENSE.txt +22 -0
  2278. data/jasmine/node_modules/karma/node_modules/lodash/README.md +145 -0
  2279. data/jasmine/node_modules/karma/node_modules/lodash/dist/lodash.compat.js +7158 -0
  2280. data/jasmine/node_modules/karma/node_modules/lodash/dist/lodash.compat.min.js +92 -0
  2281. data/jasmine/node_modules/karma/node_modules/lodash/dist/lodash.js +6786 -0
  2282. data/jasmine/node_modules/karma/node_modules/lodash/dist/lodash.min.js +87 -0
  2283. data/jasmine/node_modules/karma/node_modules/lodash/dist/lodash.underscore.js +4979 -0
  2284. data/jasmine/node_modules/karma/node_modules/lodash/dist/lodash.underscore.min.js +39 -0
  2285. data/jasmine/node_modules/karma/node_modules/lodash/lodash.js +7180 -0
  2286. data/jasmine/node_modules/karma/node_modules/lodash/package.json +136 -0
  2287. data/jasmine/node_modules/karma/node_modules/log4js/.bob.json +12 -0
  2288. data/jasmine/node_modules/karma/node_modules/log4js/.bob/lint/jshint.out +71 -0
  2289. data/jasmine/node_modules/karma/node_modules/log4js/.jshintrc +15 -0
  2290. data/jasmine/node_modules/karma/node_modules/log4js/.npmignore +2 -0
  2291. data/jasmine/node_modules/karma/node_modules/log4js/.travis.yml +5 -0
  2292. data/jasmine/node_modules/karma/node_modules/log4js/README.md +148 -0
  2293. data/jasmine/node_modules/karma/node_modules/log4js/examples/example-connect-logger.js +46 -0
  2294. data/jasmine/node_modules/karma/node_modules/log4js/examples/example-socket.js +45 -0
  2295. data/jasmine/node_modules/karma/node_modules/log4js/examples/example.js +60 -0
  2296. data/jasmine/node_modules/karma/node_modules/log4js/examples/flush-on-exit.js +27 -0
  2297. data/jasmine/node_modules/karma/node_modules/log4js/examples/fromreadme.js +19 -0
  2298. data/jasmine/node_modules/karma/node_modules/log4js/examples/log-appending.js +12 -0
  2299. data/jasmine/node_modules/karma/node_modules/log4js/examples/log-rolling.js +27 -0
  2300. data/jasmine/node_modules/karma/node_modules/log4js/examples/loggly-appender.js +24 -0
  2301. data/jasmine/node_modules/karma/node_modules/log4js/examples/logstashUDP.js +39 -0
  2302. data/jasmine/node_modules/karma/node_modules/log4js/examples/memory-test.js +37 -0
  2303. data/jasmine/node_modules/karma/node_modules/log4js/examples/missing-log-dir.js +11 -0
  2304. data/jasmine/node_modules/karma/node_modules/log4js/examples/patternLayout-tokens.js +21 -0
  2305. data/jasmine/node_modules/karma/node_modules/log4js/examples/smtp-appender.js +43 -0
  2306. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/categoryFilter.js +20 -0
  2307. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/clustered.js +138 -0
  2308. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/console.js +21 -0
  2309. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/dateFile.js +73 -0
  2310. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/file.js +101 -0
  2311. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/fileSync.js +189 -0
  2312. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/gelf.js +144 -0
  2313. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/logLevelFilter.js +23 -0
  2314. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/loggly.js +44 -0
  2315. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/logstashUDP.js +50 -0
  2316. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/multiprocess.js +134 -0
  2317. data/jasmine/node_modules/karma/node_modules/log4js/lib/appenders/smtp.js +109 -0
  2318. data/jasmine/node_modules/karma/node_modules/log4js/lib/connect-logger.js +222 -0
  2319. data/jasmine/node_modules/karma/node_modules/log4js/lib/date_format.js +72 -0
  2320. data/jasmine/node_modules/karma/node_modules/log4js/lib/debug.js +15 -0
  2321. data/jasmine/node_modules/karma/node_modules/log4js/lib/layouts.js +342 -0
  2322. data/jasmine/node_modules/karma/node_modules/log4js/lib/levels.js +69 -0
  2323. data/jasmine/node_modules/karma/node_modules/log4js/lib/log4js.js +474 -0
  2324. data/jasmine/node_modules/karma/node_modules/log4js/lib/log4js.json +7 -0
  2325. data/jasmine/node_modules/karma/node_modules/log4js/lib/logger.js +102 -0
  2326. data/jasmine/node_modules/karma/node_modules/log4js/lib/streams/BaseRollingFileStream.js +94 -0
  2327. data/jasmine/node_modules/karma/node_modules/log4js/lib/streams/DateRollingFileStream.js +95 -0
  2328. data/jasmine/node_modules/karma/node_modules/log4js/lib/streams/RollingFileStream.js +118 -0
  2329. data/jasmine/node_modules/karma/node_modules/log4js/lib/streams/index.js +2 -0
  2330. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/.bin/semver +133 -0
  2331. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/async/LICENSE +19 -0
  2332. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/async/README.md +1425 -0
  2333. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/async/component.json +11 -0
  2334. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/async/lib/async.js +958 -0
  2335. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/async/package.json +58 -0
  2336. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/.npmignore +5 -0
  2337. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/LICENSE +18 -0
  2338. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/README.md +15 -0
  2339. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/duplex.js +1 -0
  2340. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
  2341. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
  2342. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/lib/_stream_readable.js +982 -0
  2343. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/lib/_stream_transform.js +210 -0
  2344. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/lib/_stream_writable.js +386 -0
  2345. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/core-util-is/README.md +3 -0
  2346. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/core-util-is/float.patch +604 -0
  2347. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +107 -0
  2348. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/core-util-is/package.json +53 -0
  2349. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/core-util-is/util.js +106 -0
  2350. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/inherits/LICENSE +16 -0
  2351. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/inherits/README.md +42 -0
  2352. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/inherits/inherits.js +1 -0
  2353. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +23 -0
  2354. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/inherits/package.json +50 -0
  2355. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/inherits/test.js +25 -0
  2356. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/isarray/README.md +54 -0
  2357. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/isarray/build/build.js +209 -0
  2358. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/isarray/component.json +19 -0
  2359. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/isarray/index.js +3 -0
  2360. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/isarray/package.json +49 -0
  2361. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/string_decoder/.npmignore +2 -0
  2362. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/string_decoder/LICENSE +20 -0
  2363. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/string_decoder/README.md +7 -0
  2364. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/string_decoder/index.js +221 -0
  2365. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/node_modules/string_decoder/package.json +53 -0
  2366. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/package.json +69 -0
  2367. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/passthrough.js +1 -0
  2368. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/readable.js +8 -0
  2369. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/transform.js +1 -0
  2370. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/readable-stream/writable.js +1 -0
  2371. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/.npmignore +1 -0
  2372. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/LICENSE +15 -0
  2373. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/Makefile +24 -0
  2374. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/README.md +303 -0
  2375. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/bin/semver +133 -0
  2376. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/foot.js.txt +6 -0
  2377. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/head.js.txt +2 -0
  2378. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/package.json +54 -0
  2379. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/semver.browser.js +1198 -0
  2380. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/semver.browser.js.gz +0 -0
  2381. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/semver.js +1202 -0
  2382. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/semver.min.js +1 -0
  2383. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/semver.min.js.gz +0 -0
  2384. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/test/amd.js +15 -0
  2385. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/test/big-numbers.js +31 -0
  2386. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/test/clean.js +29 -0
  2387. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/test/gtr.js +173 -0
  2388. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/test/index.js +684 -0
  2389. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/test/ltr.js +181 -0
  2390. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/test/major-minor-patch.js +72 -0
  2391. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/semver/test/no-module.js +19 -0
  2392. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/underscore/LICENSE +23 -0
  2393. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/underscore/README.md +22 -0
  2394. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/underscore/package.json +69 -0
  2395. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/underscore/underscore-min.js +6 -0
  2396. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/underscore/underscore-min.map +1 -0
  2397. data/jasmine/node_modules/karma/node_modules/log4js/node_modules/underscore/underscore.js +1536 -0
  2398. data/jasmine/node_modules/karma/node_modules/log4js/package.json +69 -0
  2399. data/jasmine/node_modules/karma/node_modules/log4js/test/categoryFilter-test.js +84 -0
  2400. data/jasmine/node_modules/karma/node_modules/log4js/test/clusteredAppender-test.js +128 -0
  2401. data/jasmine/node_modules/karma/node_modules/log4js/test/configuration-test.js +149 -0
  2402. data/jasmine/node_modules/karma/node_modules/log4js/test/configureNoLevels-test.js +173 -0
  2403. data/jasmine/node_modules/karma/node_modules/log4js/test/connect-logger-test.js +295 -0
  2404. data/jasmine/node_modules/karma/node_modules/log4js/test/consoleAppender-test.js +33 -0
  2405. data/jasmine/node_modules/karma/node_modules/log4js/test/dateFileAppender-test.js +223 -0
  2406. data/jasmine/node_modules/karma/node_modules/log4js/test/date_format-test.js +58 -0
  2407. data/jasmine/node_modules/karma/node_modules/log4js/test/debug-test.js +72 -0
  2408. data/jasmine/node_modules/karma/node_modules/log4js/test/fa-maxFileSize-with-backups-compressed-test.log.1.gz +0 -0
  2409. data/jasmine/node_modules/karma/node_modules/log4js/test/fa-maxFileSize-with-backups-compressed-test.log.2.gz +0 -0
  2410. data/jasmine/node_modules/karma/node_modules/log4js/test/fileAppender-test.js +419 -0
  2411. data/jasmine/node_modules/karma/node_modules/log4js/test/fileSyncAppender-test.js +182 -0
  2412. data/jasmine/node_modules/karma/node_modules/log4js/test/gelfAppender-test.js +257 -0
  2413. data/jasmine/node_modules/karma/node_modules/log4js/test/global-log-level-test.js +121 -0
  2414. data/jasmine/node_modules/karma/node_modules/log4js/test/layouts-test.js +304 -0
  2415. data/jasmine/node_modules/karma/node_modules/log4js/test/levels-test.js +462 -0
  2416. data/jasmine/node_modules/karma/node_modules/log4js/test/log-abspath-test.js +77 -0
  2417. data/jasmine/node_modules/karma/node_modules/log4js/test/log4js.json +16 -0
  2418. data/jasmine/node_modules/karma/node_modules/log4js/test/logLevelFilter-test.js +93 -0
  2419. data/jasmine/node_modules/karma/node_modules/log4js/test/logger-test.js +81 -0
  2420. data/jasmine/node_modules/karma/node_modules/log4js/test/logging-test.js +630 -0
  2421. data/jasmine/node_modules/karma/node_modules/log4js/test/logglyAppender-test.js +82 -0
  2422. data/jasmine/node_modules/karma/node_modules/log4js/test/logstashUDP-test.js +106 -0
  2423. data/jasmine/node_modules/karma/node_modules/log4js/test/multiprocess-test.js +311 -0
  2424. data/jasmine/node_modules/karma/node_modules/log4js/test/nolog-test.js +297 -0
  2425. data/jasmine/node_modules/karma/node_modules/log4js/test/reloadConfiguration-test.js +340 -0
  2426. data/jasmine/node_modules/karma/node_modules/log4js/test/setLevel-asymmetry-test.js +100 -0
  2427. data/jasmine/node_modules/karma/node_modules/log4js/test/smtpAppender-test.js +226 -0
  2428. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/BaseRollingFileStream-test.js +93 -0
  2429. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/DateRollingFileStream-test.js +227 -0
  2430. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/rollingFileStream-test.js +210 -0
  2431. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-file-stream +0 -0
  2432. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-file-stream-write-less +1 -0
  2433. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-file-stream-write-more +2 -0
  2434. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-file-stream-write-more.1 +5 -0
  2435. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-stream-with-existing-files +5 -0
  2436. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-stream-with-existing-files.0 +1 -0
  2437. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-stream-with-existing-files.1 +5 -0
  2438. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-stream-with-existing-files.11 +1 -0
  2439. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-stream-with-existing-files.2 +1 -0
  2440. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-stream-with-existing-files.20 +1 -0
  2441. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-stream-with-existing-files.3 +1 -0
  2442. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-stream-with-existing-files.4 +5 -0
  2443. data/jasmine/node_modules/karma/node_modules/log4js/test/streams/test-rolling-stream-with-existing-files.5 +1 -0
  2444. data/jasmine/node_modules/karma/node_modules/log4js/test/subcategories-test.js +86 -0
  2445. data/jasmine/node_modules/karma/node_modules/log4js/test/with-categoryFilter.json +23 -0
  2446. data/jasmine/node_modules/karma/node_modules/log4js/test/with-dateFile.json +17 -0
  2447. data/jasmine/node_modules/karma/node_modules/log4js/test/with-log-rolling.json +10 -0
  2448. data/jasmine/node_modules/karma/node_modules/log4js/test/with-logLevelFilter.json +41 -0
  2449. data/jasmine/node_modules/karma/node_modules/mime/LICENSE +19 -0
  2450. data/jasmine/node_modules/karma/node_modules/mime/README.md +66 -0
  2451. data/jasmine/node_modules/karma/node_modules/mime/mime.js +114 -0
  2452. data/jasmine/node_modules/karma/node_modules/mime/package.json +55 -0
  2453. data/jasmine/node_modules/karma/node_modules/mime/test.js +84 -0
  2454. data/jasmine/node_modules/karma/node_modules/mime/types/mime.types +1588 -0
  2455. data/jasmine/node_modules/karma/node_modules/mime/types/node.types +77 -0
  2456. data/jasmine/node_modules/karma/node_modules/minimatch/.npmignore +1 -0
  2457. data/jasmine/node_modules/karma/node_modules/minimatch/LICENSE +23 -0
  2458. data/jasmine/node_modules/karma/node_modules/minimatch/README.md +218 -0
  2459. data/jasmine/node_modules/karma/node_modules/minimatch/minimatch.js +1055 -0
  2460. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/lru-cache/.npmignore +1 -0
  2461. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +14 -0
  2462. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/lru-cache/LICENSE +23 -0
  2463. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/lru-cache/README.md +109 -0
  2464. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +274 -0
  2465. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/lru-cache/package.json +56 -0
  2466. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/lru-cache/test/basic.js +395 -0
  2467. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +121 -0
  2468. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +50 -0
  2469. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/sigmund/LICENSE +27 -0
  2470. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
  2471. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
  2472. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/sigmund/package.json +54 -0
  2473. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
  2474. data/jasmine/node_modules/karma/node_modules/minimatch/node_modules/sigmund/test/basic.js +24 -0
  2475. data/jasmine/node_modules/karma/node_modules/minimatch/package.json +56 -0
  2476. data/jasmine/node_modules/karma/node_modules/minimatch/test/basic.js +399 -0
  2477. data/jasmine/node_modules/karma/node_modules/minimatch/test/brace-expand.js +33 -0
  2478. data/jasmine/node_modules/karma/node_modules/minimatch/test/caching.js +14 -0
  2479. data/jasmine/node_modules/karma/node_modules/minimatch/test/defaults.js +274 -0
  2480. data/jasmine/node_modules/karma/node_modules/minimatch/test/extglob-ending-with-state-char.js +8 -0
  2481. data/jasmine/node_modules/karma/node_modules/optimist/.travis.yml +4 -0
  2482. data/jasmine/node_modules/karma/node_modules/optimist/LICENSE +21 -0
  2483. data/jasmine/node_modules/karma/node_modules/optimist/example/bool.js +10 -0
  2484. data/jasmine/node_modules/karma/node_modules/optimist/example/boolean_double.js +7 -0
  2485. data/jasmine/node_modules/karma/node_modules/optimist/example/boolean_single.js +7 -0
  2486. data/jasmine/node_modules/karma/node_modules/optimist/example/default_hash.js +8 -0
  2487. data/jasmine/node_modules/karma/node_modules/optimist/example/default_singles.js +7 -0
  2488. data/jasmine/node_modules/karma/node_modules/optimist/example/divide.js +8 -0
  2489. data/jasmine/node_modules/karma/node_modules/optimist/example/line_count.js +20 -0
  2490. data/jasmine/node_modules/karma/node_modules/optimist/example/line_count_options.js +29 -0
  2491. data/jasmine/node_modules/karma/node_modules/optimist/example/line_count_wrap.js +29 -0
  2492. data/jasmine/node_modules/karma/node_modules/optimist/example/nonopt.js +4 -0
  2493. data/jasmine/node_modules/karma/node_modules/optimist/example/reflect.js +2 -0
  2494. data/jasmine/node_modules/karma/node_modules/optimist/example/short.js +3 -0
  2495. data/jasmine/node_modules/karma/node_modules/optimist/example/string.js +11 -0
  2496. data/jasmine/node_modules/karma/node_modules/optimist/example/usage-options.js +19 -0
  2497. data/jasmine/node_modules/karma/node_modules/optimist/example/xup.js +10 -0
  2498. data/jasmine/node_modules/karma/node_modules/optimist/index.js +343 -0
  2499. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/.travis.yml +4 -0
  2500. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/LICENSE +18 -0
  2501. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/example/parse.js +2 -0
  2502. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/index.js +187 -0
  2503. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/package.json +66 -0
  2504. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/readme.markdown +73 -0
  2505. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/bool.js +119 -0
  2506. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/dash.js +24 -0
  2507. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/default_bool.js +20 -0
  2508. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/dotted.js +22 -0
  2509. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/long.js +31 -0
  2510. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/num.js +36 -0
  2511. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/parse.js +197 -0
  2512. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/parse_modified.js +9 -0
  2513. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/short.js +67 -0
  2514. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/minimist/test/whitespace.js +8 -0
  2515. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/wordwrap/LICENSE +18 -0
  2516. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/wordwrap/README.markdown +70 -0
  2517. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/wordwrap/example/center.js +10 -0
  2518. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/wordwrap/example/meat.js +3 -0
  2519. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/wordwrap/index.js +76 -0
  2520. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/wordwrap/package.json +62 -0
  2521. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/wordwrap/test/break.js +30 -0
  2522. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/wordwrap/test/idleness.txt +63 -0
  2523. data/jasmine/node_modules/karma/node_modules/optimist/node_modules/wordwrap/test/wrap.js +31 -0
  2524. data/jasmine/node_modules/karma/node_modules/optimist/package.json +63 -0
  2525. data/jasmine/node_modules/karma/node_modules/optimist/readme.markdown +513 -0
  2526. data/jasmine/node_modules/karma/node_modules/optimist/test/_.js +71 -0
  2527. data/jasmine/node_modules/karma/node_modules/optimist/test/_/argv.js +2 -0
  2528. data/jasmine/node_modules/karma/node_modules/optimist/test/_/bin.js +3 -0
  2529. data/jasmine/node_modules/karma/node_modules/optimist/test/dash.js +31 -0
  2530. data/jasmine/node_modules/karma/node_modules/optimist/test/parse.js +446 -0
  2531. data/jasmine/node_modules/karma/node_modules/optimist/test/parse_modified.js +14 -0
  2532. data/jasmine/node_modules/karma/node_modules/optimist/test/short.js +16 -0
  2533. data/jasmine/node_modules/karma/node_modules/optimist/test/usage.js +292 -0
  2534. data/jasmine/node_modules/karma/node_modules/optimist/test/whitespace.js +8 -0
  2535. data/jasmine/node_modules/karma/node_modules/q/CONTRIBUTING.md +40 -0
  2536. data/jasmine/node_modules/karma/node_modules/q/LICENSE +19 -0
  2537. data/jasmine/node_modules/karma/node_modules/q/README.md +813 -0
  2538. data/jasmine/node_modules/karma/node_modules/q/benchmark/compare-with-callbacks.js +71 -0
  2539. data/jasmine/node_modules/karma/node_modules/q/benchmark/scenarios.js +36 -0
  2540. data/jasmine/node_modules/karma/node_modules/q/package.json +112 -0
  2541. data/jasmine/node_modules/karma/node_modules/q/q.js +1937 -0
  2542. data/jasmine/node_modules/karma/node_modules/q/queue.js +35 -0
  2543. data/jasmine/node_modules/karma/node_modules/rimraf/AUTHORS +6 -0
  2544. data/jasmine/node_modules/karma/node_modules/rimraf/LICENSE +23 -0
  2545. data/jasmine/node_modules/karma/node_modules/rimraf/README.md +30 -0
  2546. data/jasmine/node_modules/karma/node_modules/rimraf/bin.js +33 -0
  2547. data/jasmine/node_modules/karma/node_modules/rimraf/package.json +72 -0
  2548. data/jasmine/node_modules/karma/node_modules/rimraf/rimraf.js +248 -0
  2549. data/jasmine/node_modules/karma/node_modules/rimraf/test/run.sh +16 -0
  2550. data/jasmine/node_modules/karma/node_modules/rimraf/test/setup.sh +47 -0
  2551. data/jasmine/node_modules/karma/node_modules/rimraf/test/test-async.js +5 -0
  2552. data/jasmine/node_modules/karma/node_modules/rimraf/test/test-sync.js +3 -0
  2553. data/jasmine/node_modules/karma/node_modules/socket.io/.npmignore +3 -0
  2554. data/jasmine/node_modules/karma/node_modules/socket.io/.travis.yml +6 -0
  2555. data/jasmine/node_modules/karma/node_modules/socket.io/History.md +325 -0
  2556. data/jasmine/node_modules/karma/node_modules/socket.io/LICENSE +22 -0
  2557. data/jasmine/node_modules/karma/node_modules/socket.io/Makefile +31 -0
  2558. data/jasmine/node_modules/karma/node_modules/socket.io/Readme.md +364 -0
  2559. data/jasmine/node_modules/karma/node_modules/socket.io/benchmarks/decode.bench.js +64 -0
  2560. data/jasmine/node_modules/karma/node_modules/socket.io/benchmarks/encode.bench.js +90 -0
  2561. data/jasmine/node_modules/karma/node_modules/socket.io/benchmarks/runner.js +55 -0
  2562. data/jasmine/node_modules/karma/node_modules/socket.io/index.js +8 -0
  2563. data/jasmine/node_modules/karma/node_modules/socket.io/lib/logger.js +97 -0
  2564. data/jasmine/node_modules/karma/node_modules/socket.io/lib/manager.js +1027 -0
  2565. data/jasmine/node_modules/karma/node_modules/socket.io/lib/namespace.js +355 -0
  2566. data/jasmine/node_modules/karma/node_modules/socket.io/lib/parser.js +249 -0
  2567. data/jasmine/node_modules/karma/node_modules/socket.io/lib/socket.io.js +143 -0
  2568. data/jasmine/node_modules/karma/node_modules/socket.io/lib/socket.js +369 -0
  2569. data/jasmine/node_modules/karma/node_modules/socket.io/lib/static.js +395 -0
  2570. data/jasmine/node_modules/karma/node_modules/socket.io/lib/store.js +98 -0
  2571. data/jasmine/node_modules/karma/node_modules/socket.io/lib/stores/memory.js +143 -0
  2572. data/jasmine/node_modules/karma/node_modules/socket.io/lib/stores/redis.js +269 -0
  2573. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transport.js +534 -0
  2574. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/flashsocket.js +129 -0
  2575. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/htmlfile.js +83 -0
  2576. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/http-polling.js +147 -0
  2577. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/http.js +121 -0
  2578. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/index.js +12 -0
  2579. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/jsonp-polling.js +97 -0
  2580. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/websocket.js +36 -0
  2581. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/websocket/default.js +362 -0
  2582. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/websocket/hybi-07-12.js +622 -0
  2583. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/websocket/hybi-16.js +622 -0
  2584. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/websocket/index.js +11 -0
  2585. data/jasmine/node_modules/karma/node_modules/socket.io/lib/transports/xhr-polling.js +69 -0
  2586. data/jasmine/node_modules/karma/node_modules/socket.io/lib/util.js +50 -0
  2587. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/base64id/.npmignore +3 -0
  2588. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/base64id/README.md +18 -0
  2589. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/base64id/lib/base64id.js +103 -0
  2590. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/base64id/package.json +43 -0
  2591. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/.npmignore +1 -0
  2592. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/LICENSE +19 -0
  2593. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/Makefile +7 -0
  2594. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/README.md +98 -0
  2595. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/doc/index.html +375 -0
  2596. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/examples/basic.fallback.js +8 -0
  2597. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/examples/basic.js +5 -0
  2598. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/index.js +1 -0
  2599. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/lib/server.js +289 -0
  2600. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/package.json +58 -0
  2601. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/tests/ssl/ssl.crt +21 -0
  2602. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/tests/ssl/ssl.private.key +27 -0
  2603. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/policyfile/tests/unit.test.js +231 -0
  2604. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/.npmignore +1 -0
  2605. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/README.md +691 -0
  2606. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/buffer_bench.js +89 -0
  2607. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/hiredis_parser.js +38 -0
  2608. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/re_sub_test.js +14 -0
  2609. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/reconnect_test.js +29 -0
  2610. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/codec.js +16 -0
  2611. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/pubsub/pub.js +38 -0
  2612. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/pubsub/run +10 -0
  2613. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/pubsub/server.js +23 -0
  2614. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/rpushblpop/pub.js +49 -0
  2615. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/rpushblpop/run +6 -0
  2616. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/rpushblpop/server.js +30 -0
  2617. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/speed/00 +13 -0
  2618. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/speed/plot +13 -0
  2619. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/speed/size-rate.png +0 -0
  2620. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/stress/speed/speed.js +84 -0
  2621. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/benches/sub_quit_test.js +18 -0
  2622. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/changelog.md +219 -0
  2623. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/diff_multi_bench_output.js +87 -0
  2624. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/auth.js +5 -0
  2625. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/backpressure_drain.js +33 -0
  2626. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/eval.js +9 -0
  2627. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/extend.js +24 -0
  2628. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/file.js +32 -0
  2629. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/mget.js +5 -0
  2630. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/monitor.js +10 -0
  2631. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/multi.js +46 -0
  2632. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/multi2.js +29 -0
  2633. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/psubscribe.js +33 -0
  2634. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/pub_sub.js +41 -0
  2635. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/simple.js +24 -0
  2636. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/sort.js +17 -0
  2637. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subqueries.js +15 -0
  2638. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/subquery.js +19 -0
  2639. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/unix_socket.js +29 -0
  2640. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/examples/web_server.js +31 -0
  2641. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/generate_commands.js +39 -0
  2642. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/index.js +1113 -0
  2643. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/lib/commands.js +147 -0
  2644. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/lib/parser/hiredis.js +46 -0
  2645. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/lib/parser/javascript.js +317 -0
  2646. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/lib/queue.js +61 -0
  2647. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/lib/to_array.js +12 -0
  2648. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/lib/util.js +11 -0
  2649. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/mem.js +11 -0
  2650. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/multi_bench.js +225 -0
  2651. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/package.json +48 -0
  2652. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/redis/test.js +1618 -0
  2653. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/.npmignore +2 -0
  2654. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/History.md +237 -0
  2655. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/Makefile +20 -0
  2656. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/README.md +246 -0
  2657. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/bin/builder.js +303 -0
  2658. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/component-bind/component.json +14 -0
  2659. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/component-bind/index.js +24 -0
  2660. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/component-emitter/component.json +13 -0
  2661. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/component-emitter/index.js +147 -0
  2662. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/component-json-fallback/component.json +15 -0
  2663. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/component-json-fallback/index.js +486 -0
  2664. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/component-json/component.json +17 -0
  2665. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/component-json/index.js +4 -0
  2666. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/component.json +24 -0
  2667. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/emitter.js +52 -0
  2668. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/index.js +2 -0
  2669. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/parser.js +163 -0
  2670. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/socket.js +492 -0
  2671. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/transport.js +141 -0
  2672. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/transports/flashsocket.js +254 -0
  2673. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/transports/index.js +62 -0
  2674. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/transports/polling-jsonp.js +221 -0
  2675. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/transports/polling-xhr.js +288 -0
  2676. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/transports/polling.js +210 -0
  2677. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/transports/websocket.js +158 -0
  2678. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-engine.io-client/lib/util.js +265 -0
  2679. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-socket.io-protocol/component.json +12 -0
  2680. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/learnboost-socket.io-protocol/index.js +177 -0
  2681. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/timoxley-to-array/component.json +16 -0
  2682. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/timoxley-to-array/index.js +27 -0
  2683. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/visionmedia-debug/component.json +16 -0
  2684. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/visionmedia-debug/debug.js +122 -0
  2685. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/components/visionmedia-debug/index.js +5 -0
  2686. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/dist/WebSocketMain.swf +0 -0
  2687. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/dist/WebSocketMainInsecure.swf +0 -0
  2688. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/dist/socket.io.js +3873 -0
  2689. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/dist/socket.io.min.js +2 -0
  2690. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/events.js +182 -0
  2691. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/io.js +206 -0
  2692. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/json.js +322 -0
  2693. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/namespace.js +242 -0
  2694. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/parser.js +262 -0
  2695. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/socket.js +579 -0
  2696. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/transport.js +256 -0
  2697. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/transports/flashsocket.js +191 -0
  2698. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/transports/htmlfile.js +173 -0
  2699. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/transports/jsonp-polling.js +256 -0
  2700. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/transports/websocket.js +197 -0
  2701. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/transports/xhr-polling.js +177 -0
  2702. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/transports/xhr.js +217 -0
  2703. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/util.js +365 -0
  2704. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/.npmignore +1 -0
  2705. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/README.md +157 -0
  2706. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf +0 -0
  2707. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/WebSocketMainInsecure.zip +0 -0
  2708. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/IWebSocketLogger.as +8 -0
  2709. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocket.as +464 -0
  2710. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketEvent.as +33 -0
  2711. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMain.as +150 -0
  2712. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as +19 -0
  2713. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/build.sh +10 -0
  2714. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/adobe/net/proxies/RFC2817Socket.as +204 -0
  2715. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/gsolo/encryption/MD5.as +375 -0
  2716. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/Crypto.as +287 -0
  2717. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/MozillaRootCertificates.as +3235 -0
  2718. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509Certificate.as +218 -0
  2719. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509CertificateCollection.as +57 -0
  2720. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/HMAC.as +82 -0
  2721. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHMAC.as +27 -0
  2722. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHash.as +21 -0
  2723. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MAC.as +137 -0
  2724. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD2.as +124 -0
  2725. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD5.as +204 -0
  2726. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA1.as +106 -0
  2727. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA224.as +28 -0
  2728. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA256.as +115 -0
  2729. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHABase.as +71 -0
  2730. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/ARC4.as +90 -0
  2731. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/IPRNG.as +20 -0
  2732. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/Random.as +119 -0
  2733. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/TLSPRF.as +142 -0
  2734. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/rsa/RSAKey.as +339 -0
  2735. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/AESKey.as +2797 -0
  2736. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/BlowFishKey.as +375 -0
  2737. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CBCMode.as +55 -0
  2738. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFB8Mode.as +61 -0
  2739. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFBMode.as +64 -0
  2740. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CTRMode.as +58 -0
  2741. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/DESKey.as +365 -0
  2742. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ECBMode.as +86 -0
  2743. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ICipher.as +21 -0
  2744. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IMode.as +15 -0
  2745. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IPad.as +32 -0
  2746. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IStreamCipher.as +21 -0
  2747. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ISymmetricKey.as +35 -0
  2748. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IVMode.as +110 -0
  2749. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/NullPad.as +34 -0
  2750. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/OFBMode.as +52 -0
  2751. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/PKCS5.as +44 -0
  2752. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SSLPad.as +44 -0
  2753. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SimpleIVMode.as +60 -0
  2754. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TLSPad.as +42 -0
  2755. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TripleDESKey.as +88 -0
  2756. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/XTeaKey.as +94 -0
  2757. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/aeskey.pl +29 -0
  2758. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/dump.txt +2304 -0
  2759. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/AESKeyTest.as +1220 -0
  2760. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ARC4Test.as +58 -0
  2761. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BigIntegerTest.as +39 -0
  2762. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BlowFishKeyTest.as +148 -0
  2763. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CBCModeTest.as +160 -0
  2764. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFB8ModeTest.as +71 -0
  2765. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFBModeTest.as +98 -0
  2766. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CTRModeTest.as +109 -0
  2767. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/DESKeyTest.as +112 -0
  2768. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ECBModeTest.as +151 -0
  2769. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/HMACTest.as +184 -0
  2770. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ITestHarness.as +20 -0
  2771. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD2Test.as +56 -0
  2772. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD5Test.as +58 -0
  2773. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/OFBModeTest.as +101 -0
  2774. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/RSAKeyTest.as +92 -0
  2775. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA1Test.as +198 -0
  2776. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA224Test.as +58 -0
  2777. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA256Test.as +60 -0
  2778. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TLSPRFTest.as +51 -0
  2779. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TestCase.as +42 -0
  2780. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TripleDESKeyTest.as +59 -0
  2781. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/XTeaKeyTest.as +66 -0
  2782. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/BulkCiphers.as +102 -0
  2783. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/CipherSuites.as +117 -0
  2784. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/IConnectionState.as +14 -0
  2785. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/ISecurityParameters.as +29 -0
  2786. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as +24 -0
  2787. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/MACs.as +38 -0
  2788. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLConnectionState.as +171 -0
  2789. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as +26 -0
  2790. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLSecurityParameters.as +340 -0
  2791. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConfig.as +70 -0
  2792. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConnectionState.as +151 -0
  2793. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEngine.as +895 -0
  2794. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSError.as +39 -0
  2795. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEvent.as +27 -0
  2796. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSecurityParameters.as +197 -0
  2797. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocket.as +370 -0
  2798. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocketEvent.as +26 -0
  2799. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSTest.as +180 -0
  2800. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BarrettReduction.as +90 -0
  2801. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/BigInteger.as +1543 -0
  2802. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/ClassicReduction.as +35 -0
  2803. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/IReduction.as +11 -0
  2804. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/MontgomeryReduction.as +85 -0
  2805. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/NullReduction.as +34 -0
  2806. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/bi_internal.as +11 -0
  2807. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as +25 -0
  2808. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Base64.as +189 -0
  2809. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Hex.as +66 -0
  2810. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as +28 -0
  2811. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ByteString.as +43 -0
  2812. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/DER.as +210 -0
  2813. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/IAsn1Type.as +21 -0
  2814. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Integer.as +44 -0
  2815. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/OID.as +35 -0
  2816. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ObjectIdentifier.as +112 -0
  2817. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PEM.as +118 -0
  2818. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PrintableString.as +49 -0
  2819. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Sequence.as +90 -0
  2820. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Set.as +27 -0
  2821. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Type.as +94 -0
  2822. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/UTCTime.as +60 -0
  2823. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/sample.html +75 -0
  2824. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/swfobject.js +6 -0
  2825. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/web_socket.js +349 -0
  2826. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/.bin/uglifyjs +323 -0
  2827. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/.bin/wscat +222 -0
  2828. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/..gitignore.un~ +0 -0
  2829. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/.Readme.md.un~ +0 -0
  2830. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/.index.js.un~ +0 -0
  2831. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/.npmignore +2 -0
  2832. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/.package.json.un~ +0 -0
  2833. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/.test.js.un~ +0 -0
  2834. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/Readme.md +33 -0
  2835. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/index.js +83 -0
  2836. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/.npmignore +1 -0
  2837. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/LICENSE +19 -0
  2838. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/README +37 -0
  2839. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/Tokenizer.js +646 -0
  2840. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/ZeParser.js +2180 -0
  2841. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html +111608 -0
  2842. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/index.js +1 -0
  2843. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/package.json +47 -0
  2844. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/test-parser.html +26 -0
  2845. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/test-tokenizer.html +23 -0
  2846. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/tests.js +478 -0
  2847. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/unicodecategories.js +49 -0
  2848. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/package.json +50 -0
  2849. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/test.js +53 -0
  2850. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/.npmignore +4 -0
  2851. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/README.html +981 -0
  2852. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/README.org +574 -0
  2853. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/bin/uglifyjs +323 -0
  2854. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/docstyle.css +75 -0
  2855. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/lib/object-ast.js +75 -0
  2856. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/lib/parse-js.js +1342 -0
  2857. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/lib/process.js +2011 -0
  2858. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/lib/squeeze-more.js +69 -0
  2859. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/package.json +54 -0
  2860. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/package.json~ +24 -0
  2861. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/beautify.js +28 -0
  2862. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/testparser.js +403 -0
  2863. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/array1.js +1 -0
  2864. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/array2.js +1 -0
  2865. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/array3.js +1 -0
  2866. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/array4.js +1 -0
  2867. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/assignment.js +1 -0
  2868. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/concatstring.js +1 -0
  2869. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/const.js +1 -0
  2870. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js +1 -0
  2871. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/forstatement.js +1 -0
  2872. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/if.js +1 -0
  2873. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js +1 -0
  2874. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js +1 -0
  2875. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue10.js +1 -0
  2876. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue11.js +1 -0
  2877. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue13.js +1 -0
  2878. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue14.js +1 -0
  2879. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue16.js +1 -0
  2880. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue17.js +1 -0
  2881. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue20.js +1 -0
  2882. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue21.js +1 -0
  2883. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue25.js +1 -0
  2884. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue27.js +1 -0
  2885. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue278.js +1 -0
  2886. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue28.js +1 -0
  2887. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue29.js +1 -0
  2888. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue30.js +1 -0
  2889. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue34.js +1 -0
  2890. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue4.js +1 -0
  2891. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue48.js +1 -0
  2892. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue50.js +1 -0
  2893. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue53.js +1 -0
  2894. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js +1 -0
  2895. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue68.js +1 -0
  2896. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue69.js +1 -0
  2897. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue9.js +1 -0
  2898. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/mangle.js +1 -0
  2899. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/null_string.js +1 -0
  2900. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js +1 -0
  2901. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/var.js +1 -0
  2902. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/whitespace.js +1 -0
  2903. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/with.js +1 -0
  2904. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/array1.js +3 -0
  2905. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/array2.js +4 -0
  2906. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/array3.js +4 -0
  2907. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/array4.js +6 -0
  2908. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/assignment.js +20 -0
  2909. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/concatstring.js +3 -0
  2910. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/const.js +5 -0
  2911. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js +4 -0
  2912. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/forstatement.js +10 -0
  2913. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/if.js +6 -0
  2914. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/ifreturn.js +9 -0
  2915. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/ifreturn2.js +16 -0
  2916. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue10.js +1 -0
  2917. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue11.js +3 -0
  2918. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue13.js +1 -0
  2919. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue14.js +1 -0
  2920. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue16.js +1 -0
  2921. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue17.js +4 -0
  2922. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue20.js +1 -0
  2923. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue21.js +6 -0
  2924. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue25.js +7 -0
  2925. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue27.js +1 -0
  2926. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue278.js +1 -0
  2927. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue28.js +3 -0
  2928. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue29.js +1 -0
  2929. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue30.js +3 -0
  2930. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue34.js +3 -0
  2931. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue4.js +3 -0
  2932. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue48.js +1 -0
  2933. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue50.js +9 -0
  2934. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue53.js +1 -0
  2935. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue54.1.js +3 -0
  2936. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue68.js +5 -0
  2937. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue69.js +1 -0
  2938. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/issue9.js +4 -0
  2939. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/mangle.js +5 -0
  2940. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/null_string.js +1 -0
  2941. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/strict-equals.js +3 -0
  2942. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/var.js +3 -0
  2943. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/whitespace.js +21 -0
  2944. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/with.js +2 -0
  2945. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/scripts.js +55 -0
  2946. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/269.js +13 -0
  2947. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/app.js +22315 -0
  2948. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/embed-tokens.js +15 -0
  2949. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/goto.js +26 -0
  2950. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/goto2.js +8 -0
  2951. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/hoist.js +33 -0
  2952. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/instrument.js +97 -0
  2953. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/instrument2.js +138 -0
  2954. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/liftvars.js +8 -0
  2955. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/test.js +30 -0
  2956. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/uglify-hangs.js +3930 -0
  2957. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/uglify-hangs2.js +166 -0
  2958. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/uglify-js.js +17 -0
  2959. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/.npmignore +11 -0
  2960. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/.travis.yml +5 -0
  2961. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/History.md +312 -0
  2962. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/Makefile +40 -0
  2963. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/README.md +171 -0
  2964. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/bin/wscat +222 -0
  2965. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/binding.gyp +16 -0
  2966. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Makefile +355 -0
  2967. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/.deps/Release/bufferutil.node.d +1 -0
  2968. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/.deps/Release/obj.target/bufferutil/src/bufferutil.o.d +33 -0
  2969. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/.deps/Release/obj.target/validation/src/validation.o.d +33 -0
  2970. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/.deps/Release/validation.node.d +1 -0
  2971. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/bufferutil.node +0 -0
  2972. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/linker.lock +0 -0
  2973. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/Release/validation.node +0 -0
  2974. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/binding.Makefile +6 -0
  2975. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/bufferutil.target.mk +156 -0
  2976. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/config.gypi +136 -0
  2977. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/gyp-mac-tool +512 -0
  2978. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/validation.target.mk +156 -0
  2979. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/builderror.log +0 -0
  2980. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/index.js +26 -0
  2981. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/BufferPool.js +59 -0
  2982. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/BufferUtil.fallback.js +47 -0
  2983. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/BufferUtil.js +16 -0
  2984. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/ErrorCodes.js +24 -0
  2985. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/Receiver.hixie.js +180 -0
  2986. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/Receiver.js +585 -0
  2987. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/Sender.hixie.js +118 -0
  2988. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/Sender.js +227 -0
  2989. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/Validation.fallback.js +12 -0
  2990. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/Validation.js +16 -0
  2991. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/WebSocket.js +794 -0
  2992. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/WebSocketServer.js +465 -0
  2993. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/lib/browser.js +43 -0
  2994. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/Readme.md +195 -0
  2995. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/index.js +851 -0
  2996. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json +57 -0
  2997. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/nan/.dntrc +36 -0
  2998. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/nan/LICENSE +46 -0
  2999. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/nan/README.md +947 -0
  3000. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/nan/build/config.gypi +38 -0
  3001. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/nan/include_dirs.js +1 -0
  3002. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/nan/nan.h +1910 -0
  3003. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/nan/package.json +67 -0
  3004. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/.npmignore +7 -0
  3005. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/Makefile +12 -0
  3006. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/README.md +69 -0
  3007. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/lib/options.js +86 -0
  3008. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/package.json +50 -0
  3009. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/.npmignore +5 -0
  3010. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/README.md +3 -0
  3011. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/example.js +3 -0
  3012. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json +43 -0
  3013. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/tinycolor.js +31 -0
  3014. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json +81 -0
  3015. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/src/bufferutil.cc +117 -0
  3016. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/src/validation.cc +145 -0
  3017. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/README.md +53 -0
  3018. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/autotest.watchr +8 -0
  3019. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/example/demo.js +16 -0
  3020. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/lib/XMLHttpRequest.js +548 -0
  3021. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json +59 -0
  3022. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/tests/test-constants.js +13 -0
  3023. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/tests/test-events.js +50 -0
  3024. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/tests/test-exceptions.js +62 -0
  3025. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/tests/test-headers.js +61 -0
  3026. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/tests/test-request-methods.js +62 -0
  3027. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/tests/test-request-protocols.js +34 -0
  3028. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/tests/testdata.txt +1 -0
  3029. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/package.json +80 -0
  3030. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/test/events.test.js +120 -0
  3031. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/test/io.test.js +31 -0
  3032. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/test/node/builder.common.js +102 -0
  3033. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/test/node/builder.test.js +131 -0
  3034. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/test/parser.test.js +360 -0
  3035. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/test/socket.test.js +422 -0
  3036. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/test/util.test.js +156 -0
  3037. data/jasmine/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/test/worker.js +20 -0
  3038. data/jasmine/node_modules/karma/node_modules/socket.io/package.json +83 -0
  3039. data/jasmine/node_modules/karma/node_modules/source-map/.npmignore +2 -0
  3040. data/jasmine/node_modules/karma/node_modules/source-map/.travis.yml +4 -0
  3041. data/jasmine/node_modules/karma/node_modules/source-map/CHANGELOG.md +194 -0
  3042. data/jasmine/node_modules/karma/node_modules/source-map/LICENSE +28 -0
  3043. data/jasmine/node_modules/karma/node_modules/source-map/Makefile.dryice.js +166 -0
  3044. data/jasmine/node_modules/karma/node_modules/source-map/README.md +475 -0
  3045. data/jasmine/node_modules/karma/node_modules/source-map/build/assert-shim.js +56 -0
  3046. data/jasmine/node_modules/karma/node_modules/source-map/build/mini-require.js +152 -0
  3047. data/jasmine/node_modules/karma/node_modules/source-map/build/prefix-source-map.jsm +20 -0
  3048. data/jasmine/node_modules/karma/node_modules/source-map/build/prefix-utils.jsm +18 -0
  3049. data/jasmine/node_modules/karma/node_modules/source-map/build/suffix-browser.js +8 -0
  3050. data/jasmine/node_modules/karma/node_modules/source-map/build/suffix-source-map.jsm +6 -0
  3051. data/jasmine/node_modules/karma/node_modules/source-map/build/suffix-utils.jsm +21 -0
  3052. data/jasmine/node_modules/karma/node_modules/source-map/build/test-prefix.js +8 -0
  3053. data/jasmine/node_modules/karma/node_modules/source-map/build/test-suffix.js +3 -0
  3054. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map.js +8 -0
  3055. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map/array-set.js +97 -0
  3056. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map/base64-vlq.js +142 -0
  3057. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map/base64.js +42 -0
  3058. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map/binary-search.js +80 -0
  3059. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map/mapping-list.js +86 -0
  3060. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map/source-map-consumer.js +575 -0
  3061. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map/source-map-generator.js +400 -0
  3062. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map/source-node.js +414 -0
  3063. data/jasmine/node_modules/karma/node_modules/source-map/lib/source-map/util.js +319 -0
  3064. data/jasmine/node_modules/karma/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
  3065. data/jasmine/node_modules/karma/node_modules/source-map/node_modules/amdefine/README.md +171 -0
  3066. data/jasmine/node_modules/karma/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
  3067. data/jasmine/node_modules/karma/node_modules/source-map/node_modules/amdefine/intercept.js +36 -0
  3068. data/jasmine/node_modules/karma/node_modules/source-map/node_modules/amdefine/package.json +54 -0
  3069. data/jasmine/node_modules/karma/node_modules/source-map/package.json +186 -0
  3070. data/jasmine/node_modules/karma/node_modules/source-map/test/run-tests.js +62 -0
  3071. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-api.js +26 -0
  3072. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-array-set.js +104 -0
  3073. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-base64-vlq.js +23 -0
  3074. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-base64.js +35 -0
  3075. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
  3076. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-dog-fooding.js +84 -0
  3077. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-source-map-consumer.js +702 -0
  3078. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-source-map-generator.js +679 -0
  3079. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-source-node.js +612 -0
  3080. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/test-util.js +216 -0
  3081. data/jasmine/node_modules/karma/node_modules/source-map/test/source-map/util.js +192 -0
  3082. data/jasmine/node_modules/karma/node_modules/useragent/.npmignore +3 -0
  3083. data/jasmine/node_modules/karma/node_modules/useragent/.travis.yml +4 -0
  3084. data/jasmine/node_modules/karma/node_modules/useragent/CHANGELOG.md +63 -0
  3085. data/jasmine/node_modules/karma/node_modules/useragent/CREDITS +16 -0
  3086. data/jasmine/node_modules/karma/node_modules/useragent/LICENSE +19 -0
  3087. data/jasmine/node_modules/karma/node_modules/useragent/README.md +395 -0
  3088. data/jasmine/node_modules/karma/node_modules/useragent/bin/testfiles.js +24 -0
  3089. data/jasmine/node_modules/karma/node_modules/useragent/bin/update.js +17 -0
  3090. data/jasmine/node_modules/karma/node_modules/useragent/features/index.js +19 -0
  3091. data/jasmine/node_modules/karma/node_modules/useragent/index.js +607 -0
  3092. data/jasmine/node_modules/karma/node_modules/useragent/lib/regexps.js +2872 -0
  3093. data/jasmine/node_modules/karma/node_modules/useragent/lib/update.js +202 -0
  3094. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/.npmignore +1 -0
  3095. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/AUTHORS +8 -0
  3096. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/LICENSE +23 -0
  3097. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/README.md +88 -0
  3098. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/lib/lru-cache.js +242 -0
  3099. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/package.json +75 -0
  3100. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/s.js +25 -0
  3101. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/test/basic.js +317 -0
  3102. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/test/foreach.js +52 -0
  3103. data/jasmine/node_modules/karma/node_modules/useragent/node_modules/lru-cache/test/memory-leak.js +50 -0
  3104. data/jasmine/node_modules/karma/node_modules/useragent/package.json +79 -0
  3105. data/jasmine/node_modules/karma/node_modules/useragent/static/user_agent.after.yaml +17 -0
  3106. data/jasmine/node_modules/karma/node_modules/useragent/test/features.test.js +16 -0
  3107. data/jasmine/node_modules/karma/node_modules/useragent/test/fixtures/firefoxes.yaml +1386 -0
  3108. data/jasmine/node_modules/karma/node_modules/useragent/test/fixtures/pgts.yaml +62356 -0
  3109. data/jasmine/node_modules/karma/node_modules/useragent/test/fixtures/static.custom.yaml +13 -0
  3110. data/jasmine/node_modules/karma/node_modules/useragent/test/fixtures/testcases.yaml +389 -0
  3111. data/jasmine/node_modules/karma/node_modules/useragent/test/mocha.opts +4 -0
  3112. data/jasmine/node_modules/karma/node_modules/useragent/test/parser.qa.js +45 -0
  3113. data/jasmine/node_modules/karma/node_modules/useragent/test/parser.test.js +251 -0
  3114. data/jasmine/node_modules/karma/package.json +675 -0
  3115. data/jasmine/node_modules/karma/requirejs.config.tpl.coffee +19 -0
  3116. data/jasmine/node_modules/karma/requirejs.config.tpl.js +24 -0
  3117. data/jasmine/node_modules/karma/static/client.html +116 -0
  3118. data/jasmine/node_modules/karma/static/context.html +35 -0
  3119. data/jasmine/node_modules/karma/static/debug.html +58 -0
  3120. data/jasmine/node_modules/karma/static/karma.js +411 -0
  3121. data/jasmine/node_modules/requirejs/README.md +9 -0
  3122. data/jasmine/node_modules/requirejs/bin/r.js +29003 -0
  3123. data/jasmine/node_modules/requirejs/package.json +56 -0
  3124. data/jasmine/node_modules/requirejs/require.js +2083 -0
  3125. data/jasmine/spec/hoochSpec.js +25 -0
  3126. data/jasmine/test-main.js +24 -0
  3127. data/lib/hooch/hooch_helper.rb +93 -2
  3128. data/lib/hooch/version.rb +1 -1
  3129. data/test/dummy/README.rdoc +28 -0
  3130. data/test/dummy/Rakefile +6 -0
  3131. data/test/dummy/app/assets/images/.keep +0 -0
  3132. data/test/dummy/app/assets/javascripts/application.js +13 -0
  3133. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  3134. data/test/dummy/app/controllers/application_controller.rb +5 -0
  3135. data/test/dummy/app/controllers/concerns/.keep +0 -0
  3136. data/test/dummy/app/helpers/application_helper.rb +2 -0
  3137. data/test/dummy/app/mailers/.keep +0 -0
  3138. data/test/dummy/app/models/.keep +0 -0
  3139. data/test/dummy/app/models/concerns/.keep +0 -0
  3140. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  3141. data/test/dummy/bin/bundle +3 -0
  3142. data/test/dummy/bin/rails +4 -0
  3143. data/test/dummy/bin/rake +4 -0
  3144. data/test/dummy/config.ru +4 -0
  3145. data/test/dummy/config/application.rb +23 -0
  3146. data/test/dummy/config/boot.rb +5 -0
  3147. data/test/dummy/config/database.yml +25 -0
  3148. data/test/dummy/config/environment.rb +5 -0
  3149. data/test/dummy/config/environments/development.rb +37 -0
  3150. data/test/dummy/config/environments/production.rb +82 -0
  3151. data/test/dummy/config/environments/test.rb +39 -0
  3152. data/test/dummy/config/initializers/assets.rb +8 -0
  3153. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  3154. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  3155. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  3156. data/test/dummy/config/initializers/inflections.rb +16 -0
  3157. data/test/dummy/config/initializers/mime_types.rb +4 -0
  3158. data/test/dummy/config/initializers/session_store.rb +3 -0
  3159. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  3160. data/test/dummy/config/locales/en.yml +23 -0
  3161. data/test/dummy/config/routes.rb +56 -0
  3162. data/test/dummy/config/secrets.yml +22 -0
  3163. data/test/dummy/db/development.sqlite3 +0 -0
  3164. data/test/dummy/db/schema.rb +16 -0
  3165. data/test/dummy/db/test.sqlite3 +0 -0
  3166. data/test/dummy/lib/assets/.keep +0 -0
  3167. data/test/dummy/log/.keep +0 -0
  3168. data/test/dummy/log/development.log +4 -0
  3169. data/test/dummy/log/test.log +1418 -0
  3170. data/test/dummy/public/404.html +67 -0
  3171. data/test/dummy/public/422.html +67 -0
  3172. data/test/dummy/public/500.html +66 -0
  3173. data/test/dummy/public/favicon.ico +0 -0
  3174. data/test/hooch_helper_test.rb +141 -0
  3175. data/test/test_helper.rb +20 -0
  3176. metadata +3281 -3
@@ -0,0 +1,15 @@
1
+ #! /usr/bin/env node
2
+
3
+ global.sys = require(/^v0\.[012]/.test(process.version) ? "sys" : "util");
4
+ var fs = require("fs");
5
+ var uglify = require("uglify-js"), // symlink ~/.node_libraries/uglify-js.js to ../uglify-js.js
6
+ jsp = uglify.parser,
7
+ pro = uglify.uglify;
8
+
9
+ var code = fs.readFileSync("embed-tokens.js", "utf8").replace(/^#.*$/mg, "");
10
+ var ast = jsp.parse(code, null, true);
11
+
12
+ // trololo
13
+ function fooBar() {}
14
+
15
+ console.log(sys.inspect(ast, null, null));
@@ -0,0 +1,26 @@
1
+ function unique(arqw) {
2
+ var a = [], i, j
3
+ outer: for (i = 0; i < arqw.length; i++) {
4
+ for (j = 0; j < a.length; j++) {
5
+ if (a[j] == arqw[i]) {
6
+ continue outer
7
+ }
8
+ }
9
+ a[a.length] = arqw[i]
10
+ }
11
+ return a
12
+ }
13
+
14
+
15
+ function unique(arqw) {
16
+ var crap = [], i, j
17
+ outer: for (i = 0; i < arqw.length; i++) {
18
+ for (j = 0; j < crap.length; j++) {
19
+ if (crap[j] == arqw[i]) {
20
+ continue outer
21
+ }
22
+ }
23
+ crap[crap.length] = arqw[i]
24
+ }
25
+ return crap
26
+ }
@@ -0,0 +1,8 @@
1
+ function q(qooo) {
2
+ var a;
3
+ foo: for(;;) {
4
+ a++;
5
+ if (something) break foo;
6
+ return qooo;
7
+ }
8
+ }
@@ -0,0 +1,33 @@
1
+ function foo(arg1, arg2, arg3, arg4, arg5, arg6) {
2
+ var a = 5;
3
+ {
4
+ var d = 10, mak = 20, buz = 30;
5
+ var q = buz * 2;
6
+ }
7
+ if (moo) {
8
+ var a, b, c;
9
+ }
10
+ for (var arg1 = 0, d = 20; arg1 < 10; ++arg1)
11
+ console.log(arg3);
12
+ for (var i in mak) {}
13
+ for (j in d) {}
14
+ var d;
15
+
16
+ function test() {
17
+
18
+ };
19
+
20
+ //test();
21
+
22
+ (function moo(first, second){
23
+ console.log(first);
24
+ })(1);
25
+
26
+ (function moo(first, second){
27
+ console.log(moo());
28
+ })(1);
29
+ }
30
+
31
+
32
+ var foo;
33
+ var bar;
@@ -0,0 +1,97 @@
1
+ // sample on how to use the parser and walker API to instrument some code
2
+
3
+ var jsp = require("uglify-js").parser;
4
+ var pro = require("uglify-js").uglify;
5
+
6
+ function instrument(code) {
7
+ var ast = jsp.parse(code, false, true); // true for the third arg specifies that we want
8
+ // to have start/end tokens embedded in the
9
+ // statements
10
+ var w = pro.ast_walker();
11
+
12
+ // we're gonna need this to push elements that we're currently looking at, to avoid
13
+ // endless recursion.
14
+ var analyzing = [];
15
+ function do_stat() {
16
+ var ret;
17
+ if (this[0].start && analyzing.indexOf(this) < 0) {
18
+ // without the `analyzing' hack, w.walk(this) would re-enter here leading
19
+ // to infinite recursion
20
+ analyzing.push(this);
21
+ ret = [ "splice", // XXX: "block" is safer
22
+ [ [ "stat",
23
+ [ "call", [ "name", "trace" ],
24
+ [ [ "string", this[0].toString() ],
25
+ [ "num", this[0].start.line ],
26
+ [ "num", this[0].start.col ],
27
+ [ "num", this[0].end.line ],
28
+ [ "num", this[0].end.col ]]]],
29
+ w.walk(this) ]];
30
+ analyzing.pop(this);
31
+ }
32
+ return ret;
33
+ };
34
+ var new_ast = w.with_walkers({
35
+ "stat" : do_stat,
36
+ "label" : do_stat,
37
+ "break" : do_stat,
38
+ "continue" : do_stat,
39
+ "debugger" : do_stat,
40
+ "var" : do_stat,
41
+ "const" : do_stat,
42
+ "return" : do_stat,
43
+ "throw" : do_stat,
44
+ "try" : do_stat,
45
+ "defun" : do_stat,
46
+ "if" : do_stat,
47
+ "while" : do_stat,
48
+ "do" : do_stat,
49
+ "for" : do_stat,
50
+ "for-in" : do_stat,
51
+ "switch" : do_stat,
52
+ "with" : do_stat
53
+ }, function(){
54
+ return w.walk(ast);
55
+ });
56
+ return pro.gen_code(new_ast, { beautify: true });
57
+ }
58
+
59
+
60
+
61
+
62
+ ////// test code follows.
63
+
64
+ var code = instrument(test.toString());
65
+ console.log(code);
66
+
67
+ function test() {
68
+ // simple stats
69
+ a = 5;
70
+ c += a + b;
71
+ "foo";
72
+
73
+ // var
74
+ var foo = 5;
75
+ const bar = 6, baz = 7;
76
+
77
+ // switch block. note we can't track case lines the same way.
78
+ switch ("foo") {
79
+ case "foo":
80
+ return 1;
81
+ case "bar":
82
+ return 2;
83
+ }
84
+
85
+ // for/for in
86
+ for (var i = 0; i < 5; ++i) {
87
+ console.log("Hello " + i);
88
+ }
89
+ for (var i in [ 1, 2, 3]) {
90
+ console.log(i);
91
+ }
92
+
93
+ // note however that the following is broken. I guess we
94
+ // should add the block brackets in this case...
95
+ for (var i = 0; i < 5; ++i)
96
+ console.log("foo");
97
+ }
@@ -0,0 +1,138 @@
1
+ // sample on how to use the parser and walker API to instrument some code
2
+
3
+ var jsp = require("uglify-js").parser;
4
+ var pro = require("uglify-js").uglify;
5
+
6
+ function instrument(code) {
7
+ var ast = jsp.parse(code, false, true); // true for the third arg specifies that we want
8
+ // to have start/end tokens embedded in the
9
+ // statements
10
+ var w = pro.ast_walker();
11
+
12
+ function trace (line, comment) {
13
+ var code = pro.gen_code(line, { beautify: true });
14
+ var data = line[0]
15
+
16
+ var args = []
17
+ if (!comment) comment = ""
18
+ if (typeof data === "object") {
19
+ code = code.split(/\n/).shift()
20
+ args = [ [ "string", data.toString() ],
21
+ [ "string", code ],
22
+ [ "num", data.start.line ],
23
+ [ "num", data.start.col ],
24
+ [ "num", data.end.line ],
25
+ [ "num", data.end.col ]]
26
+ } else {
27
+ args = [ [ "string", data ],
28
+ [ "string", code ]]
29
+
30
+ }
31
+ return [ "call", [ "name", "trace" ], args ];
32
+ }
33
+
34
+ // we're gonna need this to push elements that we're currently looking at, to avoid
35
+ // endless recursion.
36
+ var analyzing = [];
37
+ function do_stat() {
38
+ var ret;
39
+ if (this[0].start && analyzing.indexOf(this) < 0) {
40
+ // without the `analyzing' hack, w.walk(this) would re-enter here leading
41
+ // to infinite recursion
42
+ analyzing.push(this);
43
+ ret = [ "splice",
44
+ [ [ "stat", trace(this) ],
45
+ w.walk(this) ]];
46
+ analyzing.pop(this);
47
+ }
48
+ return ret;
49
+ }
50
+
51
+ function do_cond(c, t, f) {
52
+ return [ this[0], w.walk(c),
53
+ ["seq", trace(t), w.walk(t) ],
54
+ ["seq", trace(f), w.walk(f) ]];
55
+ }
56
+
57
+ function do_binary(c, l, r) {
58
+ if (c !== "&&" && c !== "||") {
59
+ return [this[0], c, w.walk(l), w.walk(r)];
60
+ }
61
+ return [ this[0], c,
62
+ ["seq", trace(l), w.walk(l) ],
63
+ ["seq", trace(r), w.walk(r) ]];
64
+ }
65
+
66
+ var new_ast = w.with_walkers({
67
+ "stat" : do_stat,
68
+ "label" : do_stat,
69
+ "break" : do_stat,
70
+ "continue" : do_stat,
71
+ "debugger" : do_stat,
72
+ "var" : do_stat,
73
+ "const" : do_stat,
74
+ "return" : do_stat,
75
+ "throw" : do_stat,
76
+ "try" : do_stat,
77
+ "defun" : do_stat,
78
+ "if" : do_stat,
79
+ "while" : do_stat,
80
+ "do" : do_stat,
81
+ "for" : do_stat,
82
+ "for-in" : do_stat,
83
+ "switch" : do_stat,
84
+ "with" : do_stat,
85
+ "conditional" : do_cond,
86
+ "binary" : do_binary
87
+ }, function(){
88
+ return w.walk(ast);
89
+ });
90
+ return pro.gen_code(new_ast, { beautify: true });
91
+ }
92
+
93
+
94
+ ////// test code follows.
95
+
96
+ var code = instrument(test.toString());
97
+ console.log(code);
98
+
99
+ function test() {
100
+ // simple stats
101
+ a = 5;
102
+ c += a + b;
103
+ "foo";
104
+
105
+ // var
106
+ var foo = 5;
107
+ const bar = 6, baz = 7;
108
+
109
+ // switch block. note we can't track case lines the same way.
110
+ switch ("foo") {
111
+ case "foo":
112
+ return 1;
113
+ case "bar":
114
+ return 2;
115
+ }
116
+
117
+ // for/for in
118
+ for (var i = 0; i < 5; ++i) {
119
+ console.log("Hello " + i);
120
+ }
121
+ for (var i in [ 1, 2, 3]) {
122
+ console.log(i);
123
+ }
124
+
125
+ for (var i = 0; i < 5; ++i)
126
+ console.log("foo");
127
+
128
+ for (var i = 0; i < 5; ++i) {
129
+ console.log("foo");
130
+ }
131
+
132
+ var k = plurp() ? 1 : 0;
133
+ var x = a ? doX(y) && goZoo("zoo")
134
+ : b ? blerg({ x: y })
135
+ : null;
136
+
137
+ var x = X || Y;
138
+ }
@@ -0,0 +1,8 @@
1
+ var UNUSED_VAR1 = 19;
2
+
3
+ function main() {
4
+ var unused_var2 = 20;
5
+ alert(100);
6
+ }
7
+
8
+ main();
@@ -0,0 +1,30 @@
1
+ #! /usr/bin/env node
2
+
3
+ global.sys = require(/^v0\.[012]/.test(process.version) ? "sys" : "util");
4
+ var fs = require("fs");
5
+ var uglify = require("uglify-js"), // symlink ~/.node_libraries/uglify-js.js to ../uglify-js.js
6
+ jsp = uglify.parser,
7
+ pro = uglify.uglify;
8
+
9
+ var code = fs.readFileSync("hoist.js", "utf8");
10
+ var ast = jsp.parse(code);
11
+
12
+ ast = pro.ast_lift_variables(ast);
13
+
14
+ var w = pro.ast_walker();
15
+ ast = w.with_walkers({
16
+ "function": function() {
17
+ var node = w.dive(this); // walk depth first
18
+ console.log(pro.gen_code(node, { beautify: true }));
19
+ return node;
20
+ },
21
+ "name": function(name) {
22
+ return [ this[0], "X" ];
23
+ }
24
+ }, function(){
25
+ return w.walk(ast);
26
+ });
27
+
28
+ console.log(pro.gen_code(ast, {
29
+ beautify: true
30
+ }));
@@ -0,0 +1,3930 @@
1
+ /**
2
+ * @fileoverview
3
+ *
4
+ * JsWorld
5
+ *
6
+ * <p>Javascript library for localised formatting and parsing of:
7
+ * <ul>
8
+ * <li>Numbers
9
+ * <li>Dates and times
10
+ * <li>Currency
11
+ * </ul>
12
+ *
13
+ * <p>The library classes are configured with standard POSIX locale definitions
14
+ * derived from Unicode's Common Locale Data Repository (CLDR).
15
+ *
16
+ * <p>Website: <a href="http://software.dzhuvinov.com/jsworld.html">JsWorld</a>
17
+ *
18
+ * @author Vladimir Dzhuvinov
19
+ * @version 2.5 (2011-12-23)
20
+ */
21
+
22
+
23
+
24
+ /**
25
+ * @namespace Namespace container for the JsWorld library objects.
26
+ */
27
+ jsworld = {};
28
+
29
+
30
+ /**
31
+ * @function
32
+ *
33
+ * @description Formats a JavaScript Date object as an ISO-8601 date/time
34
+ * string.
35
+ *
36
+ * @param {Date} [d] A valid JavaScript Date object. If undefined the
37
+ * current date/time will be used.
38
+ * @param {Boolean} [withTZ] Include timezone offset, default false.
39
+ *
40
+ * @returns {String} The date/time formatted as YYYY-MM-DD HH:MM:SS.
41
+ */
42
+ jsworld.formatIsoDateTime = function(d, withTZ) {
43
+
44
+ if (typeof d === "undefined")
45
+ d = new Date(); // now
46
+
47
+ if (typeof withTZ === "undefined")
48
+ withTZ = false;
49
+
50
+ var s = jsworld.formatIsoDate(d) + " " + jsworld.formatIsoTime(d);
51
+
52
+ if (withTZ) {
53
+
54
+ var diff = d.getHours() - d.getUTCHours();
55
+ var hourDiff = Math.abs(diff);
56
+
57
+ var minuteUTC = d.getUTCMinutes();
58
+ var minute = d.getMinutes();
59
+
60
+ if (minute != minuteUTC && minuteUTC < 30 && diff < 0)
61
+ hourDiff--;
62
+
63
+ if (minute != minuteUTC && minuteUTC > 30 && diff > 0)
64
+ hourDiff--;
65
+
66
+ var minuteDiff;
67
+ if (minute != minuteUTC)
68
+ minuteDiff = ":30";
69
+ else
70
+ minuteDiff = ":00";
71
+
72
+ var timezone;
73
+ if (hourDiff < 10)
74
+ timezone = "0" + hourDiff + minuteDiff;
75
+
76
+ else
77
+ timezone = "" + hourDiff + minuteDiff;
78
+
79
+ if (diff < 0)
80
+ timezone = "-" + timezone;
81
+
82
+ else
83
+ timezone = "+" + timezone;
84
+
85
+ s = s + timezone;
86
+ }
87
+
88
+ return s;
89
+ };
90
+
91
+
92
+ /**
93
+ * @function
94
+ *
95
+ * @description Formats a JavaScript Date object as an ISO-8601 date string.
96
+ *
97
+ * @param {Date} [d] A valid JavaScript Date object. If undefined the current
98
+ * date will be used.
99
+ *
100
+ * @returns {String} The date formatted as YYYY-MM-DD.
101
+ */
102
+ jsworld.formatIsoDate = function(d) {
103
+
104
+ if (typeof d === "undefined")
105
+ d = new Date(); // now
106
+
107
+ var year = d.getFullYear();
108
+ var month = d.getMonth() + 1;
109
+ var day = d.getDate();
110
+
111
+ return year + "-" + jsworld._zeroPad(month, 2) + "-" + jsworld._zeroPad(day, 2);
112
+ };
113
+
114
+
115
+ /**
116
+ * @function
117
+ *
118
+ * @description Formats a JavaScript Date object as an ISO-8601 time string.
119
+ *
120
+ * @param {Date} [d] A valid JavaScript Date object. If undefined the current
121
+ * time will be used.
122
+ *
123
+ * @returns {String} The time formatted as HH:MM:SS.
124
+ */
125
+ jsworld.formatIsoTime = function(d) {
126
+
127
+ if (typeof d === "undefined")
128
+ d = new Date(); // now
129
+
130
+ var hour = d.getHours();
131
+ var minute = d.getMinutes();
132
+ var second = d.getSeconds();
133
+
134
+ return jsworld._zeroPad(hour, 2) + ":" + jsworld._zeroPad(minute, 2) + ":" + jsworld._zeroPad(second, 2);
135
+ };
136
+
137
+
138
+ /**
139
+ * @function
140
+ *
141
+ * @description Parses an ISO-8601 formatted date/time string to a JavaScript
142
+ * Date object.
143
+ *
144
+ * @param {String} isoDateTimeVal An ISO-8601 formatted date/time string.
145
+ *
146
+ * <p>Accepted formats:
147
+ *
148
+ * <ul>
149
+ * <li>YYYY-MM-DD HH:MM:SS
150
+ * <li>YYYYMMDD HHMMSS
151
+ * <li>YYYY-MM-DD HHMMSS
152
+ * <li>YYYYMMDD HH:MM:SS
153
+ * </ul>
154
+ *
155
+ * @returns {Date} The corresponding Date object.
156
+ *
157
+ * @throws Error on a badly formatted date/time string or on a invalid date.
158
+ */
159
+ jsworld.parseIsoDateTime = function(isoDateTimeVal) {
160
+
161
+ if (typeof isoDateTimeVal != "string")
162
+ throw "Error: The parameter must be a string";
163
+
164
+ // First, try to match "YYYY-MM-DD HH:MM:SS" format
165
+ var matches = isoDateTimeVal.match(/^(\d\d\d\d)-(\d\d)-(\d\d)[T ](\d\d):(\d\d):(\d\d)/);
166
+
167
+ // If unsuccessful, try to match "YYYYMMDD HHMMSS" format
168
+ if (matches === null)
169
+ matches = isoDateTimeVal.match(/^(\d\d\d\d)(\d\d)(\d\d)[T ](\d\d)(\d\d)(\d\d)/);
170
+
171
+ // ... try to match "YYYY-MM-DD HHMMSS" format
172
+ if (matches === null)
173
+ matches = isoDateTimeVal.match(/^(\d\d\d\d)-(\d\d)-(\d\d)[T ](\d\d)(\d\d)(\d\d)/);
174
+
175
+ // ... try to match "YYYYMMDD HH:MM:SS" format
176
+ if (matches === null)
177
+ matches = isoDateTimeVal.match(/^(\d\d\d\d)-(\d\d)-(\d\d)[T ](\d\d):(\d\d):(\d\d)/);
178
+
179
+ // Report bad date/time string
180
+ if (matches === null)
181
+ throw "Error: Invalid ISO-8601 date/time string";
182
+
183
+ // Force base 10 parse int as some values may have leading zeros!
184
+ // (to avoid implicit octal base conversion)
185
+ var year = parseInt(matches[1], 10);
186
+ var month = parseInt(matches[2], 10);
187
+ var day = parseInt(matches[3], 10);
188
+
189
+ var hour = parseInt(matches[4], 10);
190
+ var mins = parseInt(matches[5], 10);
191
+ var secs = parseInt(matches[6], 10);
192
+
193
+ // Simple value range check, leap years not checked
194
+ // Note: the originial ISO time spec for leap hours (24:00:00) and seconds (00:00:60) is not supported
195
+ if (month < 1 || month > 12 ||
196
+ day < 1 || day > 31 ||
197
+ hour < 0 || hour > 23 ||
198
+ mins < 0 || mins > 59 ||
199
+ secs < 0 || secs > 59 )
200
+
201
+ throw "Error: Invalid ISO-8601 date/time value";
202
+
203
+ var d = new Date(year, month - 1, day, hour, mins, secs);
204
+
205
+ // Check if the input date was valid
206
+ // (JS Date does automatic forward correction)
207
+ if (d.getDate() != day || d.getMonth() +1 != month)
208
+ throw "Error: Invalid date";
209
+
210
+ return d;
211
+ };
212
+
213
+
214
+ /**
215
+ * @function
216
+ *
217
+ * @description Parses an ISO-8601 formatted date string to a JavaScript
218
+ * Date object.
219
+ *
220
+ * @param {String} isoDateVal An ISO-8601 formatted date string.
221
+ *
222
+ * <p>Accepted formats:
223
+ *
224
+ * <ul>
225
+ * <li>YYYY-MM-DD
226
+ * <li>YYYYMMDD
227
+ * </ul>
228
+ *
229
+ * @returns {Date} The corresponding Date object.
230
+ *
231
+ * @throws Error on a badly formatted date string or on a invalid date.
232
+ */
233
+ jsworld.parseIsoDate = function(isoDateVal) {
234
+
235
+ if (typeof isoDateVal != "string")
236
+ throw "Error: The parameter must be a string";
237
+
238
+ // First, try to match "YYYY-MM-DD" format
239
+ var matches = isoDateVal.match(/^(\d\d\d\d)-(\d\d)-(\d\d)/);
240
+
241
+ // If unsuccessful, try to match "YYYYMMDD" format
242
+ if (matches === null)
243
+ matches = isoDateVal.match(/^(\d\d\d\d)(\d\d)(\d\d)/);
244
+
245
+ // Report bad date/time string
246
+ if (matches === null)
247
+ throw "Error: Invalid ISO-8601 date string";
248
+
249
+ // Force base 10 parse int as some values may have leading zeros!
250
+ // (to avoid implicit octal base conversion)
251
+ var year = parseInt(matches[1], 10);
252
+ var month = parseInt(matches[2], 10);
253
+ var day = parseInt(matches[3], 10);
254
+
255
+ // Simple value range check, leap years not checked
256
+ if (month < 1 || month > 12 ||
257
+ day < 1 || day > 31 )
258
+
259
+ throw "Error: Invalid ISO-8601 date value";
260
+
261
+ var d = new Date(year, month - 1, day);
262
+
263
+ // Check if the input date was valid
264
+ // (JS Date does automatic forward correction)
265
+ if (d.getDate() != day || d.getMonth() +1 != month)
266
+ throw "Error: Invalid date";
267
+
268
+ return d;
269
+ };
270
+
271
+
272
+ /**
273
+ * @function
274
+ *
275
+ * @description Parses an ISO-8601 formatted time string to a JavaScript
276
+ * Date object.
277
+ *
278
+ * @param {String} isoTimeVal An ISO-8601 formatted time string.
279
+ *
280
+ * <p>Accepted formats:
281
+ *
282
+ * <ul>
283
+ * <li>HH:MM:SS
284
+ * <li>HHMMSS
285
+ * </ul>
286
+ *
287
+ * @returns {Date} The corresponding Date object, with year, month and day set
288
+ * to zero.
289
+ *
290
+ * @throws Error on a badly formatted time string.
291
+ */
292
+ jsworld.parseIsoTime = function(isoTimeVal) {
293
+
294
+ if (typeof isoTimeVal != "string")
295
+ throw "Error: The parameter must be a string";
296
+
297
+ // First, try to match "HH:MM:SS" format
298
+ var matches = isoTimeVal.match(/^(\d\d):(\d\d):(\d\d)/);
299
+
300
+ // If unsuccessful, try to match "HHMMSS" format
301
+ if (matches === null)
302
+ matches = isoTimeVal.match(/^(\d\d)(\d\d)(\d\d)/);
303
+
304
+ // Report bad date/time string
305
+ if (matches === null)
306
+ throw "Error: Invalid ISO-8601 date/time string";
307
+
308
+ // Force base 10 parse int as some values may have leading zeros!
309
+ // (to avoid implicit octal base conversion)
310
+ var hour = parseInt(matches[1], 10);
311
+ var mins = parseInt(matches[2], 10);
312
+ var secs = parseInt(matches[3], 10);
313
+
314
+ // Simple value range check, leap years not checked
315
+ if (hour < 0 || hour > 23 ||
316
+ mins < 0 || mins > 59 ||
317
+ secs < 0 || secs > 59 )
318
+
319
+ throw "Error: Invalid ISO-8601 time value";
320
+
321
+ return new Date(0, 0, 0, hour, mins, secs);
322
+ };
323
+
324
+
325
+ /**
326
+ * @private
327
+ *
328
+ * @description Trims leading and trailing whitespace from a string.
329
+ *
330
+ * <p>Used non-regexp the method from http://blog.stevenlevithan.com/archives/faster-trim-javascript
331
+ *
332
+ * @param {String} str The string to trim.
333
+ *
334
+ * @returns {String} The trimmed string.
335
+ */
336
+ jsworld._trim = function(str) {
337
+
338
+ var whitespace = ' \n\r\t\f\x0b\xa0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u3000';
339
+
340
+ for (var i = 0; i < str.length; i++) {
341
+
342
+ if (whitespace.indexOf(str.charAt(i)) === -1) {
343
+ str = str.substring(i);
344
+ break;
345
+ }
346
+ }
347
+
348
+ for (i = str.length - 1; i >= 0; i--) {
349
+ if (whitespace.indexOf(str.charAt(i)) === -1) {
350
+ str = str.substring(0, i + 1);
351
+ break;
352
+ }
353
+ }
354
+
355
+ return whitespace.indexOf(str.charAt(0)) === -1 ? str : '';
356
+ };
357
+
358
+
359
+
360
+ /**
361
+ * @private
362
+ *
363
+ * @description Returns true if the argument represents a decimal number.
364
+ *
365
+ * @param {Number|String} arg The argument to test.
366
+ *
367
+ * @returns {Boolean} true if the argument represents a decimal number,
368
+ * otherwise false.
369
+ */
370
+ jsworld._isNumber = function(arg) {
371
+
372
+ if (typeof arg == "number")
373
+ return true;
374
+
375
+ if (typeof arg != "string")
376
+ return false;
377
+
378
+ // ensure string
379
+ var s = arg + "";
380
+
381
+ return (/^-?(\d+|\d*\.\d+)$/).test(s);
382
+ };
383
+
384
+
385
+ /**
386
+ * @private
387
+ *
388
+ * @description Returns true if the argument represents a decimal integer.
389
+ *
390
+ * @param {Number|String} arg The argument to test.
391
+ *
392
+ * @returns {Boolean} true if the argument represents an integer, otherwise
393
+ * false.
394
+ */
395
+ jsworld._isInteger = function(arg) {
396
+
397
+ if (typeof arg != "number" && typeof arg != "string")
398
+ return false;
399
+
400
+ // convert to string
401
+ var s = arg + "";
402
+
403
+ return (/^-?\d+$/).test(s);
404
+ };
405
+
406
+
407
+ /**
408
+ * @private
409
+ *
410
+ * @description Returns true if the argument represents a decimal float.
411
+ *
412
+ * @param {Number|String} arg The argument to test.
413
+ *
414
+ * @returns {Boolean} true if the argument represents a float, otherwise false.
415
+ */
416
+ jsworld._isFloat = function(arg) {
417
+
418
+ if (typeof arg != "number" && typeof arg != "string")
419
+ return false;
420
+
421
+ // convert to string
422
+ var s = arg + "";
423
+
424
+ return (/^-?\.\d+?$/).test(s);
425
+ };
426
+
427
+
428
+ /**
429
+ * @private
430
+ *
431
+ * @description Checks if the specified formatting option is contained
432
+ * within the options string.
433
+ *
434
+ * @param {String} option The option to search for.
435
+ * @param {String} optionsString The options string.
436
+ *
437
+ * @returns {Boolean} true if the flag is found, else false
438
+ */
439
+ jsworld._hasOption = function(option, optionsString) {
440
+
441
+ if (typeof option != "string" || typeof optionsString != "string")
442
+ return false;
443
+
444
+ if (optionsString.indexOf(option) != -1)
445
+ return true;
446
+ else
447
+ return false;
448
+ };
449
+
450
+
451
+ /**
452
+ * @private
453
+ *
454
+ * @description String replacement function.
455
+ *
456
+ * @param {String} s The string to work on.
457
+ * @param {String} target The string to search for.
458
+ * @param {String} replacement The replacement.
459
+ *
460
+ * @returns {String} The new string.
461
+ */
462
+ jsworld._stringReplaceAll = function(s, target, replacement) {
463
+
464
+ var out;
465
+
466
+ if (target.length == 1 && replacement.length == 1) {
467
+ // simple char/char case somewhat faster
468
+ out = "";
469
+
470
+ for (var i = 0; i < s.length; i++) {
471
+
472
+ if (s.charAt(i) == target.charAt(0))
473
+ out = out + replacement.charAt(0);
474
+ else
475
+ out = out + s.charAt(i);
476
+ }
477
+
478
+ return out;
479
+ }
480
+ else {
481
+ // longer target and replacement strings
482
+ out = s;
483
+
484
+ var index = out.indexOf(target);
485
+
486
+ while (index != -1) {
487
+
488
+ out = out.replace(target, replacement);
489
+
490
+ index = out.indexOf(target);
491
+ }
492
+
493
+ return out;
494
+ }
495
+ };
496
+
497
+
498
+ /**
499
+ * @private
500
+ *
501
+ * @description Tests if a string starts with the specified substring.
502
+ *
503
+ * @param {String} testedString The string to test.
504
+ * @param {String} sub The string to match.
505
+ *
506
+ * @returns {Boolean} true if the test succeeds.
507
+ */
508
+ jsworld._stringStartsWith = function (testedString, sub) {
509
+
510
+ if (testedString.length < sub.length)
511
+ return false;
512
+
513
+ for (var i = 0; i < sub.length; i++) {
514
+ if (testedString.charAt(i) != sub.charAt(i))
515
+ return false;
516
+ }
517
+
518
+ return true;
519
+ };
520
+
521
+
522
+ /**
523
+ * @private
524
+ *
525
+ * @description Gets the requested precision from an options string.
526
+ *
527
+ * <p>Example: ".3" returns 3 decimal places precision.
528
+ *
529
+ * @param {String} optionsString The options string.
530
+ *
531
+ * @returns {integer Number} The requested precision, -1 if not specified.
532
+ */
533
+ jsworld._getPrecision = function (optionsString) {
534
+
535
+ if (typeof optionsString != "string")
536
+ return -1;
537
+
538
+ var m = optionsString.match(/\.(\d)/);
539
+ if (m)
540
+ return parseInt(m[1], 10);
541
+ else
542
+ return -1;
543
+ };
544
+
545
+
546
+ /**
547
+ * @private
548
+ *
549
+ * @description Takes a decimal numeric amount (optionally as string) and
550
+ * returns its integer and fractional parts packed into an object.
551
+ *
552
+ * @param {Number|String} amount The amount, e.g. "123.45" or "-56.78"
553
+ *
554
+ * @returns {object} Parsed amount object with properties:
555
+ * {String} integer : the integer part
556
+ * {String} fraction : the fraction part
557
+ */
558
+ jsworld._splitNumber = function (amount) {
559
+
560
+ if (typeof amount == "number")
561
+ amount = amount + "";
562
+
563
+ var obj = {};
564
+
565
+ // remove negative sign
566
+ if (amount.charAt(0) == "-")
567
+ amount = amount.substring(1);
568
+
569
+ // split amount into integer and decimal parts
570
+ var amountParts = amount.split(".");
571
+ if (!amountParts[1])
572
+ amountParts[1] = ""; // we need "" instead of null
573
+
574
+ obj.integer = amountParts[0];
575
+ obj.fraction = amountParts[1];
576
+
577
+ return obj;
578
+ };
579
+
580
+
581
+ /**
582
+ * @private
583
+ *
584
+ * @description Formats the integer part using the specified grouping
585
+ * and thousands separator.
586
+ *
587
+ * @param {String} intPart The integer part of the amount, as string.
588
+ * @param {String} grouping The grouping definition.
589
+ * @param {String} thousandsSep The thousands separator.
590
+ *
591
+ * @returns {String} The formatted integer part.
592
+ */
593
+ jsworld._formatIntegerPart = function (intPart, grouping, thousandsSep) {
594
+
595
+ // empty separator string? no grouping?
596
+ // -> return immediately with no formatting!
597
+ if (thousandsSep == "" || grouping == "-1")
598
+ return intPart;
599
+
600
+ // turn the semicolon-separated string of integers into an array
601
+ var groupSizes = grouping.split(";");
602
+
603
+ // the formatted output string
604
+ var out = "";
605
+
606
+ // the intPart string position to process next,
607
+ // start at string end, e.g. "10000000<starts here"
608
+ var pos = intPart.length;
609
+
610
+ // process the intPart string backwards
611
+ // "1000000000"
612
+ // <---\ direction
613
+ var size;
614
+
615
+ while (pos > 0) {
616
+
617
+ // get next group size (if any, otherwise keep last)
618
+ if (groupSizes.length > 0)
619
+ size = parseInt(groupSizes.shift(), 10);
620
+
621
+ // int parse error?
622
+ if (isNaN(size))
623
+ throw "Error: Invalid grouping";
624
+
625
+ // size is -1? -> no more grouping, so just copy string remainder
626
+ if (size == -1) {
627
+ out = intPart.substring(0, pos) + out;
628
+ break;
629
+ }
630
+
631
+ pos -= size; // move to next sep. char. position
632
+
633
+ // position underrun? -> just copy string remainder
634
+ if (pos < 1) {
635
+ out = intPart.substring(0, pos + size) + out;
636
+ break;
637
+ }
638
+
639
+ // extract group and apply sep. char.
640
+ out = thousandsSep + intPart.substring(pos, pos + size) + out;
641
+ }
642
+
643
+ return out;
644
+ };
645
+
646
+
647
+ /**
648
+ * @private
649
+ *
650
+ * @description Formats the fractional part to the specified decimal
651
+ * precision.
652
+ *
653
+ * @param {String} fracPart The fractional part of the amount
654
+ * @param {integer Number} precision The desired decimal precision
655
+ *
656
+ * @returns {String} The formatted fractional part.
657
+ */
658
+ jsworld._formatFractionPart = function (fracPart, precision) {
659
+
660
+ // append zeroes up to precision if necessary
661
+ for (var i=0; fracPart.length < precision; i++)
662
+ fracPart = fracPart + "0";
663
+
664
+ return fracPart;
665
+ };
666
+
667
+
668
+ /**
669
+ * @private
670
+ *
671
+ * @desription Converts a number to string and pad it with leading zeroes if the
672
+ * string is shorter than length.
673
+ *
674
+ * @param {integer Number} number The number value subjected to selective padding.
675
+ * @param {integer Number} length If the number has fewer digits than this length
676
+ * apply padding.
677
+ *
678
+ * @returns {String} The formatted string.
679
+ */
680
+ jsworld._zeroPad = function(number, length) {
681
+
682
+ // ensure string
683
+ var s = number + "";
684
+
685
+ while (s.length < length)
686
+ s = "0" + s;
687
+
688
+ return s;
689
+ };
690
+
691
+
692
+ /**
693
+ * @private
694
+ * @description Converts a number to string and pads it with leading spaces if
695
+ * the string is shorter than length.
696
+ *
697
+ * @param {integer Number} number The number value subjected to selective padding.
698
+ * @param {integer Number} length If the number has fewer digits than this length
699
+ * apply padding.
700
+ *
701
+ * @returns {String} The formatted string.
702
+ */
703
+ jsworld._spacePad = function(number, length) {
704
+
705
+ // ensure string
706
+ var s = number + "";
707
+
708
+ while (s.length < length)
709
+ s = " " + s;
710
+
711
+ return s;
712
+ };
713
+
714
+
715
+
716
+ /**
717
+ * @class
718
+ * Represents a POSIX-style locale with its numeric, monetary and date/time
719
+ * properties. Also provides a set of locale helper methods.
720
+ *
721
+ * <p>The locale properties follow the POSIX standards:
722
+ *
723
+ * <ul>
724
+ * <li><a href="http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap07.html#tag_07_03_04">POSIX LC_NUMERIC</a>
725
+ * <li><a href="http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_03_03">POSIX LC_MONETARY</a>
726
+ * <li><a href="http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap07.html#tag_07_03_05">POSIX LC_TIME</a>
727
+ * </ul>
728
+ *
729
+ * @public
730
+ * @constructor
731
+ * @description Creates a new locale object (POSIX-style) with the specified
732
+ * properties.
733
+ *
734
+ * @param {object} properties An object containing the raw locale properties:
735
+ *
736
+ * @param {String} properties.decimal_point
737
+ *
738
+ * A string containing the symbol that shall be used as the decimal
739
+ * delimiter (radix character) in numeric, non-monetary formatted
740
+ * quantities. This property cannot be omitted and cannot be set to the
741
+ * empty string.
742
+ *
743
+ *
744
+ * @param {String} properties.thousands_sep
745
+ *
746
+ * A string containing the symbol that shall be used as a separator for
747
+ * groups of digits to the left of the decimal delimiter in numeric,
748
+ * non-monetary formatted monetary quantities.
749
+ *
750
+ *
751
+ * @param {String} properties.grouping
752
+ *
753
+ * Defines the size of each group of digits in formatted non-monetary
754
+ * quantities. The operand is a sequence of integers separated by
755
+ * semicolons. Each integer specifies the number of digits in each group,
756
+ * with the initial integer defining the size of the group immediately
757
+ * preceding the decimal delimiter, and the following integers defining
758
+ * the preceding groups. If the last integer is not -1, then the size of
759
+ * the previous group (if any) shall be repeatedly used for the
760
+ * remainder of the digits. If the last integer is -1, then no further
761
+ * grouping shall be performed.
762
+ *
763
+ *
764
+ * @param {String} properties.int_curr_symbol
765
+ *
766
+ * The first three letters signify the ISO-4217 currency code,
767
+ * the fourth letter is the international symbol separation character
768
+ * (normally a space).
769
+ *
770
+ *
771
+ * @param {String} properties.currency_symbol
772
+ *
773
+ * The local shorthand currency symbol, e.g. "$" for the en_US locale
774
+ *
775
+ *
776
+ * @param {String} properties.mon_decimal_point
777
+ *
778
+ * The symbol to be used as the decimal delimiter (radix character)
779
+ *
780
+ *
781
+ * @param {String} properties.mon_thousands_sep
782
+ *
783
+ * The symbol to be used as a separator for groups of digits to the
784
+ * left of the decimal delimiter.
785
+ *
786
+ *
787
+ * @param {String} properties.mon_grouping
788
+ *
789
+ * A string that defines the size of each group of digits. The
790
+ * operand is a sequence of integers separated by semicolons (";").
791
+ * Each integer specifies the number of digits in each group, with the
792
+ * initial integer defining the size of the group preceding the
793
+ * decimal delimiter, and the following integers defining the
794
+ * preceding groups. If the last integer is not -1, then the size of
795
+ * the previous group (if any) must be repeatedly used for the
796
+ * remainder of the digits. If the last integer is -1, then no
797
+ * further grouping is to be performed.
798
+ *
799
+ *
800
+ * @param {String} properties.positive_sign
801
+ *
802
+ * The string to indicate a non-negative monetary amount.
803
+ *
804
+ *
805
+ * @param {String} properties.negative_sign
806
+ *
807
+ * The string to indicate a negative monetary amount.
808
+ *
809
+ *
810
+ * @param {integer Number} properties.frac_digits
811
+ *
812
+ * An integer representing the number of fractional digits (those to
813
+ * the right of the decimal delimiter) to be written in a formatted
814
+ * monetary quantity using currency_symbol.
815
+ *
816
+ *
817
+ * @param {integer Number} properties.int_frac_digits
818
+ *
819
+ * An integer representing the number of fractional digits (those to
820
+ * the right of the decimal delimiter) to be written in a formatted
821
+ * monetary quantity using int_curr_symbol.
822
+ *
823
+ *
824
+ * @param {integer Number} properties.p_cs_precedes
825
+ *
826
+ * An integer set to 1 if the currency_symbol precedes the value for a
827
+ * monetary quantity with a non-negative value, and set to 0 if the
828
+ * symbol succeeds the value.
829
+ *
830
+ *
831
+ * @param {integer Number} properties.n_cs_precedes
832
+ *
833
+ * An integer set to 1 if the currency_symbol precedes the value for a
834
+ * monetary quantity with a negative value, and set to 0 if the symbol
835
+ * succeeds the value.
836
+ *
837
+ *
838
+ * @param {integer Number} properties.p_sep_by_space
839
+ *
840
+ * Set to a value indicating the separation of the currency_symbol,
841
+ * the sign string, and the value for a non-negative formatted monetary
842
+ * quantity:
843
+ *
844
+ * <p>0 No space separates the currency symbol and value.</p>
845
+ *
846
+ * <p>1 If the currency symbol and sign string are adjacent, a space
847
+ * separates them from the value; otherwise, a space separates
848
+ * the currency symbol from the value.</p>
849
+ *
850
+ * <p>2 If the currency symbol and sign string are adjacent, a space
851
+ * separates them; otherwise, a space separates the sign string
852
+ * from the value.</p>
853
+ *
854
+ *
855
+ * @param {integer Number} properties.n_sep_by_space
856
+ *
857
+ * Set to a value indicating the separation of the currency_symbol,
858
+ * the sign string, and the value for a negative formatted monetary
859
+ * quantity. Rules same as for p_sep_by_space.
860
+ *
861
+ *
862
+ * @param {integer Number} properties.p_sign_posn
863
+ *
864
+ * An integer set to a value indicating the positioning of the
865
+ * positive_sign for a monetary quantity with a non-negative value:
866
+ *
867
+ * <p>0 Parentheses enclose the quantity and the currency_symbol.</p>
868
+ *
869
+ * <p>1 The sign string precedes the quantity and the currency_symbol.</p>
870
+ *
871
+ * <p>2 The sign string succeeds the quantity and the currency_symbol.</p>
872
+ *
873
+ * <p>3 The sign string precedes the currency_symbol.</p>
874
+ *
875
+ * <p>4 The sign string succeeds the currency_symbol.</p>
876
+ *
877
+ *
878
+ * @param {integer Number} properties.n_sign_posn
879
+ *
880
+ * An integer set to a value indicating the positioning of the
881
+ * negative_sign for a negative formatted monetary quantity. Rules same
882
+ * as for p_sign_posn.
883
+ *
884
+ *
885
+ * @param {integer Number} properties.int_p_cs_precedes
886
+ *
887
+ * An integer set to 1 if the int_curr_symbol precedes the value for a
888
+ * monetary quantity with a non-negative value, and set to 0 if the
889
+ * symbol succeeds the value.
890
+ *
891
+ *
892
+ * @param {integer Number} properties.int_n_cs_precedes
893
+ *
894
+ * An integer set to 1 if the int_curr_symbol precedes the value for a
895
+ * monetary quantity with a negative value, and set to 0 if the symbol
896
+ * succeeds the value.
897
+ *
898
+ *
899
+ * @param {integer Number} properties.int_p_sep_by_space
900
+ *
901
+ * Set to a value indicating the separation of the int_curr_symbol,
902
+ * the sign string, and the value for a non-negative internationally
903
+ * formatted monetary quantity. Rules same as for p_sep_by_space.
904
+ *
905
+ *
906
+ * @param {integer Number} properties.int_n_sep_by_space
907
+ *
908
+ * Set to a value indicating the separation of the int_curr_symbol,
909
+ * the sign string, and the value for a negative internationally
910
+ * formatted monetary quantity. Rules same as for p_sep_by_space.
911
+ *
912
+ *
913
+ * @param {integer Number} properties.int_p_sign_posn
914
+ *
915
+ * An integer set to a value indicating the positioning of the
916
+ * positive_sign for a positive monetary quantity formatted with the
917
+ * international format. Rules same as for p_sign_posn.
918
+ *
919
+ *
920
+ * @param {integer Number} properties.int_n_sign_posn
921
+ *
922
+ * An integer set to a value indicating the positioning of the
923
+ * negative_sign for a negative monetary quantity formatted with the
924
+ * international format. Rules same as for p_sign_posn.
925
+ *
926
+ *
927
+ * @param {String[] | String} properties.abday
928
+ *
929
+ * The abbreviated weekday names, corresponding to the %a conversion
930
+ * specification. The property must be either an array of 7 strings or
931
+ * a string consisting of 7 semicolon-separated substrings, each
932
+ * surrounded by double-quotes. The first must be the abbreviated name
933
+ * of the day corresponding to Sunday, the second the abbreviated name
934
+ * of the day corresponding to Monday, and so on.
935
+ *
936
+ *
937
+ * @param {String[] | String} properties.day
938
+ *
939
+ * The full weekday names, corresponding to the %A conversion
940
+ * specification. The property must be either an array of 7 strings or
941
+ * a string consisting of 7 semicolon-separated substrings, each
942
+ * surrounded by double-quotes. The first must be the full name of the
943
+ * day corresponding to Sunday, the second the full name of the day
944
+ * corresponding to Monday, and so on.
945
+ *
946
+ *
947
+ * @param {String[] | String} properties.abmon
948
+ *
949
+ * The abbreviated month names, corresponding to the %b conversion
950
+ * specification. The property must be either an array of 12 strings or
951
+ * a string consisting of 12 semicolon-separated substrings, each
952
+ * surrounded by double-quotes. The first must be the abbreviated name
953
+ * of the first month of the year (January), the second the abbreviated
954
+ * name of the second month, and so on.
955
+ *
956
+ *
957
+ * @param {String[] | String} properties.mon
958
+ *
959
+ * The full month names, corresponding to the %B conversion
960
+ * specification. The property must be either an array of 12 strings or
961
+ * a string consisting of 12 semicolon-separated substrings, each
962
+ * surrounded by double-quotes. The first must be the full name of the
963
+ * first month of the year (January), the second the full name of the second
964
+ * month, and so on.
965
+ *
966
+ *
967
+ * @param {String} properties.d_fmt
968
+ *
969
+ * The appropriate date representation. The string may contain any
970
+ * combination of characters and conversion specifications (%<char>).
971
+ *
972
+ *
973
+ * @param {String} properties.t_fmt
974
+ *
975
+ * The appropriate time representation. The string may contain any
976
+ * combination of characters and conversion specifications (%<char>).
977
+ *
978
+ *
979
+ * @param {String} properties.d_t_fmt
980
+ *
981
+ * The appropriate date and time representation. The string may contain
982
+ * any combination of characters and conversion specifications (%<char>).
983
+ *
984
+ *
985
+ * @param {String[] | String} properties.am_pm
986
+ *
987
+ * The appropriate representation of the ante-meridiem and post-meridiem
988
+ * strings, corresponding to the %p conversion specification. The property
989
+ * must be either an array of 2 strings or a string consisting of 2
990
+ * semicolon-separated substrings, each surrounded by double-quotes.
991
+ * The first string must represent the ante-meridiem designation, the
992
+ * last string the post-meridiem designation.
993
+ *
994
+ *
995
+ * @throws @throws Error on a undefined or invalid locale property.
996
+ */
997
+ jsworld.Locale = function(properties) {
998
+
999
+
1000
+ /**
1001
+ * @private
1002
+ *
1003
+ * @description Identifies the class for internal library purposes.
1004
+ */
1005
+ this._className = "jsworld.Locale";
1006
+
1007
+
1008
+ /**
1009
+ * @private
1010
+ *
1011
+ * @description Parses a day or month name definition list, which
1012
+ * could be a ready JS array, e.g. ["Mon", "Tue", "Wed"...] or
1013
+ * it could be a string formatted according to the classic POSIX
1014
+ * definition e.g. "Mon";"Tue";"Wed";...
1015
+ *
1016
+ * @param {String[] | String} namesAn array or string defining
1017
+ * the week/month names.
1018
+ * @param {integer Number} expectedItems The number of expected list
1019
+ * items, e.g. 7 for weekdays, 12 for months.
1020
+ *
1021
+ * @returns {String[]} The parsed (and checked) items.
1022
+ *
1023
+ * @throws Error on missing definition, unexpected item count or
1024
+ * missing double-quotes.
1025
+ */
1026
+ this._parseList = function(names, expectedItems) {
1027
+
1028
+ var array = [];
1029
+
1030
+ if (names == null) {
1031
+ throw "Names not defined";
1032
+ }
1033
+ else if (typeof names == "object") {
1034
+ // we got a ready array
1035
+ array = names;
1036
+ }
1037
+ else if (typeof names == "string") {
1038
+ // we got the names in the classic POSIX form, do parse
1039
+ array = names.split(";", expectedItems);
1040
+
1041
+ for (var i = 0; i < array.length; i++) {
1042
+ // check for and strip double quotes
1043
+ if (array[i][0] == "\"" && array[i][array[i].length - 1] == "\"")
1044
+ array[i] = array[i].slice(1, -1);
1045
+ else
1046
+ throw "Missing double quotes";
1047
+ }
1048
+ }
1049
+ else {
1050
+ throw "Names must be an array or a string";
1051
+ }
1052
+
1053
+ if (array.length != expectedItems)
1054
+ throw "Expected " + expectedItems + " items, got " + array.length;
1055
+
1056
+ return array;
1057
+ };
1058
+
1059
+
1060
+ /**
1061
+ * @private
1062
+ *
1063
+ * @description Validates a date/time format string, such as "H:%M:%S".
1064
+ * Checks that the argument is of type "string" and is not empty.
1065
+ *
1066
+ * @param {String} formatString The format string.
1067
+ *
1068
+ * @returns {String} The validated string.
1069
+ *
1070
+ * @throws Error on null or empty string.
1071
+ */
1072
+ this._validateFormatString = function(formatString) {
1073
+
1074
+ if (typeof formatString == "string" && formatString.length > 0)
1075
+ return formatString;
1076
+ else
1077
+ throw "Empty or no string";
1078
+ };
1079
+
1080
+
1081
+ // LC_NUMERIC
1082
+
1083
+ if (properties == null || typeof properties != "object")
1084
+ throw "Error: Invalid/missing locale properties";
1085
+
1086
+
1087
+ if (typeof properties.decimal_point != "string")
1088
+ throw "Error: Invalid/missing decimal_point property";
1089
+
1090
+ this.decimal_point = properties.decimal_point;
1091
+
1092
+
1093
+ if (typeof properties.thousands_sep != "string")
1094
+ throw "Error: Invalid/missing thousands_sep property";
1095
+
1096
+ this.thousands_sep = properties.thousands_sep;
1097
+
1098
+
1099
+ if (typeof properties.grouping != "string")
1100
+ throw "Error: Invalid/missing grouping property";
1101
+
1102
+ this.grouping = properties.grouping;
1103
+
1104
+
1105
+ // LC_MONETARY
1106
+
1107
+ if (typeof properties.int_curr_symbol != "string")
1108
+ throw "Error: Invalid/missing int_curr_symbol property";
1109
+
1110
+ if (! /[A-Za-z]{3}.?/.test(properties.int_curr_symbol))
1111
+ throw "Error: Invalid int_curr_symbol property";
1112
+
1113
+ this.int_curr_symbol = properties.int_curr_symbol;
1114
+
1115
+
1116
+ if (typeof properties.currency_symbol != "string")
1117
+ throw "Error: Invalid/missing currency_symbol property";
1118
+
1119
+ this.currency_symbol = properties.currency_symbol;
1120
+
1121
+
1122
+ if (typeof properties.frac_digits != "number" && properties.frac_digits < 0)
1123
+ throw "Error: Invalid/missing frac_digits property";
1124
+
1125
+ this.frac_digits = properties.frac_digits;
1126
+
1127
+
1128
+ // may be empty string/null for currencies with no fractional part
1129
+ if (properties.mon_decimal_point === null || properties.mon_decimal_point == "") {
1130
+
1131
+ if (this.frac_digits > 0)
1132
+ throw "Error: Undefined mon_decimal_point property";
1133
+ else
1134
+ properties.mon_decimal_point = "";
1135
+ }
1136
+
1137
+ if (typeof properties.mon_decimal_point != "string")
1138
+ throw "Error: Invalid/missing mon_decimal_point property";
1139
+
1140
+ this.mon_decimal_point = properties.mon_decimal_point;
1141
+
1142
+
1143
+ if (typeof properties.mon_thousands_sep != "string")
1144
+ throw "Error: Invalid/missing mon_thousands_sep property";
1145
+
1146
+ this.mon_thousands_sep = properties.mon_thousands_sep;
1147
+
1148
+
1149
+ if (typeof properties.mon_grouping != "string")
1150
+ throw "Error: Invalid/missing mon_grouping property";
1151
+
1152
+ this.mon_grouping = properties.mon_grouping;
1153
+
1154
+
1155
+ if (typeof properties.positive_sign != "string")
1156
+ throw "Error: Invalid/missing positive_sign property";
1157
+
1158
+ this.positive_sign = properties.positive_sign;
1159
+
1160
+
1161
+ if (typeof properties.negative_sign != "string")
1162
+ throw "Error: Invalid/missing negative_sign property";
1163
+
1164
+ this.negative_sign = properties.negative_sign;
1165
+
1166
+
1167
+
1168
+ if (properties.p_cs_precedes !== 0 && properties.p_cs_precedes !== 1)
1169
+ throw "Error: Invalid/missing p_cs_precedes property, must be 0 or 1";
1170
+
1171
+ this.p_cs_precedes = properties.p_cs_precedes;
1172
+
1173
+
1174
+ if (properties.n_cs_precedes !== 0 && properties.n_cs_precedes !== 1)
1175
+ throw "Error: Invalid/missing n_cs_precedes, must be 0 or 1";
1176
+
1177
+ this.n_cs_precedes = properties.n_cs_precedes;
1178
+
1179
+
1180
+ if (properties.p_sep_by_space !== 0 &&
1181
+ properties.p_sep_by_space !== 1 &&
1182
+ properties.p_sep_by_space !== 2)
1183
+ throw "Error: Invalid/missing p_sep_by_space property, must be 0, 1 or 2";
1184
+
1185
+ this.p_sep_by_space = properties.p_sep_by_space;
1186
+
1187
+
1188
+ if (properties.n_sep_by_space !== 0 &&
1189
+ properties.n_sep_by_space !== 1 &&
1190
+ properties.n_sep_by_space !== 2)
1191
+ throw "Error: Invalid/missing n_sep_by_space property, must be 0, 1, or 2";
1192
+
1193
+ this.n_sep_by_space = properties.n_sep_by_space;
1194
+
1195
+
1196
+ if (properties.p_sign_posn !== 0 &&
1197
+ properties.p_sign_posn !== 1 &&
1198
+ properties.p_sign_posn !== 2 &&
1199
+ properties.p_sign_posn !== 3 &&
1200
+ properties.p_sign_posn !== 4)
1201
+ throw "Error: Invalid/missing p_sign_posn property, must be 0, 1, 2, 3 or 4";
1202
+
1203
+ this.p_sign_posn = properties.p_sign_posn;
1204
+
1205
+
1206
+ if (properties.n_sign_posn !== 0 &&
1207
+ properties.n_sign_posn !== 1 &&
1208
+ properties.n_sign_posn !== 2 &&
1209
+ properties.n_sign_posn !== 3 &&
1210
+ properties.n_sign_posn !== 4)
1211
+ throw "Error: Invalid/missing n_sign_posn property, must be 0, 1, 2, 3 or 4";
1212
+
1213
+ this.n_sign_posn = properties.n_sign_posn;
1214
+
1215
+
1216
+ if (typeof properties.int_frac_digits != "number" && properties.int_frac_digits < 0)
1217
+ throw "Error: Invalid/missing int_frac_digits property";
1218
+
1219
+ this.int_frac_digits = properties.int_frac_digits;
1220
+
1221
+
1222
+ if (properties.int_p_cs_precedes !== 0 && properties.int_p_cs_precedes !== 1)
1223
+ throw "Error: Invalid/missing int_p_cs_precedes property, must be 0 or 1";
1224
+
1225
+ this.int_p_cs_precedes = properties.int_p_cs_precedes;
1226
+
1227
+
1228
+ if (properties.int_n_cs_precedes !== 0 && properties.int_n_cs_precedes !== 1)
1229
+ throw "Error: Invalid/missing int_n_cs_precedes property, must be 0 or 1";
1230
+
1231
+ this.int_n_cs_precedes = properties.int_n_cs_precedes;
1232
+
1233
+
1234
+ if (properties.int_p_sep_by_space !== 0 &&
1235
+ properties.int_p_sep_by_space !== 1 &&
1236
+ properties.int_p_sep_by_space !== 2)
1237
+ throw "Error: Invalid/missing int_p_sep_by_spacev, must be 0, 1 or 2";
1238
+
1239
+ this.int_p_sep_by_space = properties.int_p_sep_by_space;
1240
+
1241
+
1242
+ if (properties.int_n_sep_by_space !== 0 &&
1243
+ properties.int_n_sep_by_space !== 1 &&
1244
+ properties.int_n_sep_by_space !== 2)
1245
+ throw "Error: Invalid/missing int_n_sep_by_space property, must be 0, 1, or 2";
1246
+
1247
+ this.int_n_sep_by_space = properties.int_n_sep_by_space;
1248
+
1249
+
1250
+ if (properties.int_p_sign_posn !== 0 &&
1251
+ properties.int_p_sign_posn !== 1 &&
1252
+ properties.int_p_sign_posn !== 2 &&
1253
+ properties.int_p_sign_posn !== 3 &&
1254
+ properties.int_p_sign_posn !== 4)
1255
+ throw "Error: Invalid/missing int_p_sign_posn property, must be 0, 1, 2, 3 or 4";
1256
+
1257
+ this.int_p_sign_posn = properties.int_p_sign_posn;
1258
+
1259
+
1260
+ if (properties.int_n_sign_posn !== 0 &&
1261
+ properties.int_n_sign_posn !== 1 &&
1262
+ properties.int_n_sign_posn !== 2 &&
1263
+ properties.int_n_sign_posn !== 3 &&
1264
+ properties.int_n_sign_posn !== 4)
1265
+ throw "Error: Invalid/missing int_n_sign_posn property, must be 0, 1, 2, 3 or 4";
1266
+
1267
+ this.int_n_sign_posn = properties.int_n_sign_posn;
1268
+
1269
+
1270
+ // LC_TIME
1271
+
1272
+ if (properties == null || typeof properties != "object")
1273
+ throw "Error: Invalid/missing time locale properties";
1274
+
1275
+
1276
+ // parse the supported POSIX LC_TIME properties
1277
+
1278
+ // abday
1279
+ try {
1280
+ this.abday = this._parseList(properties.abday, 7);
1281
+ }
1282
+ catch (error) {
1283
+ throw "Error: Invalid abday property: " + error;
1284
+ }
1285
+
1286
+ // day
1287
+ try {
1288
+ this.day = this._parseList(properties.day, 7);
1289
+ }
1290
+ catch (error) {
1291
+ throw "Error: Invalid day property: " + error;
1292
+ }
1293
+
1294
+ // abmon
1295
+ try {
1296
+ this.abmon = this._parseList(properties.abmon, 12);
1297
+ } catch (error) {
1298
+ throw "Error: Invalid abmon property: " + error;
1299
+ }
1300
+
1301
+ // mon
1302
+ try {
1303
+ this.mon = this._parseList(properties.mon, 12);
1304
+ } catch (error) {
1305
+ throw "Error: Invalid mon property: " + error;
1306
+ }
1307
+
1308
+ // d_fmt
1309
+ try {
1310
+ this.d_fmt = this._validateFormatString(properties.d_fmt);
1311
+ } catch (error) {
1312
+ throw "Error: Invalid d_fmt property: " + error;
1313
+ }
1314
+
1315
+ // t_fmt
1316
+ try {
1317
+ this.t_fmt = this._validateFormatString(properties.t_fmt);
1318
+ } catch (error) {
1319
+ throw "Error: Invalid t_fmt property: " + error;
1320
+ }
1321
+
1322
+ // d_t_fmt
1323
+ try {
1324
+ this.d_t_fmt = this._validateFormatString(properties.d_t_fmt);
1325
+ } catch (error) {
1326
+ throw "Error: Invalid d_t_fmt property: " + error;
1327
+ }
1328
+
1329
+ // am_pm
1330
+ try {
1331
+ var am_pm_strings = this._parseList(properties.am_pm, 2);
1332
+ this.am = am_pm_strings[0];
1333
+ this.pm = am_pm_strings[1];
1334
+ } catch (error) {
1335
+ // ignore empty/null string errors
1336
+ this.am = "";
1337
+ this.pm = "";
1338
+ }
1339
+
1340
+
1341
+ /**
1342
+ * @public
1343
+ *
1344
+ * @description Returns the abbreviated name of the specified weekday.
1345
+ *
1346
+ * @param {integer Number} [weekdayNum] An integer between 0 and 6. Zero
1347
+ * corresponds to Sunday, one to Monday, etc. If omitted the
1348
+ * method will return an array of all abbreviated weekday
1349
+ * names.
1350
+ *
1351
+ * @returns {String | String[]} The abbreviated name of the specified weekday
1352
+ * or an array of all abbreviated weekday names.
1353
+ *
1354
+ * @throws Error on invalid argument.
1355
+ */
1356
+ this.getAbbreviatedWeekdayName = function(weekdayNum) {
1357
+
1358
+ if (typeof weekdayNum == "undefined" || weekdayNum === null)
1359
+ return this.abday;
1360
+
1361
+ if (! jsworld._isInteger(weekdayNum) || weekdayNum < 0 || weekdayNum > 6)
1362
+ throw "Error: Invalid weekday argument, must be an integer [0..6]";
1363
+
1364
+ return this.abday[weekdayNum];
1365
+ };
1366
+
1367
+
1368
+ /**
1369
+ * @public
1370
+ *
1371
+ * @description Returns the name of the specified weekday.
1372
+ *
1373
+ * @param {integer Number} [weekdayNum] An integer between 0 and 6. Zero
1374
+ * corresponds to Sunday, one to Monday, etc. If omitted the
1375
+ * method will return an array of all weekday names.
1376
+ *
1377
+ * @returns {String | String[]} The name of the specified weekday or an
1378
+ * array of all weekday names.
1379
+ *
1380
+ * @throws Error on invalid argument.
1381
+ */
1382
+ this.getWeekdayName = function(weekdayNum) {
1383
+
1384
+ if (typeof weekdayNum == "undefined" || weekdayNum === null)
1385
+ return this.day;
1386
+
1387
+ if (! jsworld._isInteger(weekdayNum) || weekdayNum < 0 || weekdayNum > 6)
1388
+ throw "Error: Invalid weekday argument, must be an integer [0..6]";
1389
+
1390
+ return this.day[weekdayNum];
1391
+ };
1392
+
1393
+
1394
+ /**
1395
+ * @public
1396
+ *
1397
+ * @description Returns the abbreviated name of the specified month.
1398
+ *
1399
+ * @param {integer Number} [monthNum] An integer between 0 and 11. Zero
1400
+ * corresponds to January, one to February, etc. If omitted the
1401
+ * method will return an array of all abbreviated month names.
1402
+ *
1403
+ * @returns {String | String[]} The abbreviated name of the specified month
1404
+ * or an array of all abbreviated month names.
1405
+ *
1406
+ * @throws Error on invalid argument.
1407
+ */
1408
+ this.getAbbreviatedMonthName = function(monthNum) {
1409
+
1410
+ if (typeof monthNum == "undefined" || monthNum === null)
1411
+ return this.abmon;
1412
+
1413
+ if (! jsworld._isInteger(monthNum) || monthNum < 0 || monthNum > 11)
1414
+ throw "Error: Invalid month argument, must be an integer [0..11]";
1415
+
1416
+ return this.abmon[monthNum];
1417
+ };
1418
+
1419
+
1420
+ /**
1421
+ * @public
1422
+ *
1423
+ * @description Returns the name of the specified month.
1424
+ *
1425
+ * @param {integer Number} [monthNum] An integer between 0 and 11. Zero
1426
+ * corresponds to January, one to February, etc. If omitted the
1427
+ * method will return an array of all month names.
1428
+ *
1429
+ * @returns {String | String[]} The name of the specified month or an array
1430
+ * of all month names.
1431
+ *
1432
+ * @throws Error on invalid argument.
1433
+ */
1434
+ this.getMonthName = function(monthNum) {
1435
+
1436
+ if (typeof monthNum == "undefined" || monthNum === null)
1437
+ return this.mon;
1438
+
1439
+ if (! jsworld._isInteger(monthNum) || monthNum < 0 || monthNum > 11)
1440
+ throw "Error: Invalid month argument, must be an integer [0..11]";
1441
+
1442
+ return this.mon[monthNum];
1443
+ };
1444
+
1445
+
1446
+
1447
+ /**
1448
+ * @public
1449
+ *
1450
+ * @description Gets the decimal delimiter (radix) character for
1451
+ * numeric quantities.
1452
+ *
1453
+ * @returns {String} The radix character.
1454
+ */
1455
+ this.getDecimalPoint = function() {
1456
+
1457
+ return this.decimal_point;
1458
+ };
1459
+
1460
+
1461
+ /**
1462
+ * @public
1463
+ *
1464
+ * @description Gets the local shorthand currency symbol.
1465
+ *
1466
+ * @returns {String} The currency symbol.
1467
+ */
1468
+ this.getCurrencySymbol = function() {
1469
+
1470
+ return this.currency_symbol;
1471
+ };
1472
+
1473
+
1474
+ /**
1475
+ * @public
1476
+ *
1477
+ * @description Gets the internaltion currency symbol (ISO-4217 code).
1478
+ *
1479
+ * @returns {String} The international currency symbol.
1480
+ */
1481
+ this.getIntCurrencySymbol = function() {
1482
+
1483
+ return this.int_curr_symbol.substring(0,3);
1484
+ };
1485
+
1486
+
1487
+ /**
1488
+ * @public
1489
+ *
1490
+ * @description Gets the position of the local (shorthand) currency
1491
+ * symbol relative to the amount. Assumes a non-negative amount.
1492
+ *
1493
+ * @returns {Boolean} True if the symbol precedes the amount, false if
1494
+ * the symbol succeeds the amount.
1495
+ */
1496
+ this.currencySymbolPrecedes = function() {
1497
+
1498
+ if (this.p_cs_precedes == 1)
1499
+ return true;
1500
+ else
1501
+ return false;
1502
+ };
1503
+
1504
+
1505
+ /**
1506
+ * @public
1507
+ *
1508
+ * @description Gets the position of the international (ISO-4217 code)
1509
+ * currency symbol relative to the amount. Assumes a non-negative
1510
+ * amount.
1511
+ *
1512
+ * @returns {Boolean} True if the symbol precedes the amount, false if
1513
+ * the symbol succeeds the amount.
1514
+ */
1515
+ this.intCurrencySymbolPrecedes = function() {
1516
+
1517
+ if (this.int_p_cs_precedes == 1)
1518
+ return true;
1519
+ else
1520
+ return false;
1521
+
1522
+ };
1523
+
1524
+
1525
+ /**
1526
+ * @public
1527
+ *
1528
+ * @description Gets the decimal delimiter (radix) for monetary
1529
+ * quantities.
1530
+ *
1531
+ * @returns {String} The radix character.
1532
+ */
1533
+ this.getMonetaryDecimalPoint = function() {
1534
+
1535
+ return this.mon_decimal_point;
1536
+ };
1537
+
1538
+
1539
+ /**
1540
+ * @public
1541
+ *
1542
+ * @description Gets the number of fractional digits for local
1543
+ * (shorthand) symbol formatting.
1544
+ *
1545
+ * @returns {integer Number} The number of fractional digits.
1546
+ */
1547
+ this.getFractionalDigits = function() {
1548
+
1549
+ return this.frac_digits;
1550
+ };
1551
+
1552
+
1553
+ /**
1554
+ * @public
1555
+ *
1556
+ * @description Gets the number of fractional digits for
1557
+ * international (ISO-4217 code) formatting.
1558
+ *
1559
+ * @returns {integer Number} The number of fractional digits.
1560
+ */
1561
+ this.getIntFractionalDigits = function() {
1562
+
1563
+ return this.int_frac_digits;
1564
+ };
1565
+ };
1566
+
1567
+
1568
+
1569
+ /**
1570
+ * @class
1571
+ * Class for localised formatting of numbers.
1572
+ *
1573
+ * <p>See: <a href="http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap07.html#tag_07_03_04">
1574
+ * POSIX LC_NUMERIC</a>.
1575
+ *
1576
+ *
1577
+ * @public
1578
+ * @constructor
1579
+ * @description Creates a new numeric formatter for the specified locale.
1580
+ *
1581
+ * @param {jsworld.Locale} locale A locale object specifying the required
1582
+ * POSIX LC_NUMERIC formatting properties.
1583
+ *
1584
+ * @throws Error on constructor failure.
1585
+ */
1586
+ jsworld.NumericFormatter = function(locale) {
1587
+
1588
+ if (typeof locale != "object" || locale._className != "jsworld.Locale")
1589
+ throw "Constructor error: You must provide a valid jsworld.Locale instance";
1590
+
1591
+ this.lc = locale;
1592
+
1593
+
1594
+ /**
1595
+ * @public
1596
+ *
1597
+ * @description Formats a decimal numeric value according to the preset
1598
+ * locale.
1599
+ *
1600
+ * @param {Number|String} number The number to format.
1601
+ * @param {String} [options] Options to modify the formatted output:
1602
+ * <ul>
1603
+ * <li>"^" suppress grouping
1604
+ * <li>"+" force positive sign for positive amounts
1605
+ * <li>"~" suppress positive/negative sign
1606
+ * <li>".n" specify decimal precision 'n'
1607
+ * </ul>
1608
+ *
1609
+ * @returns {String} The formatted number.
1610
+ *
1611
+ * @throws "Error: Invalid input" on bad input.
1612
+ */
1613
+ this.format = function(number, options) {
1614
+
1615
+ if (typeof number == "string")
1616
+ number = jsworld._trim(number);
1617
+
1618
+ if (! jsworld._isNumber(number))
1619
+ throw "Error: The input is not a number";
1620
+
1621
+ var floatAmount = parseFloat(number, 10);
1622
+
1623
+ // get the required precision
1624
+ var reqPrecision = jsworld._getPrecision(options);
1625
+
1626
+ // round to required precision
1627
+ if (reqPrecision != -1)
1628
+ floatAmount = Math.round(floatAmount * Math.pow(10, reqPrecision)) / Math.pow(10, reqPrecision);
1629
+
1630
+
1631
+ // convert the float number to string and parse into
1632
+ // object with properties integer and fraction
1633
+ var parsedAmount = jsworld._splitNumber(String(floatAmount));
1634
+
1635
+ // format integer part with grouping chars
1636
+ var formattedIntegerPart;
1637
+
1638
+ if (floatAmount === 0)
1639
+ formattedIntegerPart = "0";
1640
+ else
1641
+ formattedIntegerPart = jsworld._hasOption("^", options) ?
1642
+ parsedAmount.integer :
1643
+ jsworld._formatIntegerPart(parsedAmount.integer,
1644
+ this.lc.grouping,
1645
+ this.lc.thousands_sep);
1646
+
1647
+ // format the fractional part
1648
+ var formattedFractionPart =
1649
+ reqPrecision != -1 ?
1650
+ jsworld._formatFractionPart(parsedAmount.fraction, reqPrecision) :
1651
+ parsedAmount.fraction;
1652
+
1653
+
1654
+ // join the integer and fraction parts using the decimal_point property
1655
+ var formattedAmount =
1656
+ formattedFractionPart.length ?
1657
+ formattedIntegerPart + this.lc.decimal_point + formattedFractionPart :
1658
+ formattedIntegerPart;
1659
+
1660
+ // prepend sign?
1661
+ if (jsworld._hasOption("~", options) || floatAmount === 0) {
1662
+ // suppress both '+' and '-' signs, i.e. return abs value
1663
+ return formattedAmount;
1664
+ }
1665
+ else {
1666
+ if (jsworld._hasOption("+", options) || floatAmount < 0) {
1667
+ if (floatAmount > 0)
1668
+ // force '+' sign for positive amounts
1669
+ return "+" + formattedAmount;
1670
+ else if (floatAmount < 0)
1671
+ // prepend '-' sign
1672
+ return "-" + formattedAmount;
1673
+ else
1674
+ // zero case
1675
+ return formattedAmount;
1676
+ }
1677
+ else {
1678
+ // positive amount with no '+' sign
1679
+ return formattedAmount;
1680
+ }
1681
+ }
1682
+ };
1683
+ };
1684
+
1685
+
1686
+ /**
1687
+ * @class
1688
+ * Class for localised formatting of dates and times.
1689
+ *
1690
+ * <p>See: <a href="http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap07.html#tag_07_03_05">
1691
+ * POSIX LC_TIME</a>.
1692
+ *
1693
+ * @public
1694
+ * @constructor
1695
+ * @description Creates a new date/time formatter for the specified locale.
1696
+ *
1697
+ * @param {jsworld.Locale} locale A locale object specifying the required
1698
+ * POSIX LC_TIME formatting properties.
1699
+ *
1700
+ * @throws Error on constructor failure.
1701
+ */
1702
+ jsworld.DateTimeFormatter = function(locale) {
1703
+
1704
+
1705
+ if (typeof locale != "object" || locale._className != "jsworld.Locale")
1706
+ throw "Constructor error: You must provide a valid jsworld.Locale instance.";
1707
+
1708
+ this.lc = locale;
1709
+
1710
+
1711
+ /**
1712
+ * @public
1713
+ *
1714
+ * @description Formats a date according to the preset locale.
1715
+ *
1716
+ * @param {Date|String} date A valid Date object instance or a string
1717
+ * containing a valid ISO-8601 formatted date, e.g. "2010-31-03"
1718
+ * or "2010-03-31 23:59:59".
1719
+ *
1720
+ * @returns {String} The formatted date
1721
+ *
1722
+ * @throws Error on invalid date argument
1723
+ */
1724
+ this.formatDate = function(date) {
1725
+
1726
+ var d = null;
1727
+
1728
+ if (typeof date == "string") {
1729
+ // assume ISO-8601 date string
1730
+ try {
1731
+ d = jsworld.parseIsoDate(date);
1732
+ } catch (error) {
1733
+ // try full ISO-8601 date/time string
1734
+ d = jsworld.parseIsoDateTime(date);
1735
+ }
1736
+ }
1737
+ else if (date !== null && typeof date == "object") {
1738
+ // assume ready Date object
1739
+ d = date;
1740
+ }
1741
+ else {
1742
+ throw "Error: Invalid date argument, must be a Date object or an ISO-8601 date/time string";
1743
+ }
1744
+
1745
+ return this._applyFormatting(d, this.lc.d_fmt);
1746
+ };
1747
+
1748
+
1749
+ /**
1750
+ * @public
1751
+ *
1752
+ * @description Formats a time according to the preset locale.
1753
+ *
1754
+ * @param {Date|String} date A valid Date object instance or a string
1755
+ * containing a valid ISO-8601 formatted time, e.g. "23:59:59"
1756
+ * or "2010-03-31 23:59:59".
1757
+ *
1758
+ * @returns {String} The formatted time.
1759
+ *
1760
+ * @throws Error on invalid date argument.
1761
+ */
1762
+ this.formatTime = function(date) {
1763
+
1764
+ var d = null;
1765
+
1766
+ if (typeof date == "string") {
1767
+ // assume ISO-8601 time string
1768
+ try {
1769
+ d = jsworld.parseIsoTime(date);
1770
+ } catch (error) {
1771
+ // try full ISO-8601 date/time string
1772
+ d = jsworld.parseIsoDateTime(date);
1773
+ }
1774
+ }
1775
+ else if (date !== null && typeof date == "object") {
1776
+ // assume ready Date object
1777
+ d = date;
1778
+ }
1779
+ else {
1780
+ throw "Error: Invalid date argument, must be a Date object or an ISO-8601 date/time string";
1781
+ }
1782
+
1783
+ return this._applyFormatting(d, this.lc.t_fmt);
1784
+ };
1785
+
1786
+
1787
+ /**
1788
+ * @public
1789
+ *
1790
+ * @description Formats a date/time value according to the preset
1791
+ * locale.
1792
+ *
1793
+ * @param {Date|String} date A valid Date object instance or a string
1794
+ * containing a valid ISO-8601 formatted date/time, e.g.
1795
+ * "2010-03-31 23:59:59".
1796
+ *
1797
+ * @returns {String} The formatted time.
1798
+ *
1799
+ * @throws Error on invalid argument.
1800
+ */
1801
+ this.formatDateTime = function(date) {
1802
+
1803
+ var d = null;
1804
+
1805
+ if (typeof date == "string") {
1806
+ // assume ISO-8601 format
1807
+ d = jsworld.parseIsoDateTime(date);
1808
+ }
1809
+ else if (date !== null && typeof date == "object") {
1810
+ // assume ready Date object
1811
+ d = date;
1812
+ }
1813
+ else {
1814
+ throw "Error: Invalid date argument, must be a Date object or an ISO-8601 date/time string";
1815
+ }
1816
+
1817
+ return this._applyFormatting(d, this.lc.d_t_fmt);
1818
+ };
1819
+
1820
+
1821
+ /**
1822
+ * @private
1823
+ *
1824
+ * @description Apples formatting to the Date object according to the
1825
+ * format string.
1826
+ *
1827
+ * @param {Date} d A valid Date instance.
1828
+ * @param {String} s The formatting string with '%' placeholders.
1829
+ *
1830
+ * @returns {String} The formatted string.
1831
+ */
1832
+ this._applyFormatting = function(d, s) {
1833
+
1834
+ s = s.replace(/%%/g, '%');
1835
+ s = s.replace(/%a/g, this.lc.abday[d.getDay()]);
1836
+ s = s.replace(/%A/g, this.lc.day[d.getDay()]);
1837
+ s = s.replace(/%b/g, this.lc.abmon[d.getMonth()]);
1838
+ s = s.replace(/%B/g, this.lc.mon[d.getMonth()]);
1839
+ s = s.replace(/%d/g, jsworld._zeroPad(d.getDate(), 2));
1840
+ s = s.replace(/%e/g, jsworld._spacePad(d.getDate(), 2));
1841
+ s = s.replace(/%F/g, d.getFullYear() +
1842
+ "-" +
1843
+ jsworld._zeroPad(d.getMonth()+1, 2) +
1844
+ "-" +
1845
+ jsworld._zeroPad(d.getDate(), 2));
1846
+ s = s.replace(/%h/g, this.lc.abmon[d.getMonth()]); // same as %b
1847
+ s = s.replace(/%H/g, jsworld._zeroPad(d.getHours(), 2));
1848
+ s = s.replace(/%I/g, jsworld._zeroPad(this._hours12(d.getHours()), 2));
1849
+ s = s.replace(/%k/g, d.getHours());
1850
+ s = s.replace(/%l/g, this._hours12(d.getHours()));
1851
+ s = s.replace(/%m/g, jsworld._zeroPad(d.getMonth()+1, 2));
1852
+ s = s.replace(/%n/g, "\n");
1853
+ s = s.replace(/%M/g, jsworld._zeroPad(d.getMinutes(), 2));
1854
+ s = s.replace(/%p/g, this._getAmPm(d.getHours()));
1855
+ s = s.replace(/%P/g, this._getAmPm(d.getHours()).toLocaleLowerCase()); // safe?
1856
+ s = s.replace(/%R/g, jsworld._zeroPad(d.getHours(), 2) +
1857
+ ":" +
1858
+ jsworld._zeroPad(d.getMinutes(), 2));
1859
+ s = s.replace(/%S/g, jsworld._zeroPad(d.getSeconds(), 2));
1860
+ s = s.replace(/%T/g, jsworld._zeroPad(d.getHours(), 2) +
1861
+ ":" +
1862
+ jsworld._zeroPad(d.getMinutes(), 2) +
1863
+ ":" +
1864
+ jsworld._zeroPad(d.getSeconds(), 2));
1865
+ s = s.replace(/%w/g, this.lc.day[d.getDay()]);
1866
+ s = s.replace(/%y/g, new String(d.getFullYear()).substring(2));
1867
+ s = s.replace(/%Y/g, d.getFullYear());
1868
+
1869
+ s = s.replace(/%Z/g, ""); // to do: ignored until a reliable TMZ method found
1870
+
1871
+ s = s.replace(/%[a-zA-Z]/g, ""); // ignore all other % sequences
1872
+
1873
+ return s;
1874
+ };
1875
+
1876
+
1877
+ /**
1878
+ * @private
1879
+ *
1880
+ * @description Does 24 to 12 hour conversion.
1881
+ *
1882
+ * @param {integer Number} hour24 Hour [0..23].
1883
+ *
1884
+ * @returns {integer Number} Corresponding hour [1..12].
1885
+ */
1886
+ this._hours12 = function(hour24) {
1887
+
1888
+ if (hour24 === 0)
1889
+ return 12; // 00h is 12AM
1890
+
1891
+ else if (hour24 > 12)
1892
+ return hour24 - 12; // 1PM to 11PM
1893
+
1894
+ else
1895
+ return hour24; // 1AM to 12PM
1896
+ };
1897
+
1898
+
1899
+ /**
1900
+ * @private
1901
+ *
1902
+ * @description Gets the appropriate localised AM or PM string depending
1903
+ * on the day hour. Special cases: midnight is 12AM, noon is 12PM.
1904
+ *
1905
+ * @param {integer Number} hour24 Hour [0..23].
1906
+ *
1907
+ * @returns {String} The corresponding localised AM or PM string.
1908
+ */
1909
+ this._getAmPm = function(hour24) {
1910
+
1911
+ if (hour24 < 12)
1912
+ return this.lc.am;
1913
+ else
1914
+ return this.lc.pm;
1915
+ };
1916
+ };
1917
+
1918
+
1919
+
1920
+ /**
1921
+ * @class Class for localised formatting of currency amounts.
1922
+ *
1923
+ * <p>See: <a href="http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_03_03">
1924
+ * POSIX LC_MONETARY</a>.
1925
+ *
1926
+ * @public
1927
+ * @constructor
1928
+ * @description Creates a new monetary formatter for the specified locale.
1929
+ *
1930
+ * @param {jsworld.Locale} locale A locale object specifying the required
1931
+ * POSIX LC_MONETARY formatting properties.
1932
+ * @param {String} [currencyCode] Set the currency explicitly by
1933
+ * passing its international ISO-4217 code, e.g. "USD", "EUR", "GBP".
1934
+ * Use this optional parameter to override the default local currency
1935
+ * @param {String} [altIntSymbol] Non-local currencies are formatted
1936
+ * with their international ISO-4217 code to prevent ambiguity.
1937
+ * Use this optional argument to force a different symbol, such as the
1938
+ * currency's shorthand sign. This is mostly useful when the shorthand
1939
+ * sign is both internationally recognised and identifies the currency
1940
+ * uniquely (e.g. the Euro sign).
1941
+ *
1942
+ * @throws Error on constructor failure.
1943
+ */
1944
+ jsworld.MonetaryFormatter = function(locale, currencyCode, altIntSymbol) {
1945
+
1946
+ if (typeof locale != "object" || locale._className != "jsworld.Locale")
1947
+ throw "Constructor error: You must provide a valid jsworld.Locale instance";
1948
+
1949
+ this.lc = locale;
1950
+
1951
+ /**
1952
+ * @private
1953
+ * @description Lookup table to determine the fraction digits for a
1954
+ * specific currency; most currencies subdivide at 1/100 (2 fractional
1955
+ * digits), so we store only those that deviate from the default.
1956
+ *
1957
+ * <p>The data is from Unicode's CLDR version 1.7.0. The two currencies
1958
+ * with non-decimal subunits (MGA and MRO) are marked as having no
1959
+ * fractional digits as well as all currencies that have no subunits
1960
+ * in circulation.
1961
+ *
1962
+ * <p>It is "hard-wired" for referential convenience and is only looked
1963
+ * up when an overriding currencyCode parameter is supplied.
1964
+ */
1965
+ this.currencyFractionDigits = {
1966
+ "AFN" : 0, "ALL" : 0, "AMD" : 0, "BHD" : 3, "BIF" : 0,
1967
+ "BYR" : 0, "CLF" : 0, "CLP" : 0, "COP" : 0, "CRC" : 0,
1968
+ "DJF" : 0, "GNF" : 0, "GYD" : 0, "HUF" : 0, "IDR" : 0,
1969
+ "IQD" : 0, "IRR" : 0, "ISK" : 0, "JOD" : 3, "JPY" : 0,
1970
+ "KMF" : 0, "KRW" : 0, "KWD" : 3, "LAK" : 0, "LBP" : 0,
1971
+ "LYD" : 3, "MGA" : 0, "MMK" : 0, "MNT" : 0, "MRO" : 0,
1972
+ "MUR" : 0, "OMR" : 3, "PKR" : 0, "PYG" : 0, "RSD" : 0,
1973
+ "RWF" : 0, "SLL" : 0, "SOS" : 0, "STD" : 0, "SYP" : 0,
1974
+ "TND" : 3, "TWD" : 0, "TZS" : 0, "UGX" : 0, "UZS" : 0,
1975
+ "VND" : 0, "VUV" : 0, "XAF" : 0, "XOF" : 0, "XPF" : 0,
1976
+ "YER" : 0, "ZMK" : 0
1977
+ };
1978
+
1979
+
1980
+ // optional currencyCode argument?
1981
+ if (typeof currencyCode == "string") {
1982
+ // user wanted to override the local currency
1983
+ this.currencyCode = currencyCode.toUpperCase();
1984
+
1985
+ // must override the frac digits too, for some
1986
+ // currencies have 0, 2 or 3!
1987
+ var numDigits = this.currencyFractionDigits[this.currencyCode];
1988
+ if (typeof numDigits != "number")
1989
+ numDigits = 2; // default for most currencies
1990
+ this.lc.frac_digits = numDigits;
1991
+ this.lc.int_frac_digits = numDigits;
1992
+ }
1993
+ else {
1994
+ // use local currency
1995
+ this.currencyCode = this.lc.int_curr_symbol.substring(0,3).toUpperCase();
1996
+ }
1997
+
1998
+ // extract intl. currency separator
1999
+ this.intSep = this.lc.int_curr_symbol.charAt(3);
2000
+
2001
+ // flag local or intl. sign formatting?
2002
+ if (this.currencyCode == this.lc.int_curr_symbol.substring(0,3)) {
2003
+ // currency matches the local one? ->
2004
+ // formatting with local symbol and parameters
2005
+ this.internationalFormatting = false;
2006
+ this.curSym = this.lc.currency_symbol;
2007
+ }
2008
+ else {
2009
+ // currency doesn't match the local ->
2010
+
2011
+ // do we have an overriding currency symbol?
2012
+ if (typeof altIntSymbol == "string") {
2013
+ // -> force formatting with local parameters, using alt symbol
2014
+ this.curSym = altIntSymbol;
2015
+ this.internationalFormatting = false;
2016
+ }
2017
+ else {
2018
+ // -> force formatting with intl. sign and parameters
2019
+ this.internationalFormatting = true;
2020
+ }
2021
+ }
2022
+
2023
+
2024
+ /**
2025
+ * @public
2026
+ *
2027
+ * @description Gets the currency symbol used in formatting.
2028
+ *
2029
+ * @returns {String} The currency symbol.
2030
+ */
2031
+ this.getCurrencySymbol = function() {
2032
+
2033
+ return this.curSym;
2034
+ };
2035
+
2036
+
2037
+ /**
2038
+ * @public
2039
+ *
2040
+ * @description Gets the position of the currency symbol relative to
2041
+ * the amount. Assumes a non-negative amount and local formatting.
2042
+ *
2043
+ * @param {String} intFlag Optional flag to force international
2044
+ * formatting by passing the string "i".
2045
+ *
2046
+ * @returns {Boolean} True if the symbol precedes the amount, false if
2047
+ * the symbol succeeds the amount.
2048
+ */
2049
+ this.currencySymbolPrecedes = function(intFlag) {
2050
+
2051
+ if (typeof intFlag == "string" && intFlag == "i") {
2052
+ // international formatting was forced
2053
+ if (this.lc.int_p_cs_precedes == 1)
2054
+ return true;
2055
+ else
2056
+ return false;
2057
+
2058
+ }
2059
+ else {
2060
+ // check whether local formatting is on or off
2061
+ if (this.internationalFormatting) {
2062
+ if (this.lc.int_p_cs_precedes == 1)
2063
+ return true;
2064
+ else
2065
+ return false;
2066
+ }
2067
+ else {
2068
+ if (this.lc.p_cs_precedes == 1)
2069
+ return true;
2070
+ else
2071
+ return false;
2072
+ }
2073
+ }
2074
+ };
2075
+
2076
+
2077
+ /**
2078
+ * @public
2079
+ *
2080
+ * @description Gets the decimal delimiter (radix) used in formatting.
2081
+ *
2082
+ * @returns {String} The radix character.
2083
+ */
2084
+ this.getDecimalPoint = function() {
2085
+
2086
+ return this.lc.mon_decimal_point;
2087
+ };
2088
+
2089
+
2090
+ /**
2091
+ * @public
2092
+ *
2093
+ * @description Gets the number of fractional digits. Assumes local
2094
+ * formatting.
2095
+ *
2096
+ * @param {String} intFlag Optional flag to force international
2097
+ * formatting by passing the string "i".
2098
+ *
2099
+ * @returns {integer Number} The number of fractional digits.
2100
+ */
2101
+ this.getFractionalDigits = function(intFlag) {
2102
+
2103
+ if (typeof intFlag == "string" && intFlag == "i") {
2104
+ // international formatting was forced
2105
+ return this.lc.int_frac_digits;
2106
+ }
2107
+ else {
2108
+ // check whether local formatting is on or off
2109
+ if (this.internationalFormatting)
2110
+ return this.lc.int_frac_digits;
2111
+ else
2112
+ return this.lc.frac_digits;
2113
+ }
2114
+ };
2115
+
2116
+
2117
+ /**
2118
+ * @public
2119
+ *
2120
+ * @description Formats a monetary amount according to the preset
2121
+ * locale.
2122
+ *
2123
+ * <pre>
2124
+ * For local currencies the native shorthand symbol will be used for
2125
+ * formatting.
2126
+ * Example:
2127
+ * locale is en_US
2128
+ * currency is USD
2129
+ * -> the "$" symbol will be used, e.g. $123.45
2130
+ *
2131
+ * For non-local currencies the international ISO-4217 code will be
2132
+ * used for formatting.
2133
+ * Example:
2134
+ * locale is en_US (which has USD as currency)
2135
+ * currency is EUR
2136
+ * -> the ISO three-letter code will be used, e.g. EUR 123.45
2137
+ *
2138
+ * If the currency is non-local, but an alternative currency symbol was
2139
+ * provided, this will be used instead.
2140
+ * Example
2141
+ * locale is en_US (which has USD as currency)
2142
+ * currency is EUR
2143
+ * an alternative symbol is provided - "€"
2144
+ * -> the alternative symbol will be used, e.g. €123.45
2145
+ * </pre>
2146
+ *
2147
+ * @param {Number|String} amount The amount to format as currency.
2148
+ * @param {String} [options] Options to modify the formatted output:
2149
+ * <ul>
2150
+ * <li>"^" suppress grouping
2151
+ * <li>"!" suppress the currency symbol
2152
+ * <li>"~" suppress the currency symbol and the sign (positive or negative)
2153
+ * <li>"i" force international sign (ISO-4217 code) formatting
2154
+ * <li>".n" specify decimal precision
2155
+ *
2156
+ * @returns The formatted currency amount as string.
2157
+ *
2158
+ * @throws "Error: Invalid amount" on bad amount.
2159
+ */
2160
+ this.format = function(amount, options) {
2161
+
2162
+ // if the amount is passed as string, check that it parses to a float
2163
+ var floatAmount;
2164
+
2165
+ if (typeof amount == "string") {
2166
+ amount = jsworld._trim(amount);
2167
+ floatAmount = parseFloat(amount);
2168
+
2169
+ if (typeof floatAmount != "number" || isNaN(floatAmount))
2170
+ throw "Error: Amount string not a number";
2171
+ }
2172
+ else if (typeof amount == "number") {
2173
+ floatAmount = amount;
2174
+ }
2175
+ else {
2176
+ throw "Error: Amount not a number";
2177
+ }
2178
+
2179
+ // get the required precision, ".n" option arg overrides default locale config
2180
+ var reqPrecision = jsworld._getPrecision(options);
2181
+
2182
+ if (reqPrecision == -1) {
2183
+ if (this.internationalFormatting || jsworld._hasOption("i", options))
2184
+ reqPrecision = this.lc.int_frac_digits;
2185
+ else
2186
+ reqPrecision = this.lc.frac_digits;
2187
+ }
2188
+
2189
+ // round
2190
+ floatAmount = Math.round(floatAmount * Math.pow(10, reqPrecision)) / Math.pow(10, reqPrecision);
2191
+
2192
+
2193
+ // convert the float amount to string and parse into
2194
+ // object with properties integer and fraction
2195
+ var parsedAmount = jsworld._splitNumber(String(floatAmount));
2196
+
2197
+ // format integer part with grouping chars
2198
+ var formattedIntegerPart;
2199
+
2200
+ if (floatAmount === 0)
2201
+ formattedIntegerPart = "0";
2202
+ else
2203
+ formattedIntegerPart = jsworld._hasOption("^", options) ?
2204
+ parsedAmount.integer :
2205
+ jsworld._formatIntegerPart(parsedAmount.integer,
2206
+ this.lc.mon_grouping,
2207
+ this.lc.mon_thousands_sep);
2208
+
2209
+
2210
+ // format the fractional part
2211
+ var formattedFractionPart;
2212
+
2213
+ if (reqPrecision == -1) {
2214
+ // pad fraction with trailing zeros accoring to default locale [int_]frac_digits
2215
+ if (this.internationalFormatting || jsworld._hasOption("i", options))
2216
+ formattedFractionPart =
2217
+ jsworld._formatFractionPart(parsedAmount.fraction, this.lc.int_frac_digits);
2218
+ else
2219
+ formattedFractionPart =
2220
+ jsworld._formatFractionPart(parsedAmount.fraction, this.lc.frac_digits);
2221
+ }
2222
+ else {
2223
+ // pad fraction with trailing zeros according to optional format parameter
2224
+ formattedFractionPart =
2225
+ jsworld._formatFractionPart(parsedAmount.fraction, reqPrecision);
2226
+ }
2227
+
2228
+
2229
+ // join integer and decimal parts using the mon_decimal_point property
2230
+ var quantity;
2231
+
2232
+ if (this.lc.frac_digits > 0 || formattedFractionPart.length)
2233
+ quantity = formattedIntegerPart + this.lc.mon_decimal_point + formattedFractionPart;
2234
+ else
2235
+ quantity = formattedIntegerPart;
2236
+
2237
+
2238
+ // do final formatting with sign and symbol
2239
+ if (jsworld._hasOption("~", options)) {
2240
+ return quantity;
2241
+ }
2242
+ else {
2243
+ var suppressSymbol = jsworld._hasOption("!", options) ? true : false;
2244
+
2245
+ var sign = floatAmount < 0 ? "-" : "+";
2246
+
2247
+ if (this.internationalFormatting || jsworld._hasOption("i", options)) {
2248
+
2249
+ // format with ISO-4217 code (suppressed or not)
2250
+ if (suppressSymbol)
2251
+ return this._formatAsInternationalCurrencyWithNoSym(sign, quantity);
2252
+ else
2253
+ return this._formatAsInternationalCurrency(sign, quantity);
2254
+ }
2255
+ else {
2256
+ // format with local currency code (suppressed or not)
2257
+ if (suppressSymbol)
2258
+ return this._formatAsLocalCurrencyWithNoSym(sign, quantity);
2259
+ else
2260
+ return this._formatAsLocalCurrency(sign, quantity);
2261
+ }
2262
+ }
2263
+ };
2264
+
2265
+
2266
+ /**
2267
+ * @private
2268
+ *
2269
+ * @description Assembles the final string with sign, separator and symbol as local
2270
+ * currency.
2271
+ *
2272
+ * @param {String} sign The amount sign: "+" or "-".
2273
+ * @param {String} q The formatted quantity (unsigned).
2274
+ *
2275
+ * @returns {String} The final formatted string.
2276
+ */
2277
+ this._formatAsLocalCurrency = function (sign, q) {
2278
+
2279
+ // assemble final formatted amount by going over all possible value combinations of:
2280
+ // sign {+,-} , sign position {0,1,2,3,4} , separator {0,1,2} , symbol position {0,1}
2281
+ if (sign == "+") {
2282
+
2283
+ // parentheses
2284
+ if (this.lc.p_sign_posn === 0 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 0) {
2285
+ return "(" + q + this.curSym + ")";
2286
+ }
2287
+ else if (this.lc.p_sign_posn === 0 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 1) {
2288
+ return "(" + this.curSym + q + ")";
2289
+ }
2290
+ else if (this.lc.p_sign_posn === 0 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 0) {
2291
+ return "(" + q + " " + this.curSym + ")";
2292
+ }
2293
+ else if (this.lc.p_sign_posn === 0 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 1) {
2294
+ return "(" + this.curSym + " " + q + ")";
2295
+ }
2296
+
2297
+ // sign before q + sym
2298
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 0) {
2299
+ return this.lc.positive_sign + q + this.curSym;
2300
+ }
2301
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 1) {
2302
+ return this.lc.positive_sign + this.curSym + q;
2303
+ }
2304
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 0) {
2305
+ return this.lc.positive_sign + q + " " + this.curSym;
2306
+ }
2307
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 1) {
2308
+ return this.lc.positive_sign + this.curSym + " " + q;
2309
+ }
2310
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 0) {
2311
+ return this.lc.positive_sign + " " + q + this.curSym;
2312
+ }
2313
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 1) {
2314
+ return this.lc.positive_sign + " " + this.curSym + q;
2315
+ }
2316
+
2317
+ // sign after q + sym
2318
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 0) {
2319
+ return q + this.curSym + this.lc.positive_sign;
2320
+ }
2321
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 1) {
2322
+ return this.curSym + q + this.lc.positive_sign;
2323
+ }
2324
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 0) {
2325
+ return q + " " + this.curSym + this.lc.positive_sign;
2326
+ }
2327
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 1) {
2328
+ return this.curSym + " " + q + this.lc.positive_sign;
2329
+ }
2330
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 0) {
2331
+ return q + this.curSym + " " + this.lc.positive_sign;
2332
+ }
2333
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 1) {
2334
+ return this.curSym + q + " " + this.lc.positive_sign;
2335
+ }
2336
+
2337
+ // sign before sym
2338
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 0) {
2339
+ return q + this.lc.positive_sign + this.curSym;
2340
+ }
2341
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 1) {
2342
+ return this.lc.positive_sign + this.curSym + q;
2343
+ }
2344
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 0) {
2345
+ return q + " " + this.lc.positive_sign + this.curSym;
2346
+ }
2347
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 1) {
2348
+ return this.lc.positive_sign + this.curSym + " " + q;
2349
+ }
2350
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 0) {
2351
+ return q + this.lc.positive_sign + " " + this.curSym;
2352
+ }
2353
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 1) {
2354
+ return this.lc.positive_sign + " " + this.curSym + q;
2355
+ }
2356
+
2357
+ // sign after symbol
2358
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 0) {
2359
+ return q + this.curSym + this.lc.positive_sign;
2360
+ }
2361
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 1) {
2362
+ return this.curSym + this.lc.positive_sign + q;
2363
+ }
2364
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 0) {
2365
+ return q + " " + this.curSym + this.lc.positive_sign;
2366
+ }
2367
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 1) {
2368
+ return this.curSym + this.lc.positive_sign + " " + q;
2369
+ }
2370
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 0) {
2371
+ return q + this.curSym + " " + this.lc.positive_sign;
2372
+ }
2373
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 1) {
2374
+ return this.curSym + " " + this.lc.positive_sign + q;
2375
+ }
2376
+
2377
+ }
2378
+ else if (sign == "-") {
2379
+
2380
+ // parentheses enclose q + sym
2381
+ if (this.lc.n_sign_posn === 0 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 0) {
2382
+ return "(" + q + this.curSym + ")";
2383
+ }
2384
+ else if (this.lc.n_sign_posn === 0 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 1) {
2385
+ return "(" + this.curSym + q + ")";
2386
+ }
2387
+ else if (this.lc.n_sign_posn === 0 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 0) {
2388
+ return "(" + q + " " + this.curSym + ")";
2389
+ }
2390
+ else if (this.lc.n_sign_posn === 0 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 1) {
2391
+ return "(" + this.curSym + " " + q + ")";
2392
+ }
2393
+
2394
+ // sign before q + sym
2395
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 0) {
2396
+ return this.lc.negative_sign + q + this.curSym;
2397
+ }
2398
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 1) {
2399
+ return this.lc.negative_sign + this.curSym + q;
2400
+ }
2401
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 0) {
2402
+ return this.lc.negative_sign + q + " " + this.curSym;
2403
+ }
2404
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 1) {
2405
+ return this.lc.negative_sign + this.curSym + " " + q;
2406
+ }
2407
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 0) {
2408
+ return this.lc.negative_sign + " " + q + this.curSym;
2409
+ }
2410
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 1) {
2411
+ return this.lc.negative_sign + " " + this.curSym + q;
2412
+ }
2413
+
2414
+ // sign after q + sym
2415
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 0) {
2416
+ return q + this.curSym + this.lc.negative_sign;
2417
+ }
2418
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 1) {
2419
+ return this.curSym + q + this.lc.negative_sign;
2420
+ }
2421
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 0) {
2422
+ return q + " " + this.curSym + this.lc.negative_sign;
2423
+ }
2424
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 1) {
2425
+ return this.curSym + " " + q + this.lc.negative_sign;
2426
+ }
2427
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 0) {
2428
+ return q + this.curSym + " " + this.lc.negative_sign;
2429
+ }
2430
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 1) {
2431
+ return this.curSym + q + " " + this.lc.negative_sign;
2432
+ }
2433
+
2434
+ // sign before sym
2435
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 0) {
2436
+ return q + this.lc.negative_sign + this.curSym;
2437
+ }
2438
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 1) {
2439
+ return this.lc.negative_sign + this.curSym + q;
2440
+ }
2441
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 0) {
2442
+ return q + " " + this.lc.negative_sign + this.curSym;
2443
+ }
2444
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 1) {
2445
+ return this.lc.negative_sign + this.curSym + " " + q;
2446
+ }
2447
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 0) {
2448
+ return q + this.lc.negative_sign + " " + this.curSym;
2449
+ }
2450
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 1) {
2451
+ return this.lc.negative_sign + " " + this.curSym + q;
2452
+ }
2453
+
2454
+ // sign after symbol
2455
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 0) {
2456
+ return q + this.curSym + this.lc.negative_sign;
2457
+ }
2458
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 1) {
2459
+ return this.curSym + this.lc.negative_sign + q;
2460
+ }
2461
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 0) {
2462
+ return q + " " + this.curSym + this.lc.negative_sign;
2463
+ }
2464
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 1) {
2465
+ return this.curSym + this.lc.negative_sign + " " + q;
2466
+ }
2467
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 0) {
2468
+ return q + this.curSym + " " + this.lc.negative_sign;
2469
+ }
2470
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 1) {
2471
+ return this.curSym + " " + this.lc.negative_sign + q;
2472
+ }
2473
+ }
2474
+
2475
+ // throw error if we fall through
2476
+ throw "Error: Invalid POSIX LC MONETARY definition";
2477
+ };
2478
+
2479
+
2480
+ /**
2481
+ * @private
2482
+ *
2483
+ * @description Assembles the final string with sign, separator and ISO-4217
2484
+ * currency code.
2485
+ *
2486
+ * @param {String} sign The amount sign: "+" or "-".
2487
+ * @param {String} q The formatted quantity (unsigned).
2488
+ *
2489
+ * @returns {String} The final formatted string.
2490
+ */
2491
+ this._formatAsInternationalCurrency = function (sign, q) {
2492
+
2493
+ // assemble the final formatted amount by going over all possible value combinations of:
2494
+ // sign {+,-} , sign position {0,1,2,3,4} , separator {0,1,2} , symbol position {0,1}
2495
+
2496
+ if (sign == "+") {
2497
+
2498
+ // parentheses
2499
+ if (this.lc.int_p_sign_posn === 0 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 0) {
2500
+ return "(" + q + this.currencyCode + ")";
2501
+ }
2502
+ else if (this.lc.int_p_sign_posn === 0 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 1) {
2503
+ return "(" + this.currencyCode + q + ")";
2504
+ }
2505
+ else if (this.lc.int_p_sign_posn === 0 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 0) {
2506
+ return "(" + q + this.intSep + this.currencyCode + ")";
2507
+ }
2508
+ else if (this.lc.int_p_sign_posn === 0 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 1) {
2509
+ return "(" + this.currencyCode + this.intSep + q + ")";
2510
+ }
2511
+
2512
+ // sign before q + sym
2513
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 0) {
2514
+ return this.lc.positive_sign + q + this.currencyCode;
2515
+ }
2516
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 1) {
2517
+ return this.lc.positive_sign + this.currencyCode + q;
2518
+ }
2519
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 0) {
2520
+ return this.lc.positive_sign + q + this.intSep + this.currencyCode;
2521
+ }
2522
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 1) {
2523
+ return this.lc.positive_sign + this.currencyCode + this.intSep + q;
2524
+ }
2525
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 0) {
2526
+ return this.lc.positive_sign + this.intSep + q + this.currencyCode;
2527
+ }
2528
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 1) {
2529
+ return this.lc.positive_sign + this.intSep + this.currencyCode + q;
2530
+ }
2531
+
2532
+ // sign after q + sym
2533
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 0) {
2534
+ return q + this.currencyCode + this.lc.positive_sign;
2535
+ }
2536
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 1) {
2537
+ return this.currencyCode + q + this.lc.positive_sign;
2538
+ }
2539
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 0) {
2540
+ return q + this.intSep + this.currencyCode + this.lc.positive_sign;
2541
+ }
2542
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 1) {
2543
+ return this.currencyCode + this.intSep + q + this.lc.positive_sign;
2544
+ }
2545
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 0) {
2546
+ return q + this.currencyCode + this.intSep + this.lc.positive_sign;
2547
+ }
2548
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 1) {
2549
+ return this.currencyCode + q + this.intSep + this.lc.positive_sign;
2550
+ }
2551
+
2552
+ // sign before sym
2553
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 0) {
2554
+ return q + this.lc.positive_sign + this.currencyCode;
2555
+ }
2556
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 1) {
2557
+ return this.lc.positive_sign + this.currencyCode + q;
2558
+ }
2559
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 0) {
2560
+ return q + this.intSep + this.lc.positive_sign + this.currencyCode;
2561
+ }
2562
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 1) {
2563
+ return this.lc.positive_sign + this.currencyCode + this.intSep + q;
2564
+ }
2565
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 0) {
2566
+ return q + this.lc.positive_sign + this.intSep + this.currencyCode;
2567
+ }
2568
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 1) {
2569
+ return this.lc.positive_sign + this.intSep + this.currencyCode + q;
2570
+ }
2571
+
2572
+ // sign after symbol
2573
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 0) {
2574
+ return q + this.currencyCode + this.lc.positive_sign;
2575
+ }
2576
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 1) {
2577
+ return this.currencyCode + this.lc.positive_sign + q;
2578
+ }
2579
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 0) {
2580
+ return q + this.intSep + this.currencyCode + this.lc.positive_sign;
2581
+ }
2582
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 1) {
2583
+ return this.currencyCode + this.lc.positive_sign + this.intSep + q;
2584
+ }
2585
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 0) {
2586
+ return q + this.currencyCode + this.intSep + this.lc.positive_sign;
2587
+ }
2588
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 1) {
2589
+ return this.currencyCode + this.intSep + this.lc.positive_sign + q;
2590
+ }
2591
+
2592
+ }
2593
+ else if (sign == "-") {
2594
+
2595
+ // parentheses enclose q + sym
2596
+ if (this.lc.int_n_sign_posn === 0 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 0) {
2597
+ return "(" + q + this.currencyCode + ")";
2598
+ }
2599
+ else if (this.lc.int_n_sign_posn === 0 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 1) {
2600
+ return "(" + this.currencyCode + q + ")";
2601
+ }
2602
+ else if (this.lc.int_n_sign_posn === 0 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 0) {
2603
+ return "(" + q + this.intSep + this.currencyCode + ")";
2604
+ }
2605
+ else if (this.lc.int_n_sign_posn === 0 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 1) {
2606
+ return "(" + this.currencyCode + this.intSep + q + ")";
2607
+ }
2608
+
2609
+ // sign before q + sym
2610
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 0) {
2611
+ return this.lc.negative_sign + q + this.currencyCode;
2612
+ }
2613
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 1) {
2614
+ return this.lc.negative_sign + this.currencyCode + q;
2615
+ }
2616
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 0) {
2617
+ return this.lc.negative_sign + q + this.intSep + this.currencyCode;
2618
+ }
2619
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 1) {
2620
+ return this.lc.negative_sign + this.currencyCode + this.intSep + q;
2621
+ }
2622
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 0) {
2623
+ return this.lc.negative_sign + this.intSep + q + this.currencyCode;
2624
+ }
2625
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 1) {
2626
+ return this.lc.negative_sign + this.intSep + this.currencyCode + q;
2627
+ }
2628
+
2629
+ // sign after q + sym
2630
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 0) {
2631
+ return q + this.currencyCode + this.lc.negative_sign;
2632
+ }
2633
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 1) {
2634
+ return this.currencyCode + q + this.lc.negative_sign;
2635
+ }
2636
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 0) {
2637
+ return q + this.intSep + this.currencyCode + this.lc.negative_sign;
2638
+ }
2639
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 1) {
2640
+ return this.currencyCode + this.intSep + q + this.lc.negative_sign;
2641
+ }
2642
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 0) {
2643
+ return q + this.currencyCode + this.intSep + this.lc.negative_sign;
2644
+ }
2645
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 1) {
2646
+ return this.currencyCode + q + this.intSep + this.lc.negative_sign;
2647
+ }
2648
+
2649
+ // sign before sym
2650
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 0) {
2651
+ return q + this.lc.negative_sign + this.currencyCode;
2652
+ }
2653
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 1) {
2654
+ return this.lc.negative_sign + this.currencyCode + q;
2655
+ }
2656
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 0) {
2657
+ return q + this.intSep + this.lc.negative_sign + this.currencyCode;
2658
+ }
2659
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 1) {
2660
+ return this.lc.negative_sign + this.currencyCode + this.intSep + q;
2661
+ }
2662
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 0) {
2663
+ return q + this.lc.negative_sign + this.intSep + this.currencyCode;
2664
+ }
2665
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 1) {
2666
+ return this.lc.negative_sign + this.intSep + this.currencyCode + q;
2667
+ }
2668
+
2669
+ // sign after symbol
2670
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 0) {
2671
+ return q + this.currencyCode + this.lc.negative_sign;
2672
+ }
2673
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 1) {
2674
+ return this.currencyCode + this.lc.negative_sign + q;
2675
+ }
2676
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 0) {
2677
+ return q + this.intSep + this.currencyCode + this.lc.negative_sign;
2678
+ }
2679
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 1) {
2680
+ return this.currencyCode + this.lc.negative_sign + this.intSep + q;
2681
+ }
2682
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 0) {
2683
+ return q + this.currencyCode + this.intSep + this.lc.negative_sign;
2684
+ }
2685
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 1) {
2686
+ return this.currencyCode + this.intSep + this.lc.negative_sign + q;
2687
+ }
2688
+ }
2689
+
2690
+ // throw error if we fall through
2691
+ throw "Error: Invalid POSIX LC MONETARY definition";
2692
+ };
2693
+
2694
+
2695
+ /**
2696
+ * @private
2697
+ *
2698
+ * @description Assembles the final string with sign and separator, but suppress the
2699
+ * local currency symbol.
2700
+ *
2701
+ * @param {String} sign The amount sign: "+" or "-".
2702
+ * @param {String} q The formatted quantity (unsigned).
2703
+ *
2704
+ * @returns {String} The final formatted string
2705
+ */
2706
+ this._formatAsLocalCurrencyWithNoSym = function (sign, q) {
2707
+
2708
+ // assemble the final formatted amount by going over all possible value combinations of:
2709
+ // sign {+,-} , sign position {0,1,2,3,4} , separator {0,1,2} , symbol position {0,1}
2710
+
2711
+ if (sign == "+") {
2712
+
2713
+ // parentheses
2714
+ if (this.lc.p_sign_posn === 0) {
2715
+ return "(" + q + ")";
2716
+ }
2717
+
2718
+ // sign before q + sym
2719
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 0) {
2720
+ return this.lc.positive_sign + q;
2721
+ }
2722
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 1) {
2723
+ return this.lc.positive_sign + q;
2724
+ }
2725
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 0) {
2726
+ return this.lc.positive_sign + q;
2727
+ }
2728
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 1) {
2729
+ return this.lc.positive_sign + q;
2730
+ }
2731
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 0) {
2732
+ return this.lc.positive_sign + " " + q;
2733
+ }
2734
+ else if (this.lc.p_sign_posn === 1 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 1) {
2735
+ return this.lc.positive_sign + " " + q;
2736
+ }
2737
+
2738
+ // sign after q + sym
2739
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 0) {
2740
+ return q + this.lc.positive_sign;
2741
+ }
2742
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 1) {
2743
+ return q + this.lc.positive_sign;
2744
+ }
2745
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 0) {
2746
+ return q + " " + this.lc.positive_sign;
2747
+ }
2748
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 1) {
2749
+ return q + this.lc.positive_sign;
2750
+ }
2751
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 0) {
2752
+ return q + this.lc.positive_sign;
2753
+ }
2754
+ else if (this.lc.p_sign_posn === 2 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 1) {
2755
+ return q + " " + this.lc.positive_sign;
2756
+ }
2757
+
2758
+ // sign before sym
2759
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 0) {
2760
+ return q + this.lc.positive_sign;
2761
+ }
2762
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 1) {
2763
+ return this.lc.positive_sign + q;
2764
+ }
2765
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 0) {
2766
+ return q + " " + this.lc.positive_sign;
2767
+ }
2768
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 1) {
2769
+ return this.lc.positive_sign + " " + q;
2770
+ }
2771
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 0) {
2772
+ return q + this.lc.positive_sign;
2773
+ }
2774
+ else if (this.lc.p_sign_posn === 3 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 1) {
2775
+ return this.lc.positive_sign + " " + q;
2776
+ }
2777
+
2778
+ // sign after symbol
2779
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 0) {
2780
+ return q + this.lc.positive_sign;
2781
+ }
2782
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 0 && this.lc.p_cs_precedes === 1) {
2783
+ return this.lc.positive_sign + q;
2784
+ }
2785
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 0) {
2786
+ return q + " " + this.lc.positive_sign;
2787
+ }
2788
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 1 && this.lc.p_cs_precedes === 1) {
2789
+ return this.lc.positive_sign + " " + q;
2790
+ }
2791
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 0) {
2792
+ return q + " " + this.lc.positive_sign;
2793
+ }
2794
+ else if (this.lc.p_sign_posn === 4 && this.lc.p_sep_by_space === 2 && this.lc.p_cs_precedes === 1) {
2795
+ return this.lc.positive_sign + q;
2796
+ }
2797
+
2798
+ }
2799
+ else if (sign == "-") {
2800
+
2801
+ // parentheses enclose q + sym
2802
+ if (this.lc.n_sign_posn === 0) {
2803
+ return "(" + q + ")";
2804
+ }
2805
+
2806
+ // sign before q + sym
2807
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 0) {
2808
+ return this.lc.negative_sign + q;
2809
+ }
2810
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 1) {
2811
+ return this.lc.negative_sign + q;
2812
+ }
2813
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 0) {
2814
+ return this.lc.negative_sign + q;
2815
+ }
2816
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 1) {
2817
+ return this.lc.negative_sign + " " + q;
2818
+ }
2819
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 0) {
2820
+ return this.lc.negative_sign + " " + q;
2821
+ }
2822
+ else if (this.lc.n_sign_posn === 1 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 1) {
2823
+ return this.lc.negative_sign + " " + q;
2824
+ }
2825
+
2826
+ // sign after q + sym
2827
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 0) {
2828
+ return q + this.lc.negative_sign;
2829
+ }
2830
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 1) {
2831
+ return q + this.lc.negative_sign;
2832
+ }
2833
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 0) {
2834
+ return q + " " + this.lc.negative_sign;
2835
+ }
2836
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 1) {
2837
+ return q + this.lc.negative_sign;
2838
+ }
2839
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 0) {
2840
+ return q + " " + this.lc.negative_sign;
2841
+ }
2842
+ else if (this.lc.n_sign_posn === 2 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 1) {
2843
+ return q + " " + this.lc.negative_sign;
2844
+ }
2845
+
2846
+ // sign before sym
2847
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 0) {
2848
+ return q + this.lc.negative_sign;
2849
+ }
2850
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 1) {
2851
+ return this.lc.negative_sign + q;
2852
+ }
2853
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 0) {
2854
+ return q + " " + this.lc.negative_sign;
2855
+ }
2856
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 1) {
2857
+ return this.lc.negative_sign + " " + q;
2858
+ }
2859
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 0) {
2860
+ return q + this.lc.negative_sign;
2861
+ }
2862
+ else if (this.lc.n_sign_posn === 3 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 1) {
2863
+ return this.lc.negative_sign + " " + q;
2864
+ }
2865
+
2866
+ // sign after symbol
2867
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 0) {
2868
+ return q + this.lc.negative_sign;
2869
+ }
2870
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 0 && this.lc.n_cs_precedes === 1) {
2871
+ return this.lc.negative_sign + q;
2872
+ }
2873
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 0) {
2874
+ return q + " " + this.lc.negative_sign;
2875
+ }
2876
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 1 && this.lc.n_cs_precedes === 1) {
2877
+ return this.lc.negative_sign + " " + q;
2878
+ }
2879
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 0) {
2880
+ return q + " " + this.lc.negative_sign;
2881
+ }
2882
+ else if (this.lc.n_sign_posn === 4 && this.lc.n_sep_by_space === 2 && this.lc.n_cs_precedes === 1) {
2883
+ return this.lc.negative_sign + q;
2884
+ }
2885
+ }
2886
+
2887
+ // throw error if we fall through
2888
+ throw "Error: Invalid POSIX LC MONETARY definition";
2889
+ };
2890
+
2891
+
2892
+ /**
2893
+ * @private
2894
+ *
2895
+ * @description Assembles the final string with sign and separator, but suppress
2896
+ * the ISO-4217 currency code.
2897
+ *
2898
+ * @param {String} sign The amount sign: "+" or "-".
2899
+ * @param {String} q The formatted quantity (unsigned).
2900
+ *
2901
+ * @returns {String} The final formatted string.
2902
+ */
2903
+ this._formatAsInternationalCurrencyWithNoSym = function (sign, q) {
2904
+
2905
+ // assemble the final formatted amount by going over all possible value combinations of:
2906
+ // sign {+,-} , sign position {0,1,2,3,4} , separator {0,1,2} , symbol position {0,1}
2907
+
2908
+ if (sign == "+") {
2909
+
2910
+ // parentheses
2911
+ if (this.lc.int_p_sign_posn === 0) {
2912
+ return "(" + q + ")";
2913
+ }
2914
+
2915
+ // sign before q + sym
2916
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 0) {
2917
+ return this.lc.positive_sign + q;
2918
+ }
2919
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 1) {
2920
+ return this.lc.positive_sign + q;
2921
+ }
2922
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 0) {
2923
+ return this.lc.positive_sign + q;
2924
+ }
2925
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 1) {
2926
+ return this.lc.positive_sign + this.intSep + q;
2927
+ }
2928
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 0) {
2929
+ return this.lc.positive_sign + this.intSep + q;
2930
+ }
2931
+ else if (this.lc.int_p_sign_posn === 1 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 1) {
2932
+ return this.lc.positive_sign + this.intSep + q;
2933
+ }
2934
+
2935
+ // sign after q + sym
2936
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 0) {
2937
+ return q + this.lc.positive_sign;
2938
+ }
2939
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 1) {
2940
+ return q + this.lc.positive_sign;
2941
+ }
2942
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 0) {
2943
+ return q + this.intSep + this.lc.positive_sign;
2944
+ }
2945
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 1) {
2946
+ return q + this.lc.positive_sign;
2947
+ }
2948
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 0) {
2949
+ return q + this.intSep + this.lc.positive_sign;
2950
+ }
2951
+ else if (this.lc.int_p_sign_posn === 2 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 1) {
2952
+ return q + this.intSep + this.lc.positive_sign;
2953
+ }
2954
+
2955
+ // sign before sym
2956
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 0) {
2957
+ return q + this.lc.positive_sign;
2958
+ }
2959
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 1) {
2960
+ return this.lc.positive_sign + q;
2961
+ }
2962
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 0) {
2963
+ return q + this.intSep + this.lc.positive_sign;
2964
+ }
2965
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 1) {
2966
+ return this.lc.positive_sign + this.intSep + q;
2967
+ }
2968
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 0) {
2969
+ return q + this.lc.positive_sign;
2970
+ }
2971
+ else if (this.lc.int_p_sign_posn === 3 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 1) {
2972
+ return this.lc.positive_sign + this.intSep + q;
2973
+ }
2974
+
2975
+ // sign after symbol
2976
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 0) {
2977
+ return q + this.lc.positive_sign;
2978
+ }
2979
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 0 && this.lc.int_p_cs_precedes === 1) {
2980
+ return this.lc.positive_sign + q;
2981
+ }
2982
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 0) {
2983
+ return q + this.intSep + this.lc.positive_sign;
2984
+ }
2985
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 1 && this.lc.int_p_cs_precedes === 1) {
2986
+ return this.lc.positive_sign + this.intSep + q;
2987
+ }
2988
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 0) {
2989
+ return q + this.intSep + this.lc.positive_sign;
2990
+ }
2991
+ else if (this.lc.int_p_sign_posn === 4 && this.lc.int_p_sep_by_space === 2 && this.lc.int_p_cs_precedes === 1) {
2992
+ return this.lc.positive_sign + q;
2993
+ }
2994
+
2995
+ }
2996
+ else if (sign == "-") {
2997
+
2998
+ // parentheses enclose q + sym
2999
+ if (this.lc.int_n_sign_posn === 0) {
3000
+ return "(" + q + ")";
3001
+ }
3002
+
3003
+ // sign before q + sym
3004
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 0) {
3005
+ return this.lc.negative_sign + q;
3006
+ }
3007
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 1) {
3008
+ return this.lc.negative_sign + q;
3009
+ }
3010
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 0) {
3011
+ return this.lc.negative_sign + q;
3012
+ }
3013
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 1) {
3014
+ return this.lc.negative_sign + this.intSep + q;
3015
+ }
3016
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 0) {
3017
+ return this.lc.negative_sign + this.intSep + q;
3018
+ }
3019
+ else if (this.lc.int_n_sign_posn === 1 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 1) {
3020
+ return this.lc.negative_sign + this.intSep + q;
3021
+ }
3022
+
3023
+ // sign after q + sym
3024
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 0) {
3025
+ return q + this.lc.negative_sign;
3026
+ }
3027
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 1) {
3028
+ return q + this.lc.negative_sign;
3029
+ }
3030
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 0) {
3031
+ return q + this.intSep + this.lc.negative_sign;
3032
+ }
3033
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 1) {
3034
+ return q + this.lc.negative_sign;
3035
+ }
3036
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 0) {
3037
+ return q + this.intSep + this.lc.negative_sign;
3038
+ }
3039
+ else if (this.lc.int_n_sign_posn === 2 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 1) {
3040
+ return q + this.intSep + this.lc.negative_sign;
3041
+ }
3042
+
3043
+ // sign before sym
3044
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 0) {
3045
+ return q + this.lc.negative_sign;
3046
+ }
3047
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 1) {
3048
+ return this.lc.negative_sign + q;
3049
+ }
3050
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 0) {
3051
+ return q + this.intSep + this.lc.negative_sign;
3052
+ }
3053
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 1) {
3054
+ return this.lc.negative_sign + this.intSep + q;
3055
+ }
3056
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 0) {
3057
+ return q + this.lc.negative_sign;
3058
+ }
3059
+ else if (this.lc.int_n_sign_posn === 3 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 1) {
3060
+ return this.lc.negative_sign + this.intSep + q;
3061
+ }
3062
+
3063
+ // sign after symbol
3064
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 0) {
3065
+ return q + this.lc.negative_sign;
3066
+ }
3067
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 0 && this.lc.int_n_cs_precedes === 1) {
3068
+ return this.lc.negative_sign + q;
3069
+ }
3070
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 0) {
3071
+ return q + this.intSep + this.lc.negative_sign;
3072
+ }
3073
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 1 && this.lc.int_n_cs_precedes === 1) {
3074
+ return this.lc.negative_sign + this.intSep + q;
3075
+ }
3076
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 0) {
3077
+ return q + this.intSep + this.lc.negative_sign;
3078
+ }
3079
+ else if (this.lc.int_n_sign_posn === 4 && this.lc.int_n_sep_by_space === 2 && this.lc.int_n_cs_precedes === 1) {
3080
+ return this.lc.negative_sign + q;
3081
+ }
3082
+ }
3083
+
3084
+ // throw error if we fall through
3085
+ throw "Error: Invalid POSIX LC_MONETARY definition";
3086
+ };
3087
+ };
3088
+
3089
+
3090
+ /**
3091
+ * @class
3092
+ * Class for parsing localised number strings.
3093
+ *
3094
+ * @public
3095
+ * @constructor
3096
+ * @description Creates a new numeric parser for the specified locale.
3097
+ *
3098
+ * @param {jsworld.Locale} locale A locale object specifying the required
3099
+ * POSIX LC_NUMERIC formatting properties.
3100
+ *
3101
+ * @throws Error on constructor failure.
3102
+ */
3103
+ jsworld.NumericParser = function(locale) {
3104
+
3105
+ if (typeof locale != "object" || locale._className != "jsworld.Locale")
3106
+ throw "Constructor error: You must provide a valid jsworld.Locale instance";
3107
+
3108
+ this.lc = locale;
3109
+
3110
+
3111
+ /**
3112
+ * @public
3113
+ *
3114
+ * @description Parses a numeric string formatted according to the
3115
+ * preset locale. Leading and trailing whitespace is ignored; the number
3116
+ * may also be formatted without thousands separators.
3117
+ *
3118
+ * @param {String} formattedNumber The formatted number.
3119
+ *
3120
+ * @returns {Number} The parsed number.
3121
+ *
3122
+ * @throws Error on a parse exception.
3123
+ */
3124
+ this.parse = function(formattedNumber) {
3125
+
3126
+ if (typeof formattedNumber != "string")
3127
+ throw "Parse error: Argument must be a string";
3128
+
3129
+ // trim whitespace
3130
+ var s = jsworld._trim(formattedNumber);
3131
+
3132
+ // remove any thousand separator symbols
3133
+ s = jsworld._stringReplaceAll(formattedNumber, this.lc.thousands_sep, "");
3134
+
3135
+ // replace any local decimal point symbols with the symbol used
3136
+ // in JavaScript "."
3137
+ s = jsworld._stringReplaceAll(s, this.lc.decimal_point, ".");
3138
+
3139
+ // test if the string represents a number
3140
+ if (jsworld._isNumber(s))
3141
+ return parseFloat(s, 10);
3142
+ else
3143
+ throw "Parse error: Invalid number string";
3144
+ };
3145
+ };
3146
+
3147
+
3148
+ /**
3149
+ * @class
3150
+ * Class for parsing localised date and time strings.
3151
+ *
3152
+ * @public
3153
+ * @constructor
3154
+ * @description Creates a new date/time parser for the specified locale.
3155
+ *
3156
+ * @param {jsworld.Locale} locale A locale object specifying the required
3157
+ * POSIX LC_TIME formatting properties.
3158
+ *
3159
+ * @throws Error on constructor failure.
3160
+ */
3161
+ jsworld.DateTimeParser = function(locale) {
3162
+
3163
+ if (typeof locale != "object" || locale._className != "jsworld.Locale")
3164
+ throw "Constructor error: You must provide a valid jsworld.Locale instance.";
3165
+
3166
+ this.lc = locale;
3167
+
3168
+
3169
+ /**
3170
+ * @public
3171
+ *
3172
+ * @description Parses a time string formatted according to the
3173
+ * POSIX LC_TIME t_fmt property of the preset locale.
3174
+ *
3175
+ * @param {String} formattedTime The formatted time.
3176
+ *
3177
+ * @returns {String} The parsed time in ISO-8601 format (HH:MM:SS), e.g.
3178
+ * "23:59:59".
3179
+ *
3180
+ * @throws Error on a parse exception.
3181
+ */
3182
+ this.parseTime = function(formattedTime) {
3183
+
3184
+ if (typeof formattedTime != "string")
3185
+ throw "Parse error: Argument must be a string";
3186
+
3187
+ var dt = this._extractTokens(this.lc.t_fmt, formattedTime);
3188
+
3189
+ var timeDefined = false;
3190
+
3191
+ if (dt.hour !== null && dt.minute !== null && dt.second !== null) {
3192
+ timeDefined = true;
3193
+ }
3194
+ else if (dt.hourAmPm !== null && dt.am !== null && dt.minute !== null && dt.second !== null) {
3195
+ if (dt.am) {
3196
+ // AM [12(midnight), 1 .. 11]
3197
+ if (dt.hourAmPm == 12)
3198
+ dt.hour = 0;
3199
+ else
3200
+ dt.hour = parseInt(dt.hourAmPm, 10);
3201
+ }
3202
+ else {
3203
+ // PM [12(noon), 1 .. 11]
3204
+ if (dt.hourAmPm == 12)
3205
+ dt.hour = 12;
3206
+ else
3207
+ dt.hour = parseInt(dt.hourAmPm, 10) + 12;
3208
+ }
3209
+ timeDefined = true;
3210
+ }
3211
+
3212
+ if (timeDefined)
3213
+ return jsworld._zeroPad(dt.hour, 2) +
3214
+ ":" +
3215
+ jsworld._zeroPad(dt.minute, 2) +
3216
+ ":" +
3217
+ jsworld._zeroPad(dt.second, 2);
3218
+ else
3219
+ throw "Parse error: Invalid/ambiguous time string";
3220
+ };
3221
+
3222
+
3223
+ /**
3224
+ * @public
3225
+ *
3226
+ * @description Parses a date string formatted according to the
3227
+ * POSIX LC_TIME d_fmt property of the preset locale.
3228
+ *
3229
+ * @param {String} formattedDate The formatted date, must be valid.
3230
+ *
3231
+ * @returns {String} The parsed date in ISO-8601 format (YYYY-MM-DD),
3232
+ * e.g. "2010-03-31".
3233
+ *
3234
+ * @throws Error on a parse exception.
3235
+ */
3236
+ this.parseDate = function(formattedDate) {
3237
+
3238
+ if (typeof formattedDate != "string")
3239
+ throw "Parse error: Argument must be a string";
3240
+
3241
+ var dt = this._extractTokens(this.lc.d_fmt, formattedDate);
3242
+
3243
+ var dateDefined = false;
3244
+
3245
+ if (dt.year !== null && dt.month !== null && dt.day !== null) {
3246
+ dateDefined = true;
3247
+ }
3248
+
3249
+ if (dateDefined)
3250
+ return jsworld._zeroPad(dt.year, 4) +
3251
+ "-" +
3252
+ jsworld._zeroPad(dt.month, 2) +
3253
+ "-" +
3254
+ jsworld._zeroPad(dt.day, 2);
3255
+ else
3256
+ throw "Parse error: Invalid date string";
3257
+ };
3258
+
3259
+
3260
+ /**
3261
+ * @public
3262
+ *
3263
+ * @description Parses a date/time string formatted according to the
3264
+ * POSIX LC_TIME d_t_fmt property of the preset locale.
3265
+ *
3266
+ * @param {String} formattedDateTime The formatted date/time, must be
3267
+ * valid.
3268
+ *
3269
+ * @returns {String} The parsed date/time in ISO-8601 format
3270
+ * (YYYY-MM-DD HH:MM:SS), e.g. "2010-03-31 23:59:59".
3271
+ *
3272
+ * @throws Error on a parse exception.
3273
+ */
3274
+ this.parseDateTime = function(formattedDateTime) {
3275
+
3276
+ if (typeof formattedDateTime != "string")
3277
+ throw "Parse error: Argument must be a string";
3278
+
3279
+ var dt = this._extractTokens(this.lc.d_t_fmt, formattedDateTime);
3280
+
3281
+ var timeDefined = false;
3282
+ var dateDefined = false;
3283
+
3284
+ if (dt.hour !== null && dt.minute !== null && dt.second !== null) {
3285
+ timeDefined = true;
3286
+ }
3287
+ else if (dt.hourAmPm !== null && dt.am !== null && dt.minute !== null && dt.second !== null) {
3288
+ if (dt.am) {
3289
+ // AM [12(midnight), 1 .. 11]
3290
+ if (dt.hourAmPm == 12)
3291
+ dt.hour = 0;
3292
+ else
3293
+ dt.hour = parseInt(dt.hourAmPm, 10);
3294
+ }
3295
+ else {
3296
+ // PM [12(noon), 1 .. 11]
3297
+ if (dt.hourAmPm == 12)
3298
+ dt.hour = 12;
3299
+ else
3300
+ dt.hour = parseInt(dt.hourAmPm, 10) + 12;
3301
+ }
3302
+ timeDefined = true;
3303
+ }
3304
+
3305
+ if (dt.year !== null && dt.month !== null && dt.day !== null) {
3306
+ dateDefined = true;
3307
+ }
3308
+
3309
+ if (dateDefined && timeDefined)
3310
+ return jsworld._zeroPad(dt.year, 4) +
3311
+ "-" +
3312
+ jsworld._zeroPad(dt.month, 2) +
3313
+ "-" +
3314
+ jsworld._zeroPad(dt.day, 2) +
3315
+ " " +
3316
+ jsworld._zeroPad(dt.hour, 2) +
3317
+ ":" +
3318
+ jsworld._zeroPad(dt.minute, 2) +
3319
+ ":" +
3320
+ jsworld._zeroPad(dt.second, 2);
3321
+ else
3322
+ throw "Parse error: Invalid/ambiguous date/time string";
3323
+ };
3324
+
3325
+
3326
+ /**
3327
+ * @private
3328
+ *
3329
+ * @description Parses a string according to the specified format
3330
+ * specification.
3331
+ *
3332
+ * @param {String} fmtSpec The format specification, e.g. "%I:%M:%S %p".
3333
+ * @param {String} s The string to parse.
3334
+ *
3335
+ * @returns {object} An object with set properties year, month, day,
3336
+ * hour, minute and second if the corresponding values are
3337
+ * found in the parsed string.
3338
+ *
3339
+ * @throws Error on a parse exception.
3340
+ */
3341
+ this._extractTokens = function(fmtSpec, s) {
3342
+
3343
+ // the return object containing the parsed date/time properties
3344
+ var dt = {
3345
+ // for date and date/time strings
3346
+ "year" : null,
3347
+ "month" : null,
3348
+ "day" : null,
3349
+
3350
+ // for time and date/time strings
3351
+ "hour" : null,
3352
+ "hourAmPm" : null,
3353
+ "am" : null,
3354
+ "minute" : null,
3355
+ "second" : null,
3356
+
3357
+ // used internally only
3358
+ "weekday" : null
3359
+ };
3360
+
3361
+
3362
+ // extract and process each token in the date/time spec
3363
+ while (fmtSpec.length > 0) {
3364
+
3365
+ // Do we have a valid "%\w" placeholder in stream?
3366
+ if (fmtSpec.charAt(0) == "%" && fmtSpec.charAt(1) != "") {
3367
+
3368
+ // get placeholder
3369
+ var placeholder = fmtSpec.substring(0,2);
3370
+
3371
+ if (placeholder == "%%") {
3372
+ // escaped '%''
3373
+ s = s.substring(1);
3374
+ }
3375
+ else if (placeholder == "%a") {
3376
+ // abbreviated weekday name
3377
+ for (var i = 0; i < this.lc.abday.length; i++) {
3378
+
3379
+ if (jsworld._stringStartsWith(s, this.lc.abday[i])) {
3380
+ dt.weekday = i;
3381
+ s = s.substring(this.lc.abday[i].length);
3382
+ break;
3383
+ }
3384
+ }
3385
+
3386
+ if (dt.weekday === null)
3387
+ throw "Parse error: Unrecognised abbreviated weekday name (%a)";
3388
+ }
3389
+ else if (placeholder == "%A") {
3390
+ // weekday name
3391
+ for (var i = 0; i < this.lc.day.length; i++) {
3392
+
3393
+ if (jsworld._stringStartsWith(s, this.lc.day[i])) {
3394
+ dt.weekday = i;
3395
+ s = s.substring(this.lc.day[i].length);
3396
+ break;
3397
+ }
3398
+ }
3399
+
3400
+ if (dt.weekday === null)
3401
+ throw "Parse error: Unrecognised weekday name (%A)";
3402
+ }
3403
+ else if (placeholder == "%b" || placeholder == "%h") {
3404
+ // abbreviated month name
3405
+ for (var i = 0; i < this.lc.abmon.length; i++) {
3406
+
3407
+ if (jsworld._stringStartsWith(s, this.lc.abmon[i])) {
3408
+ dt.month = i + 1;
3409
+ s = s.substring(this.lc.abmon[i].length);
3410
+ break;
3411
+ }
3412
+ }
3413
+
3414
+ if (dt.month === null)
3415
+ throw "Parse error: Unrecognised abbreviated month name (%b)";
3416
+ }
3417
+ else if (placeholder == "%B") {
3418
+ // month name
3419
+ for (var i = 0; i < this.lc.mon.length; i++) {
3420
+
3421
+ if (jsworld._stringStartsWith(s, this.lc.mon[i])) {
3422
+ dt.month = i + 1;
3423
+ s = s.substring(this.lc.mon[i].length);
3424
+ break;
3425
+ }
3426
+ }
3427
+
3428
+ if (dt.month === null)
3429
+ throw "Parse error: Unrecognised month name (%B)";
3430
+ }
3431
+ else if (placeholder == "%d") {
3432
+ // day of the month [01..31]
3433
+ if (/^0[1-9]|[1-2][0-9]|3[0-1]/.test(s)) {
3434
+ dt.day = parseInt(s.substring(0,2), 10);
3435
+ s = s.substring(2);
3436
+ }
3437
+ else
3438
+ throw "Parse error: Unrecognised day of the month (%d)";
3439
+ }
3440
+ else if (placeholder == "%e") {
3441
+ // day of the month [1..31]
3442
+
3443
+ // Note: if %e is leading in fmt string -> space padded!
3444
+
3445
+ var day = s.match(/^\s?(\d{1,2})/);
3446
+ dt.day = parseInt(day, 10);
3447
+
3448
+ if (isNaN(dt.day) || dt.day < 1 || dt.day > 31)
3449
+ throw "Parse error: Unrecognised day of the month (%e)";
3450
+
3451
+ s = s.substring(day.length);
3452
+ }
3453
+ else if (placeholder == "%F") {
3454
+ // equivalent to %Y-%m-%d (ISO-8601 date format)
3455
+
3456
+ // year [nnnn]
3457
+ if (/^\d\d\d\d/.test(s)) {
3458
+ dt.year = parseInt(s.substring(0,4), 10);
3459
+ s = s.substring(4);
3460
+ }
3461
+ else {
3462
+ throw "Parse error: Unrecognised date (%F)";
3463
+ }
3464
+
3465
+ // -
3466
+ if (jsworld._stringStartsWith(s, "-"))
3467
+ s = s.substring(1);
3468
+ else
3469
+ throw "Parse error: Unrecognised date (%F)";
3470
+
3471
+ // month [01..12]
3472
+ if (/^0[1-9]|1[0-2]/.test(s)) {
3473
+ dt.month = parseInt(s.substring(0,2), 10);
3474
+ s = s.substring(2);
3475
+ }
3476
+ else
3477
+ throw "Parse error: Unrecognised date (%F)";
3478
+
3479
+ // -
3480
+ if (jsworld._stringStartsWith(s, "-"))
3481
+ s = s.substring(1);
3482
+ else
3483
+ throw "Parse error: Unrecognised date (%F)";
3484
+
3485
+ // day of the month [01..31]
3486
+ if (/^0[1-9]|[1-2][0-9]|3[0-1]/.test(s)) {
3487
+ dt.day = parseInt(s.substring(0,2), 10);
3488
+ s = s.substring(2);
3489
+ }
3490
+ else
3491
+ throw "Parse error: Unrecognised date (%F)";
3492
+ }
3493
+ else if (placeholder == "%H") {
3494
+ // hour [00..23]
3495
+ if (/^[0-1][0-9]|2[0-3]/.test(s)) {
3496
+ dt.hour = parseInt(s.substring(0,2), 10);
3497
+ s = s.substring(2);
3498
+ }
3499
+ else
3500
+ throw "Parse error: Unrecognised hour (%H)";
3501
+ }
3502
+ else if (placeholder == "%I") {
3503
+ // hour [01..12]
3504
+ if (/^0[1-9]|1[0-2]/.test(s)) {
3505
+ dt.hourAmPm = parseInt(s.substring(0,2), 10);
3506
+ s = s.substring(2);
3507
+ }
3508
+ else
3509
+ throw "Parse error: Unrecognised hour (%I)";
3510
+ }
3511
+ else if (placeholder == "%k") {
3512
+ // hour [0..23]
3513
+ var h = s.match(/^(\d{1,2})/);
3514
+ dt.hour = parseInt(h, 10);
3515
+
3516
+ if (isNaN(dt.hour) || dt.hour < 0 || dt.hour > 23)
3517
+ throw "Parse error: Unrecognised hour (%k)";
3518
+
3519
+ s = s.substring(h.length);
3520
+ }
3521
+ else if (placeholder == "%l") {
3522
+ // hour AM/PM [1..12]
3523
+ var h = s.match(/^(\d{1,2})/);
3524
+ dt.hourAmPm = parseInt(h, 10);
3525
+
3526
+ if (isNaN(dt.hourAmPm) || dt.hourAmPm < 1 || dt.hourAmPm > 12)
3527
+ throw "Parse error: Unrecognised hour (%l)";
3528
+
3529
+ s = s.substring(h.length);
3530
+ }
3531
+ else if (placeholder == "%m") {
3532
+ // month [01..12]
3533
+ if (/^0[1-9]|1[0-2]/.test(s)) {
3534
+ dt.month = parseInt(s.substring(0,2), 10);
3535
+ s = s.substring(2);
3536
+ }
3537
+ else
3538
+ throw "Parse error: Unrecognised month (%m)";
3539
+ }
3540
+ else if (placeholder == "%M") {
3541
+ // minute [00..59]
3542
+ if (/^[0-5][0-9]/.test(s)) {
3543
+ dt.minute = parseInt(s.substring(0,2), 10);
3544
+ s = s.substring(2);
3545
+ }
3546
+ else
3547
+ throw "Parse error: Unrecognised minute (%M)";
3548
+ }
3549
+ else if (placeholder == "%n") {
3550
+ // new line
3551
+
3552
+ if (s.charAt(0) == "\n")
3553
+ s = s.substring(1);
3554
+ else
3555
+ throw "Parse error: Unrecognised new line (%n)";
3556
+ }
3557
+ else if (placeholder == "%p") {
3558
+ // locale's equivalent of AM/PM
3559
+ if (jsworld._stringStartsWith(s, this.lc.am)) {
3560
+ dt.am = true;
3561
+ s = s.substring(this.lc.am.length);
3562
+ }
3563
+ else if (jsworld._stringStartsWith(s, this.lc.pm)) {
3564
+ dt.am = false;
3565
+ s = s.substring(this.lc.pm.length);
3566
+ }
3567
+ else
3568
+ throw "Parse error: Unrecognised AM/PM value (%p)";
3569
+ }
3570
+ else if (placeholder == "%P") {
3571
+ // same as %p but forced lower case
3572
+ if (jsworld._stringStartsWith(s, this.lc.am.toLowerCase())) {
3573
+ dt.am = true;
3574
+ s = s.substring(this.lc.am.length);
3575
+ }
3576
+ else if (jsworld._stringStartsWith(s, this.lc.pm.toLowerCase())) {
3577
+ dt.am = false;
3578
+ s = s.substring(this.lc.pm.length);
3579
+ }
3580
+ else
3581
+ throw "Parse error: Unrecognised AM/PM value (%P)";
3582
+ }
3583
+ else if (placeholder == "%R") {
3584
+ // same as %H:%M
3585
+
3586
+ // hour [00..23]
3587
+ if (/^[0-1][0-9]|2[0-3]/.test(s)) {
3588
+ dt.hour = parseInt(s.substring(0,2), 10);
3589
+ s = s.substring(2);
3590
+ }
3591
+ else
3592
+ throw "Parse error: Unrecognised time (%R)";
3593
+
3594
+ // :
3595
+ if (jsworld._stringStartsWith(s, ":"))
3596
+ s = s.substring(1);
3597
+ else
3598
+ throw "Parse error: Unrecognised time (%R)";
3599
+
3600
+ // minute [00..59]
3601
+ if (/^[0-5][0-9]/.test(s)) {
3602
+ dt.minute = parseInt(s.substring(0,2), 10);
3603
+ s = s.substring(2);
3604
+ }
3605
+ else
3606
+ throw "Parse error: Unrecognised time (%R)";
3607
+
3608
+ }
3609
+ else if (placeholder == "%S") {
3610
+ // second [00..59]
3611
+ if (/^[0-5][0-9]/.test(s)) {
3612
+ dt.second = parseInt(s.substring(0,2), 10);
3613
+ s = s.substring(2);
3614
+ }
3615
+ else
3616
+ throw "Parse error: Unrecognised second (%S)";
3617
+ }
3618
+ else if (placeholder == "%T") {
3619
+ // same as %H:%M:%S
3620
+
3621
+ // hour [00..23]
3622
+ if (/^[0-1][0-9]|2[0-3]/.test(s)) {
3623
+ dt.hour = parseInt(s.substring(0,2), 10);
3624
+ s = s.substring(2);
3625
+ }
3626
+ else
3627
+ throw "Parse error: Unrecognised time (%T)";
3628
+
3629
+ // :
3630
+ if (jsworld._stringStartsWith(s, ":"))
3631
+ s = s.substring(1);
3632
+ else
3633
+ throw "Parse error: Unrecognised time (%T)";
3634
+
3635
+ // minute [00..59]
3636
+ if (/^[0-5][0-9]/.test(s)) {
3637
+ dt.minute = parseInt(s.substring(0,2), 10);
3638
+ s = s.substring(2);
3639
+ }
3640
+ else
3641
+ throw "Parse error: Unrecognised time (%T)";
3642
+
3643
+ // :
3644
+ if (jsworld._stringStartsWith(s, ":"))
3645
+ s = s.substring(1);
3646
+ else
3647
+ throw "Parse error: Unrecognised time (%T)";
3648
+
3649
+ // second [00..59]
3650
+ if (/^[0-5][0-9]/.test(s)) {
3651
+ dt.second = parseInt(s.substring(0,2), 10);
3652
+ s = s.substring(2);
3653
+ }
3654
+ else
3655
+ throw "Parse error: Unrecognised time (%T)";
3656
+ }
3657
+ else if (placeholder == "%w") {
3658
+ // weekday [0..6]
3659
+ if (/^\d/.test(s)) {
3660
+ dt.weekday = parseInt(s.substring(0,1), 10);
3661
+ s = s.substring(1);
3662
+ }
3663
+ else
3664
+ throw "Parse error: Unrecognised weekday number (%w)";
3665
+ }
3666
+ else if (placeholder == "%y") {
3667
+ // year [00..99]
3668
+ if (/^\d\d/.test(s)) {
3669
+ var year2digits = parseInt(s.substring(0,2), 10);
3670
+
3671
+ // this conversion to year[nnnn] is arbitrary!!!
3672
+ if (year2digits > 50)
3673
+ dt.year = 1900 + year2digits;
3674
+ else
3675
+ dt.year = 2000 + year2digits;
3676
+
3677
+ s = s.substring(2);
3678
+ }
3679
+ else
3680
+ throw "Parse error: Unrecognised year (%y)";
3681
+ }
3682
+ else if (placeholder == "%Y") {
3683
+ // year [nnnn]
3684
+ if (/^\d\d\d\d/.test(s)) {
3685
+ dt.year = parseInt(s.substring(0,4), 10);
3686
+ s = s.substring(4);
3687
+ }
3688
+ else
3689
+ throw "Parse error: Unrecognised year (%Y)";
3690
+ }
3691
+
3692
+ else if (placeholder == "%Z") {
3693
+ // time-zone place holder is not supported
3694
+
3695
+ if (fmtSpec.length === 0)
3696
+ break; // ignore rest of fmt spec
3697
+ }
3698
+
3699
+ // remove the spec placeholder that was just parsed
3700
+ fmtSpec = fmtSpec.substring(2);
3701
+ }
3702
+ else {
3703
+ // If we don't have a placeholder, the chars
3704
+ // at pos. 0 of format spec and parsed string must match
3705
+
3706
+ // Note: Space chars treated 1:1 !
3707
+
3708
+ if (fmtSpec.charAt(0) != s.charAt(0))
3709
+ throw "Parse error: Unexpected symbol \"" + s.charAt(0) + "\" in date/time string";
3710
+
3711
+ fmtSpec = fmtSpec.substring(1);
3712
+ s = s.substring(1);
3713
+ }
3714
+ }
3715
+
3716
+ // parsing finished, return composite date/time object
3717
+ return dt;
3718
+ };
3719
+ };
3720
+
3721
+
3722
+ /**
3723
+ * @class
3724
+ * Class for parsing localised currency amount strings.
3725
+ *
3726
+ * @public
3727
+ * @constructor
3728
+ * @description Creates a new monetary parser for the specified locale.
3729
+ *
3730
+ * @param {jsworld.Locale} locale A locale object specifying the required
3731
+ * POSIX LC_MONETARY formatting properties.
3732
+ *
3733
+ * @throws Error on constructor failure.
3734
+ */
3735
+ jsworld.MonetaryParser = function(locale) {
3736
+
3737
+ if (typeof locale != "object" || locale._className != "jsworld.Locale")
3738
+ throw "Constructor error: You must provide a valid jsworld.Locale instance";
3739
+
3740
+
3741
+ this.lc = locale;
3742
+
3743
+
3744
+ /**
3745
+ * @public
3746
+ *
3747
+ * @description Parses a currency amount string formatted according to
3748
+ * the preset locale. Leading and trailing whitespace is ignored; the
3749
+ * amount may also be formatted without thousands separators. Both
3750
+ * the local (shorthand) symbol and the ISO 4217 code are accepted to
3751
+ * designate the currency in the formatted amount.
3752
+ *
3753
+ * @param {String} formattedCurrency The formatted currency amount.
3754
+ *
3755
+ * @returns {Number} The parsed amount.
3756
+ *
3757
+ * @throws Error on a parse exception.
3758
+ */
3759
+ this.parse = function(formattedCurrency) {
3760
+
3761
+ if (typeof formattedCurrency != "string")
3762
+ throw "Parse error: Argument must be a string";
3763
+
3764
+ // Detect the format type and remove the currency symbol
3765
+ var symbolType = this._detectCurrencySymbolType(formattedCurrency);
3766
+
3767
+ var formatType, s;
3768
+
3769
+ if (symbolType == "local") {
3770
+ formatType = "local";
3771
+ s = formattedCurrency.replace(this.lc.getCurrencySymbol(), "");
3772
+ }
3773
+ else if (symbolType == "int") {
3774
+ formatType = "int";
3775
+ s = formattedCurrency.replace(this.lc.getIntCurrencySymbol(), "");
3776
+ }
3777
+ else if (symbolType == "none") {
3778
+ formatType = "local"; // assume local
3779
+ s = formattedCurrency;
3780
+ }
3781
+ else
3782
+ throw "Parse error: Internal assert failure";
3783
+
3784
+ // Remove any thousands separators
3785
+ s = jsworld._stringReplaceAll(s, this.lc.mon_thousands_sep, "");
3786
+
3787
+ // Replace any local radix char with JavaScript's "."
3788
+ s = s.replace(this.lc.mon_decimal_point, ".");
3789
+
3790
+ // Remove all whitespaces
3791
+ s = s.replace(/\s*/g, "");
3792
+
3793
+ // Remove any local non-negative sign
3794
+ s = this._removeLocalNonNegativeSign(s, formatType);
3795
+
3796
+ // Replace any local minus sign with JavaScript's "-" and put
3797
+ // it in front of the amount if necessary
3798
+ // (special parentheses rule checked too)
3799
+ s = this._normaliseNegativeSign(s, formatType);
3800
+
3801
+ // Finally, we should be left with a bare parsable decimal number
3802
+ if (jsworld._isNumber(s))
3803
+ return parseFloat(s, 10);
3804
+ else
3805
+ throw "Parse error: Invalid currency amount string";
3806
+ };
3807
+
3808
+
3809
+ /**
3810
+ * @private
3811
+ *
3812
+ * @description Tries to detect the symbol type used in the specified
3813
+ * formatted currency string: local(shorthand),
3814
+ * international (ISO-4217 code) or none.
3815
+ *
3816
+ * @param {String} formattedCurrency The the formatted currency string.
3817
+ *
3818
+ * @return {String} With possible values "local", "int" or "none".
3819
+ */
3820
+ this._detectCurrencySymbolType = function(formattedCurrency) {
3821
+
3822
+ // Check for whichever sign (int/local) is longer first
3823
+ // to cover cases such as MOP/MOP$ and ZAR/R
3824
+
3825
+ if (this.lc.getCurrencySymbol().length > this.lc.getIntCurrencySymbol().length) {
3826
+
3827
+ if (formattedCurrency.indexOf(this.lc.getCurrencySymbol()) != -1)
3828
+ return "local";
3829
+ else if (formattedCurrency.indexOf(this.lc.getIntCurrencySymbol()) != -1)
3830
+ return "int";
3831
+ else
3832
+ return "none";
3833
+ }
3834
+ else {
3835
+ if (formattedCurrency.indexOf(this.lc.getIntCurrencySymbol()) != -1)
3836
+ return "int";
3837
+ else if (formattedCurrency.indexOf(this.lc.getCurrencySymbol()) != -1)
3838
+ return "local";
3839
+ else
3840
+ return "none";
3841
+ }
3842
+ };
3843
+
3844
+
3845
+ /**
3846
+ * @private
3847
+ *
3848
+ * @description Removes a local non-negative sign in a formatted
3849
+ * currency string if it is found. This is done according to the
3850
+ * locale properties p_sign_posn and int_p_sign_posn.
3851
+ *
3852
+ * @param {String} s The input string.
3853
+ * @param {String} formatType With possible values "local" or "int".
3854
+ *
3855
+ * @returns {String} The processed string.
3856
+ */
3857
+ this._removeLocalNonNegativeSign = function(s, formatType) {
3858
+
3859
+ s = s.replace(this.lc.positive_sign, "");
3860
+
3861
+ // check for enclosing parentheses rule
3862
+ if (((formatType == "local" && this.lc.p_sign_posn === 0) ||
3863
+ (formatType == "int" && this.lc.int_p_sign_posn === 0) ) &&
3864
+ /\(\d+\.?\d*\)/.test(s)) {
3865
+ s = s.replace("(", "");
3866
+ s = s.replace(")", "");
3867
+ }
3868
+
3869
+ return s;
3870
+ };
3871
+
3872
+
3873
+ /**
3874
+ * @private
3875
+ *
3876
+ * @description Replaces a local negative sign with the standard
3877
+ * JavaScript minus ("-") sign placed in the correct position
3878
+ * (preceding the amount). This is done according to the locale
3879
+ * properties for negative sign symbol and relative position.
3880
+ *
3881
+ * @param {String} s The input string.
3882
+ * @param {String} formatType With possible values "local" or "int".
3883
+ *
3884
+ * @returns {String} The processed string.
3885
+ */
3886
+ this._normaliseNegativeSign = function(s, formatType) {
3887
+
3888
+ // replace local negative symbol with JavaScript's "-"
3889
+ s = s.replace(this.lc.negative_sign, "-");
3890
+
3891
+ // check for enclosing parentheses rule and replace them
3892
+ // with negative sign before the amount
3893
+ if ((formatType == "local" && this.lc.n_sign_posn === 0) ||
3894
+ (formatType == "int" && this.lc.int_n_sign_posn === 0) ) {
3895
+
3896
+ if (/^\(\d+\.?\d*\)$/.test(s)) {
3897
+
3898
+ s = s.replace("(", "");
3899
+ s = s.replace(")", "");
3900
+ return "-" + s;
3901
+ }
3902
+ }
3903
+
3904
+ // check for rule negative sign succeeding the amount
3905
+ if (formatType == "local" && this.lc.n_sign_posn == 2 ||
3906
+ formatType == "int" && this.lc.int_n_sign_posn == 2 ) {
3907
+
3908
+ if (/^\d+\.?\d*-$/.test(s)) {
3909
+ s = s.replace("-", "");
3910
+ return "-" + s;
3911
+ }
3912
+ }
3913
+
3914
+ // check for rule cur. sym. succeeds and sign adjacent
3915
+ if (formatType == "local" && this.lc.n_cs_precedes === 0 && this.lc.n_sign_posn == 3 ||
3916
+ formatType == "local" && this.lc.n_cs_precedes === 0 && this.lc.n_sign_posn == 4 ||
3917
+ formatType == "int" && this.lc.int_n_cs_precedes === 0 && this.lc.int_n_sign_posn == 3 ||
3918
+ formatType == "int" && this.lc.int_n_cs_precedes === 0 && this.lc.int_n_sign_posn == 4 ) {
3919
+
3920
+ if (/^\d+\.?\d*-$/.test(s)) {
3921
+ s = s.replace("-", "");
3922
+ return "-" + s;
3923
+ }
3924
+ }
3925
+
3926
+ return s;
3927
+ };
3928
+ };
3929
+
3930
+ // end-of-file