cssesc-source 0.1.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (908) hide show
  1. checksums.yaml +5 -13
  2. data/vendor/LICENSE-MIT.txt +1 -1
  3. data/vendor/README.md +44 -50
  4. data/vendor/bin/cssesc +103 -109
  5. data/vendor/cssesc.js +114 -161
  6. data/vendor/man/cssesc.1 +2 -2
  7. data/vendor/package-lock.json +1664 -0
  8. data/vendor/package.json +47 -54
  9. metadata +9 -908
  10. data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/MIT-LICENSE.txt +0 -21
  11. data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/README.md +0 -43
  12. data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/bin/stripcolorcodes.js +0 -18
  13. data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/index.js +0 -3
  14. data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/package.json +0 -42
  15. data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/with-colors +0 -2
  16. data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/fixture/without-colors +0 -2
  17. data/vendor/node_modules/grunt-shell/node_modules/stripcolorcodes/test/stripcolorcodes-test.js +0 -20
  18. data/vendor/node_modules/grunt-shell/package.json +0 -53
  19. data/vendor/node_modules/grunt-shell/readme.md +0 -221
  20. data/vendor/node_modules/grunt-shell/tasks/shell.js +0 -54
  21. data/vendor/node_modules/grunt-template/LICENSE-MIT.txt +0 -20
  22. data/vendor/node_modules/grunt-template/README.md +0 -123
  23. data/vendor/node_modules/grunt-template/package.json +0 -50
  24. data/vendor/node_modules/grunt-template/tasks/template.js +0 -44
  25. data/vendor/node_modules/grunt/CONTRIBUTING.md +0 -1
  26. data/vendor/node_modules/grunt/LICENSE-MIT +0 -22
  27. data/vendor/node_modules/grunt/README.md +0 -16
  28. data/vendor/node_modules/grunt/internal-tasks/bump.js +0 -151
  29. data/vendor/node_modules/grunt/internal-tasks/subgrunt.js +0 -34
  30. data/vendor/node_modules/grunt/lib/grunt.js +0 -156
  31. data/vendor/node_modules/grunt/lib/grunt/cli.js +0 -128
  32. data/vendor/node_modules/grunt/lib/grunt/config.js +0 -118
  33. data/vendor/node_modules/grunt/lib/grunt/event.js +0 -16
  34. data/vendor/node_modules/grunt/lib/grunt/fail.js +0 -84
  35. data/vendor/node_modules/grunt/lib/grunt/file.js +0 -440
  36. data/vendor/node_modules/grunt/lib/grunt/help.js +0 -129
  37. data/vendor/node_modules/grunt/lib/grunt/log.js +0 -352
  38. data/vendor/node_modules/grunt/lib/grunt/option.js +0 -42
  39. data/vendor/node_modules/grunt/lib/grunt/task.js +0 -451
  40. data/vendor/node_modules/grunt/lib/grunt/template.js +0 -95
  41. data/vendor/node_modules/grunt/lib/grunt/util.js +0 -188
  42. data/vendor/node_modules/grunt/lib/util/task.js +0 -323
  43. data/vendor/node_modules/grunt/node_modules/async/LICENSE +0 -19
  44. data/vendor/node_modules/grunt/node_modules/async/Makefile +0 -25
  45. data/vendor/node_modules/grunt/node_modules/async/README.md +0 -1021
  46. data/vendor/node_modules/grunt/node_modules/async/index.js +0 -3
  47. data/vendor/node_modules/grunt/node_modules/async/lib/async.js +0 -692
  48. data/vendor/node_modules/grunt/node_modules/async/package.json +0 -32
  49. data/vendor/node_modules/grunt/node_modules/coffee-script/CNAME +0 -1
  50. data/vendor/node_modules/grunt/node_modules/coffee-script/LICENSE +0 -22
  51. data/vendor/node_modules/grunt/node_modules/coffee-script/README +0 -51
  52. data/vendor/node_modules/grunt/node_modules/coffee-script/Rakefile +0 -78
  53. data/vendor/node_modules/grunt/node_modules/coffee-script/bin/cake +0 -7
  54. data/vendor/node_modules/grunt/node_modules/coffee-script/bin/coffee +0 -7
  55. data/vendor/node_modules/grunt/node_modules/coffee-script/extras/jsl.conf +0 -44
  56. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/browser.js +0 -92
  57. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/cake.js +0 -111
  58. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/coffee-script.js +0 -167
  59. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/command.js +0 -500
  60. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/grammar.js +0 -606
  61. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/helpers.js +0 -77
  62. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/index.js +0 -11
  63. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/lexer.js +0 -788
  64. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/nodes.js +0 -2986
  65. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/optparse.js +0 -138
  66. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/parser.js +0 -683
  67. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/repl.js +0 -261
  68. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/rewriter.js +0 -349
  69. data/vendor/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/scope.js +0 -146
  70. data/vendor/node_modules/grunt/node_modules/coffee-script/package.json +0 -47
  71. data/vendor/node_modules/grunt/node_modules/colors/MIT-LICENSE.txt +0 -22
  72. data/vendor/node_modules/grunt/node_modules/colors/ReadMe.md +0 -77
  73. data/vendor/node_modules/grunt/node_modules/colors/colors.js +0 -342
  74. data/vendor/node_modules/grunt/node_modules/colors/example.html +0 -76
  75. data/vendor/node_modules/grunt/node_modules/colors/example.js +0 -77
  76. data/vendor/node_modules/grunt/node_modules/colors/package.json +0 -29
  77. data/vendor/node_modules/grunt/node_modules/colors/test.js +0 -70
  78. data/vendor/node_modules/grunt/node_modules/colors/themes/winston-dark.js +0 -12
  79. data/vendor/node_modules/grunt/node_modules/colors/themes/winston-light.js +0 -12
  80. data/vendor/node_modules/grunt/node_modules/dateformat/Readme.md +0 -67
  81. data/vendor/node_modules/grunt/node_modules/dateformat/lib/dateformat.js +0 -165
  82. data/vendor/node_modules/grunt/node_modules/dateformat/package.json +0 -20
  83. data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.js +0 -4
  84. data/vendor/node_modules/grunt/node_modules/dateformat/test/test_weekofyear.sh +0 -27
  85. data/vendor/node_modules/grunt/node_modules/eventemitter2/README.md +0 -212
  86. data/vendor/node_modules/grunt/node_modules/eventemitter2/index.js +0 -1
  87. data/vendor/node_modules/grunt/node_modules/eventemitter2/lib/eventemitter2.js +0 -561
  88. data/vendor/node_modules/grunt/node_modules/eventemitter2/package.json +0 -62
  89. data/vendor/node_modules/grunt/node_modules/exit/Gruntfile.js +0 -48
  90. data/vendor/node_modules/grunt/node_modules/exit/LICENSE-MIT +0 -22
  91. data/vendor/node_modules/grunt/node_modules/exit/README.md +0 -75
  92. data/vendor/node_modules/grunt/node_modules/exit/lib/exit.js +0 -41
  93. data/vendor/node_modules/grunt/node_modules/exit/package.json +0 -51
  94. data/vendor/node_modules/grunt/node_modules/exit/test/exit_test.js +0 -121
  95. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stderr.txt +0 -10
  96. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout-stderr.txt +0 -20
  97. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/10-stdout.txt +0 -10
  98. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stderr.txt +0 -100
  99. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout-stderr.txt +0 -200
  100. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/100-stdout.txt +0 -100
  101. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stderr.txt +0 -1000
  102. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout-stderr.txt +0 -2000
  103. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/1000-stdout.txt +0 -1000
  104. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/create-files.sh +0 -8
  105. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log-broken.js +0 -23
  106. data/vendor/node_modules/grunt/node_modules/exit/test/fixtures/log.js +0 -25
  107. data/vendor/node_modules/grunt/node_modules/findup-sync/Gruntfile.js +0 -25
  108. data/vendor/node_modules/grunt/node_modules/findup-sync/LICENSE-MIT +0 -22
  109. data/vendor/node_modules/grunt/node_modules/findup-sync/README.md +0 -44
  110. data/vendor/node_modules/grunt/node_modules/findup-sync/lib/findup-sync.js +0 -46
  111. data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/README.md +0 -164
  112. data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.js +0 -5152
  113. data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.compat.min.js +0 -42
  114. data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.js +0 -4983
  115. data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.min.js +0 -40
  116. data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.js +0 -4307
  117. data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/dist/lodash.underscore.min.js +0 -34
  118. data/vendor/node_modules/grunt/node_modules/findup-sync/node_modules/lodash/package.json +0 -62
  119. data/vendor/node_modules/grunt/node_modules/findup-sync/package.json +0 -48
  120. data/vendor/node_modules/grunt/node_modules/findup-sync/test/findup-sync_test.js +0 -48
  121. data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a.txt +0 -0
  122. data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/b/bar.txt +0 -0
  123. data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/a/foo.txt +0 -0
  124. data/vendor/node_modules/grunt/node_modules/findup-sync/test/fixtures/aaa.txt +0 -0
  125. data/vendor/node_modules/grunt/node_modules/getobject/Gruntfile.js +0 -48
  126. data/vendor/node_modules/grunt/node_modules/getobject/LICENSE-MIT +0 -22
  127. data/vendor/node_modules/grunt/node_modules/getobject/README.md +0 -20
  128. data/vendor/node_modules/grunt/node_modules/getobject/lib/getobject.js +0 -60
  129. data/vendor/node_modules/grunt/node_modules/getobject/package.json +0 -48
  130. data/vendor/node_modules/grunt/node_modules/getobject/test/namespace_test.js +0 -51
  131. data/vendor/node_modules/grunt/node_modules/glob/LICENSE +0 -27
  132. data/vendor/node_modules/grunt/node_modules/glob/README.md +0 -233
  133. data/vendor/node_modules/grunt/node_modules/glob/examples/g.js +0 -9
  134. data/vendor/node_modules/grunt/node_modules/glob/examples/usr-local.js +0 -9
  135. data/vendor/node_modules/grunt/node_modules/glob/glob.js +0 -643
  136. data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/LICENSE +0 -27
  137. data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/README.md +0 -33
  138. data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/graceful-fs.js +0 -442
  139. data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/package.json +0 -49
  140. data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/open.js +0 -46
  141. data/vendor/node_modules/grunt/node_modules/glob/node_modules/graceful-fs/test/ulimit.js +0 -158
  142. data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/README.md +0 -51
  143. data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/inherits.js +0 -29
  144. data/vendor/node_modules/grunt/node_modules/glob/node_modules/inherits/package.json +0 -30
  145. data/vendor/node_modules/grunt/node_modules/glob/package.json +0 -40
  146. data/vendor/node_modules/grunt/node_modules/glob/test/00-setup.js +0 -176
  147. data/vendor/node_modules/grunt/node_modules/glob/test/bash-comparison.js +0 -63
  148. data/vendor/node_modules/grunt/node_modules/glob/test/bash-results.json +0 -348
  149. data/vendor/node_modules/grunt/node_modules/glob/test/cwd-test.js +0 -55
  150. data/vendor/node_modules/grunt/node_modules/glob/test/mark.js +0 -74
  151. data/vendor/node_modules/grunt/node_modules/glob/test/nocase-nomagic.js +0 -113
  152. data/vendor/node_modules/grunt/node_modules/glob/test/pause-resume.js +0 -73
  153. data/vendor/node_modules/grunt/node_modules/glob/test/root-nomount.js +0 -39
  154. data/vendor/node_modules/grunt/node_modules/glob/test/root.js +0 -46
  155. data/vendor/node_modules/grunt/node_modules/glob/test/zz-cleanup.js +0 -11
  156. data/vendor/node_modules/grunt/node_modules/hooker/LICENSE-MIT +0 -22
  157. data/vendor/node_modules/grunt/node_modules/hooker/README.md +0 -186
  158. data/vendor/node_modules/grunt/node_modules/hooker/child.js +0 -101
  159. data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.js +0 -169
  160. data/vendor/node_modules/grunt/node_modules/hooker/dist/ba-hooker.min.js +0 -4
  161. data/vendor/node_modules/grunt/node_modules/hooker/grunt.js +0 -47
  162. data/vendor/node_modules/grunt/node_modules/hooker/lib/hooker.js +0 -174
  163. data/vendor/node_modules/grunt/node_modules/hooker/package.json +0 -45
  164. data/vendor/node_modules/grunt/node_modules/hooker/parent.js +0 -17
  165. data/vendor/node_modules/grunt/node_modules/hooker/test/hooker_test.js +0 -435
  166. data/vendor/node_modules/grunt/node_modules/iconv-lite/LICENSE +0 -21
  167. data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md +0 -72
  168. data/vendor/node_modules/grunt/node_modules/iconv-lite/README.md~ +0 -54
  169. data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/big5.js +0 -9
  170. data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/gbk.js +0 -9
  171. data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/singlebyte.js +0 -340
  172. data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/big5.js +0 -1
  173. data/vendor/node_modules/grunt/node_modules/iconv-lite/encodings/table/gbk.js +0 -1
  174. data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-big5-table.js +0 -25
  175. data/vendor/node_modules/grunt/node_modules/iconv-lite/generation/generate-singlebyte.js +0 -142
  176. data/vendor/node_modules/grunt/node_modules/iconv-lite/index.js +0 -231
  177. data/vendor/node_modules/grunt/node_modules/iconv-lite/package.json +0 -80
  178. data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5-test.js +0 -36
  179. data/vendor/node_modules/grunt/node_modules/iconv-lite/test/big5File.txt +0 -13
  180. data/vendor/node_modules/grunt/node_modules/iconv-lite/test/cyrillic-test.js +0 -86
  181. data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbk-test.js +0 -38
  182. data/vendor/node_modules/grunt/node_modules/iconv-lite/test/gbkFile.txt +0 -14
  183. data/vendor/node_modules/grunt/node_modules/iconv-lite/test/greek-test.js +0 -79
  184. data/vendor/node_modules/grunt/node_modules/iconv-lite/test/main-test.js +0 -55
  185. data/vendor/node_modules/grunt/node_modules/iconv-lite/test/performance.js +0 -67
  186. data/vendor/node_modules/grunt/node_modules/iconv-lite/test/turkish-test.js +0 -90
  187. data/vendor/node_modules/grunt/node_modules/js-yaml/HISTORY.md +0 -155
  188. data/vendor/node_modules/grunt/node_modules/js-yaml/LICENSE +0 -21
  189. data/vendor/node_modules/grunt/node_modules/js-yaml/README.md +0 -249
  190. data/vendor/node_modules/grunt/node_modules/js-yaml/bin/js-yaml.js +0 -125
  191. data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.js +0 -104
  192. data/vendor/node_modules/grunt/node_modules/js-yaml/examples/custom_types.yaml +0 -18
  193. data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.js +0 -31
  194. data/vendor/node_modules/grunt/node_modules/js-yaml/examples/dumper.json +0 -22
  195. data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.js +0 -15
  196. data/vendor/node_modules/grunt/node_modules/js-yaml/examples/sample_document.yaml +0 -197
  197. data/vendor/node_modules/grunt/node_modules/js-yaml/index.js +0 -1
  198. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml.js +0 -33
  199. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/common.js +0 -60
  200. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -437
  201. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/exception.js +0 -25
  202. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1549
  203. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/mark.js +0 -78
  204. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/require.js +0 -23
  205. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema.js +0 -103
  206. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/default.js +0 -16
  207. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/minimal.js +0 -13
  208. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/safe.js +0 -25
  209. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type.js +0 -82
  210. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -118
  211. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -74
  212. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -102
  213. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -85
  214. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -56
  215. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -56
  216. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
  217. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -11
  218. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -18
  219. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -36
  220. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -53
  221. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -41
  222. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -11
  223. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -31
  224. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -11
  225. data/vendor/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -91
  226. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/HISTORY.md +0 -109
  227. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/LICENSE +0 -21
  228. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/README.md +0 -239
  229. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/arguments.js +0 -36
  230. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/choice.js +0 -22
  231. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/constants.js +0 -59
  232. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/help.js +0 -13
  233. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/nargs.js +0 -33
  234. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/parents.js +0 -28
  235. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/prefix_chars.js +0 -23
  236. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sub_commands.js +0 -49
  237. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/sum.js +0 -35
  238. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/examples/testformatters.js +0 -270
  239. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/index.js +0 -1
  240. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action.js +0 -146
  241. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append.js +0 -55
  242. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/append/constant.js +0 -47
  243. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/count.js +0 -40
  244. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/help.js +0 -48
  245. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store.js +0 -50
  246. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/constant.js +0 -43
  247. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/false.js +0 -27
  248. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/store/true.js +0 -26
  249. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/subparsers.js +0 -148
  250. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action/version.js +0 -50
  251. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/action_container.js +0 -481
  252. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argparse.js +0 -14
  253. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/error.js +0 -50
  254. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/exclusive.js +0 -54
  255. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument/group.js +0 -75
  256. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/argument_parser.js +0 -1165
  257. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/const.js +0 -18
  258. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/added_formatters.js +0 -88
  259. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/help/formatter.js +0 -803
  260. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/lib/namespace.js +0 -77
  261. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile +0 -4
  262. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Gemfile.lock +0 -17
  263. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/README.markdown +0 -814
  264. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/Rakefile +0 -23
  265. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/component.json +0 -11
  266. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/dist/underscore.string.min.js +0 -1
  267. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/lib/underscore.string.js +0 -673
  268. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/libpeerconnection.log +0 -0
  269. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/package.json +0 -73
  270. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/run-qunit.js +0 -45
  271. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/speed.js +0 -148
  272. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings.js +0 -685
  273. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/strings_standalone.js +0 -12
  274. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test.html +0 -31
  275. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_standalone.html +0 -18
  276. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/arrays.js +0 -200
  277. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/chaining.js +0 -59
  278. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/collections.js +0 -426
  279. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/functions.js +0 -259
  280. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/index.html +0 -45
  281. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/objects.js +0 -548
  282. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/speed.js +0 -75
  283. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/utility.js +0 -249
  284. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +0 -9404
  285. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +0 -670
  286. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +0 -235
  287. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +0 -1977
  288. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test/underscore.js +0 -1201
  289. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CNAME +0 -1
  290. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/CONTRIBUTING.md +0 -9
  291. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/LICENSE +0 -22
  292. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/README.md +0 -19
  293. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/favicon.ico +0 -0
  294. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.html +0 -2467
  295. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/index.js +0 -1
  296. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json +0 -35
  297. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore-min.js +0 -1
  298. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/underscore.js +0 -1226
  299. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/package.json +0 -50
  300. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/README.md +0 -73
  301. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esparse.js +0 -117
  302. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/bin/esvalidate.js +0 -177
  303. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/esprima.js +0 -3908
  304. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/package.json +0 -59
  305. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/compat.js +0 -239
  306. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/reflect.js +0 -422
  307. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/run.js +0 -66
  308. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/runner.js +0 -387
  309. data/vendor/node_modules/grunt/node_modules/js-yaml/node_modules/esprima/test/test.js +0 -20238
  310. data/vendor/node_modules/grunt/node_modules/js-yaml/package.json +0 -60
  311. data/vendor/node_modules/grunt/node_modules/lodash/README.md +0 -140
  312. data/vendor/node_modules/grunt/node_modules/lodash/lodash.js +0 -4258
  313. data/vendor/node_modules/grunt/node_modules/lodash/lodash.min.js +0 -35
  314. data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.js +0 -3688
  315. data/vendor/node_modules/grunt/node_modules/lodash/lodash.underscore.min.js +0 -28
  316. data/vendor/node_modules/grunt/node_modules/lodash/package.json +0 -62
  317. data/vendor/node_modules/grunt/node_modules/minimatch/LICENSE +0 -23
  318. data/vendor/node_modules/grunt/node_modules/minimatch/README.md +0 -218
  319. data/vendor/node_modules/grunt/node_modules/minimatch/minimatch.js +0 -1055
  320. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +0 -14
  321. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/LICENSE +0 -23
  322. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/README.md +0 -97
  323. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +0 -252
  324. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/package.json +0 -33
  325. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/basic.js +0 -369
  326. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +0 -52
  327. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +0 -50
  328. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
  329. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
  330. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
  331. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
  332. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
  333. data/vendor/node_modules/grunt/node_modules/minimatch/node_modules/sigmund/test/basic.js +0 -24
  334. data/vendor/node_modules/grunt/node_modules/minimatch/package.json +0 -40
  335. data/vendor/node_modules/grunt/node_modules/minimatch/test/basic.js +0 -399
  336. data/vendor/node_modules/grunt/node_modules/minimatch/test/brace-expand.js +0 -33
  337. data/vendor/node_modules/grunt/node_modules/minimatch/test/caching.js +0 -14
  338. data/vendor/node_modules/grunt/node_modules/minimatch/test/defaults.js +0 -274
  339. data/vendor/node_modules/grunt/node_modules/minimatch/test/extglob-ending-with-state-char.js +0 -8
  340. data/vendor/node_modules/grunt/node_modules/nopt/LICENSE +0 -23
  341. data/vendor/node_modules/grunt/node_modules/nopt/README.md +0 -208
  342. data/vendor/node_modules/grunt/node_modules/nopt/bin/nopt.js +0 -44
  343. data/vendor/node_modules/grunt/node_modules/nopt/examples/my-program.js +0 -30
  344. data/vendor/node_modules/grunt/node_modules/nopt/lib/nopt.js +0 -552
  345. data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/LICENSE +0 -23
  346. data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/README.md +0 -23
  347. data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/lib/abbrev.js +0 -111
  348. data/vendor/node_modules/grunt/node_modules/nopt/node_modules/abbrev/package.json +0 -29
  349. data/vendor/node_modules/grunt/node_modules/nopt/package.json +0 -36
  350. data/vendor/node_modules/grunt/node_modules/rimraf/AUTHORS +0 -6
  351. data/vendor/node_modules/grunt/node_modules/rimraf/LICENSE +0 -23
  352. data/vendor/node_modules/grunt/node_modules/rimraf/README.md +0 -21
  353. data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/LICENSE +0 -23
  354. data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/README.md +0 -5
  355. data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js +0 -312
  356. data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/package.json +0 -40
  357. data/vendor/node_modules/grunt/node_modules/rimraf/node_modules/graceful-fs/test/open.js +0 -41
  358. data/vendor/node_modules/grunt/node_modules/rimraf/package.json +0 -59
  359. data/vendor/node_modules/grunt/node_modules/rimraf/rimraf.js +0 -161
  360. data/vendor/node_modules/grunt/node_modules/rimraf/test/run.sh +0 -10
  361. data/vendor/node_modules/grunt/node_modules/rimraf/test/setup.sh +0 -47
  362. data/vendor/node_modules/grunt/node_modules/rimraf/test/test-async.js +0 -5
  363. data/vendor/node_modules/grunt/node_modules/rimraf/test/test-fiber.js +0 -0
  364. data/vendor/node_modules/grunt/node_modules/rimraf/test/test-sync.js +0 -3
  365. data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile +0 -5
  366. data/vendor/node_modules/grunt/node_modules/underscore.string/Gemfile.lock +0 -34
  367. data/vendor/node_modules/grunt/node_modules/underscore.string/README.markdown +0 -668
  368. data/vendor/node_modules/grunt/node_modules/underscore.string/Rakefile +0 -28
  369. data/vendor/node_modules/grunt/node_modules/underscore.string/dist/underscore.string.min.js +0 -1
  370. data/vendor/node_modules/grunt/node_modules/underscore.string/lib/underscore.string.js +0 -525
  371. data/vendor/node_modules/grunt/node_modules/underscore.string/package.json +0 -72
  372. data/vendor/node_modules/grunt/node_modules/underscore.string/test/run-qunit.js +0 -44
  373. data/vendor/node_modules/grunt/node_modules/underscore.string/test/speed.js +0 -138
  374. data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings.js +0 -438
  375. data/vendor/node_modules/grunt/node_modules/underscore.string/test/strings_standalone.js +0 -12
  376. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test.html +0 -31
  377. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_standalone.html +0 -18
  378. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/arrays.js +0 -166
  379. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/chaining.js +0 -59
  380. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/collections.js +0 -270
  381. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/functions.js +0 -198
  382. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/objects.js +0 -535
  383. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/speed.js +0 -70
  384. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp.js +0 -27
  385. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/temp_tests.html +0 -19
  386. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/test.html +0 -43
  387. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/utility.js +0 -155
  388. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jquery.js +0 -19
  389. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/jslitmus.js +0 -670
  390. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.css +0 -196
  391. data/vendor/node_modules/grunt/node_modules/underscore.string/test/test_underscore/vendor/qunit.js +0 -2360
  392. data/vendor/node_modules/grunt/node_modules/underscore.string/test/underscore.js +0 -999
  393. data/vendor/node_modules/grunt/node_modules/which/LICENSE +0 -23
  394. data/vendor/node_modules/grunt/node_modules/which/README.md +0 -5
  395. data/vendor/node_modules/grunt/node_modules/which/bin/which +0 -14
  396. data/vendor/node_modules/grunt/node_modules/which/package.json +0 -31
  397. data/vendor/node_modules/grunt/node_modules/which/which.js +0 -104
  398. data/vendor/node_modules/grunt/package.json +0 -82
  399. data/vendor/node_modules/istanbul/CHANGELOG.md +0 -57
  400. data/vendor/node_modules/istanbul/LICENSE +0 -24
  401. data/vendor/node_modules/istanbul/README.md +0 -205
  402. data/vendor/node_modules/istanbul/index.js +0 -115
  403. data/vendor/node_modules/istanbul/lib/cli.js +0 -74
  404. data/vendor/node_modules/istanbul/lib/collector.js +0 -121
  405. data/vendor/node_modules/istanbul/lib/command/check-coverage.js +0 -115
  406. data/vendor/node_modules/istanbul/lib/command/common/run-with-cover.js +0 -199
  407. data/vendor/node_modules/istanbul/lib/command/cover.js +0 -33
  408. data/vendor/node_modules/istanbul/lib/command/help.js +0 -58
  409. data/vendor/node_modules/istanbul/lib/command/index.js +0 -33
  410. data/vendor/node_modules/istanbul/lib/command/instrument.js +0 -244
  411. data/vendor/node_modules/istanbul/lib/command/report.js +0 -97
  412. data/vendor/node_modules/istanbul/lib/command/test.js +0 -31
  413. data/vendor/node_modules/istanbul/lib/hook.js +0 -187
  414. data/vendor/node_modules/istanbul/lib/instrumenter.js +0 -759
  415. data/vendor/node_modules/istanbul/lib/object-utils.js +0 -341
  416. data/vendor/node_modules/istanbul/lib/register-plugins.js +0 -15
  417. data/vendor/node_modules/istanbul/lib/report/cobertura.js +0 -207
  418. data/vendor/node_modules/istanbul/lib/report/html.js +0 -517
  419. data/vendor/node_modules/istanbul/lib/report/index.js +0 -60
  420. data/vendor/node_modules/istanbul/lib/report/json.js +0 -55
  421. data/vendor/node_modules/istanbul/lib/report/lcov.js +0 -49
  422. data/vendor/node_modules/istanbul/lib/report/lcovonly.js +0 -93
  423. data/vendor/node_modules/istanbul/lib/report/none.js +0 -20
  424. data/vendor/node_modules/istanbul/lib/report/teamcity.js +0 -82
  425. data/vendor/node_modules/istanbul/lib/report/templates/foot.txt +0 -102
  426. data/vendor/node_modules/istanbul/lib/report/templates/head.txt +0 -200
  427. data/vendor/node_modules/istanbul/lib/report/text-summary.js +0 -72
  428. data/vendor/node_modules/istanbul/lib/report/text.js +0 -210
  429. data/vendor/node_modules/istanbul/lib/store/fslookup.js +0 -60
  430. data/vendor/node_modules/istanbul/lib/store/index.js +0 -122
  431. data/vendor/node_modules/istanbul/lib/store/memory.js +0 -55
  432. data/vendor/node_modules/istanbul/lib/store/tmp.js +0 -80
  433. data/vendor/node_modules/istanbul/lib/util/factory.js +0 -88
  434. data/vendor/node_modules/istanbul/lib/util/file-matcher.js +0 -60
  435. data/vendor/node_modules/istanbul/lib/util/file-writer.js +0 -131
  436. data/vendor/node_modules/istanbul/lib/util/flow-control.js +0 -26
  437. data/vendor/node_modules/istanbul/lib/util/help-formatter.js +0 -24
  438. data/vendor/node_modules/istanbul/lib/util/input-error.js +0 -12
  439. data/vendor/node_modules/istanbul/lib/util/insertion-text.js +0 -109
  440. data/vendor/node_modules/istanbul/lib/util/meta.js +0 -13
  441. data/vendor/node_modules/istanbul/lib/util/tree-summarizer.js +0 -213
  442. data/vendor/node_modules/istanbul/lib/util/writer.js +0 -56
  443. data/vendor/node_modules/istanbul/lib/util/yui-load-hook.js +0 -49
  444. data/vendor/node_modules/istanbul/lib/vendor/prettify.css +0 -1
  445. data/vendor/node_modules/istanbul/lib/vendor/prettify.js +0 -1
  446. data/vendor/node_modules/istanbul/node_modules/abbrev/LICENSE +0 -23
  447. data/vendor/node_modules/istanbul/node_modules/abbrev/README.md +0 -23
  448. data/vendor/node_modules/istanbul/node_modules/abbrev/lib/abbrev.js +0 -111
  449. data/vendor/node_modules/istanbul/node_modules/abbrev/package.json +0 -29
  450. data/vendor/node_modules/istanbul/node_modules/async/LICENSE +0 -19
  451. data/vendor/node_modules/istanbul/node_modules/async/README.md +0 -1414
  452. data/vendor/node_modules/istanbul/node_modules/async/component.json +0 -11
  453. data/vendor/node_modules/istanbul/node_modules/async/lib/async.js +0 -955
  454. data/vendor/node_modules/istanbul/node_modules/async/package.json +0 -43
  455. data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.BSD +0 -19
  456. data/vendor/node_modules/istanbul/node_modules/escodegen/LICENSE.source-map +0 -27
  457. data/vendor/node_modules/istanbul/node_modules/escodegen/README.md +0 -99
  458. data/vendor/node_modules/istanbul/node_modules/escodegen/bin/escodegen.js +0 -45
  459. data/vendor/node_modules/istanbul/node_modules/escodegen/bin/esgenerate.js +0 -45
  460. data/vendor/node_modules/istanbul/node_modules/escodegen/component.json +0 -48
  461. data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.browser.js +0 -3072
  462. data/vendor/node_modules/istanbul/node_modules/escodegen/escodegen.js +0 -2275
  463. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/LICENSE.BSD +0 -19
  464. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/README.md +0 -29
  465. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/estraverse.js +0 -315
  466. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/estraverse/package.json +0 -41
  467. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/CHANGELOG.md +0 -112
  468. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/LICENSE +0 -28
  469. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/Makefile.dryice.js +0 -166
  470. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/README.md +0 -434
  471. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/assert-shim.js +0 -56
  472. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/mini-require.js +0 -152
  473. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm +0 -20
  474. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm +0 -18
  475. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-browser.js +0 -8
  476. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm +0 -6
  477. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm +0 -21
  478. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-prefix.js +0 -8
  479. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/test-suffix.js +0 -3
  480. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map.js +0 -8
  481. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/array-set.js +0 -97
  482. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64-vlq.js +0 -144
  483. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/base64.js +0 -42
  484. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/binary-search.js +0 -81
  485. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -477
  486. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-generator.js +0 -380
  487. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/source-node.js +0 -371
  488. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/lib/source-map/util.js +0 -205
  489. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/LICENSE +0 -58
  490. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/README.md +0 -171
  491. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js +0 -299
  492. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/intercept.js +0 -36
  493. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/package.json +0 -36
  494. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/package.json +0 -110
  495. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/run-tests.js +0 -71
  496. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-api.js +0 -26
  497. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-array-set.js +0 -104
  498. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -24
  499. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64.js +0 -35
  500. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
  501. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -72
  502. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -451
  503. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -417
  504. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-node.js +0 -365
  505. data/vendor/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/test/source-map/util.js +0 -161
  506. data/vendor/node_modules/istanbul/node_modules/escodegen/package.json +0 -58
  507. data/vendor/node_modules/istanbul/node_modules/esprima/README.md +0 -73
  508. data/vendor/node_modules/istanbul/node_modules/esprima/bin/esparse.js +0 -117
  509. data/vendor/node_modules/istanbul/node_modules/esprima/bin/esvalidate.js +0 -177
  510. data/vendor/node_modules/istanbul/node_modules/esprima/esprima.js +0 -3908
  511. data/vendor/node_modules/istanbul/node_modules/esprima/package.json +0 -59
  512. data/vendor/node_modules/istanbul/node_modules/esprima/test/compat.js +0 -239
  513. data/vendor/node_modules/istanbul/node_modules/esprima/test/reflect.js +0 -422
  514. data/vendor/node_modules/istanbul/node_modules/esprima/test/run.js +0 -66
  515. data/vendor/node_modules/istanbul/node_modules/esprima/test/runner.js +0 -387
  516. data/vendor/node_modules/istanbul/node_modules/esprima/test/test.js +0 -20238
  517. data/vendor/node_modules/istanbul/node_modules/fileset/LICENSE-MIT +0 -22
  518. data/vendor/node_modules/istanbul/node_modules/fileset/README.md +0 -87
  519. data/vendor/node_modules/istanbul/node_modules/fileset/lib/fileset.js +0 -64
  520. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/LICENSE +0 -27
  521. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/README.md +0 -250
  522. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/g.js +0 -9
  523. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/examples/usr-local.js +0 -9
  524. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/glob.js +0 -680
  525. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/LICENSE +0 -16
  526. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/README.md +0 -42
  527. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits.js +0 -1
  528. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
  529. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/package.json +0 -33
  530. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inherits/test.js +0 -25
  531. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/package.json +0 -39
  532. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/00-setup.js +0 -176
  533. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-comparison.js +0 -63
  534. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/bash-results.json +0 -350
  535. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/cwd-test.js +0 -55
  536. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/globstar-match.js +0 -19
  537. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/mark.js +0 -74
  538. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/new-glob-optional-options.js +0 -10
  539. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/nocase-nomagic.js +0 -113
  540. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/pause-resume.js +0 -73
  541. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root-nomount.js +0 -39
  542. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/root.js +0 -46
  543. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/stat.js +0 -32
  544. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/zz-cleanup.js +0 -11
  545. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/LICENSE +0 -23
  546. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/README.md +0 -218
  547. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/minimatch.js +0 -1055
  548. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS +0 -14
  549. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/LICENSE +0 -23
  550. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/README.md +0 -97
  551. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/lib/lru-cache.js +0 -252
  552. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/package.json +0 -33
  553. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/basic.js +0 -369
  554. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/foreach.js +0 -52
  555. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/lru-cache/test/memory-leak.js +0 -50
  556. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
  557. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
  558. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
  559. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
  560. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
  561. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/node_modules/sigmund/test/basic.js +0 -24
  562. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/package.json +0 -40
  563. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/basic.js +0 -399
  564. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/brace-expand.js +0 -33
  565. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/caching.js +0 -14
  566. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/defaults.js +0 -274
  567. data/vendor/node_modules/istanbul/node_modules/fileset/node_modules/minimatch/test/extglob-ending-with-state-char.js +0 -8
  568. data/vendor/node_modules/istanbul/node_modules/fileset/package.json +0 -34
  569. data/vendor/node_modules/istanbul/node_modules/fileset/tests/fixtures/an (odd) filename.js +0 -1
  570. data/vendor/node_modules/istanbul/node_modules/fileset/tests/helper.js +0 -61
  571. data/vendor/node_modules/istanbul/node_modules/fileset/tests/test.js +0 -133
  572. data/vendor/node_modules/istanbul/node_modules/handlebars/LICENSE +0 -19
  573. data/vendor/node_modules/istanbul/node_modules/handlebars/README.markdown +0 -391
  574. data/vendor/node_modules/istanbul/node_modules/handlebars/bin/handlebars +0 -213
  575. data/vendor/node_modules/istanbul/node_modules/handlebars/bower.json +0 -9
  576. data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.js +0 -2278
  577. data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.min.js +0 -2
  578. data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.js +0 -362
  579. data/vendor/node_modules/istanbul/node_modules/handlebars/dist/handlebars.runtime.min.js +0 -1
  580. data/vendor/node_modules/istanbul/node_modules/handlebars/global-test.js +0 -18
  581. data/vendor/node_modules/istanbul/node_modules/handlebars/global.js +0 -4
  582. data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars-source.gemspec +0 -21
  583. data/vendor/node_modules/istanbul/node_modules/handlebars/handlebars.js.nuspec +0 -17
  584. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars.js +0 -43
  585. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/base.js +0 -166
  586. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-prefix.js +0 -3
  587. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/browser-suffix.js +0 -1
  588. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/ast.js +0 -138
  589. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/base.js +0 -21
  590. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/compiler.js +0 -1305
  591. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/index.js +0 -16
  592. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/parser.js +0 -483
  593. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/printer.js +0 -138
  594. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/compiler/visitor.js +0 -18
  595. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/runtime.js +0 -106
  596. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/source.rb +0 -11
  597. data/vendor/node_modules/istanbul/node_modules/handlebars/lib/handlebars/utils.js +0 -83
  598. data/vendor/node_modules/istanbul/node_modules/handlebars/min.sh +0 -11
  599. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/LICENSE +0 -21
  600. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/bool.js +0 -10
  601. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_double.js +0 -7
  602. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/boolean_single.js +0 -7
  603. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_hash.js +0 -8
  604. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/default_singles.js +0 -7
  605. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/divide.js +0 -8
  606. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count.js +0 -20
  607. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_options.js +0 -29
  608. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/line_count_wrap.js +0 -29
  609. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/nonopt.js +0 -4
  610. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/reflect.js +0 -2
  611. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/short.js +0 -3
  612. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/string.js +0 -11
  613. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/usage-options.js +0 -19
  614. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/example/xup.js +0 -10
  615. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/index.js +0 -478
  616. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/package.json +0 -46
  617. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/readme.markdown +0 -487
  618. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_.js +0 -71
  619. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/argv.js +0 -2
  620. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/_/bin.js +0 -3
  621. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/parse.js +0 -446
  622. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/optimist/test/usage.js +0 -292
  623. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/LICENSE +0 -29
  624. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/README.md +0 -588
  625. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/bin/uglifyjs +0 -402
  626. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/ast.js +0 -985
  627. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/compress.js +0 -2028
  628. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/mozilla-ast.js +0 -267
  629. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/output.js +0 -1229
  630. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/parse.js +0 -1410
  631. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/scope.js +0 -581
  632. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/sourcemap.js +0 -81
  633. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/transform.js +0 -217
  634. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/lib/utils.js +0 -295
  635. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/CHANGELOG.md +0 -112
  636. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/LICENSE +0 -28
  637. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/Makefile.dryice.js +0 -166
  638. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/README.md +0 -434
  639. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/assert-shim.js +0 -56
  640. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/mini-require.js +0 -152
  641. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm +0 -20
  642. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm +0 -18
  643. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js +0 -8
  644. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm +0 -6
  645. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm +0 -21
  646. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js +0 -8
  647. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js +0 -3
  648. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map.js +0 -8
  649. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/array-set.js +0 -97
  650. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64-vlq.js +0 -144
  651. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64.js +0 -42
  652. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/binary-search.js +0 -81
  653. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -477
  654. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-generator.js +0 -380
  655. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-node.js +0 -371
  656. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/lib/source-map/util.js +0 -205
  657. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/LICENSE +0 -58
  658. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/README.md +0 -171
  659. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/amdefine.js +0 -299
  660. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/intercept.js +0 -36
  661. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/package.json +0 -37
  662. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/package.json +0 -110
  663. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/run-tests.js +0 -71
  664. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js +0 -26
  665. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-array-set.js +0 -104
  666. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -24
  667. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64.js +0 -35
  668. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-binary-search.js +0 -54
  669. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -72
  670. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -451
  671. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -417
  672. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-node.js +0 -365
  673. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/test/source-map/util.js +0 -161
  674. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/package.json +0 -39
  675. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/arrays.js +0 -12
  676. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/blocks.js +0 -49
  677. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/conditionals.js +0 -143
  678. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/dead-code.js +0 -89
  679. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/debugger.js +0 -24
  680. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/drop-unused.js +0 -97
  681. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-105.js +0 -25
  682. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-12.js +0 -11
  683. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-143.js +0 -48
  684. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-22.js +0 -17
  685. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-44.js +0 -31
  686. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/issue-59.js +0 -30
  687. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/labels.js +0 -163
  688. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/loops.js +0 -123
  689. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/properties.js +0 -54
  690. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/sequences.js +0 -161
  691. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/switch.js +0 -260
  692. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/compress/typeof.js +0 -25
  693. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/test/run-tests.js +0 -170
  694. data/vendor/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/tools/node.js +0 -165
  695. data/vendor/node_modules/istanbul/node_modules/handlebars/package.json +0 -42
  696. data/vendor/node_modules/istanbul/node_modules/handlebars/release-notes.md +0 -93
  697. data/vendor/node_modules/istanbul/node_modules/handlebars/test.js +0 -20
  698. data/vendor/node_modules/istanbul/node_modules/mkdirp/LICENSE +0 -21
  699. data/vendor/node_modules/istanbul/node_modules/mkdirp/examples/pow.js +0 -6
  700. data/vendor/node_modules/istanbul/node_modules/mkdirp/index.js +0 -82
  701. data/vendor/node_modules/istanbul/node_modules/mkdirp/package.json +0 -34
  702. data/vendor/node_modules/istanbul/node_modules/mkdirp/readme.markdown +0 -63
  703. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/chmod.js +0 -38
  704. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/clobber.js +0 -37
  705. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/mkdirp.js +0 -28
  706. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm.js +0 -32
  707. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/perm_sync.js +0 -39
  708. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/race.js +0 -41
  709. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/rel.js +0 -32
  710. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return.js +0 -25
  711. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/return_sync.js +0 -24
  712. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/root.js +0 -18
  713. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/sync.js +0 -32
  714. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask.js +0 -28
  715. data/vendor/node_modules/istanbul/node_modules/mkdirp/test/umask_sync.js +0 -32
  716. data/vendor/node_modules/istanbul/node_modules/nopt/LICENSE +0 -23
  717. data/vendor/node_modules/istanbul/node_modules/nopt/README.md +0 -210
  718. data/vendor/node_modules/istanbul/node_modules/nopt/bin/nopt.js +0 -51
  719. data/vendor/node_modules/istanbul/node_modules/nopt/examples/my-program.js +0 -30
  720. data/vendor/node_modules/istanbul/node_modules/nopt/lib/nopt.js +0 -612
  721. data/vendor/node_modules/istanbul/node_modules/nopt/package.json +0 -36
  722. data/vendor/node_modules/istanbul/node_modules/resolve/LICENSE +0 -18
  723. data/vendor/node_modules/istanbul/node_modules/resolve/example/async.js +0 -5
  724. data/vendor/node_modules/istanbul/node_modules/resolve/example/sync.js +0 -3
  725. data/vendor/node_modules/istanbul/node_modules/resolve/index.js +0 -5
  726. data/vendor/node_modules/istanbul/node_modules/resolve/lib/async.js +0 -125
  727. data/vendor/node_modules/istanbul/node_modules/resolve/lib/caller.js +0 -8
  728. data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.js +0 -4
  729. data/vendor/node_modules/istanbul/node_modules/resolve/lib/core.json +0 -38
  730. data/vendor/node_modules/istanbul/node_modules/resolve/lib/node-modules-paths.js +0 -25
  731. data/vendor/node_modules/istanbul/node_modules/resolve/lib/sync.js +0 -80
  732. data/vendor/node_modules/istanbul/node_modules/resolve/package.json +0 -36
  733. data/vendor/node_modules/istanbul/node_modules/resolve/readme.markdown +0 -144
  734. data/vendor/node_modules/istanbul/node_modules/resolve/test/core.js +0 -12
  735. data/vendor/node_modules/istanbul/node_modules/resolve/test/filter.js +0 -18
  736. data/vendor/node_modules/istanbul/node_modules/resolve/test/filter_sync.js +0 -15
  737. data/vendor/node_modules/istanbul/node_modules/resolve/test/mock.js +0 -142
  738. data/vendor/node_modules/istanbul/node_modules/resolve/test/mock_sync.js +0 -68
  739. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver.js +0 -270
  740. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +0 -1
  741. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  742. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/package.json +0 -3
  743. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/baz/quux.js +0 -1
  744. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/lib/index.js +0 -1
  745. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/garply/package.json +0 -3
  746. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +0 -1
  747. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +0 -1
  748. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/cup.coffee +0 -1
  749. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/foo.js +0 -1
  750. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
  751. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
  752. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/mug.coffee +0 -0
  753. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/mug.js +0 -0
  754. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  755. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  756. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
  757. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/main.js +0 -6
  758. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver/without_basedir/node_modules/mymodule.js +0 -1
  759. data/vendor/node_modules/istanbul/node_modules/resolve/test/resolver_sync.js +0 -170
  760. data/vendor/node_modules/istanbul/node_modules/which/LICENSE +0 -23
  761. data/vendor/node_modules/istanbul/node_modules/which/README.md +0 -5
  762. data/vendor/node_modules/istanbul/node_modules/which/bin/which +0 -14
  763. data/vendor/node_modules/istanbul/node_modules/which/package.json +0 -32
  764. data/vendor/node_modules/istanbul/node_modules/which/which.js +0 -104
  765. data/vendor/node_modules/istanbul/node_modules/wordwrap/README.markdown +0 -70
  766. data/vendor/node_modules/istanbul/node_modules/wordwrap/example/center.js +0 -10
  767. data/vendor/node_modules/istanbul/node_modules/wordwrap/example/meat.js +0 -3
  768. data/vendor/node_modules/istanbul/node_modules/wordwrap/index.js +0 -76
  769. data/vendor/node_modules/istanbul/node_modules/wordwrap/package.json +0 -45
  770. data/vendor/node_modules/istanbul/node_modules/wordwrap/test/break.js +0 -30
  771. data/vendor/node_modules/istanbul/node_modules/wordwrap/test/idleness.txt +0 -63
  772. data/vendor/node_modules/istanbul/node_modules/wordwrap/test/wrap.js +0 -31
  773. data/vendor/node_modules/istanbul/package.json +0 -117
  774. data/vendor/node_modules/istanbul/test/browser/support/index.html +0 -153
  775. data/vendor/node_modules/istanbul/test/browser/support/phantom-test.client.js +0 -49
  776. data/vendor/node_modules/istanbul/test/browser/support/server.js +0 -154
  777. data/vendor/node_modules/istanbul/test/browser/test-browser-instrumentation.js +0 -94
  778. data/vendor/node_modules/istanbul/test/cli-helper.js +0 -219
  779. data/vendor/node_modules/istanbul/test/cli/package.json +0 -8
  780. data/vendor/node_modules/istanbul/test/cli/sample-project/amd/ipsum.js +0 -11
  781. data/vendor/node_modules/istanbul/test/cli/sample-project/amd/lorem.js +0 -7
  782. data/vendor/node_modules/istanbul/test/cli/sample-project/lib/bar.js +0 -13
  783. data/vendor/node_modules/istanbul/test/cli/sample-project/lib/foo.js +0 -12
  784. data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/bad.js +0 -1
  785. data/vendor/node_modules/istanbul/test/cli/sample-project/lib/util/generate-names.js +0 -5
  786. data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/dependency/index.js +0 -9
  787. data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/hook.js +0 -11
  788. data/vendor/node_modules/istanbul/test/cli/sample-project/node_modules/post-require/package.json +0 -5
  789. data/vendor/node_modules/istanbul/test/cli/sample-project/test/amd-run.js +0 -16
  790. data/vendor/node_modules/istanbul/test/cli/sample-project/test/global-leak.js +0 -30
  791. data/vendor/node_modules/istanbul/test/cli/sample-project/test/run.js +0 -25
  792. data/vendor/node_modules/istanbul/test/cli/sample-project/vendor/dummy_vendor_lib.js +0 -9
  793. data/vendor/node_modules/istanbul/test/cli/test-base-cli.js +0 -39
  794. data/vendor/node_modules/istanbul/test/cli/test-check-coverage-command.js +0 -97
  795. data/vendor/node_modules/istanbul/test/cli/test-cobertura-report.js +0 -54
  796. data/vendor/node_modules/istanbul/test/cli/test-cover-command.js +0 -170
  797. data/vendor/node_modules/istanbul/test/cli/test-html-report.js +0 -125
  798. data/vendor/node_modules/istanbul/test/cli/test-instrument-command.js +0 -167
  799. data/vendor/node_modules/istanbul/test/cli/test-json-report.js +0 -60
  800. data/vendor/node_modules/istanbul/test/cli/test-lcov-report.js +0 -58
  801. data/vendor/node_modules/istanbul/test/cli/test-lcovonly-report.js +0 -61
  802. data/vendor/node_modules/istanbul/test/cli/test-lots-of-files.js +0 -87
  803. data/vendor/node_modules/istanbul/test/cli/test-none-report.js +0 -17
  804. data/vendor/node_modules/istanbul/test/cli/test-report-command.js +0 -65
  805. data/vendor/node_modules/istanbul/test/cli/test-teamcity-report.js +0 -54
  806. data/vendor/node_modules/istanbul/test/cli/test-test-command.js +0 -43
  807. data/vendor/node_modules/istanbul/test/common.js +0 -19
  808. data/vendor/node_modules/istanbul/test/helper.js +0 -122
  809. data/vendor/node_modules/istanbul/test/instrumentation/test-do.js +0 -53
  810. data/vendor/node_modules/istanbul/test/instrumentation/test-expressions.js +0 -70
  811. data/vendor/node_modules/istanbul/test/instrumentation/test-for.js +0 -206
  812. data/vendor/node_modules/istanbul/test/instrumentation/test-forin.js +0 -50
  813. data/vendor/node_modules/istanbul/test/instrumentation/test-functions.js +0 -102
  814. data/vendor/node_modules/istanbul/test/instrumentation/test-if.js +0 -393
  815. data/vendor/node_modules/istanbul/test/instrumentation/test-misc.js +0 -35
  816. data/vendor/node_modules/istanbul/test/instrumentation/test-statement.js +0 -182
  817. data/vendor/node_modules/istanbul/test/instrumentation/test-strict.js +0 -121
  818. data/vendor/node_modules/istanbul/test/instrumentation/test-switch.js +0 -155
  819. data/vendor/node_modules/istanbul/test/instrumentation/test-while.js +0 -104
  820. data/vendor/node_modules/istanbul/test/loader.js +0 -38
  821. data/vendor/node_modules/istanbul/test/other/data-complete-copy/baz.js +0 -3
  822. data/vendor/node_modules/istanbul/test/other/data-complete-copy/fixture.xml +0 -1
  823. data/vendor/node_modules/istanbul/test/other/data-complete-copy/foo.js +0 -4
  824. data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile1 +0 -0
  825. data/vendor/node_modules/istanbul/test/other/data-complete-copy/myfile2 +0 -1
  826. data/vendor/node_modules/istanbul/test/other/data-complete-copy/subdir/x.css +0 -3
  827. data/vendor/node_modules/istanbul/test/other/data/baz.js +0 -3
  828. data/vendor/node_modules/istanbul/test/other/data/foo.js +0 -4
  829. data/vendor/node_modules/istanbul/test/other/data/matcher/general/general.js +0 -2
  830. data/vendor/node_modules/istanbul/test/other/data/matcher/general/node_modules/mod-file.js +0 -2
  831. data/vendor/node_modules/istanbul/test/other/data/matcher/lib/lib-top.js +0 -2
  832. data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/dep/mod-file.js +0 -2
  833. data/vendor/node_modules/istanbul/test/other/data/matcher/node_modules/mod-file.js +0 -2
  834. data/vendor/node_modules/istanbul/test/other/data/matcher/top.js +0 -2
  835. data/vendor/node_modules/istanbul/test/other/test-collector.js +0 -85
  836. data/vendor/node_modules/istanbul/test/other/test-command-xface.js +0 -35
  837. data/vendor/node_modules/istanbul/test/other/test-file-writer.js +0 -71
  838. data/vendor/node_modules/istanbul/test/other/test-help-formatter.js +0 -31
  839. data/vendor/node_modules/istanbul/test/other/test-hook.js +0 -87
  840. data/vendor/node_modules/istanbul/test/other/test-index-xface.js +0 -17
  841. data/vendor/node_modules/istanbul/test/other/test-input-error.js +0 -10
  842. data/vendor/node_modules/istanbul/test/other/test-insertion-text.js +0 -102
  843. data/vendor/node_modules/istanbul/test/other/test-matcher.js +0 -93
  844. data/vendor/node_modules/istanbul/test/other/test-object-utils.js +0 -201
  845. data/vendor/node_modules/istanbul/test/other/test-store.js +0 -129
  846. data/vendor/node_modules/istanbul/test/other/test-summarizer.js +0 -172
  847. data/vendor/node_modules/istanbul/test/run-again.js +0 -19
  848. data/vendor/node_modules/istanbul/test/run.js +0 -108
  849. data/vendor/node_modules/istanbul/yui-coverage-comparison.md +0 -85
  850. data/vendor/node_modules/qunit-clib/LICENSE.txt +0 -20
  851. data/vendor/node_modules/qunit-clib/README.md +0 -2
  852. data/vendor/node_modules/qunit-clib/package.json +0 -36
  853. data/vendor/node_modules/qunit-clib/qunit-clib.js +0 -570
  854. data/vendor/node_modules/qunitjs/AUTHORS.txt +0 -55
  855. data/vendor/node_modules/qunitjs/History.md +0 -496
  856. data/vendor/node_modules/qunitjs/README.md +0 -62
  857. data/vendor/node_modules/qunitjs/addons/canvas/README.md +0 -17
  858. data/vendor/node_modules/qunitjs/addons/canvas/canvas-test.js +0 -76
  859. data/vendor/node_modules/qunitjs/addons/canvas/canvas.html +0 -15
  860. data/vendor/node_modules/qunitjs/addons/canvas/qunit-canvas.js +0 -6
  861. data/vendor/node_modules/qunitjs/addons/close-enough/README.md +0 -18
  862. data/vendor/node_modules/qunitjs/addons/close-enough/close-enough-test.js +0 -35
  863. data/vendor/node_modules/qunitjs/addons/close-enough/close-enough.html +0 -14
  864. data/vendor/node_modules/qunitjs/addons/close-enough/qunit-close-enough.js +0 -32
  865. data/vendor/node_modules/qunitjs/addons/composite/README.md +0 -26
  866. data/vendor/node_modules/qunitjs/addons/composite/composite-demo-test.html +0 -24
  867. data/vendor/node_modules/qunitjs/addons/composite/index.html +0 -34
  868. data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.css +0 -13
  869. data/vendor/node_modules/qunitjs/addons/composite/qunit-composite.js +0 -112
  870. data/vendor/node_modules/qunitjs/addons/junitlogger/README.md +0 -18
  871. data/vendor/node_modules/qunitjs/addons/junitlogger/index.html +0 -44
  872. data/vendor/node_modules/qunitjs/addons/junitlogger/junitlogger.js +0 -306
  873. data/vendor/node_modules/qunitjs/addons/phantomjs/README.md +0 -16
  874. data/vendor/node_modules/qunitjs/addons/phantomjs/runner.js +0 -127
  875. data/vendor/node_modules/qunitjs/addons/step/README.md +0 -20
  876. data/vendor/node_modules/qunitjs/addons/step/qunit-step.js +0 -26
  877. data/vendor/node_modules/qunitjs/addons/step/step-test.js +0 -15
  878. data/vendor/node_modules/qunitjs/addons/step/step.html +0 -14
  879. data/vendor/node_modules/qunitjs/addons/themes/README.md +0 -6
  880. data/vendor/node_modules/qunitjs/addons/themes/gabe.css +0 -371
  881. data/vendor/node_modules/qunitjs/addons/themes/gabe.html +0 -15
  882. data/vendor/node_modules/qunitjs/addons/themes/ninja.css +0 -196
  883. data/vendor/node_modules/qunitjs/addons/themes/ninja.html +0 -15
  884. data/vendor/node_modules/qunitjs/addons/themes/nv.css +0 -217
  885. data/vendor/node_modules/qunitjs/addons/themes/nv.html +0 -15
  886. data/vendor/node_modules/qunitjs/grunt.js +0 -101
  887. data/vendor/node_modules/qunitjs/package.json +0 -49
  888. data/vendor/node_modules/qunitjs/qunit/qunit.css +0 -244
  889. data/vendor/node_modules/qunitjs/qunit/qunit.js +0 -2152
  890. data/vendor/node_modules/qunitjs/test/async.html +0 -26
  891. data/vendor/node_modules/qunitjs/test/async.js +0 -6
  892. data/vendor/node_modules/qunitjs/test/deepEqual.js +0 -1438
  893. data/vendor/node_modules/qunitjs/test/headless.html +0 -28
  894. data/vendor/node_modules/qunitjs/test/index.html +0 -16
  895. data/vendor/node_modules/qunitjs/test/logs.html +0 -14
  896. data/vendor/node_modules/qunitjs/test/logs.js +0 -184
  897. data/vendor/node_modules/qunitjs/test/narwhal-test.js +0 -22
  898. data/vendor/node_modules/qunitjs/test/node-test.js +0 -22
  899. data/vendor/node_modules/qunitjs/test/swarminject.js +0 -10
  900. data/vendor/node_modules/qunitjs/test/test.js +0 -804
  901. data/vendor/node_modules/regenerate/LICENSE-MIT.txt +0 -20
  902. data/vendor/node_modules/regenerate/README.md +0 -467
  903. data/vendor/node_modules/regenerate/package.json +0 -50
  904. data/vendor/node_modules/regenerate/regenerate.js +0 -617
  905. data/vendor/node_modules/requirejs/README.md +0 -9
  906. data/vendor/node_modules/requirejs/bin/r.js +0 -26059
  907. data/vendor/node_modules/requirejs/package.json +0 -39
  908. data/vendor/node_modules/requirejs/require.js +0 -2054
@@ -1,235 +0,0 @@
1
- /**
2
- * QUnit v1.10.0 - A JavaScript Unit Testing Framework
3
- *
4
- * http://qunitjs.com
5
- *
6
- * Copyright 2012 jQuery Foundation and other contributors
7
- * Released under the MIT license.
8
- * http://jquery.org/license
9
- */
10
-
11
- /** Font Family and Sizes */
12
-
13
- #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
14
- font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
15
- }
16
-
17
- #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
18
- #qunit-tests { font-size: smaller; }
19
-
20
-
21
- /** Resets */
22
-
23
- #qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
24
- margin: 0;
25
- padding: 0;
26
- }
27
-
28
-
29
- /** Header */
30
-
31
- #qunit-header {
32
- padding: 0.5em 0 0.5em 1em;
33
-
34
- color: #8699a4;
35
- background-color: #0d3349;
36
-
37
- font-size: 1.5em;
38
- line-height: 1em;
39
- font-weight: normal;
40
-
41
- border-radius: 5px 5px 0 0;
42
- -moz-border-radius: 5px 5px 0 0;
43
- -webkit-border-top-right-radius: 5px;
44
- -webkit-border-top-left-radius: 5px;
45
- }
46
-
47
- #qunit-header a {
48
- text-decoration: none;
49
- color: #c2ccd1;
50
- }
51
-
52
- #qunit-header a:hover,
53
- #qunit-header a:focus {
54
- color: #fff;
55
- }
56
-
57
- #qunit-testrunner-toolbar label {
58
- display: inline-block;
59
- padding: 0 .5em 0 .1em;
60
- }
61
-
62
- #qunit-banner {
63
- height: 5px;
64
- }
65
-
66
- #qunit-testrunner-toolbar {
67
- padding: 0.5em 0 0.5em 2em;
68
- color: #5E740B;
69
- background-color: #eee;
70
- overflow: hidden;
71
- }
72
-
73
- #qunit-userAgent {
74
- padding: 0.5em 0 0.5em 2.5em;
75
- background-color: #2b81af;
76
- color: #fff;
77
- text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
78
- }
79
-
80
- #qunit-modulefilter-container {
81
- float: right;
82
- }
83
-
84
- /** Tests: Pass/Fail */
85
-
86
- #qunit-tests {
87
- list-style-position: inside;
88
- }
89
-
90
- #qunit-tests li {
91
- padding: 0.4em 0.5em 0.4em 2.5em;
92
- border-bottom: 1px solid #fff;
93
- list-style-position: inside;
94
- }
95
-
96
- #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
97
- display: none;
98
- }
99
-
100
- #qunit-tests li strong {
101
- cursor: pointer;
102
- }
103
-
104
- #qunit-tests li a {
105
- padding: 0.5em;
106
- color: #c2ccd1;
107
- text-decoration: none;
108
- }
109
- #qunit-tests li a:hover,
110
- #qunit-tests li a:focus {
111
- color: #000;
112
- }
113
-
114
- #qunit-tests ol {
115
- margin-top: 0.5em;
116
- padding: 0.5em;
117
-
118
- background-color: #fff;
119
-
120
- border-radius: 5px;
121
- -moz-border-radius: 5px;
122
- -webkit-border-radius: 5px;
123
- }
124
-
125
- #qunit-tests table {
126
- border-collapse: collapse;
127
- margin-top: .2em;
128
- }
129
-
130
- #qunit-tests th {
131
- text-align: right;
132
- vertical-align: top;
133
- padding: 0 .5em 0 0;
134
- }
135
-
136
- #qunit-tests td {
137
- vertical-align: top;
138
- }
139
-
140
- #qunit-tests pre {
141
- margin: 0;
142
- white-space: pre-wrap;
143
- word-wrap: break-word;
144
- }
145
-
146
- #qunit-tests del {
147
- background-color: #e0f2be;
148
- color: #374e0c;
149
- text-decoration: none;
150
- }
151
-
152
- #qunit-tests ins {
153
- background-color: #ffcaca;
154
- color: #500;
155
- text-decoration: none;
156
- }
157
-
158
- /*** Test Counts */
159
-
160
- #qunit-tests b.counts { color: black; }
161
- #qunit-tests b.passed { color: #5E740B; }
162
- #qunit-tests b.failed { color: #710909; }
163
-
164
- #qunit-tests li li {
165
- padding: 5px;
166
- background-color: #fff;
167
- border-bottom: none;
168
- list-style-position: inside;
169
- }
170
-
171
- /*** Passing Styles */
172
-
173
- #qunit-tests li li.pass {
174
- color: #3c510c;
175
- background-color: #fff;
176
- border-left: 10px solid #C6E746;
177
- }
178
-
179
- #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
180
- #qunit-tests .pass .test-name { color: #366097; }
181
-
182
- #qunit-tests .pass .test-actual,
183
- #qunit-tests .pass .test-expected { color: #999999; }
184
-
185
- #qunit-banner.qunit-pass { background-color: #C6E746; }
186
-
187
- /*** Failing Styles */
188
-
189
- #qunit-tests li li.fail {
190
- color: #710909;
191
- background-color: #fff;
192
- border-left: 10px solid #EE5757;
193
- white-space: pre;
194
- }
195
-
196
- #qunit-tests > li:last-child {
197
- border-radius: 0 0 5px 5px;
198
- -moz-border-radius: 0 0 5px 5px;
199
- -webkit-border-bottom-right-radius: 5px;
200
- -webkit-border-bottom-left-radius: 5px;
201
- }
202
-
203
- #qunit-tests .fail { color: #000000; background-color: #EE5757; }
204
- #qunit-tests .fail .test-name,
205
- #qunit-tests .fail .module-name { color: #000000; }
206
-
207
- #qunit-tests .fail .test-actual { color: #EE5757; }
208
- #qunit-tests .fail .test-expected { color: green; }
209
-
210
- #qunit-banner.qunit-fail { background-color: #EE5757; }
211
-
212
-
213
- /** Result */
214
-
215
- #qunit-testresult {
216
- padding: 0.5em 0.5em 0.5em 2.5em;
217
-
218
- color: #2b81af;
219
- background-color: #D2E0E6;
220
-
221
- border-bottom: 1px solid white;
222
- }
223
- #qunit-testresult .module-name {
224
- font-weight: bold;
225
- }
226
-
227
- /** Fixture */
228
-
229
- #qunit-fixture {
230
- position: absolute;
231
- top: -10000px;
232
- left: -10000px;
233
- width: 1000px;
234
- height: 1000px;
235
- }
@@ -1,1977 +0,0 @@
1
- /**
2
- * QUnit v1.10.0 - A JavaScript Unit Testing Framework
3
- *
4
- * http://qunitjs.com
5
- *
6
- * Copyright 2012 jQuery Foundation and other contributors
7
- * Released under the MIT license.
8
- * http://jquery.org/license
9
- */
10
-
11
- (function( window ) {
12
-
13
- var QUnit,
14
- config,
15
- onErrorFnPrev,
16
- testId = 0,
17
- fileName = (sourceFromStacktrace( 0 ) || "" ).replace(/(:\d+)+\)?/, "").replace(/.+\//, ""),
18
- toString = Object.prototype.toString,
19
- hasOwn = Object.prototype.hasOwnProperty,
20
- // Keep a local reference to Date (GH-283)
21
- Date = window.Date,
22
- defined = {
23
- setTimeout: typeof window.setTimeout !== "undefined",
24
- sessionStorage: (function() {
25
- var x = "qunit-test-string";
26
- try {
27
- sessionStorage.setItem( x, x );
28
- sessionStorage.removeItem( x );
29
- return true;
30
- } catch( e ) {
31
- return false;
32
- }
33
- }())
34
- };
35
-
36
- function Test( settings ) {
37
- extend( this, settings );
38
- this.assertions = [];
39
- this.testNumber = ++Test.count;
40
- }
41
-
42
- Test.count = 0;
43
-
44
- Test.prototype = {
45
- init: function() {
46
- var a, b, li,
47
- tests = id( "qunit-tests" );
48
-
49
- if ( tests ) {
50
- b = document.createElement( "strong" );
51
- b.innerHTML = this.name;
52
-
53
- // `a` initialized at top of scope
54
- a = document.createElement( "a" );
55
- a.innerHTML = "Rerun";
56
- a.href = QUnit.url({ testNumber: this.testNumber });
57
-
58
- li = document.createElement( "li" );
59
- li.appendChild( b );
60
- li.appendChild( a );
61
- li.className = "running";
62
- li.id = this.id = "qunit-test-output" + testId++;
63
-
64
- tests.appendChild( li );
65
- }
66
- },
67
- setup: function() {
68
- if ( this.module !== config.previousModule ) {
69
- if ( config.previousModule ) {
70
- runLoggingCallbacks( "moduleDone", QUnit, {
71
- name: config.previousModule,
72
- failed: config.moduleStats.bad,
73
- passed: config.moduleStats.all - config.moduleStats.bad,
74
- total: config.moduleStats.all
75
- });
76
- }
77
- config.previousModule = this.module;
78
- config.moduleStats = { all: 0, bad: 0 };
79
- runLoggingCallbacks( "moduleStart", QUnit, {
80
- name: this.module
81
- });
82
- } else if ( config.autorun ) {
83
- runLoggingCallbacks( "moduleStart", QUnit, {
84
- name: this.module
85
- });
86
- }
87
-
88
- config.current = this;
89
-
90
- this.testEnvironment = extend({
91
- setup: function() {},
92
- teardown: function() {}
93
- }, this.moduleTestEnvironment );
94
-
95
- runLoggingCallbacks( "testStart", QUnit, {
96
- name: this.testName,
97
- module: this.module
98
- });
99
-
100
- // allow utility functions to access the current test environment
101
- // TODO why??
102
- QUnit.current_testEnvironment = this.testEnvironment;
103
-
104
- if ( !config.pollution ) {
105
- saveGlobal();
106
- }
107
- if ( config.notrycatch ) {
108
- this.testEnvironment.setup.call( this.testEnvironment );
109
- return;
110
- }
111
- try {
112
- this.testEnvironment.setup.call( this.testEnvironment );
113
- } catch( e ) {
114
- QUnit.pushFailure( "Setup failed on " + this.testName + ": " + e.message, extractStacktrace( e, 1 ) );
115
- }
116
- },
117
- run: function() {
118
- config.current = this;
119
-
120
- var running = id( "qunit-testresult" );
121
-
122
- if ( running ) {
123
- running.innerHTML = "Running: <br/>" + this.name;
124
- }
125
-
126
- if ( this.async ) {
127
- QUnit.stop();
128
- }
129
-
130
- if ( config.notrycatch ) {
131
- this.callback.call( this.testEnvironment, QUnit.assert );
132
- return;
133
- }
134
-
135
- try {
136
- this.callback.call( this.testEnvironment, QUnit.assert );
137
- } catch( e ) {
138
- QUnit.pushFailure( "Died on test #" + (this.assertions.length + 1) + " " + this.stack + ": " + e.message, extractStacktrace( e, 0 ) );
139
- // else next test will carry the responsibility
140
- saveGlobal();
141
-
142
- // Restart the tests if they're blocking
143
- if ( config.blocking ) {
144
- QUnit.start();
145
- }
146
- }
147
- },
148
- teardown: function() {
149
- config.current = this;
150
- if ( config.notrycatch ) {
151
- this.testEnvironment.teardown.call( this.testEnvironment );
152
- return;
153
- } else {
154
- try {
155
- this.testEnvironment.teardown.call( this.testEnvironment );
156
- } catch( e ) {
157
- QUnit.pushFailure( "Teardown failed on " + this.testName + ": " + e.message, extractStacktrace( e, 1 ) );
158
- }
159
- }
160
- checkPollution();
161
- },
162
- finish: function() {
163
- config.current = this;
164
- if ( config.requireExpects && this.expected == null ) {
165
- QUnit.pushFailure( "Expected number of assertions to be defined, but expect() was not called.", this.stack );
166
- } else if ( this.expected != null && this.expected != this.assertions.length ) {
167
- QUnit.pushFailure( "Expected " + this.expected + " assertions, but " + this.assertions.length + " were run", this.stack );
168
- } else if ( this.expected == null && !this.assertions.length ) {
169
- QUnit.pushFailure( "Expected at least one assertion, but none were run - call expect(0) to accept zero assertions.", this.stack );
170
- }
171
-
172
- var assertion, a, b, i, li, ol,
173
- test = this,
174
- good = 0,
175
- bad = 0,
176
- tests = id( "qunit-tests" );
177
-
178
- config.stats.all += this.assertions.length;
179
- config.moduleStats.all += this.assertions.length;
180
-
181
- if ( tests ) {
182
- ol = document.createElement( "ol" );
183
-
184
- for ( i = 0; i < this.assertions.length; i++ ) {
185
- assertion = this.assertions[i];
186
-
187
- li = document.createElement( "li" );
188
- li.className = assertion.result ? "pass" : "fail";
189
- li.innerHTML = assertion.message || ( assertion.result ? "okay" : "failed" );
190
- ol.appendChild( li );
191
-
192
- if ( assertion.result ) {
193
- good++;
194
- } else {
195
- bad++;
196
- config.stats.bad++;
197
- config.moduleStats.bad++;
198
- }
199
- }
200
-
201
- // store result when possible
202
- if ( QUnit.config.reorder && defined.sessionStorage ) {
203
- if ( bad ) {
204
- sessionStorage.setItem( "qunit-test-" + this.module + "-" + this.testName, bad );
205
- } else {
206
- sessionStorage.removeItem( "qunit-test-" + this.module + "-" + this.testName );
207
- }
208
- }
209
-
210
- if ( bad === 0 ) {
211
- ol.style.display = "none";
212
- }
213
-
214
- // `b` initialized at top of scope
215
- b = document.createElement( "strong" );
216
- b.innerHTML = this.name + " <b class='counts'>(<b class='failed'>" + bad + "</b>, <b class='passed'>" + good + "</b>, " + this.assertions.length + ")</b>";
217
-
218
- addEvent(b, "click", function() {
219
- var next = b.nextSibling.nextSibling,
220
- display = next.style.display;
221
- next.style.display = display === "none" ? "block" : "none";
222
- });
223
-
224
- addEvent(b, "dblclick", function( e ) {
225
- var target = e && e.target ? e.target : window.event.srcElement;
226
- if ( target.nodeName.toLowerCase() == "span" || target.nodeName.toLowerCase() == "b" ) {
227
- target = target.parentNode;
228
- }
229
- if ( window.location && target.nodeName.toLowerCase() === "strong" ) {
230
- window.location = QUnit.url({ testNumber: test.testNumber });
231
- }
232
- });
233
-
234
- // `li` initialized at top of scope
235
- li = id( this.id );
236
- li.className = bad ? "fail" : "pass";
237
- li.removeChild( li.firstChild );
238
- a = li.firstChild;
239
- li.appendChild( b );
240
- li.appendChild ( a );
241
- li.appendChild( ol );
242
-
243
- } else {
244
- for ( i = 0; i < this.assertions.length; i++ ) {
245
- if ( !this.assertions[i].result ) {
246
- bad++;
247
- config.stats.bad++;
248
- config.moduleStats.bad++;
249
- }
250
- }
251
- }
252
-
253
- runLoggingCallbacks( "testDone", QUnit, {
254
- name: this.testName,
255
- module: this.module,
256
- failed: bad,
257
- passed: this.assertions.length - bad,
258
- total: this.assertions.length
259
- });
260
-
261
- QUnit.reset();
262
-
263
- config.current = undefined;
264
- },
265
-
266
- queue: function() {
267
- var bad,
268
- test = this;
269
-
270
- synchronize(function() {
271
- test.init();
272
- });
273
- function run() {
274
- // each of these can by async
275
- synchronize(function() {
276
- test.setup();
277
- });
278
- synchronize(function() {
279
- test.run();
280
- });
281
- synchronize(function() {
282
- test.teardown();
283
- });
284
- synchronize(function() {
285
- test.finish();
286
- });
287
- }
288
-
289
- // `bad` initialized at top of scope
290
- // defer when previous test run passed, if storage is available
291
- bad = QUnit.config.reorder && defined.sessionStorage &&
292
- +sessionStorage.getItem( "qunit-test-" + this.module + "-" + this.testName );
293
-
294
- if ( bad ) {
295
- run();
296
- } else {
297
- synchronize( run, true );
298
- }
299
- }
300
- };
301
-
302
- // Root QUnit object.
303
- // `QUnit` initialized at top of scope
304
- QUnit = {
305
-
306
- // call on start of module test to prepend name to all tests
307
- module: function( name, testEnvironment ) {
308
- config.currentModule = name;
309
- config.currentModuleTestEnvironment = testEnvironment;
310
- config.modules[name] = true;
311
- },
312
-
313
- asyncTest: function( testName, expected, callback ) {
314
- if ( arguments.length === 2 ) {
315
- callback = expected;
316
- expected = null;
317
- }
318
-
319
- QUnit.test( testName, expected, callback, true );
320
- },
321
-
322
- test: function( testName, expected, callback, async ) {
323
- var test,
324
- name = "<span class='test-name'>" + escapeInnerText( testName ) + "</span>";
325
-
326
- if ( arguments.length === 2 ) {
327
- callback = expected;
328
- expected = null;
329
- }
330
-
331
- if ( config.currentModule ) {
332
- name = "<span class='module-name'>" + config.currentModule + "</span>: " + name;
333
- }
334
-
335
- test = new Test({
336
- name: name,
337
- testName: testName,
338
- expected: expected,
339
- async: async,
340
- callback: callback,
341
- module: config.currentModule,
342
- moduleTestEnvironment: config.currentModuleTestEnvironment,
343
- stack: sourceFromStacktrace( 2 )
344
- });
345
-
346
- if ( !validTest( test ) ) {
347
- return;
348
- }
349
-
350
- test.queue();
351
- },
352
-
353
- // Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through.
354
- expect: function( asserts ) {
355
- if (arguments.length === 1) {
356
- config.current.expected = asserts;
357
- } else {
358
- return config.current.expected;
359
- }
360
- },
361
-
362
- start: function( count ) {
363
- config.semaphore -= count || 1;
364
- // don't start until equal number of stop-calls
365
- if ( config.semaphore > 0 ) {
366
- return;
367
- }
368
- // ignore if start is called more often then stop
369
- if ( config.semaphore < 0 ) {
370
- config.semaphore = 0;
371
- }
372
- // A slight delay, to avoid any current callbacks
373
- if ( defined.setTimeout ) {
374
- window.setTimeout(function() {
375
- if ( config.semaphore > 0 ) {
376
- return;
377
- }
378
- if ( config.timeout ) {
379
- clearTimeout( config.timeout );
380
- }
381
-
382
- config.blocking = false;
383
- process( true );
384
- }, 13);
385
- } else {
386
- config.blocking = false;
387
- process( true );
388
- }
389
- },
390
-
391
- stop: function( count ) {
392
- config.semaphore += count || 1;
393
- config.blocking = true;
394
-
395
- if ( config.testTimeout && defined.setTimeout ) {
396
- clearTimeout( config.timeout );
397
- config.timeout = window.setTimeout(function() {
398
- QUnit.ok( false, "Test timed out" );
399
- config.semaphore = 1;
400
- QUnit.start();
401
- }, config.testTimeout );
402
- }
403
- }
404
- };
405
-
406
- // Asssert helpers
407
- // All of these must call either QUnit.push() or manually do:
408
- // - runLoggingCallbacks( "log", .. );
409
- // - config.current.assertions.push({ .. });
410
- QUnit.assert = {
411
- /**
412
- * Asserts rough true-ish result.
413
- * @name ok
414
- * @function
415
- * @example ok( "asdfasdf".length > 5, "There must be at least 5 chars" );
416
- */
417
- ok: function( result, msg ) {
418
- if ( !config.current ) {
419
- throw new Error( "ok() assertion outside test context, was " + sourceFromStacktrace(2) );
420
- }
421
- result = !!result;
422
-
423
- var source,
424
- details = {
425
- module: config.current.module,
426
- name: config.current.testName,
427
- result: result,
428
- message: msg
429
- };
430
-
431
- msg = escapeInnerText( msg || (result ? "okay" : "failed" ) );
432
- msg = "<span class='test-message'>" + msg + "</span>";
433
-
434
- if ( !result ) {
435
- source = sourceFromStacktrace( 2 );
436
- if ( source ) {
437
- details.source = source;
438
- msg += "<table><tr class='test-source'><th>Source: </th><td><pre>" + escapeInnerText( source ) + "</pre></td></tr></table>";
439
- }
440
- }
441
- runLoggingCallbacks( "log", QUnit, details );
442
- config.current.assertions.push({
443
- result: result,
444
- message: msg
445
- });
446
- },
447
-
448
- /**
449
- * Assert that the first two arguments are equal, with an optional message.
450
- * Prints out both actual and expected values.
451
- * @name equal
452
- * @function
453
- * @example equal( format( "Received {0} bytes.", 2), "Received 2 bytes.", "format() replaces {0} with next argument" );
454
- */
455
- equal: function( actual, expected, message ) {
456
- QUnit.push( expected == actual, actual, expected, message );
457
- },
458
-
459
- /**
460
- * @name notEqual
461
- * @function
462
- */
463
- notEqual: function( actual, expected, message ) {
464
- QUnit.push( expected != actual, actual, expected, message );
465
- },
466
-
467
- /**
468
- * @name deepEqual
469
- * @function
470
- */
471
- deepEqual: function( actual, expected, message ) {
472
- QUnit.push( QUnit.equiv(actual, expected), actual, expected, message );
473
- },
474
-
475
- /**
476
- * @name notDeepEqual
477
- * @function
478
- */
479
- notDeepEqual: function( actual, expected, message ) {
480
- QUnit.push( !QUnit.equiv(actual, expected), actual, expected, message );
481
- },
482
-
483
- /**
484
- * @name strictEqual
485
- * @function
486
- */
487
- strictEqual: function( actual, expected, message ) {
488
- QUnit.push( expected === actual, actual, expected, message );
489
- },
490
-
491
- /**
492
- * @name notStrictEqual
493
- * @function
494
- */
495
- notStrictEqual: function( actual, expected, message ) {
496
- QUnit.push( expected !== actual, actual, expected, message );
497
- },
498
-
499
- throws: function( block, expected, message ) {
500
- var actual,
501
- ok = false;
502
-
503
- // 'expected' is optional
504
- if ( typeof expected === "string" ) {
505
- message = expected;
506
- expected = null;
507
- }
508
-
509
- config.current.ignoreGlobalErrors = true;
510
- try {
511
- block.call( config.current.testEnvironment );
512
- } catch (e) {
513
- actual = e;
514
- }
515
- config.current.ignoreGlobalErrors = false;
516
-
517
- if ( actual ) {
518
- // we don't want to validate thrown error
519
- if ( !expected ) {
520
- ok = true;
521
- // expected is a regexp
522
- } else if ( QUnit.objectType( expected ) === "regexp" ) {
523
- ok = expected.test( actual );
524
- // expected is a constructor
525
- } else if ( actual instanceof expected ) {
526
- ok = true;
527
- // expected is a validation function which returns true is validation passed
528
- } else if ( expected.call( {}, actual ) === true ) {
529
- ok = true;
530
- }
531
-
532
- QUnit.push( ok, actual, null, message );
533
- } else {
534
- QUnit.pushFailure( message, null, 'No exception was thrown.' );
535
- }
536
- }
537
- };
538
-
539
- /**
540
- * @deprecate since 1.8.0
541
- * Kept assertion helpers in root for backwards compatibility
542
- */
543
- extend( QUnit, QUnit.assert );
544
-
545
- /**
546
- * @deprecated since 1.9.0
547
- * Kept global "raises()" for backwards compatibility
548
- */
549
- QUnit.raises = QUnit.assert.throws;
550
-
551
- /**
552
- * @deprecated since 1.0.0, replaced with error pushes since 1.3.0
553
- * Kept to avoid TypeErrors for undefined methods.
554
- */
555
- QUnit.equals = function() {
556
- QUnit.push( false, false, false, "QUnit.equals has been deprecated since 2009 (e88049a0), use QUnit.equal instead" );
557
- };
558
- QUnit.same = function() {
559
- QUnit.push( false, false, false, "QUnit.same has been deprecated since 2009 (e88049a0), use QUnit.deepEqual instead" );
560
- };
561
-
562
- // We want access to the constructor's prototype
563
- (function() {
564
- function F() {}
565
- F.prototype = QUnit;
566
- QUnit = new F();
567
- // Make F QUnit's constructor so that we can add to the prototype later
568
- QUnit.constructor = F;
569
- }());
570
-
571
- /**
572
- * Config object: Maintain internal state
573
- * Later exposed as QUnit.config
574
- * `config` initialized at top of scope
575
- */
576
- config = {
577
- // The queue of tests to run
578
- queue: [],
579
-
580
- // block until document ready
581
- blocking: true,
582
-
583
- // when enabled, show only failing tests
584
- // gets persisted through sessionStorage and can be changed in UI via checkbox
585
- hidepassed: false,
586
-
587
- // by default, run previously failed tests first
588
- // very useful in combination with "Hide passed tests" checked
589
- reorder: true,
590
-
591
- // by default, modify document.title when suite is done
592
- altertitle: true,
593
-
594
- // when enabled, all tests must call expect()
595
- requireExpects: false,
596
-
597
- // add checkboxes that are persisted in the query-string
598
- // when enabled, the id is set to `true` as a `QUnit.config` property
599
- urlConfig: [
600
- {
601
- id: "noglobals",
602
- label: "Check for Globals",
603
- tooltip: "Enabling this will test if any test introduces new properties on the `window` object. Stored as query-strings."
604
- },
605
- {
606
- id: "notrycatch",
607
- label: "No try-catch",
608
- tooltip: "Enabling this will run tests outside of a try-catch block. Makes debugging exceptions in IE reasonable. Stored as query-strings."
609
- }
610
- ],
611
-
612
- // Set of all modules.
613
- modules: {},
614
-
615
- // logging callback queues
616
- begin: [],
617
- done: [],
618
- log: [],
619
- testStart: [],
620
- testDone: [],
621
- moduleStart: [],
622
- moduleDone: []
623
- };
624
-
625
- // Initialize more QUnit.config and QUnit.urlParams
626
- (function() {
627
- var i,
628
- location = window.location || { search: "", protocol: "file:" },
629
- params = location.search.slice( 1 ).split( "&" ),
630
- length = params.length,
631
- urlParams = {},
632
- current;
633
-
634
- if ( params[ 0 ] ) {
635
- for ( i = 0; i < length; i++ ) {
636
- current = params[ i ].split( "=" );
637
- current[ 0 ] = decodeURIComponent( current[ 0 ] );
638
- // allow just a key to turn on a flag, e.g., test.html?noglobals
639
- current[ 1 ] = current[ 1 ] ? decodeURIComponent( current[ 1 ] ) : true;
640
- urlParams[ current[ 0 ] ] = current[ 1 ];
641
- }
642
- }
643
-
644
- QUnit.urlParams = urlParams;
645
-
646
- // String search anywhere in moduleName+testName
647
- config.filter = urlParams.filter;
648
-
649
- // Exact match of the module name
650
- config.module = urlParams.module;
651
-
652
- config.testNumber = parseInt( urlParams.testNumber, 10 ) || null;
653
-
654
- // Figure out if we're running the tests from a server or not
655
- QUnit.isLocal = location.protocol === "file:";
656
- }());
657
-
658
- // Export global variables, unless an 'exports' object exists,
659
- // in that case we assume we're in CommonJS (dealt with on the bottom of the script)
660
- if ( typeof exports === "undefined" ) {
661
- extend( window, QUnit );
662
-
663
- // Expose QUnit object
664
- window.QUnit = QUnit;
665
- }
666
-
667
- // Extend QUnit object,
668
- // these after set here because they should not be exposed as global functions
669
- extend( QUnit, {
670
- config: config,
671
-
672
- // Initialize the configuration options
673
- init: function() {
674
- extend( config, {
675
- stats: { all: 0, bad: 0 },
676
- moduleStats: { all: 0, bad: 0 },
677
- started: +new Date(),
678
- updateRate: 1000,
679
- blocking: false,
680
- autostart: true,
681
- autorun: false,
682
- filter: "",
683
- queue: [],
684
- semaphore: 0
685
- });
686
-
687
- var tests, banner, result,
688
- qunit = id( "qunit" );
689
-
690
- if ( qunit ) {
691
- qunit.innerHTML =
692
- "<h1 id='qunit-header'>" + escapeInnerText( document.title ) + "</h1>" +
693
- "<h2 id='qunit-banner'></h2>" +
694
- "<div id='qunit-testrunner-toolbar'></div>" +
695
- "<h2 id='qunit-userAgent'></h2>" +
696
- "<ol id='qunit-tests'></ol>";
697
- }
698
-
699
- tests = id( "qunit-tests" );
700
- banner = id( "qunit-banner" );
701
- result = id( "qunit-testresult" );
702
-
703
- if ( tests ) {
704
- tests.innerHTML = "";
705
- }
706
-
707
- if ( banner ) {
708
- banner.className = "";
709
- }
710
-
711
- if ( result ) {
712
- result.parentNode.removeChild( result );
713
- }
714
-
715
- if ( tests ) {
716
- result = document.createElement( "p" );
717
- result.id = "qunit-testresult";
718
- result.className = "result";
719
- tests.parentNode.insertBefore( result, tests );
720
- result.innerHTML = "Running...<br/>&nbsp;";
721
- }
722
- },
723
-
724
- // Resets the test setup. Useful for tests that modify the DOM.
725
- reset: function() {
726
- var fixture = id( "qunit-fixture" );
727
- if ( fixture ) {
728
- fixture.innerHTML = config.fixture;
729
- }
730
- },
731
-
732
- // Trigger an event on an element.
733
- // @example triggerEvent( document.body, "click" );
734
- triggerEvent: function( elem, type, event ) {
735
- if ( document.createEvent ) {
736
- event = document.createEvent( "MouseEvents" );
737
- event.initMouseEvent(type, true, true, elem.ownerDocument.defaultView,
738
- 0, 0, 0, 0, 0, false, false, false, false, 0, null);
739
-
740
- elem.dispatchEvent( event );
741
- } else if ( elem.fireEvent ) {
742
- elem.fireEvent( "on" + type );
743
- }
744
- },
745
-
746
- // Safe object type checking
747
- is: function( type, obj ) {
748
- return QUnit.objectType( obj ) == type;
749
- },
750
-
751
- objectType: function( obj ) {
752
- if ( typeof obj === "undefined" ) {
753
- return "undefined";
754
- // consider: typeof null === object
755
- }
756
- if ( obj === null ) {
757
- return "null";
758
- }
759
-
760
- var type = toString.call( obj ).match(/^\[object\s(.*)\]$/)[1] || "";
761
-
762
- switch ( type ) {
763
- case "Number":
764
- if ( isNaN(obj) ) {
765
- return "nan";
766
- }
767
- return "number";
768
- case "String":
769
- case "Boolean":
770
- case "Array":
771
- case "Date":
772
- case "RegExp":
773
- case "Function":
774
- return type.toLowerCase();
775
- }
776
- if ( typeof obj === "object" ) {
777
- return "object";
778
- }
779
- return undefined;
780
- },
781
-
782
- push: function( result, actual, expected, message ) {
783
- if ( !config.current ) {
784
- throw new Error( "assertion outside test context, was " + sourceFromStacktrace() );
785
- }
786
-
787
- var output, source,
788
- details = {
789
- module: config.current.module,
790
- name: config.current.testName,
791
- result: result,
792
- message: message,
793
- actual: actual,
794
- expected: expected
795
- };
796
-
797
- message = escapeInnerText( message ) || ( result ? "okay" : "failed" );
798
- message = "<span class='test-message'>" + message + "</span>";
799
- output = message;
800
-
801
- if ( !result ) {
802
- expected = escapeInnerText( QUnit.jsDump.parse(expected) );
803
- actual = escapeInnerText( QUnit.jsDump.parse(actual) );
804
- output += "<table><tr class='test-expected'><th>Expected: </th><td><pre>" + expected + "</pre></td></tr>";
805
-
806
- if ( actual != expected ) {
807
- output += "<tr class='test-actual'><th>Result: </th><td><pre>" + actual + "</pre></td></tr>";
808
- output += "<tr class='test-diff'><th>Diff: </th><td><pre>" + QUnit.diff( expected, actual ) + "</pre></td></tr>";
809
- }
810
-
811
- source = sourceFromStacktrace();
812
-
813
- if ( source ) {
814
- details.source = source;
815
- output += "<tr class='test-source'><th>Source: </th><td><pre>" + escapeInnerText( source ) + "</pre></td></tr>";
816
- }
817
-
818
- output += "</table>";
819
- }
820
-
821
- runLoggingCallbacks( "log", QUnit, details );
822
-
823
- config.current.assertions.push({
824
- result: !!result,
825
- message: output
826
- });
827
- },
828
-
829
- pushFailure: function( message, source, actual ) {
830
- if ( !config.current ) {
831
- throw new Error( "pushFailure() assertion outside test context, was " + sourceFromStacktrace(2) );
832
- }
833
-
834
- var output,
835
- details = {
836
- module: config.current.module,
837
- name: config.current.testName,
838
- result: false,
839
- message: message
840
- };
841
-
842
- message = escapeInnerText( message ) || "error";
843
- message = "<span class='test-message'>" + message + "</span>";
844
- output = message;
845
-
846
- output += "<table>";
847
-
848
- if ( actual ) {
849
- output += "<tr class='test-actual'><th>Result: </th><td><pre>" + escapeInnerText( actual ) + "</pre></td></tr>";
850
- }
851
-
852
- if ( source ) {
853
- details.source = source;
854
- output += "<tr class='test-source'><th>Source: </th><td><pre>" + escapeInnerText( source ) + "</pre></td></tr>";
855
- }
856
-
857
- output += "</table>";
858
-
859
- runLoggingCallbacks( "log", QUnit, details );
860
-
861
- config.current.assertions.push({
862
- result: false,
863
- message: output
864
- });
865
- },
866
-
867
- url: function( params ) {
868
- params = extend( extend( {}, QUnit.urlParams ), params );
869
- var key,
870
- querystring = "?";
871
-
872
- for ( key in params ) {
873
- if ( !hasOwn.call( params, key ) ) {
874
- continue;
875
- }
876
- querystring += encodeURIComponent( key ) + "=" +
877
- encodeURIComponent( params[ key ] ) + "&";
878
- }
879
- return window.location.pathname + querystring.slice( 0, -1 );
880
- },
881
-
882
- extend: extend,
883
- id: id,
884
- addEvent: addEvent
885
- // load, equiv, jsDump, diff: Attached later
886
- });
887
-
888
- /**
889
- * @deprecated: Created for backwards compatibility with test runner that set the hook function
890
- * into QUnit.{hook}, instead of invoking it and passing the hook function.
891
- * QUnit.constructor is set to the empty F() above so that we can add to it's prototype here.
892
- * Doing this allows us to tell if the following methods have been overwritten on the actual
893
- * QUnit object.
894
- */
895
- extend( QUnit.constructor.prototype, {
896
-
897
- // Logging callbacks; all receive a single argument with the listed properties
898
- // run test/logs.html for any related changes
899
- begin: registerLoggingCallback( "begin" ),
900
-
901
- // done: { failed, passed, total, runtime }
902
- done: registerLoggingCallback( "done" ),
903
-
904
- // log: { result, actual, expected, message }
905
- log: registerLoggingCallback( "log" ),
906
-
907
- // testStart: { name }
908
- testStart: registerLoggingCallback( "testStart" ),
909
-
910
- // testDone: { name, failed, passed, total }
911
- testDone: registerLoggingCallback( "testDone" ),
912
-
913
- // moduleStart: { name }
914
- moduleStart: registerLoggingCallback( "moduleStart" ),
915
-
916
- // moduleDone: { name, failed, passed, total }
917
- moduleDone: registerLoggingCallback( "moduleDone" )
918
- });
919
-
920
- if ( typeof document === "undefined" || document.readyState === "complete" ) {
921
- config.autorun = true;
922
- }
923
-
924
- QUnit.load = function() {
925
- runLoggingCallbacks( "begin", QUnit, {} );
926
-
927
- // Initialize the config, saving the execution queue
928
- var banner, filter, i, label, len, main, ol, toolbar, userAgent, val, urlConfigCheckboxes, moduleFilter,
929
- numModules = 0,
930
- moduleFilterHtml = "",
931
- urlConfigHtml = "",
932
- oldconfig = extend( {}, config );
933
-
934
- QUnit.init();
935
- extend(config, oldconfig);
936
-
937
- config.blocking = false;
938
-
939
- len = config.urlConfig.length;
940
-
941
- for ( i = 0; i < len; i++ ) {
942
- val = config.urlConfig[i];
943
- if ( typeof val === "string" ) {
944
- val = {
945
- id: val,
946
- label: val,
947
- tooltip: "[no tooltip available]"
948
- };
949
- }
950
- config[ val.id ] = QUnit.urlParams[ val.id ];
951
- urlConfigHtml += "<input id='qunit-urlconfig-" + val.id + "' name='" + val.id + "' type='checkbox'" + ( config[ val.id ] ? " checked='checked'" : "" ) + " title='" + val.tooltip + "'><label for='qunit-urlconfig-" + val.id + "' title='" + val.tooltip + "'>" + val.label + "</label>";
952
- }
953
-
954
- moduleFilterHtml += "<label for='qunit-modulefilter'>Module: </label><select id='qunit-modulefilter' name='modulefilter'><option value='' " + ( config.module === undefined ? "selected" : "" ) + ">< All Modules ></option>";
955
- for ( i in config.modules ) {
956
- if ( config.modules.hasOwnProperty( i ) ) {
957
- numModules += 1;
958
- moduleFilterHtml += "<option value='" + encodeURIComponent(i) + "' " + ( config.module === i ? "selected" : "" ) + ">" + i + "</option>";
959
- }
960
- }
961
- moduleFilterHtml += "</select>";
962
-
963
- // `userAgent` initialized at top of scope
964
- userAgent = id( "qunit-userAgent" );
965
- if ( userAgent ) {
966
- userAgent.innerHTML = navigator.userAgent;
967
- }
968
-
969
- // `banner` initialized at top of scope
970
- banner = id( "qunit-header" );
971
- if ( banner ) {
972
- banner.innerHTML = "<a href='" + QUnit.url({ filter: undefined, module: undefined, testNumber: undefined }) + "'>" + banner.innerHTML + "</a> ";
973
- }
974
-
975
- // `toolbar` initialized at top of scope
976
- toolbar = id( "qunit-testrunner-toolbar" );
977
- if ( toolbar ) {
978
- // `filter` initialized at top of scope
979
- filter = document.createElement( "input" );
980
- filter.type = "checkbox";
981
- filter.id = "qunit-filter-pass";
982
-
983
- addEvent( filter, "click", function() {
984
- var tmp,
985
- ol = document.getElementById( "qunit-tests" );
986
-
987
- if ( filter.checked ) {
988
- ol.className = ol.className + " hidepass";
989
- } else {
990
- tmp = " " + ol.className.replace( /[\n\t\r]/g, " " ) + " ";
991
- ol.className = tmp.replace( / hidepass /, " " );
992
- }
993
- if ( defined.sessionStorage ) {
994
- if (filter.checked) {
995
- sessionStorage.setItem( "qunit-filter-passed-tests", "true" );
996
- } else {
997
- sessionStorage.removeItem( "qunit-filter-passed-tests" );
998
- }
999
- }
1000
- });
1001
-
1002
- if ( config.hidepassed || defined.sessionStorage && sessionStorage.getItem( "qunit-filter-passed-tests" ) ) {
1003
- filter.checked = true;
1004
- // `ol` initialized at top of scope
1005
- ol = document.getElementById( "qunit-tests" );
1006
- ol.className = ol.className + " hidepass";
1007
- }
1008
- toolbar.appendChild( filter );
1009
-
1010
- // `label` initialized at top of scope
1011
- label = document.createElement( "label" );
1012
- label.setAttribute( "for", "qunit-filter-pass" );
1013
- label.setAttribute( "title", "Only show tests and assertons that fail. Stored in sessionStorage." );
1014
- label.innerHTML = "Hide passed tests";
1015
- toolbar.appendChild( label );
1016
-
1017
- urlConfigCheckboxes = document.createElement( 'span' );
1018
- urlConfigCheckboxes.innerHTML = urlConfigHtml;
1019
- addEvent( urlConfigCheckboxes, "change", function( event ) {
1020
- var params = {};
1021
- params[ event.target.name ] = event.target.checked ? true : undefined;
1022
- window.location = QUnit.url( params );
1023
- });
1024
- toolbar.appendChild( urlConfigCheckboxes );
1025
-
1026
- if (numModules > 1) {
1027
- moduleFilter = document.createElement( 'span' );
1028
- moduleFilter.setAttribute( 'id', 'qunit-modulefilter-container' );
1029
- moduleFilter.innerHTML = moduleFilterHtml;
1030
- addEvent( moduleFilter, "change", function() {
1031
- var selectBox = moduleFilter.getElementsByTagName("select")[0],
1032
- selectedModule = decodeURIComponent(selectBox.options[selectBox.selectedIndex].value);
1033
-
1034
- window.location = QUnit.url( { module: ( selectedModule === "" ) ? undefined : selectedModule } );
1035
- });
1036
- toolbar.appendChild(moduleFilter);
1037
- }
1038
- }
1039
-
1040
- // `main` initialized at top of scope
1041
- main = id( "qunit-fixture" );
1042
- if ( main ) {
1043
- config.fixture = main.innerHTML;
1044
- }
1045
-
1046
- if ( config.autostart ) {
1047
- QUnit.start();
1048
- }
1049
- };
1050
-
1051
- addEvent( window, "load", QUnit.load );
1052
-
1053
- // `onErrorFnPrev` initialized at top of scope
1054
- // Preserve other handlers
1055
- onErrorFnPrev = window.onerror;
1056
-
1057
- // Cover uncaught exceptions
1058
- // Returning true will surpress the default browser handler,
1059
- // returning false will let it run.
1060
- window.onerror = function ( error, filePath, linerNr ) {
1061
- var ret = false;
1062
- if ( onErrorFnPrev ) {
1063
- ret = onErrorFnPrev( error, filePath, linerNr );
1064
- }
1065
-
1066
- // Treat return value as window.onerror itself does,
1067
- // Only do our handling if not surpressed.
1068
- if ( ret !== true ) {
1069
- if ( QUnit.config.current ) {
1070
- if ( QUnit.config.current.ignoreGlobalErrors ) {
1071
- return true;
1072
- }
1073
- QUnit.pushFailure( error, filePath + ":" + linerNr );
1074
- } else {
1075
- QUnit.test( "global failure", extend( function() {
1076
- QUnit.pushFailure( error, filePath + ":" + linerNr );
1077
- }, { validTest: validTest } ) );
1078
- }
1079
- return false;
1080
- }
1081
-
1082
- return ret;
1083
- };
1084
-
1085
- function done() {
1086
- config.autorun = true;
1087
-
1088
- // Log the last module results
1089
- if ( config.currentModule ) {
1090
- runLoggingCallbacks( "moduleDone", QUnit, {
1091
- name: config.currentModule,
1092
- failed: config.moduleStats.bad,
1093
- passed: config.moduleStats.all - config.moduleStats.bad,
1094
- total: config.moduleStats.all
1095
- });
1096
- }
1097
-
1098
- var i, key,
1099
- banner = id( "qunit-banner" ),
1100
- tests = id( "qunit-tests" ),
1101
- runtime = +new Date() - config.started,
1102
- passed = config.stats.all - config.stats.bad,
1103
- html = [
1104
- "Tests completed in ",
1105
- runtime,
1106
- " milliseconds.<br/>",
1107
- "<span class='passed'>",
1108
- passed,
1109
- "</span> tests of <span class='total'>",
1110
- config.stats.all,
1111
- "</span> passed, <span class='failed'>",
1112
- config.stats.bad,
1113
- "</span> failed."
1114
- ].join( "" );
1115
-
1116
- if ( banner ) {
1117
- banner.className = ( config.stats.bad ? "qunit-fail" : "qunit-pass" );
1118
- }
1119
-
1120
- if ( tests ) {
1121
- id( "qunit-testresult" ).innerHTML = html;
1122
- }
1123
-
1124
- if ( config.altertitle && typeof document !== "undefined" && document.title ) {
1125
- // show ✖ for good, ✔ for bad suite result in title
1126
- // use escape sequences in case file gets loaded with non-utf-8-charset
1127
- document.title = [
1128
- ( config.stats.bad ? "\u2716" : "\u2714" ),
1129
- document.title.replace( /^[\u2714\u2716] /i, "" )
1130
- ].join( " " );
1131
- }
1132
-
1133
- // clear own sessionStorage items if all tests passed
1134
- if ( config.reorder && defined.sessionStorage && config.stats.bad === 0 ) {
1135
- // `key` & `i` initialized at top of scope
1136
- for ( i = 0; i < sessionStorage.length; i++ ) {
1137
- key = sessionStorage.key( i++ );
1138
- if ( key.indexOf( "qunit-test-" ) === 0 ) {
1139
- sessionStorage.removeItem( key );
1140
- }
1141
- }
1142
- }
1143
-
1144
- // scroll back to top to show results
1145
- if ( window.scrollTo ) {
1146
- window.scrollTo(0, 0);
1147
- }
1148
-
1149
- runLoggingCallbacks( "done", QUnit, {
1150
- failed: config.stats.bad,
1151
- passed: passed,
1152
- total: config.stats.all,
1153
- runtime: runtime
1154
- });
1155
- }
1156
-
1157
- /** @return Boolean: true if this test should be ran */
1158
- function validTest( test ) {
1159
- var include,
1160
- filter = config.filter && config.filter.toLowerCase(),
1161
- module = config.module && config.module.toLowerCase(),
1162
- fullName = (test.module + ": " + test.testName).toLowerCase();
1163
-
1164
- // Internally-generated tests are always valid
1165
- if ( test.callback && test.callback.validTest === validTest ) {
1166
- delete test.callback.validTest;
1167
- return true;
1168
- }
1169
-
1170
- if ( config.testNumber ) {
1171
- return test.testNumber === config.testNumber;
1172
- }
1173
-
1174
- if ( module && ( !test.module || test.module.toLowerCase() !== module ) ) {
1175
- return false;
1176
- }
1177
-
1178
- if ( !filter ) {
1179
- return true;
1180
- }
1181
-
1182
- include = filter.charAt( 0 ) !== "!";
1183
- if ( !include ) {
1184
- filter = filter.slice( 1 );
1185
- }
1186
-
1187
- // If the filter matches, we need to honour include
1188
- if ( fullName.indexOf( filter ) !== -1 ) {
1189
- return include;
1190
- }
1191
-
1192
- // Otherwise, do the opposite
1193
- return !include;
1194
- }
1195
-
1196
- // so far supports only Firefox, Chrome and Opera (buggy), Safari (for real exceptions)
1197
- // Later Safari and IE10 are supposed to support error.stack as well
1198
- // See also https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error/Stack
1199
- function extractStacktrace( e, offset ) {
1200
- offset = offset === undefined ? 3 : offset;
1201
-
1202
- var stack, include, i, regex;
1203
-
1204
- if ( e.stacktrace ) {
1205
- // Opera
1206
- return e.stacktrace.split( "\n" )[ offset + 3 ];
1207
- } else if ( e.stack ) {
1208
- // Firefox, Chrome
1209
- stack = e.stack.split( "\n" );
1210
- if (/^error$/i.test( stack[0] ) ) {
1211
- stack.shift();
1212
- }
1213
- if ( fileName ) {
1214
- include = [];
1215
- for ( i = offset; i < stack.length; i++ ) {
1216
- if ( stack[ i ].indexOf( fileName ) != -1 ) {
1217
- break;
1218
- }
1219
- include.push( stack[ i ] );
1220
- }
1221
- if ( include.length ) {
1222
- return include.join( "\n" );
1223
- }
1224
- }
1225
- return stack[ offset ];
1226
- } else if ( e.sourceURL ) {
1227
- // Safari, PhantomJS
1228
- // hopefully one day Safari provides actual stacktraces
1229
- // exclude useless self-reference for generated Error objects
1230
- if ( /qunit.js$/.test( e.sourceURL ) ) {
1231
- return;
1232
- }
1233
- // for actual exceptions, this is useful
1234
- return e.sourceURL + ":" + e.line;
1235
- }
1236
- }
1237
- function sourceFromStacktrace( offset ) {
1238
- try {
1239
- throw new Error();
1240
- } catch ( e ) {
1241
- return extractStacktrace( e, offset );
1242
- }
1243
- }
1244
-
1245
- function escapeInnerText( s ) {
1246
- if ( !s ) {
1247
- return "";
1248
- }
1249
- s = s + "";
1250
- return s.replace( /[\&<>]/g, function( s ) {
1251
- switch( s ) {
1252
- case "&": return "&amp;";
1253
- case "<": return "&lt;";
1254
- case ">": return "&gt;";
1255
- default: return s;
1256
- }
1257
- });
1258
- }
1259
-
1260
- function synchronize( callback, last ) {
1261
- config.queue.push( callback );
1262
-
1263
- if ( config.autorun && !config.blocking ) {
1264
- process( last );
1265
- }
1266
- }
1267
-
1268
- function process( last ) {
1269
- function next() {
1270
- process( last );
1271
- }
1272
- var start = new Date().getTime();
1273
- config.depth = config.depth ? config.depth + 1 : 1;
1274
-
1275
- while ( config.queue.length && !config.blocking ) {
1276
- if ( !defined.setTimeout || config.updateRate <= 0 || ( ( new Date().getTime() - start ) < config.updateRate ) ) {
1277
- config.queue.shift()();
1278
- } else {
1279
- window.setTimeout( next, 13 );
1280
- break;
1281
- }
1282
- }
1283
- config.depth--;
1284
- if ( last && !config.blocking && !config.queue.length && config.depth === 0 ) {
1285
- done();
1286
- }
1287
- }
1288
-
1289
- function saveGlobal() {
1290
- config.pollution = [];
1291
-
1292
- if ( config.noglobals ) {
1293
- for ( var key in window ) {
1294
- // in Opera sometimes DOM element ids show up here, ignore them
1295
- if ( !hasOwn.call( window, key ) || /^qunit-test-output/.test( key ) ) {
1296
- continue;
1297
- }
1298
- config.pollution.push( key );
1299
- }
1300
- }
1301
- }
1302
-
1303
- function checkPollution( name ) {
1304
- var newGlobals,
1305
- deletedGlobals,
1306
- old = config.pollution;
1307
-
1308
- saveGlobal();
1309
-
1310
- newGlobals = diff( config.pollution, old );
1311
- if ( newGlobals.length > 0 ) {
1312
- QUnit.pushFailure( "Introduced global variable(s): " + newGlobals.join(", ") );
1313
- }
1314
-
1315
- deletedGlobals = diff( old, config.pollution );
1316
- if ( deletedGlobals.length > 0 ) {
1317
- QUnit.pushFailure( "Deleted global variable(s): " + deletedGlobals.join(", ") );
1318
- }
1319
- }
1320
-
1321
- // returns a new Array with the elements that are in a but not in b
1322
- function diff( a, b ) {
1323
- var i, j,
1324
- result = a.slice();
1325
-
1326
- for ( i = 0; i < result.length; i++ ) {
1327
- for ( j = 0; j < b.length; j++ ) {
1328
- if ( result[i] === b[j] ) {
1329
- result.splice( i, 1 );
1330
- i--;
1331
- break;
1332
- }
1333
- }
1334
- }
1335
- return result;
1336
- }
1337
-
1338
- function extend( a, b ) {
1339
- for ( var prop in b ) {
1340
- if ( b[ prop ] === undefined ) {
1341
- delete a[ prop ];
1342
-
1343
- // Avoid "Member not found" error in IE8 caused by setting window.constructor
1344
- } else if ( prop !== "constructor" || a !== window ) {
1345
- a[ prop ] = b[ prop ];
1346
- }
1347
- }
1348
-
1349
- return a;
1350
- }
1351
-
1352
- function addEvent( elem, type, fn ) {
1353
- if ( elem.addEventListener ) {
1354
- elem.addEventListener( type, fn, false );
1355
- } else if ( elem.attachEvent ) {
1356
- elem.attachEvent( "on" + type, fn );
1357
- } else {
1358
- fn();
1359
- }
1360
- }
1361
-
1362
- function id( name ) {
1363
- return !!( typeof document !== "undefined" && document && document.getElementById ) &&
1364
- document.getElementById( name );
1365
- }
1366
-
1367
- function registerLoggingCallback( key ) {
1368
- return function( callback ) {
1369
- config[key].push( callback );
1370
- };
1371
- }
1372
-
1373
- // Supports deprecated method of completely overwriting logging callbacks
1374
- function runLoggingCallbacks( key, scope, args ) {
1375
- //debugger;
1376
- var i, callbacks;
1377
- if ( QUnit.hasOwnProperty( key ) ) {
1378
- QUnit[ key ].call(scope, args );
1379
- } else {
1380
- callbacks = config[ key ];
1381
- for ( i = 0; i < callbacks.length; i++ ) {
1382
- callbacks[ i ].call( scope, args );
1383
- }
1384
- }
1385
- }
1386
-
1387
- // Test for equality any JavaScript type.
1388
- // Author: Philippe Rathé <prathe@gmail.com>
1389
- QUnit.equiv = (function() {
1390
-
1391
- // Call the o related callback with the given arguments.
1392
- function bindCallbacks( o, callbacks, args ) {
1393
- var prop = QUnit.objectType( o );
1394
- if ( prop ) {
1395
- if ( QUnit.objectType( callbacks[ prop ] ) === "function" ) {
1396
- return callbacks[ prop ].apply( callbacks, args );
1397
- } else {
1398
- return callbacks[ prop ]; // or undefined
1399
- }
1400
- }
1401
- }
1402
-
1403
- // the real equiv function
1404
- var innerEquiv,
1405
- // stack to decide between skip/abort functions
1406
- callers = [],
1407
- // stack to avoiding loops from circular referencing
1408
- parents = [],
1409
-
1410
- getProto = Object.getPrototypeOf || function ( obj ) {
1411
- return obj.__proto__;
1412
- },
1413
- callbacks = (function () {
1414
-
1415
- // for string, boolean, number and null
1416
- function useStrictEquality( b, a ) {
1417
- if ( b instanceof a.constructor || a instanceof b.constructor ) {
1418
- // to catch short annotaion VS 'new' annotation of a
1419
- // declaration
1420
- // e.g. var i = 1;
1421
- // var j = new Number(1);
1422
- return a == b;
1423
- } else {
1424
- return a === b;
1425
- }
1426
- }
1427
-
1428
- return {
1429
- "string": useStrictEquality,
1430
- "boolean": useStrictEquality,
1431
- "number": useStrictEquality,
1432
- "null": useStrictEquality,
1433
- "undefined": useStrictEquality,
1434
-
1435
- "nan": function( b ) {
1436
- return isNaN( b );
1437
- },
1438
-
1439
- "date": function( b, a ) {
1440
- return QUnit.objectType( b ) === "date" && a.valueOf() === b.valueOf();
1441
- },
1442
-
1443
- "regexp": function( b, a ) {
1444
- return QUnit.objectType( b ) === "regexp" &&
1445
- // the regex itself
1446
- a.source === b.source &&
1447
- // and its modifers
1448
- a.global === b.global &&
1449
- // (gmi) ...
1450
- a.ignoreCase === b.ignoreCase &&
1451
- a.multiline === b.multiline &&
1452
- a.sticky === b.sticky;
1453
- },
1454
-
1455
- // - skip when the property is a method of an instance (OOP)
1456
- // - abort otherwise,
1457
- // initial === would have catch identical references anyway
1458
- "function": function() {
1459
- var caller = callers[callers.length - 1];
1460
- return caller !== Object && typeof caller !== "undefined";
1461
- },
1462
-
1463
- "array": function( b, a ) {
1464
- var i, j, len, loop;
1465
-
1466
- // b could be an object literal here
1467
- if ( QUnit.objectType( b ) !== "array" ) {
1468
- return false;
1469
- }
1470
-
1471
- len = a.length;
1472
- if ( len !== b.length ) {
1473
- // safe and faster
1474
- return false;
1475
- }
1476
-
1477
- // track reference to avoid circular references
1478
- parents.push( a );
1479
- for ( i = 0; i < len; i++ ) {
1480
- loop = false;
1481
- for ( j = 0; j < parents.length; j++ ) {
1482
- if ( parents[j] === a[i] ) {
1483
- loop = true;// dont rewalk array
1484
- }
1485
- }
1486
- if ( !loop && !innerEquiv(a[i], b[i]) ) {
1487
- parents.pop();
1488
- return false;
1489
- }
1490
- }
1491
- parents.pop();
1492
- return true;
1493
- },
1494
-
1495
- "object": function( b, a ) {
1496
- var i, j, loop,
1497
- // Default to true
1498
- eq = true,
1499
- aProperties = [],
1500
- bProperties = [];
1501
-
1502
- // comparing constructors is more strict than using
1503
- // instanceof
1504
- if ( a.constructor !== b.constructor ) {
1505
- // Allow objects with no prototype to be equivalent to
1506
- // objects with Object as their constructor.
1507
- if ( !(( getProto(a) === null && getProto(b) === Object.prototype ) ||
1508
- ( getProto(b) === null && getProto(a) === Object.prototype ) ) ) {
1509
- return false;
1510
- }
1511
- }
1512
-
1513
- // stack constructor before traversing properties
1514
- callers.push( a.constructor );
1515
- // track reference to avoid circular references
1516
- parents.push( a );
1517
-
1518
- for ( i in a ) { // be strict: don't ensures hasOwnProperty
1519
- // and go deep
1520
- loop = false;
1521
- for ( j = 0; j < parents.length; j++ ) {
1522
- if ( parents[j] === a[i] ) {
1523
- // don't go down the same path twice
1524
- loop = true;
1525
- }
1526
- }
1527
- aProperties.push(i); // collect a's properties
1528
-
1529
- if (!loop && !innerEquiv( a[i], b[i] ) ) {
1530
- eq = false;
1531
- break;
1532
- }
1533
- }
1534
-
1535
- callers.pop(); // unstack, we are done
1536
- parents.pop();
1537
-
1538
- for ( i in b ) {
1539
- bProperties.push( i ); // collect b's properties
1540
- }
1541
-
1542
- // Ensures identical properties name
1543
- return eq && innerEquiv( aProperties.sort(), bProperties.sort() );
1544
- }
1545
- };
1546
- }());
1547
-
1548
- innerEquiv = function() { // can take multiple arguments
1549
- var args = [].slice.apply( arguments );
1550
- if ( args.length < 2 ) {
1551
- return true; // end transition
1552
- }
1553
-
1554
- return (function( a, b ) {
1555
- if ( a === b ) {
1556
- return true; // catch the most you can
1557
- } else if ( a === null || b === null || typeof a === "undefined" ||
1558
- typeof b === "undefined" ||
1559
- QUnit.objectType(a) !== QUnit.objectType(b) ) {
1560
- return false; // don't lose time with error prone cases
1561
- } else {
1562
- return bindCallbacks(a, callbacks, [ b, a ]);
1563
- }
1564
-
1565
- // apply transition with (1..n) arguments
1566
- }( args[0], args[1] ) && arguments.callee.apply( this, args.splice(1, args.length - 1 )) );
1567
- };
1568
-
1569
- return innerEquiv;
1570
- }());
1571
-
1572
- /**
1573
- * jsDump Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com |
1574
- * http://flesler.blogspot.com Licensed under BSD
1575
- * (http://www.opensource.org/licenses/bsd-license.php) Date: 5/15/2008
1576
- *
1577
- * @projectDescription Advanced and extensible data dumping for Javascript.
1578
- * @version 1.0.0
1579
- * @author Ariel Flesler
1580
- * @link {http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html}
1581
- */
1582
- QUnit.jsDump = (function() {
1583
- function quote( str ) {
1584
- return '"' + str.toString().replace( /"/g, '\\"' ) + '"';
1585
- }
1586
- function literal( o ) {
1587
- return o + "";
1588
- }
1589
- function join( pre, arr, post ) {
1590
- var s = jsDump.separator(),
1591
- base = jsDump.indent(),
1592
- inner = jsDump.indent(1);
1593
- if ( arr.join ) {
1594
- arr = arr.join( "," + s + inner );
1595
- }
1596
- if ( !arr ) {
1597
- return pre + post;
1598
- }
1599
- return [ pre, inner + arr, base + post ].join(s);
1600
- }
1601
- function array( arr, stack ) {
1602
- var i = arr.length, ret = new Array(i);
1603
- this.up();
1604
- while ( i-- ) {
1605
- ret[i] = this.parse( arr[i] , undefined , stack);
1606
- }
1607
- this.down();
1608
- return join( "[", ret, "]" );
1609
- }
1610
-
1611
- var reName = /^function (\w+)/,
1612
- jsDump = {
1613
- parse: function( obj, type, stack ) { //type is used mostly internally, you can fix a (custom)type in advance
1614
- stack = stack || [ ];
1615
- var inStack, res,
1616
- parser = this.parsers[ type || this.typeOf(obj) ];
1617
-
1618
- type = typeof parser;
1619
- inStack = inArray( obj, stack );
1620
-
1621
- if ( inStack != -1 ) {
1622
- return "recursion(" + (inStack - stack.length) + ")";
1623
- }
1624
- //else
1625
- if ( type == "function" ) {
1626
- stack.push( obj );
1627
- res = parser.call( this, obj, stack );
1628
- stack.pop();
1629
- return res;
1630
- }
1631
- // else
1632
- return ( type == "string" ) ? parser : this.parsers.error;
1633
- },
1634
- typeOf: function( obj ) {
1635
- var type;
1636
- if ( obj === null ) {
1637
- type = "null";
1638
- } else if ( typeof obj === "undefined" ) {
1639
- type = "undefined";
1640
- } else if ( QUnit.is( "regexp", obj) ) {
1641
- type = "regexp";
1642
- } else if ( QUnit.is( "date", obj) ) {
1643
- type = "date";
1644
- } else if ( QUnit.is( "function", obj) ) {
1645
- type = "function";
1646
- } else if ( typeof obj.setInterval !== undefined && typeof obj.document !== "undefined" && typeof obj.nodeType === "undefined" ) {
1647
- type = "window";
1648
- } else if ( obj.nodeType === 9 ) {
1649
- type = "document";
1650
- } else if ( obj.nodeType ) {
1651
- type = "node";
1652
- } else if (
1653
- // native arrays
1654
- toString.call( obj ) === "[object Array]" ||
1655
- // NodeList objects
1656
- ( typeof obj.length === "number" && typeof obj.item !== "undefined" && ( obj.length ? obj.item(0) === obj[0] : ( obj.item( 0 ) === null && typeof obj[0] === "undefined" ) ) )
1657
- ) {
1658
- type = "array";
1659
- } else {
1660
- type = typeof obj;
1661
- }
1662
- return type;
1663
- },
1664
- separator: function() {
1665
- return this.multiline ? this.HTML ? "<br />" : "\n" : this.HTML ? "&nbsp;" : " ";
1666
- },
1667
- indent: function( extra ) {// extra can be a number, shortcut for increasing-calling-decreasing
1668
- if ( !this.multiline ) {
1669
- return "";
1670
- }
1671
- var chr = this.indentChar;
1672
- if ( this.HTML ) {
1673
- chr = chr.replace( /\t/g, " " ).replace( / /g, "&nbsp;" );
1674
- }
1675
- return new Array( this._depth_ + (extra||0) ).join(chr);
1676
- },
1677
- up: function( a ) {
1678
- this._depth_ += a || 1;
1679
- },
1680
- down: function( a ) {
1681
- this._depth_ -= a || 1;
1682
- },
1683
- setParser: function( name, parser ) {
1684
- this.parsers[name] = parser;
1685
- },
1686
- // The next 3 are exposed so you can use them
1687
- quote: quote,
1688
- literal: literal,
1689
- join: join,
1690
- //
1691
- _depth_: 1,
1692
- // This is the list of parsers, to modify them, use jsDump.setParser
1693
- parsers: {
1694
- window: "[Window]",
1695
- document: "[Document]",
1696
- error: "[ERROR]", //when no parser is found, shouldn"t happen
1697
- unknown: "[Unknown]",
1698
- "null": "null",
1699
- "undefined": "undefined",
1700
- "function": function( fn ) {
1701
- var ret = "function",
1702
- name = "name" in fn ? fn.name : (reName.exec(fn) || [])[1];//functions never have name in IE
1703
-
1704
- if ( name ) {
1705
- ret += " " + name;
1706
- }
1707
- ret += "( ";
1708
-
1709
- ret = [ ret, QUnit.jsDump.parse( fn, "functionArgs" ), "){" ].join( "" );
1710
- return join( ret, QUnit.jsDump.parse(fn,"functionCode" ), "}" );
1711
- },
1712
- array: array,
1713
- nodelist: array,
1714
- "arguments": array,
1715
- object: function( map, stack ) {
1716
- var ret = [ ], keys, key, val, i;
1717
- QUnit.jsDump.up();
1718
- if ( Object.keys ) {
1719
- keys = Object.keys( map );
1720
- } else {
1721
- keys = [];
1722
- for ( key in map ) {
1723
- keys.push( key );
1724
- }
1725
- }
1726
- keys.sort();
1727
- for ( i = 0; i < keys.length; i++ ) {
1728
- key = keys[ i ];
1729
- val = map[ key ];
1730
- ret.push( QUnit.jsDump.parse( key, "key" ) + ": " + QUnit.jsDump.parse( val, undefined, stack ) );
1731
- }
1732
- QUnit.jsDump.down();
1733
- return join( "{", ret, "}" );
1734
- },
1735
- node: function( node ) {
1736
- var a, val,
1737
- open = QUnit.jsDump.HTML ? "&lt;" : "<",
1738
- close = QUnit.jsDump.HTML ? "&gt;" : ">",
1739
- tag = node.nodeName.toLowerCase(),
1740
- ret = open + tag;
1741
-
1742
- for ( a in QUnit.jsDump.DOMAttrs ) {
1743
- val = node[ QUnit.jsDump.DOMAttrs[a] ];
1744
- if ( val ) {
1745
- ret += " " + a + "=" + QUnit.jsDump.parse( val, "attribute" );
1746
- }
1747
- }
1748
- return ret + close + open + "/" + tag + close;
1749
- },
1750
- functionArgs: function( fn ) {//function calls it internally, it's the arguments part of the function
1751
- var args,
1752
- l = fn.length;
1753
-
1754
- if ( !l ) {
1755
- return "";
1756
- }
1757
-
1758
- args = new Array(l);
1759
- while ( l-- ) {
1760
- args[l] = String.fromCharCode(97+l);//97 is 'a'
1761
- }
1762
- return " " + args.join( ", " ) + " ";
1763
- },
1764
- key: quote, //object calls it internally, the key part of an item in a map
1765
- functionCode: "[code]", //function calls it internally, it's the content of the function
1766
- attribute: quote, //node calls it internally, it's an html attribute value
1767
- string: quote,
1768
- date: quote,
1769
- regexp: literal, //regex
1770
- number: literal,
1771
- "boolean": literal
1772
- },
1773
- DOMAttrs: {
1774
- //attributes to dump from nodes, name=>realName
1775
- id: "id",
1776
- name: "name",
1777
- "class": "className"
1778
- },
1779
- HTML: false,//if true, entities are escaped ( <, >, \t, space and \n )
1780
- indentChar: " ",//indentation unit
1781
- multiline: true //if true, items in a collection, are separated by a \n, else just a space.
1782
- };
1783
-
1784
- return jsDump;
1785
- }());
1786
-
1787
- // from Sizzle.js
1788
- function getText( elems ) {
1789
- var i, elem,
1790
- ret = "";
1791
-
1792
- for ( i = 0; elems[i]; i++ ) {
1793
- elem = elems[i];
1794
-
1795
- // Get the text from text nodes and CDATA nodes
1796
- if ( elem.nodeType === 3 || elem.nodeType === 4 ) {
1797
- ret += elem.nodeValue;
1798
-
1799
- // Traverse everything else, except comment nodes
1800
- } else if ( elem.nodeType !== 8 ) {
1801
- ret += getText( elem.childNodes );
1802
- }
1803
- }
1804
-
1805
- return ret;
1806
- }
1807
-
1808
- // from jquery.js
1809
- function inArray( elem, array ) {
1810
- if ( array.indexOf ) {
1811
- return array.indexOf( elem );
1812
- }
1813
-
1814
- for ( var i = 0, length = array.length; i < length; i++ ) {
1815
- if ( array[ i ] === elem ) {
1816
- return i;
1817
- }
1818
- }
1819
-
1820
- return -1;
1821
- }
1822
-
1823
- /*
1824
- * Javascript Diff Algorithm
1825
- * By John Resig (http://ejohn.org/)
1826
- * Modified by Chu Alan "sprite"
1827
- *
1828
- * Released under the MIT license.
1829
- *
1830
- * More Info:
1831
- * http://ejohn.org/projects/javascript-diff-algorithm/
1832
- *
1833
- * Usage: QUnit.diff(expected, actual)
1834
- *
1835
- * QUnit.diff( "the quick brown fox jumped over", "the quick fox jumps over" ) == "the quick <del>brown </del> fox <del>jumped </del><ins>jumps </ins> over"
1836
- */
1837
- QUnit.diff = (function() {
1838
- function diff( o, n ) {
1839
- var i,
1840
- ns = {},
1841
- os = {};
1842
-
1843
- for ( i = 0; i < n.length; i++ ) {
1844
- if ( ns[ n[i] ] == null ) {
1845
- ns[ n[i] ] = {
1846
- rows: [],
1847
- o: null
1848
- };
1849
- }
1850
- ns[ n[i] ].rows.push( i );
1851
- }
1852
-
1853
- for ( i = 0; i < o.length; i++ ) {
1854
- if ( os[ o[i] ] == null ) {
1855
- os[ o[i] ] = {
1856
- rows: [],
1857
- n: null
1858
- };
1859
- }
1860
- os[ o[i] ].rows.push( i );
1861
- }
1862
-
1863
- for ( i in ns ) {
1864
- if ( !hasOwn.call( ns, i ) ) {
1865
- continue;
1866
- }
1867
- if ( ns[i].rows.length == 1 && typeof os[i] != "undefined" && os[i].rows.length == 1 ) {
1868
- n[ ns[i].rows[0] ] = {
1869
- text: n[ ns[i].rows[0] ],
1870
- row: os[i].rows[0]
1871
- };
1872
- o[ os[i].rows[0] ] = {
1873
- text: o[ os[i].rows[0] ],
1874
- row: ns[i].rows[0]
1875
- };
1876
- }
1877
- }
1878
-
1879
- for ( i = 0; i < n.length - 1; i++ ) {
1880
- if ( n[i].text != null && n[ i + 1 ].text == null && n[i].row + 1 < o.length && o[ n[i].row + 1 ].text == null &&
1881
- n[ i + 1 ] == o[ n[i].row + 1 ] ) {
1882
-
1883
- n[ i + 1 ] = {
1884
- text: n[ i + 1 ],
1885
- row: n[i].row + 1
1886
- };
1887
- o[ n[i].row + 1 ] = {
1888
- text: o[ n[i].row + 1 ],
1889
- row: i + 1
1890
- };
1891
- }
1892
- }
1893
-
1894
- for ( i = n.length - 1; i > 0; i-- ) {
1895
- if ( n[i].text != null && n[ i - 1 ].text == null && n[i].row > 0 && o[ n[i].row - 1 ].text == null &&
1896
- n[ i - 1 ] == o[ n[i].row - 1 ]) {
1897
-
1898
- n[ i - 1 ] = {
1899
- text: n[ i - 1 ],
1900
- row: n[i].row - 1
1901
- };
1902
- o[ n[i].row - 1 ] = {
1903
- text: o[ n[i].row - 1 ],
1904
- row: i - 1
1905
- };
1906
- }
1907
- }
1908
-
1909
- return {
1910
- o: o,
1911
- n: n
1912
- };
1913
- }
1914
-
1915
- return function( o, n ) {
1916
- o = o.replace( /\s+$/, "" );
1917
- n = n.replace( /\s+$/, "" );
1918
-
1919
- var i, pre,
1920
- str = "",
1921
- out = diff( o === "" ? [] : o.split(/\s+/), n === "" ? [] : n.split(/\s+/) ),
1922
- oSpace = o.match(/\s+/g),
1923
- nSpace = n.match(/\s+/g);
1924
-
1925
- if ( oSpace == null ) {
1926
- oSpace = [ " " ];
1927
- }
1928
- else {
1929
- oSpace.push( " " );
1930
- }
1931
-
1932
- if ( nSpace == null ) {
1933
- nSpace = [ " " ];
1934
- }
1935
- else {
1936
- nSpace.push( " " );
1937
- }
1938
-
1939
- if ( out.n.length === 0 ) {
1940
- for ( i = 0; i < out.o.length; i++ ) {
1941
- str += "<del>" + out.o[i] + oSpace[i] + "</del>";
1942
- }
1943
- }
1944
- else {
1945
- if ( out.n[0].text == null ) {
1946
- for ( n = 0; n < out.o.length && out.o[n].text == null; n++ ) {
1947
- str += "<del>" + out.o[n] + oSpace[n] + "</del>";
1948
- }
1949
- }
1950
-
1951
- for ( i = 0; i < out.n.length; i++ ) {
1952
- if (out.n[i].text == null) {
1953
- str += "<ins>" + out.n[i] + nSpace[i] + "</ins>";
1954
- }
1955
- else {
1956
- // `pre` initialized at top of scope
1957
- pre = "";
1958
-
1959
- for ( n = out.n[i].row + 1; n < out.o.length && out.o[n].text == null; n++ ) {
1960
- pre += "<del>" + out.o[n] + oSpace[n] + "</del>";
1961
- }
1962
- str += " " + out.n[i].text + nSpace[i] + pre;
1963
- }
1964
- }
1965
- }
1966
-
1967
- return str;
1968
- };
1969
- }());
1970
-
1971
- // for CommonJS enviroments, export everything
1972
- if ( typeof exports !== "undefined" ) {
1973
- extend(exports, QUnit);
1974
- }
1975
-
1976
- // get at whatever the global object is, like window in browsers
1977
- }( (function() {return this;}.call()) ));