Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed node modules, updated deps

  • Loading branch information...
commit 12718081a28420081bfb714a5edc6f28c604c67b 1 parent 9cc3977
@josh3ennett authored
Showing with 2 additions and 27,884 deletions.
  1. +2 −0  .gitignore
  2. +0 −1  node_modules/.bin/cake
  3. +0 −6 node_modules/.bin/cake.cmd
  4. +0 −1  node_modules/.bin/coffee
  5. +0 −6 node_modules/.bin/coffee.cmd
  6. +0 −1  node_modules/.bin/docco
  7. +0 −1  node_modules/.bin/qunit
  8. +0 −1  node_modules/closure-compiler/.npmignore
  9. +0 −2  node_modules/closure-compiler/Cakefile
  10. +0 −26 node_modules/closure-compiler/README.md
  11. +0 −72 node_modules/closure-compiler/lib/index.js
  12. BIN  node_modules/closure-compiler/lib/vendor/compiler.jar
  13. +0 −22 node_modules/closure-compiler/package.json
  14. +0 −84 node_modules/closure-compiler/src/index.coffee
  15. +0 −11 node_modules/coffee-script/.npmignore
  16. +0 −1  node_modules/coffee-script/CNAME
  17. +0 −22 node_modules/coffee-script/LICENSE
  18. +0 −51 node_modules/coffee-script/README
  19. +0 −78 node_modules/coffee-script/Rakefile
  20. +0 −7 node_modules/coffee-script/bin/cake
  21. +0 −7 node_modules/coffee-script/bin/coffee
  22. +0 −44 node_modules/coffee-script/extras/jsl.conf
  23. +0 −92 node_modules/coffee-script/lib/coffee-script/browser.js
  24. +0 −111 node_modules/coffee-script/lib/coffee-script/cake.js
  25. +0 −167 node_modules/coffee-script/lib/coffee-script/coffee-script.js
  26. +0 −500 node_modules/coffee-script/lib/coffee-script/command.js
  27. +0 −606 node_modules/coffee-script/lib/coffee-script/grammar.js
  28. +0 −77 node_modules/coffee-script/lib/coffee-script/helpers.js
  29. +0 −11 node_modules/coffee-script/lib/coffee-script/index.js
  30. +0 −788 node_modules/coffee-script/lib/coffee-script/lexer.js
  31. +0 −2,986 node_modules/coffee-script/lib/coffee-script/nodes.js
  32. +0 −138 node_modules/coffee-script/lib/coffee-script/optparse.js
  33. +0 −683 node_modules/coffee-script/lib/coffee-script/parser.js
  34. +0 −261 node_modules/coffee-script/lib/coffee-script/repl.js
  35. +0 −349 node_modules/coffee-script/lib/coffee-script/rewriter.js
  36. +0 −146 node_modules/coffee-script/lib/coffee-script/scope.js
  37. +0 −32 node_modules/coffee-script/package.json
  38. +0 −5 node_modules/docco/.npmignore
  39. +0 −33 node_modules/docco/Cakefile
  40. +0 −22 node_modules/docco/LICENSE
  41. +0 −29 node_modules/docco/README
  42. +0 −6 node_modules/docco/bin/docco
  43. +0 −206 node_modules/docco/docco.js
  44. +0 −287 node_modules/docco/docco.litcoffee
  45. +0 −416 node_modules/docco/index.html
  46. +0 −1  node_modules/docco/node_modules/.bin/marked
  47. +0 −158 node_modules/docco/node_modules/commander/History.md
  48. +0 −276 node_modules/docco/node_modules/commander/Readme.md
  49. +0 −1,152 node_modules/docco/node_modules/commander/index.js
  50. +0 −101 node_modules/docco/node_modules/commander/node_modules/keypress/README.md
  51. +0 −346 node_modules/docco/node_modules/commander/node_modules/keypress/index.js
  52. +0 −27 node_modules/docco/node_modules/commander/node_modules/keypress/package.json
  53. +0 −28 node_modules/docco/node_modules/commander/node_modules/keypress/test.js
  54. +0 −39 node_modules/docco/node_modules/commander/package.json
  55. +0 −86 node_modules/docco/node_modules/highlight.js/1c.js
  56. +0 −78 node_modules/docco/node_modules/highlight.js/actionscript.js
  57. +0 −108 node_modules/docco/node_modules/highlight.js/apache.js
  58. +0 −97 node_modules/docco/node_modules/highlight.js/applescript.js
  59. +0 −55 node_modules/docco/node_modules/highlight.js/avrasm.js
  60. +0 −39 node_modules/docco/node_modules/highlight.js/axapta.js
  61. +0 −53 node_modules/docco/node_modules/highlight.js/bash.js
  62. +0 −26 node_modules/docco/node_modules/highlight.js/brainfuck.js
  63. +0 −96 node_modules/docco/node_modules/highlight.js/clojure.js
  64. +0 −31 node_modules/docco/node_modules/highlight.js/cmake.js
  65. +0 −101 node_modules/docco/node_modules/highlight.js/coffeescript.js
  66. +0 −44 node_modules/docco/node_modules/highlight.js/cpp.js
  67. +0 −46 node_modules/docco/node_modules/highlight.js/cs.js
  68. +0 −92 node_modules/docco/node_modules/highlight.js/css.js
  69. +0 −259 node_modules/docco/node_modules/highlight.js/d.js
  70. +0 −73 node_modules/docco/node_modules/highlight.js/delphi.js
  71. +0 −57 node_modules/docco/node_modules/highlight.js/diff.js
  72. +0 −81 node_modules/docco/node_modules/highlight.js/django.js
  73. +0 −30 node_modules/docco/node_modules/highlight.js/dos.js
  74. +0 −50 node_modules/docco/node_modules/highlight.js/erlang-repl.js
  75. +0 −156 node_modules/docco/node_modules/highlight.js/erlang.js
  76. +0 −93 node_modules/docco/node_modules/highlight.js/glsl.js
  77. +0 −38 node_modules/docco/node_modules/highlight.js/go.js
  78. +0 −83 node_modules/docco/node_modules/highlight.js/haskell.js
  79. +0 −645 node_modules/docco/node_modules/highlight.js/highlight.js
  80. +0 −33 node_modules/docco/node_modules/highlight.js/http.js
  81. +0 −28 node_modules/docco/node_modules/highlight.js/ini.js
  82. +0 −44 node_modules/docco/node_modules/highlight.js/java.js
  83. +0 −58 node_modules/docco/node_modules/highlight.js/javascript.js
  84. +0 −37 node_modules/docco/node_modules/highlight.js/json.js
  85. +0 −79 node_modules/docco/node_modules/highlight.js/lisp.js
  86. +0 −60 node_modules/docco/node_modules/highlight.js/lua.js
  87. +0 −77 node_modules/docco/node_modules/highlight.js/markdown.js
  88. +0 −75 node_modules/docco/node_modules/highlight.js/matlab.js
  89. +0 −230 node_modules/docco/node_modules/highlight.js/mel.js
  90. +0 −94 node_modules/docco/node_modules/highlight.js/nginx.js
  91. +0 −82 node_modules/docco/node_modules/highlight.js/objectivec.js
  92. +0 −279 node_modules/docco/node_modules/highlight.js/package.json
  93. +0 −44 node_modules/docco/node_modules/highlight.js/parser3.js
  94. +0 −164 node_modules/docco/node_modules/highlight.js/perl.js
  95. +0 −101 node_modules/docco/node_modules/highlight.js/php.js
  96. +0 −43 node_modules/docco/node_modules/highlight.js/profile.js
  97. +0 −84 node_modules/docco/node_modules/highlight.js/python.js
  98. +0 −75 node_modules/docco/node_modules/highlight.js/r.js
  99. +0 −26 node_modules/docco/node_modules/highlight.js/rib.js
  100. +0 −38 node_modules/docco/node_modules/highlight.js/rsl.js
  101. +0 −189 node_modules/docco/node_modules/highlight.js/ruby.js
  102. +0 −49 node_modules/docco/node_modules/highlight.js/rust.js
  103. +0 −56 node_modules/docco/node_modules/highlight.js/scala.js
  104. +0 −48 node_modules/docco/node_modules/highlight.js/smalltalk.js
  105. +0 −60 node_modules/docco/node_modules/highlight.js/sql.js
  106. +0 −52 node_modules/docco/node_modules/highlight.js/tex.js
  107. +0 −61 node_modules/docco/node_modules/highlight.js/vala.js
  108. +0 −34 node_modules/docco/node_modules/highlight.js/vbscript.js
  109. +0 −42 node_modules/docco/node_modules/highlight.js/vhdl.js
  110. +0 −101 node_modules/docco/node_modules/highlight.js/xml.js
  111. +0 −2  node_modules/docco/node_modules/marked/.npmignore
  112. +0 −19 node_modules/docco/node_modules/marked/LICENSE
  113. +0 −12 node_modules/docco/node_modules/marked/Makefile
  114. +0 −153 node_modules/docco/node_modules/marked/README.md
  115. +0 −187 node_modules/docco/node_modules/marked/bin/marked
  116. +0 −1  node_modules/docco/node_modules/marked/index.js
  117. +0 −1,151 node_modules/docco/node_modules/marked/lib/marked.js
  118. +0 −88 node_modules/docco/node_modules/marked/man/marked.1
  119. +0 −49 node_modules/docco/node_modules/marked/package.json
  120. +0 −6 node_modules/docco/node_modules/underscore/.npmignore
  121. +0 −5 node_modules/docco/node_modules/underscore/.travis.yml
  122. +0 −1  node_modules/docco/node_modules/underscore/CNAME
  123. +0 −9 node_modules/docco/node_modules/underscore/CONTRIBUTING.md
  124. +0 −23 node_modules/docco/node_modules/underscore/LICENSE
  125. +0 −22 node_modules/docco/node_modules/underscore/README.md
  126. BIN  node_modules/docco/node_modules/underscore/favicon.ico
  127. +0 −1  node_modules/docco/node_modules/underscore/index.js
  128. +0 −35 node_modules/docco/node_modules/underscore/package.json
  129. +0 −1  node_modules/docco/node_modules/underscore/underscore-min.map
  130. +0 −1,246 node_modules/docco/node_modules/underscore/underscore.js
  131. +0 −40 node_modules/docco/package.json
  132. +0 −428 node_modules/docco/resources/classic/docco.css
  133. +0 −56 node_modules/docco/resources/classic/docco.jst
  134. BIN  node_modules/docco/resources/classic/public/fonts/aller-bold.eot
  135. BIN  node_modules/docco/resources/classic/public/fonts/aller-bold.ttf
  136. BIN  node_modules/docco/resources/classic/public/fonts/aller-bold.woff
  137. BIN  node_modules/docco/resources/classic/public/fonts/aller-light.eot
  138. BIN  node_modules/docco/resources/classic/public/fonts/aller-light.ttf
  139. BIN  node_modules/docco/resources/classic/public/fonts/aller-light.woff
  140. BIN  node_modules/docco/resources/classic/public/fonts/fleurons.eot
  141. BIN  node_modules/docco/resources/classic/public/fonts/fleurons.ttf
  142. BIN  node_modules/docco/resources/classic/public/fonts/fleurons.woff
  143. BIN  node_modules/docco/resources/classic/public/fonts/novecento-bold.eot
  144. BIN  node_modules/docco/resources/classic/public/fonts/novecento-bold.ttf
  145. BIN  node_modules/docco/resources/classic/public/fonts/novecento-bold.woff
  146. BIN  node_modules/docco/resources/classic/public/images/gray.png
  147. +0 −375 node_modules/docco/resources/classic/public/stylesheets/normalize.css
  148. +0 −28 node_modules/docco/resources/languages.json
  149. +0 −337 node_modules/docco/resources/linear/docco.css
  150. +0 −53 node_modules/docco/resources/linear/docco.jst
  151. BIN  node_modules/docco/resources/linear/public/fonts/aller-bold.eot
  152. BIN  node_modules/docco/resources/linear/public/fonts/aller-bold.ttf
  153. BIN  node_modules/docco/resources/linear/public/fonts/aller-bold.woff
  154. BIN  node_modules/docco/resources/linear/public/fonts/aller-light.eot
  155. BIN  node_modules/docco/resources/linear/public/fonts/aller-light.ttf
  156. BIN  node_modules/docco/resources/linear/public/fonts/aller-light.woff
  157. BIN  node_modules/docco/resources/linear/public/fonts/fleurons.eot
  158. BIN  node_modules/docco/resources/linear/public/fonts/fleurons.ttf
  159. BIN  node_modules/docco/resources/linear/public/fonts/fleurons.woff
  160. BIN  node_modules/docco/resources/linear/public/fonts/novecento-bold.eot
  161. BIN  node_modules/docco/resources/linear/public/fonts/novecento-bold.ttf
  162. BIN  node_modules/docco/resources/linear/public/fonts/novecento-bold.woff
  163. BIN  node_modules/docco/resources/linear/public/images/gray.png
  164. +0 −375 node_modules/docco/resources/linear/public/stylesheets/normalize.css
  165. +0 −500 node_modules/docco/resources/parallel/docco.css
  166. +0 −56 node_modules/docco/resources/parallel/docco.jst
  167. BIN  node_modules/docco/resources/parallel/public/fonts/aller-bold.eot
  168. BIN  node_modules/docco/resources/parallel/public/fonts/aller-bold.ttf
  169. BIN  node_modules/docco/resources/parallel/public/fonts/aller-bold.woff
  170. BIN  node_modules/docco/resources/parallel/public/fonts/aller-light.eot
  171. BIN  node_modules/docco/resources/parallel/public/fonts/aller-light.ttf
  172. BIN  node_modules/docco/resources/parallel/public/fonts/aller-light.woff
  173. BIN  node_modules/docco/resources/parallel/public/fonts/novecento-bold.eot
  174. BIN  node_modules/docco/resources/parallel/public/fonts/novecento-bold.ttf
  175. BIN  node_modules/docco/resources/parallel/public/fonts/novecento-bold.woff
  176. +0 −375 node_modules/docco/resources/parallel/public/stylesheets/normalize.css
  177. +0 −6 node_modules/grunt-contrib-jasmine/.travis.yml
  178. +0 −2  node_modules/grunt-contrib-jasmine/AUTHORS
  179. +0 −79 node_modules/grunt-contrib-jasmine/CHANGELOG
  180. +0 −1  node_modules/grunt-contrib-jasmine/CONTRIBUTING.md
  181. +0 −122 node_modules/grunt-contrib-jasmine/Gruntfile.js
  182. +0 −22 node_modules/grunt-contrib-jasmine/LICENSE-MIT
  183. +0 −278 node_modules/grunt-contrib-jasmine/README.md
  184. +0 −16 node_modules/grunt-contrib-jasmine/junit/TEST-Player.xml
  185. +0 −12 node_modules/grunt-contrib-jasmine/junit/TEST-Playerresume.xml
  186. +0 −16 node_modules/grunt-contrib-jasmine/junit/TEST-Playerwhensonghasbeenpaused.xml
  187. +0 −36 node_modules/grunt-contrib-jasmine/junit/customTemplate/TEST-Player.xml
  188. +0 −109 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/README.md
  189. +0 −176 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/lib/phantomjs.js
  190. +0 −1  node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/.bin/phantomjs
  191. +0 −1  node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/.bin/semver
  192. +0 −212 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/eventemitter2/README.md
  193. +0 −1  node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/eventemitter2/index.js
  194. +0 −561 ...ules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/eventemitter2/lib/eventemitter2.js
  195. +0 −61 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/eventemitter2/package.json
  196. +0 −3  node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/.jshintrc
  197. +0 −5 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/.npmignore
  198. +0 −5 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/.travis.yml
  199. +0 −194 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/LICENSE.txt
  200. +0 −122 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/README.md
  201. +0 −36 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/bin/phantomjs
  202. +0 −293 node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js
  203. +0 −1  node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js
  204. +0 −346 ...modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/ChangeLog
  205. +0 −22 ...dules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/LICENSE.BSD
  206. +0 −45 ...modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/README.md
  207. BIN  ...les/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
  208. +0 −7 ...ntrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/arguments.coffee
  209. +0 −9 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/arguments.js
  210. +0 −20 .../node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/child_process-examples.coffee
  211. +0 −27 ...mine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/child_process-examples.js
  212. +0 −46 ...trib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/colorwheel.coffee
  213. +0 −51 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/colorwheel.js
  214. +0 −8 ...ntrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/countdown.coffee
  215. +0 −9 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/countdown.js
  216. +0 −42 ...rib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/detectsniff.coffee
  217. +0 −59 ...contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/detectsniff.js
  218. +0 −30 ...ntrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/direction.coffee
  219. +0 −35 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/direction.js
  220. +0 −19 ...trib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/echoToFile.coffee
  221. +0 −23 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/echoToFile.js
  222. +0 −23 ...ontrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/features.coffee
  223. +0 −30 ...nt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/features.js
  224. +0 −8 ...nt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/fibo.coffee
  225. +0 −9 .../grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/fibo.js
  226. +0 −33 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/follow.coffee
  227. +0 −38 ...runt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/follow.js
  228. +0 −2  ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/hello.coffee
  229. +0 −2  ...grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/hello.js
  230. +0 −20 ...ontrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/imagebin.coffee
  231. +0 −23 ...nt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/imagebin.js
  232. +0 −23 ...ontrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/injectme.coffee
  233. +0 −25 ...nt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/injectme.js
  234. +0 −13 ...ntrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/ipgeocode.coffee
  235. +0 −14 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/ipgeocode.js
  236. +0 −18 ...ntrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/loadspeed.coffee
  237. +0 −23 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/loadspeed.js
  238. +0 −20 ...smine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/loadurlwithoutcss.coffee
  239. +0 −25 ...b-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/loadurlwithoutcss.js
  240. +0 −1,116 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/modernizr.js
  241. +0 −4 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/module.coffee
  242. +0 −4 ...runt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/module.js
  243. +0 −13 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/movies.coffee
  244. +0 −14 ...runt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/movies.js
  245. +0 −18 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/netlog.coffee
  246. +0 −25 ...runt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/netlog.js
  247. +0 −114 ...ontrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/netsniff.coffee
  248. +0 −143 ...nt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/netsniff.js
  249. +0 −12 ...-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/outputEncoding.coffee
  250. +0 −16 ...trib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/outputEncoding.js
  251. +0 −132 ...rib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/page_events.coffee
  252. +0 −142 ...contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/page_events.js
  253. +0 −16 ...ib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/pagecallback.coffee
  254. +0 −17 ...ontrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/pagecallback.js
  255. +0 −13 ...jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/phantomwebintro.coffee
  256. +0 −19 ...rib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/phantomwebintro.js
  257. +0 −18 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/pizza.coffee
  258. +0 −20 ...grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/pizza.js
  259. +0 −12 ...nt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/post.coffee
  260. +0 −14 .../grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/post.js
  261. +0 −25 ...trib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/postserver.coffee
  262. +0 −34 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/postserver.js
  263. +0 −6 ...ontrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/printenv.coffee
  264. +0 −10 ...nt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/printenv.js
  265. +0 −88 ...smine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/printheaderfooter.coffee
  266. +0 −89 ...b-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/printheaderfooter.js
  267. +0 −33 ...ib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/printmargins.coffee
  268. +0 −35 ...ontrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/printmargins.js
  269. +0 −23 ...ntrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/rasterize.coffee
  270. +0 −32 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/rasterize.js
  271. +0 −60 ...asmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/render_multi_url.coffee
  272. +0 −73 ...ib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/render_multi_url.js
  273. +0 −61 ...rib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/run-jasmine.coffee
  274. +0 −86 ...contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/run-jasmine.js
  275. +0 −64 ...ntrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/run-qunit.coffee
  276. +0 −76 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/run-qunit.js
  277. +0 −16 ...contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/scandir.coffee
  278. +0 −22 ...unt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/scandir.js
  279. +0 −17 ...trib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/seasonfood.coffee
  280. +0 −19 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/seasonfood.js
  281. +0 −45 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/server.coffee
  282. +0 −43 ...runt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/server.js
  283. +0 −32 ...jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/serverkeepalive.coffee
  284. +0 −34 ...rib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/serverkeepalive.js
  285. +0 −38 ...ib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/simpleserver.coffee
  286. +0 −42 ...ontrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/simpleserver.js
  287. +0 −20 ...ntrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/sleepsort.coffee
  288. +0 −25 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/sleepsort.js
  289. +0 −18 ...ine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/stdin-stdout-stderr.coffee
  290. +0 −18 ...jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/stdin-stdout-stderr.js
  291. +0 −17 ...ontrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/technews.coffee
  292. +0 −16 ...nt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/technews.js
  293. +0 −31 ...-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/tweets.coffee
  294. +0 −37 ...runt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/tweets.js
  295. +0 −10 ...nt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/universe.js
  296. +0 −18 ...rib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/unrandomize.coffee
  297. +0 −24 ...contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/unrandomize.js
  298. +0 −11 ...ntrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/useragent.coffee
  299. +0 −14 ...t-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/useragent.js
  300. +0 −5 ...contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/examples/version.coffee
Sorry, we could not display the entire diff because too many files (1,257) changed.
View
2  .gitignore
@@ -26,3 +26,5 @@ local.properties
# PDT-specific
.buildpath
+
+node_modules
View
1  node_modules/.bin/cake
View
6 node_modules/.bin/cake.cmd
@@ -1,6 +0,0 @@
-:: Created by npm, please don't edit manually.
-@IF EXIST "%~dp0\node.exe" (
- "%~dp0\node.exe" "%~dp0\..\coffee-script\bin\cake" %*
-) ELSE (
- node "%~dp0\..\coffee-script\bin\cake" %*
-)
View
1  node_modules/.bin/coffee
View
6 node_modules/.bin/coffee.cmd
@@ -1,6 +0,0 @@
-:: Created by npm, please don't edit manually.
-@IF EXIST "%~dp0\node.exe" (
- "%~dp0\node.exe" "%~dp0\..\coffee-script\bin\coffee" %*
-) ELSE (
- node "%~dp0\..\coffee-script\bin\coffee" %*
-)
View
1  node_modules/.bin/docco
View
1  node_modules/.bin/qunit
View
1  node_modules/closure-compiler/.npmignore
@@ -1 +0,0 @@
-*.swp
View
2  node_modules/closure-compiler/Cakefile
@@ -1,2 +0,0 @@
-task 'build', 'Build the source to Javascript', ->
- require('child_process').spawn 'coffee', ['-cbo', 'lib/', 'src/index.coffee']
View
26 node_modules/closure-compiler/README.md
@@ -1,26 +0,0 @@
-node-closure
-============
-
-A wrapper to the Google Closure compiler tool. It runs the jar file in a child
-process and returns the results in a callback.
-
-
-## Usage
-
- var cc = require('closure-compiler')
- var fs = require('fs')
-
- var options =
- { some : 'flag'
- , values : ['1', '2']
- }
-
- function aftercompile (err, stdout, stderr) {
- if (err) throw err
- var mycompiledcode = stdout
- }
-
- cc.compile(fs.readFileSync('lib/index.js'), options, aftercompile)
-
- // The same as:
- // $ java -jar path/to/closure.jar --some "flag" --values "1" --values "2"
View
72 node_modules/closure-compiler/lib/index.js
@@ -1,72 +0,0 @@
-// Generated by CoffeeScript 1.4.0
-var JAR_PATH, JAVA_PATH, OPTIONS, path, spawn;
-
-spawn = require('child_process').spawn;
-
-path = require('path');
-
-JAVA_PATH = exports.JAVA_PATH = 'java';
-
-JAR_PATH = exports.JAR_PATH = path.join(__dirname, 'vendor/compiler.jar');
-
-OPTIONS = exports.OPTIONS = {};
-
-exports.compile = function(input, options, callback) {
- var args, compiler, result, stderr, stdout;
- if ('function' === typeof options) {
- callback = options;
- options = OPTIONS;
- } else {
- result = {};
- Object.keys(OPTIONS).forEach(function(key) {
- return result[key] = OPTIONS[key];
- });
- Object.keys(options).forEach(function(key) {
- return result[key] = options[key];
- });
- options = result;
- }
- args = [];
- if (!options.jar) {
- options.jar = JAR_PATH;
- }
- args.push('-jar');
- args.push(options.jar);
- delete options.jar;
- Object.keys(options).forEach(function(key) {
- var val, value, _i, _len;
- value = options[key];
- if (Array.isArray(value)) {
- for (_i = 0, _len = value.length; _i < _len; _i++) {
- val = value[_i];
- args.push("--" + key);
- args.push(val);
- }
- return;
- }
- args.push("--" + key);
- return args.push(value);
- });
- compiler = spawn(JAVA_PATH, args);
- stdout = '';
- stderr = '';
- compiler.stdout.setEncoding('utf8');
- compiler.stderr.setEncoding('utf8');
- compiler.stdout.on('data', function(data) {
- return stdout += data;
- });
- compiler.stderr.on('data', function(data) {
- return stderr += data;
- });
- compiler.on('exit', function(code) {
- var error;
- if (code !== 0) {
- error = new Error(stderr);
- error.code = code;
- } else {
- error = null;
- }
- return callback(error, stdout, stderr);
- });
- return compiler.stdin.end(input);
-};
View
BIN  node_modules/closure-compiler/lib/vendor/compiler.jar
Binary file not shown
View
22 node_modules/closure-compiler/package.json
@@ -1,22 +0,0 @@
-{
- "name": "closure-compiler",
- "description": "Bindings to Google's Closure Compiler",
- "version": "0.2.0",
- "author": {
- "name": "tim-smart"
- },
- "repository": {
- "type": "git",
- "url": "http://github.com/Tim-Smart/node-closure.git"
- },
- "engine": [
- "node >=0.4"
- ],
- "main": "./lib",
- "readme": "node-closure\n============\n\nA wrapper to the Google Closure compiler tool. It runs the jar file in a child\nprocess and returns the results in a callback.\n\n\n## Usage\n\n var cc = require('closure-compiler')\n var fs = require('fs')\n\n var options =\n { some : 'flag'\n , values : ['1', '2']\n }\n\n function aftercompile (err, stdout, stderr) {\n if (err) throw err\n var mycompiledcode = stdout\n }\n\n cc.compile(fs.readFileSync('lib/index.js'), options, aftercompile)\n\n // The same as:\n // $ java -jar path/to/closure.jar --some \"flag\" --values \"1\" --values \"2\"\n",
- "_id": "closure-compiler@0.2.0",
- "dist": {
- "shasum": "7e79c555580779f7d1d54b0c96a4964d84294b93"
- },
- "_from": "closure-compiler"
-}
View
84 node_modules/closure-compiler/src/index.coffee
@@ -1,84 +0,0 @@
-# The MIT License
-#
-# Copyright (c) 2011 Tim Smart
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files
-# (the "Software"), to deal in the Software without restriction,
-# including without limitation the rights to use, copy, modify, merge,
-# publish, distribute, sublicense, and/or sell copies of the Software, and
-# to permit persons to whom the Software is furnished to do so, subject to
-# the following conditions:
-#
-# The above copyright notice and this permission notice shall be included
-# in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-spawn = require('child_process').spawn
-path = require 'path'
-
-JAVA_PATH = exports.JAVA_PATH = 'java'
-JAR_PATH = exports.JAR_PATH = path.join __dirname, 'vendor/compiler.jar'
-OPTIONS = exports.OPTIONS = {}
-
-exports.compile = (input, options, callback) ->
- if 'function' is typeof options
- callback = options
- options = OPTIONS
- else
- result = {}
- Object.keys(OPTIONS).forEach (key) ->
- result[key] = OPTIONS[key]
- Object.keys(options).forEach (key) ->
- result[key] = options[key]
- options = result
-
- args = []
-
- if !options.jar
- options.jar = JAR_PATH
-
- args.push('-jar')
- args.push(options.jar)
- delete options.jar
-
- Object.keys(options).forEach (key) ->
- value = options[key]
-
- if Array.isArray(value)
- for val in value
- args.push "--#{key}"
- args.push val
- return
-
- args.push "--#{key}"
- args.push value
-
- compiler = spawn JAVA_PATH, args
- stdout = ''
- stderr = ''
-
- compiler.stdout.setEncoding 'utf8'
- compiler.stderr.setEncoding 'utf8'
-
- compiler.stdout.on 'data', (data) ->
- stdout += data
-
- compiler.stderr.on 'data', (data) ->
- stderr += data
-
- compiler.on 'exit', (code) ->
- if code isnt 0
- error = new Error stderr
- error.code = code
- else error = null
- callback error, stdout, stderr
-
- compiler.stdin.end input
View
11 node_modules/coffee-script/.npmignore
@@ -1,11 +0,0 @@
-*.coffee
-*.html
-.DS_Store
-.git*
-Cakefile
-documentation/
-examples/
-extras/coffee-script.js
-raw/
-src/
-test/
View
1  node_modules/coffee-script/CNAME
@@ -1 +0,0 @@
-coffeescript.org
View
22 node_modules/coffee-script/LICENSE
@@ -1,22 +0,0 @@
-Copyright (c) 2009-2012 Jeremy Ashkenas
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
View
51 node_modules/coffee-script/README
@@ -1,51 +0,0 @@
-
- {
- } } {
- { { } }
- } }{ {
- { }{ } } _____ __ __
- ( }{ }{ { ) / ____| / _|/ _|
- .- { { } { }} -. | | ___ | |_| |_ ___ ___
- ( ( } { } { } } ) | | / _ \| _| _/ _ \/ _ \
- |`-..________ ..-'| | |___| (_) | | | || __/ __/
- | | \_____\___/|_| |_| \___|\___|
- | ;--.
- | (__ \ _____ _ _
- | | ) ) / ____| (_) | |
- | |/ / | (___ ___ _ __ _ _ __ | |_
- | ( / \___ \ / __| '__| | '_ \| __|
- | |/ ____) | (__| | | | |_) | |_
- | | |_____/ \___|_| |_| .__/ \__|
- `-.._________..-' | |
- |_|
-
-
- CoffeeScript is a little language that compiles into JavaScript.
-
- Install Node.js, and then the CoffeeScript compiler:
- sudo bin/cake install
-
- Or, if you have the Node Package Manager installed:
- npm install -g coffee-script
- (Leave off the -g if you don't wish to install globally.)
-
- Execute a script:
- coffee /path/to/script.coffee
-
- Compile a script:
- coffee -c /path/to/script.coffee
-
- For documentation, usage, and examples, see:
- http://coffeescript.org/
-
- To suggest a feature, report a bug, or general discussion:
- http://github.com/jashkenas/coffee-script/issues/
-
- If you'd like to chat, drop by #coffeescript on Freenode IRC,
- or on webchat.freenode.net.
-
- The source repository:
- git://github.com/jashkenas/coffee-script.git
-
- All contributors are listed here:
- http://github.com/jashkenas/coffee-script/contributors
View
78 node_modules/coffee-script/Rakefile
@@ -1,78 +0,0 @@
-require 'rubygems'
-require 'erb'
-require 'fileutils'
-require 'rake/testtask'
-require 'json'
-
-desc "Build the documentation page"
-task :doc do
- source = 'documentation/index.html.erb'
- child = fork { exec "bin/coffee -bcw -o documentation/js documentation/coffee/*.coffee" }
- at_exit { Process.kill("INT", child) }
- Signal.trap("INT") { exit }
- loop do
- mtime = File.stat(source).mtime
- if !@mtime || mtime > @mtime
- rendered = ERB.new(File.read(source)).result(binding)
- File.open('index.html', 'w+') {|f| f.write(rendered) }
- end
- @mtime = mtime
- sleep 1
- end
-end
-
-desc "Build coffee-script-source gem"
-task :gem do
- require 'rubygems'
- require 'rubygems/package'
-
- gemspec = Gem::Specification.new do |s|
- s.name = 'coffee-script-source'
- s.version = JSON.parse(File.read('package.json'))["version"]
- s.date = Time.now.strftime("%Y-%m-%d")
-
- s.homepage = "http://jashkenas.github.com/coffee-script/"
- s.summary = "The CoffeeScript Compiler"
- s.description = <<-EOS
- CoffeeScript is a little language that compiles into JavaScript.
- Underneath all of those embarrassing braces and semicolons,
- JavaScript has always had a gorgeous object model at its heart.
- CoffeeScript is an attempt to expose the good parts of JavaScript
- in a simple way.
- EOS
-
- s.files = [
- 'lib/coffee_script/coffee-script.js',
- 'lib/coffee_script/source.rb'
- ]
-
- s.authors = ['Jeremy Ashkenas']
- s.email = 'jashkenas@gmail.com'
- s.rubyforge_project = 'coffee-script-source'
- end
-
- file = File.open("coffee-script-source.gem", "w")
- Gem::Package.open(file, 'w') do |pkg|
- pkg.metadata = gemspec.to_yaml
-
- path = "lib/coffee_script/source.rb"
- contents = <<-ERUBY
-module CoffeeScript
- module Source
- def self.bundled_path
- File.expand_path("../coffee-script.js", __FILE__)
- end
- end
-end
- ERUBY
- pkg.add_file_simple(path, 0644, contents.size) do |tar_io|
- tar_io.write(contents)
- end
-
- contents = File.read("extras/coffee-script.js")
- path = "lib/coffee_script/coffee-script.js"
- pkg.add_file_simple(path, 0644, contents.size) do |tar_io|
- tar_io.write(contents)
- end
- end
-end
View
7 node_modules/coffee-script/bin/cake
@@ -1,7 +0,0 @@
-#!/usr/bin/env node
-
-var path = require('path');
-var fs = require('fs');
-var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');
-
-require(lib + '/coffee-script/cake').run();
View
7 node_modules/coffee-script/bin/coffee
@@ -1,7 +0,0 @@
-#!/usr/bin/env node
-
-var path = require('path');
-var fs = require('fs');
-var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');
-
-require(lib + '/coffee-script/command').run();
View
44 node_modules/coffee-script/extras/jsl.conf
@@ -1,44 +0,0 @@
-# JavaScriptLint configuration file for CoffeeScript.
-
-+no_return_value # function {0} does not always return a value
-+duplicate_formal # duplicate formal argument {0}
--equal_as_assign # test for equality (==) mistyped as assignment (=)?{0}
-+var_hides_arg # variable {0} hides argument
-+redeclared_var # redeclaration of {0} {1}
--anon_no_return_value # anonymous function does not always return a value
-+missing_semicolon # missing semicolon
-+meaningless_block # meaningless block; curly braces have no impact
--comma_separated_stmts # multiple statements separated by commas (use semicolons?)
-+unreachable_code # unreachable code
-+missing_break # missing break statement
--missing_break_for_last_case # missing break statement for last case in switch
--comparison_type_conv # comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
--inc_dec_within_stmt # increment (++) and decrement (--) operators used as part of greater statement
--useless_void # use of the void type may be unnecessary (void is always undefined)
-+multiple_plus_minus # unknown order of operations for successive plus (e.g. x+++y) or minus (e.g. x---y) signs
-+use_of_label # use of label
--block_without_braces # block statement without curly braces
-+leading_decimal_point # leading decimal point may indicate a number or an object member
-+trailing_decimal_point # trailing decimal point may indicate a number or an object member
-+octal_number # leading zeros make an octal number
-+nested_comment # nested comment
-+misplaced_regex # regular expressions should be preceded by a left parenthesis, assignment, colon, or comma
-+ambiguous_newline # unexpected end of line; it is ambiguous whether these lines are part of the same statement
-+empty_statement # empty statement or extra semicolon
--missing_option_explicit # the "option explicit" control comment is missing
-+partial_option_explicit # the "option explicit" control comment, if used, must be in the first script tag
-+dup_option_explicit # duplicate "option explicit" control comment
-+useless_assign # useless assignment
-+ambiguous_nested_stmt # block statements containing block statements should use curly braces to resolve ambiguity
-+ambiguous_else_stmt # the else statement could be matched with one of multiple if statements (use curly braces to indicate intent)
--missing_default_case # missing default case in switch statement
-+duplicate_case_in_switch # duplicate case in switch statements
-+default_not_at_end # the default case is not at the end of the switch statement
-+legacy_cc_not_understood # couldn't understand control comment using /*@keyword@*/ syntax
-+jsl_cc_not_understood # couldn't understand control comment using /*jsl:keyword*/ syntax
-+useless_comparison # useless comparison; comparing identical expressions
-+with_statement # with statement hides undeclared variables; use temporary variable instead
-+trailing_comma_in_array # extra comma is not recommended in array initializers
-+assign_to_function_call # assignment to a function call
-+parseint_missing_radix # parseInt missing radix parameter
-+lambda_assign_requires_semicolon
View
92 node_modules/coffee-script/lib/coffee-script/browser.js
@@ -1,92 +0,0 @@
-// Generated by CoffeeScript 1.3.3
-(function() {
- var CoffeeScript, runScripts;
-
- CoffeeScript = require('./coffee-script');
-
- CoffeeScript.require = require;
-
- CoffeeScript["eval"] = function(code, options) {
- var _ref;
- if (options == null) {
- options = {};
- }
- if ((_ref = options.bare) == null) {
- options.bare = true;
- }
- return eval(CoffeeScript.compile(code, options));
- };
-
- CoffeeScript.run = function(code, options) {
- if (options == null) {
- options = {};
- }
- options.bare = true;
- return Function(CoffeeScript.compile(code, options))();
- };
-
- if (typeof window === "undefined" || window === null) {
- return;
- }
-
- CoffeeScript.load = function(url, callback) {
- var xhr;
- xhr = new (window.ActiveXObject || XMLHttpRequest)('Microsoft.XMLHTTP');
- xhr.open('GET', url, true);
- if ('overrideMimeType' in xhr) {
- xhr.overrideMimeType('text/plain');
- }
- xhr.onreadystatechange = function() {
- var _ref;
- if (xhr.readyState === 4) {
- if ((_ref = xhr.status) === 0 || _ref === 200) {
- CoffeeScript.run(xhr.responseText);
- } else {
- throw new Error("Could not load " + url);
- }
- if (callback) {
- return callback();
- }
- }
- };
- return xhr.send(null);
- };
-
- runScripts = function() {
- var coffees, execute, index, length, s, scripts;
- scripts = document.getElementsByTagName('script');
- coffees = (function() {
- var _i, _len, _results;
- _results = [];
- for (_i = 0, _len = scripts.length; _i < _len; _i++) {
- s = scripts[_i];
- if (s.type === 'text/coffeescript') {
- _results.push(s);
- }
- }
- return _results;
- })();
- index = 0;
- length = coffees.length;
- (execute = function() {
- var script;
- script = coffees[index++];
- if ((script != null ? script.type : void 0) === 'text/coffeescript') {
- if (script.src) {
- return CoffeeScript.load(script.src, execute);
- } else {
- CoffeeScript.run(script.innerHTML);
- return execute();
- }
- }
- })();
- return null;
- };
-
- if (window.addEventListener) {
- addEventListener('DOMContentLoaded', runScripts, false);
- } else {
- attachEvent('onload', runScripts);
- }
-
-}).call(this);
View
111 node_modules/coffee-script/lib/coffee-script/cake.js
@@ -1,111 +0,0 @@
-// Generated by CoffeeScript 1.3.3
-(function() {
- var CoffeeScript, cakefileDirectory, fatalError, fs, helpers, missingTask, oparse, options, optparse, path, printTasks, switches, tasks;
-
- fs = require('fs');
-
- path = require('path');
-
- helpers = require('./helpers');
-
- optparse = require('./optparse');
-
- CoffeeScript = require('./coffee-script');
-
- tasks = {};
-
- options = {};
-
- switches = [];
-
- oparse = null;
-
- helpers.extend(global, {
- task: function(name, description, action) {
- var _ref;
- if (!action) {
- _ref = [description, action], action = _ref[0], description = _ref[1];
- }
- return tasks[name] = {
- name: name,
- description: description,
- action: action
- };
- },
- option: function(letter, flag, description) {
- return switches.push([letter, flag, description]);
- },
- invoke: function(name) {
- if (!tasks[name]) {
- missingTask(name);
- }
- return tasks[name].action(options);
- }
- });
-
- exports.run = function() {
- var arg, args, _i, _len, _ref, _results;
- global.__originalDirname = fs.realpathSync('.');
- process.chdir(cakefileDirectory(__originalDirname));
- args = process.argv.slice(2);
- CoffeeScript.run(fs.readFileSync('Cakefile').toString(), {
- filename: 'Cakefile'
- });
- oparse = new optparse.OptionParser(switches);
- if (!args.length) {
- return printTasks();
- }
- try {
- options = oparse.parse(args);
- } catch (e) {
- return fatalError("" + e);
- }
- _ref = options["arguments"];
- _results = [];
- for (_i = 0, _len = _ref.length; _i < _len; _i++) {
- arg = _ref[_i];
- _results.push(invoke(arg));
- }
- return _results;
- };
-
- printTasks = function() {
- var cakefilePath, desc, name, relative, spaces, task;
- relative = path.relative || path.resolve;
- cakefilePath = path.join(relative(__originalDirname, process.cwd()), 'Cakefile');
- console.log("" + cakefilePath + " defines the following tasks:\n");
- for (name in tasks) {
- task = tasks[name];
- spaces = 20 - name.length;
- spaces = spaces > 0 ? Array(spaces + 1).join(' ') : '';
- desc = task.description ? "# " + task.description : '';
- console.log("cake " + name + spaces + " " + desc);
- }
- if (switches.length) {
- return console.log(oparse.help());
- }
- };
-
- fatalError = function(message) {
- console.error(message + '\n');
- console.log('To see a list of all tasks/options, run "cake"');
- return process.exit(1);
- };
-
- missingTask = function(task) {
- return fatalError("No such task: " + task);
- };
-
- cakefileDirectory = function(dir) {
- var parent;
- if (path.existsSync(path.join(dir, 'Cakefile'))) {
- return dir;
- }
- parent = path.normalize(path.join(dir, '..'));
- if (parent !== dir) {
- return cakefileDirectory(parent);
- }
- throw new Error("Cakefile not found in " + (process.cwd()));
- };
-
-}).call(this);
View
167 node_modules/coffee-script/lib/coffee-script/coffee-script.js
@@ -1,167 +0,0 @@
-// Generated by CoffeeScript 1.3.3
-(function() {
- var Lexer, RESERVED, compile, fs, lexer, parser, path, vm, _ref,
- __hasProp = {}.hasOwnProperty;
-
- fs = require('fs');
-
- path = require('path');
-
- _ref = require('./lexer'), Lexer = _ref.Lexer, RESERVED = _ref.RESERVED;
-
- parser = require('./parser').parser;
-
- vm = require('vm');
-
- if (require.extensions) {
- require.extensions['.coffee'] = function(module, filename) {
- var content;
- content = compile(fs.readFileSync(filename, 'utf8'), {
- filename: filename
- });
- return module._compile(content, filename);
- };
- } else if (require.registerExtension) {
- require.registerExtension('.coffee', function(content) {
- return compile(content);
- });
- }
-
- exports.VERSION = '1.3.3';
-
- exports.RESERVED = RESERVED;
-
- exports.helpers = require('./helpers');
-
- exports.compile = compile = function(code, options) {
- var header, js, merge;
- if (options == null) {
- options = {};
- }
- merge = exports.helpers.merge;
- try {
- js = (parser.parse(lexer.tokenize(code))).compile(options);
- if (!options.header) {
- return js;
- }
- } catch (err) {
- if (options.filename) {
- err.message = "In " + options.filename + ", " + err.message;
- }
- throw err;
- }
- header = "Generated by CoffeeScript " + this.VERSION;
- return "// " + header + "\n" + js;
- };
-
- exports.tokens = function(code, options) {
- return lexer.tokenize(code, options);
- };
-
- exports.nodes = function(source, options) {
- if (typeof source === 'string') {
- return parser.parse(lexer.tokenize(source, options));
- } else {
- return parser.parse(source);
- }
- };
-
- exports.run = function(code, options) {
- var mainModule;
- if (options == null) {
- options = {};
- }
- mainModule = require.main;
- mainModule.filename = process.argv[1] = options.filename ? fs.realpathSync(options.filename) : '.';
- mainModule.moduleCache && (mainModule.moduleCache = {});
- mainModule.paths = require('module')._nodeModulePaths(path.dirname(fs.realpathSync(options.filename)));
- if (path.extname(mainModule.filename) !== '.coffee' || require.extensions) {
- return mainModule._compile(compile(code, options), mainModule.filename);
- } else {
- return mainModule._compile(code, mainModule.filename);
- }
- };
-
- exports["eval"] = function(code, options) {
- var Module, Script, js, k, o, r, sandbox, v, _i, _len, _module, _ref1, _ref2, _require;
- if (options == null) {
- options = {};
- }
- if (!(code = code.trim())) {
- return;
- }
- Script = vm.Script;
- if (Script) {
- if (options.sandbox != null) {
- if (options.sandbox instanceof Script.createContext().constructor) {
- sandbox = options.sandbox;
- } else {
- sandbox = Script.createContext();
- _ref1 = options.sandbox;
- for (k in _ref1) {
- if (!__hasProp.call(_ref1, k)) continue;
- v = _ref1[k];
- sandbox[k] = v;
- }
- }
- sandbox.global = sandbox.root = sandbox.GLOBAL = sandbox;
- } else {
- sandbox = global;
- }
- sandbox.__filename = options.filename || 'eval';
- sandbox.__dirname = path.dirname(sandbox.__filename);
- if (!(sandbox !== global || sandbox.module || sandbox.require)) {
- Module = require('module');
- sandbox.module = _module = new Module(options.modulename || 'eval');
- sandbox.require = _require = function(path) {
- return Module._load(path, _module, true);
- };
- _module.filename = sandbox.__filename;
- _ref2 = Object.getOwnPropertyNames(require);
- for (_i = 0, _len = _ref2.length; _i < _len; _i++) {
- r = _ref2[_i];
- if (r !== 'paths') {
- _require[r] = require[r];
- }
- }
- _require.paths = _module.paths = Module._nodeModulePaths(process.cwd());
- _require.resolve = function(request) {
- return Module._resolveFilename(request, _module);
- };
- }
- }
- o = {};
- for (k in options) {
- if (!__hasProp.call(options, k)) continue;
- v = options[k];
- o[k] = v;
- }
- o.bare = true;
- js = compile(code, o);
- if (sandbox === global) {
- return vm.runInThisContext(js);
- } else {
- return vm.runInContext(js, sandbox);
- }
- };
-
- lexer = new Lexer;
-
- parser.lexer = {
- lex: function() {
- var tag, _ref1;
- _ref1 = this.tokens[this.pos++] || [''], tag = _ref1[0], this.yytext = _ref1[1], this.yylineno = _ref1[2];
- return tag;
- },
- setInput: function(tokens) {
- this.tokens = tokens;
- return this.pos = 0;
- },
- upcomingInput: function() {
- return "";
- }
- };
-
- parser.yy = require('./nodes');
-
-}).call(this);
View
500 node_modules/coffee-script/lib/coffee-script/command.js
@@ -1,500 +0,0 @@
-// Generated by CoffeeScript 1.3.3
-(function() {
- var BANNER, CoffeeScript, EventEmitter, SWITCHES, compileJoin, compileOptions, compilePath, compileScript, compileStdio, exec, forkNode, fs, helpers, hidden, joinTimeout, lint, loadRequires, notSources, optionParser, optparse, opts, outputPath, parseOptions, path, printLine, printTokens, printWarn, removeSource, sourceCode, sources, spawn, timeLog, unwatchDir, usage, version, wait, watch, watchDir, watchers, writeJs, _ref;
-
- fs = require('fs');
-
- path = require('path');
-
- helpers = require('./helpers');
-
- optparse = require('./optparse');
-
- CoffeeScript = require('./coffee-script');
-
- _ref = require('child_process'), spawn = _ref.spawn, exec = _ref.exec;
-
- EventEmitter = require('events').EventEmitter;
-
- helpers.extend(CoffeeScript, new EventEmitter);
-
- printLine = function(line) {
- return process.stdout.write(line + '\n');
- };
-
- printWarn = function(line) {
- return process.stderr.write(line + '\n');
- };
-
- hidden = function(file) {
- return /^\.|~$/.test(file);
- };
-
- BANNER = 'Usage: coffee [options] path/to/script.coffee -- [args]\n\nIf called without options, `coffee` will run your script.';
-
- SWITCHES = [['-b', '--bare', 'compile without a top-level function wrapper'], ['-c', '--compile', 'compile to JavaScript and save as .js files'], ['-e', '--eval', 'pass a string from the command line as input'], ['-h', '--help', 'display this help message'], ['-i', '--interactive', 'run an interactive CoffeeScript REPL'], ['-j', '--join [FILE]', 'concatenate the source CoffeeScript before compiling'], ['-l', '--lint', 'pipe the compiled JavaScript through JavaScript Lint'], ['-n', '--nodes', 'print out the parse tree that the parser produces'], ['--nodejs [ARGS]', 'pass options directly to the "node" binary'], ['-o', '--output [DIR]', 'set the output directory for compiled JavaScript'], ['-p', '--print', 'print out the compiled JavaScript'], ['-r', '--require [FILE*]', 'require a library before executing your script'], ['-s', '--stdio', 'listen for and compile scripts over stdio'], ['-t', '--tokens', 'print out the tokens that the lexer/rewriter produce'], ['-v', '--version', 'display the version number'], ['-w', '--watch', 'watch scripts for changes and rerun commands']];
-
- opts = {};
-
- sources = [];
-
- sourceCode = [];
-
- notSources = {};
-
- watchers = {};
-
- optionParser = null;
-
- exports.run = function() {
- var literals, source, _i, _len, _results;
- parseOptions();
- if (opts.nodejs) {
- return forkNode();
- }
- if (opts.help) {
- return usage();
- }
- if (opts.version) {
- return version();
- }
- if (opts.require) {
- loadRequires();
- }
- if (opts.interactive) {
- return require('./repl');
- }
- if (opts.watch && !fs.watch) {
- return printWarn("The --watch feature depends on Node v0.6.0+. You are running " + process.version + ".");
- }
- if (opts.stdio) {
- return compileStdio();
- }
- if (opts["eval"]) {
- return compileScript(null, sources[0]);
- }
- if (!sources.length) {
- return require('./repl');
- }
- literals = opts.run ? sources.splice(1) : [];
- process.argv = process.argv.slice(0, 2).concat(literals);
- process.argv[0] = 'coffee';
- process.execPath = require.main.filename;
- _results = [];
- for (_i = 0, _len = sources.length; _i < _len; _i++) {
- source = sources[_i];
- _results.push(compilePath(source, true, path.normalize(source)));
- }
- return _results;
- };
-
- compilePath = function(source, topLevel, base) {
- return fs.stat(source, function(err, stats) {
- if (err && err.code !== 'ENOENT') {
- throw err;
- }
- if ((err != null ? err.code : void 0) === 'ENOENT') {
- if (topLevel && source.slice(-7) !== '.coffee') {
- source = sources[sources.indexOf(source)] = "" + source + ".coffee";
- return compilePath(source, topLevel, base);
- }
- if (topLevel) {
- console.error("File not found: " + source);
- process.exit(1);
- }
- return;
- }
- if (stats.isDirectory()) {
- if (opts.watch) {
- watchDir(source, base);
- }
- return fs.readdir(source, function(err, files) {
- var file, index, _ref1, _ref2;
- if (err && err.code !== 'ENOENT') {
- throw err;
- }
- if ((err != null ? err.code : void 0) === 'ENOENT') {
- return;
- }
- index = sources.indexOf(source);
- files = files.filter(function(file) {
- return !hidden(file);
- });
- [].splice.apply(sources, [index, index - index + 1].concat(_ref1 = (function() {
- var _i, _len, _results;
- _results = [];
- for (_i = 0, _len = files.length; _i < _len; _i++) {
- file = files[_i];
- _results.push(path.join(source, file));
- }
- return _results;
- })())), _ref1;
- [].splice.apply(sourceCode, [index, index - index + 1].concat(_ref2 = files.map(function() {
- return null;
- }))), _ref2;
- return files.forEach(function(file) {
- return compilePath(path.join(source, file), false, base);
- });
- });
- } else if (topLevel || path.extname(source) === '.coffee') {
- if (opts.watch) {
- watch(source, base);
- }
- return fs.readFile(source, function(err, code) {
- if (err && err.code !== 'ENOENT') {
- throw err;
- }
- if ((err != null ? err.code : void 0) === 'ENOENT') {
- return;
- }
- return compileScript(source, code.toString(), base);
- });
- } else {
- notSources[source] = true;
- return removeSource(source, base);
- }
- });
- };
-
- compileScript = function(file, input, base) {
- var o, options, t, task;
- o = opts;
- options = compileOptions(file);
- try {
- t = task = {
- file: file,
- input: input,
- options: options
- };
- CoffeeScript.emit('compile', task);
- if (o.tokens) {
- return printTokens(CoffeeScript.tokens(t.input));
- } else if (o.nodes) {
- return printLine(CoffeeScript.nodes(t.input).toString().trim());
- } else if (o.run) {
- return CoffeeScript.run(t.input, t.options);
- } else if (o.join && t.file !== o.join) {
- sourceCode[sources.indexOf(t.file)] = t.input;
- return compileJoin();
- } else {
- t.output = CoffeeScript.compile(t.input, t.options);
- CoffeeScript.emit('success', task);
- if (o.print) {
- return printLine(t.output.trim());
- } else if (o.compile) {
- return writeJs(t.file, t.output, base);
- } else if (o.lint) {
- return lint(t.file, t.output);
- }
- }
- } catch (err) {
- CoffeeScript.emit('failure', err, task);
- if (CoffeeScript.listeners('failure').length) {
- return;
- }
- if (o.watch) {
- return printLine(err.message + '\x07');
- }
- printWarn(err instanceof Error && err.stack || ("ERROR: " + err));
- return process.exit(1);
- }
- };
-
- compileStdio = function() {
- var code, stdin;
- code = '';
- stdin = process.openStdin();
- stdin.on('data', function(buffer) {
- if (buffer) {
- return code += buffer.toString();
- }
- });
- return stdin.on('end', function() {
- return compileScript(null, code);
- });
- };
-
- joinTimeout = null;
-
- compileJoin = function() {
- if (!opts.join) {
- return;
- }
- if (!sourceCode.some(function(code) {
- return code === null;
- })) {
- clearTimeout(joinTimeout);
- return joinTimeout = wait(100, function() {
- return compileScript(opts.join, sourceCode.join('\n'), opts.join);
- });
- }
- };
-
- loadRequires = function() {
- var realFilename, req, _i, _len, _ref1;
- realFilename = module.filename;
- module.filename = '.';
- _ref1 = opts.require;
- for (_i = 0, _len = _ref1.length; _i < _len; _i++) {
- req = _ref1[_i];
- require(req);
- }
- return module.filename = realFilename;
- };
-
- watch = function(source, base) {
- var compile, compileTimeout, prevStats, rewatch, watchErr, watcher;
- prevStats = null;
- compileTimeout = null;
- watchErr = function(e) {
- if (e.code === 'ENOENT') {
- if (sources.indexOf(source) === -1) {
- return;
- }
- try {
- rewatch();
- return compile();
- } catch (e) {
- removeSource(source, base, true);
- return compileJoin();
- }
- } else {
- throw e;
- }
- };
- compile = function() {
- clearTimeout(compileTimeout);
- return compileTimeout = wait(25, function() {
- return fs.stat(source, function(err, stats) {
- if (err) {
- return watchErr(err);
- }
- if (prevStats && stats.size === prevStats.size && stats.mtime.getTime() === prevStats.mtime.getTime()) {
- return rewatch();
- }
- prevStats = stats;
- return fs.readFile(source, function(err, code) {
- if (err) {
- return watchErr(err);
- }
- compileScript(source, code.toString(), base);
- return rewatch();
- });
- });
- });
- };
- try {
- watcher = fs.watch(source, compile);
- } catch (e) {
- watchErr(e);
- }
- return rewatch = function() {
- if (watcher != null) {
- watcher.close();
- }
- return watcher = fs.watch(source, compile);
- };
- };
-
- watchDir = function(source, base) {
- var readdirTimeout, watcher;
- readdirTimeout = null;
- try {
- return watcher = fs.watch(source, function() {
- clearTimeout(readdirTimeout);
- return readdirTimeout = wait(25, function() {
- return fs.readdir(source, function(err, files) {
- var file, _i, _len, _results;
- if (err) {
- if (err.code !== 'ENOENT') {
- throw err;
- }
- watcher.close();
- return unwatchDir(source, base);
- }
- _results = [];
- for (_i = 0, _len = files.length; _i < _len; _i++) {
- file = files[_i];
- if (!(!hidden(file) && !notSources[file])) {
- continue;
- }
- file = path.join(source, file);
- if (sources.some(function(s) {
- return s.indexOf(file) >= 0;
- })) {
- continue;
- }
- sources.push(file);
- sourceCode.push(null);
- _results.push(compilePath(file, false, base));
- }
- return _results;
- });
- });
- });
- } catch (e) {
- if (e.code !== 'ENOENT') {
- throw e;
- }
- }
- };
-
- unwatchDir = function(source, base) {
- var file, prevSources, toRemove, _i, _len;
- prevSources = sources.slice(0);
- toRemove = (function() {
- var _i, _len, _results;
- _results = [];
- for (_i = 0, _len = sources.length; _i < _len; _i++) {
- file = sources[_i];
- if (file.indexOf(source) >= 0) {
- _results.push(file);
- }
- }
- return _results;
- })();
- for (_i = 0, _len = toRemove.length; _i < _len; _i++) {
- file = toRemove[_i];
- removeSource(file, base, true);
- }
- if (!sources.some(function(s, i) {
- return prevSources[i] !== s;
- })) {
- return;
- }
- return compileJoin();
- };
-
- removeSource = function(source, base, removeJs) {
- var index, jsPath;
- index = sources.indexOf(source);
- sources.splice(index, 1);
- sourceCode.splice(index, 1);
- if (removeJs && !opts.join) {
- jsPath = outputPath(source, base);
- return path.exists(jsPath, function(exists) {
- if (exists) {
- return fs.unlink(jsPath, function(err) {
- if (err && err.code !== 'ENOENT') {
- throw err;
- }
- return timeLog("removed " + source);
- });
- }
- });
- }
- };
-
- outputPath = function(source, base) {
- var baseDir, dir, filename, srcDir;
- filename = path.basename(source, path.extname(source)) + '.js';
- srcDir = path.dirname(source);
- baseDir = base === '.' ? srcDir : srcDir.substring(base.length);
- dir = opts.output ? path.join(opts.output, baseDir) : srcDir;
- return path.join(dir, filename);
- };
-
- writeJs = function(source, js, base) {
- var compile, jsDir, jsPath;
- jsPath = outputPath(source, base);
- jsDir = path.dirname(jsPath);
- compile = function() {
- if (js.length <= 0) {
- js = ' ';
- }
- return fs.writeFile(jsPath, js, function(err) {
- if (err) {
- return printLine(err.message);
- } else if (opts.compile && opts.watch) {
- return timeLog("compiled " + source);
- }
- });
- };
- return path.exists(jsDir, function(exists) {
- if (exists) {
- return compile();
- } else {
- return exec("mkdir -p " + jsDir, compile);
- }
- });
- };
-
- wait = function(milliseconds, func) {
- return setTimeout(func, milliseconds);
- };
-
- timeLog = function(message) {
- return console.log("" + ((new Date).toLocaleTimeString()) + " - " + message);
- };
-
- lint = function(file, js) {
- var conf, jsl, printIt;
- printIt = function(buffer) {
- return printLine(file + ':\t' + buffer.toString().trim());
- };
- conf = __dirname + '/../../extras/jsl.conf';
- jsl = spawn('jsl', ['-nologo', '-stdin', '-conf', conf]);
- jsl.stdout.on('data', printIt);
- jsl.stderr.on('data', printIt);
- jsl.stdin.write(js);
- return jsl.stdin.end();
- };
-
- printTokens = function(tokens) {
- var strings, tag, token, value;
- strings = (function() {
- var _i, _len, _ref1, _results;
- _results = [];
- for (_i = 0, _len = tokens.length; _i < _len; _i++) {
- token = tokens[_i];
- _ref1 = [token[0], token[1].toString().replace(/\n/, '\\n')], tag = _ref1[0], value = _ref1[1];
- _results.push("[" + tag + " " + value + "]");
- }
- return _results;
- })();
- return printLine(strings.join(' '));
- };
-
- parseOptions = function() {
- var i, o, source, _i, _len;
- optionParser = new optparse.OptionParser(SWITCHES, BANNER);
- o = opts = optionParser.parse(process.argv.slice(2));
- o.compile || (o.compile = !!o.output);
- o.run = !(o.compile || o.print || o.lint);
- o.print = !!(o.print || (o["eval"] || o.stdio && o.compile));
- sources = o["arguments"];
- for (i = _i = 0, _len = sources.length; _i < _len; i = ++_i) {
- source = sources[i];
- sourceCode[i] = null;
- }
- };
-
- compileOptions = function(filename) {
- return {
- filename: filename,
- bare: opts.bare,
- header: opts.compile
- };
- };
-
- forkNode = function() {
- var args, nodeArgs;
- nodeArgs = opts.nodejs.split(/\s+/);
- args = process.argv.slice(1);
- args.splice(args.indexOf('--nodejs'), 2);
- return spawn(process.execPath, nodeArgs.concat(args), {
- cwd: process.cwd(),
- env: process.env,
- customFds: [0, 1, 2]
- });
- };
-
- usage = function() {
- return printLine((new optparse.OptionParser(SWITCHES, BANNER)).help());
- };
-
- version = function() {
- return printLine("CoffeeScript version " + CoffeeScript.VERSION);
- };
-
-}).call(this);
View
606 node_modules/coffee-script/lib/coffee-script/grammar.js
@@ -1,606 +0,0 @@
-// Generated by CoffeeScript 1.3.3
-(function() {
- var Parser, alt, alternatives, grammar, name, o, operators, token, tokens, unwrap;
-
- Parser = require('jison').Parser;
-
- unwrap = /^function\s*\(\)\s*\{\s*return\s*([\s\S]*);\s*\}/;
-
- o = function(patternString, action, options) {
- var match;
- patternString = patternString.replace(/\s{2,}/g, ' ');
- if (!action) {
- return [patternString, '$$ = $1;', options];
- }
- action = (match = unwrap.exec(action)) ? match[1] : "(" + action + "())";
- action = action.replace(/\bnew /g, '$&yy.');
- action = action.replace(/\b(?:Block\.wrap|extend)\b/g, 'yy.$&');
- return [patternString, "$$ = " + action + ";", options];
- };
-
- grammar = {
- Root: [
- o('', function() {
- return new Block;
- }), o('Body'), o('Block TERMINATOR')
- ],
- Body: [
- o('Line', function() {
- return Block.wrap([$1]);
- }), o('Body TERMINATOR Line', function() {
- return $1.push($3);
- }), o('Body TERMINATOR')
- ],
- Line: [o('Expression'), o('Statement')],
- Statement: [
- o('Return'), o('Comment'), o('STATEMENT', function() {
- return new Literal($1);
- })
- ],
- Expression: [o('Value'), o('Invocation'), o('Code'), o('Operation'), o('Assign'), o('If'), o('Try'), o('While'), o('For'), o('Switch'), o('Class'), o('Throw')],
- Block: [
- o('INDENT OUTDENT', function() {
- return new Block;
- }), o('INDENT Body OUTDENT', function() {
- return $2;
- })
- ],
- Identifier: [
- o('IDENTIFIER', function() {
- return new Literal($1);
- })
- ],
- AlphaNumeric: [
- o('NUMBER', function() {
- return new Literal($1);
- }), o('STRING', function() {
- return new Literal($1);
- })
- ],
- Literal: [
- o('AlphaNumeric'), o('JS', function() {
- return new Literal($1);
- }), o('REGEX', function() {
- return new Literal($1);
- }), o('DEBUGGER', function() {
- return new Literal($1);
- }), o('UNDEFINED', function() {
- return new Undefined;
- }), o('NULL', function() {
- return new Null;
- }), o('BOOL', function() {
- return new Bool($1);
- })
- ],
- Assign: [
- o('Assignable = Expression', function() {
- return new Assign($1, $3);
- }), o('Assignable = TERMINATOR Expression', function() {
- return new Assign($1, $4);
- }), o('Assignable = INDENT Expression OUTDENT', function() {
- return new Assign($1, $4);
- })
- ],
- AssignObj: [
- o('ObjAssignable', function() {
- return new Value($1);
- }), o('ObjAssignable : Expression', function() {
- return new Assign(new Value($1), $3, 'object');
- }), o('ObjAssignable :\
- INDENT Expression OUTDENT', function() {
- return new Assign(new Value($1), $4, 'object');
- }), o('Comment')
- ],
- ObjAssignable: [o('Identifier'), o('AlphaNumeric'), o('ThisProperty')],
- Return: [
- o('RETURN Expression', function() {
- return new Return($2);
- }), o('RETURN', function() {
- return new Return;
- })
- ],
- Comment: [
- o('HERECOMMENT', function() {
- return new Comment($1);
- })
- ],
- Code: [
- o('PARAM_START ParamList PARAM_END FuncGlyph Block', function() {
- return new Code($2, $5, $4);
- }), o('FuncGlyph Block', function() {
- return new Code([], $2, $1);
- })
- ],
- FuncGlyph: [
- o('->', function() {
- return 'func';
- }), o('=>', function() {
- return 'boundfunc';
- })
- ],
- OptComma: [o(''), o(',')],
- ParamList: [
- o('', function() {
- return [];
- }), o('Param', function() {
- return [$1];
- }), o('ParamList , Param', function() {
- return $1.concat($3);
- }), o('ParamList OptComma TERMINATOR Param', function() {
- return $1.concat($4);
- }), o('ParamList OptComma INDENT ParamList OptComma OUTDENT', function() {
- return $1.concat($4);
- })
- ],
- Param: [
- o('ParamVar', function() {
- return new Param($1);
- }), o('ParamVar ...', function() {
- return new Param($1, null, true);
- }), o('ParamVar = Expression', function() {
- return new Param($1, $3);
- })
- ],
- ParamVar: [o('Identifier'), o('ThisProperty'), o('Array'), o('Object')],
- Splat: [
- o('Expression ...', function() {
- return new Splat($1);
- })
- ],
- SimpleAssignable: [
- o('Identifier', function() {
- return new Value($1);
- }), o('Value Accessor', function() {
- return $1.add($2);
- }), o('Invocation Accessor', function() {
- return new Value($1, [].concat($2));
- }), o('ThisProperty')
- ],
- Assignable: [
- o('SimpleAssignable'), o('Array', function() {
- return new Value($1);
- }), o('Object', function() {
- return new Value($1);
- })
- ],
- Value: [
- o('Assignable'), o('Literal', function() {
- return new Value($1);
- }), o('Parenthetical', function() {
- return new Value($1);
- }), o('Range', function() {
- return new Value($1);
- }), o('This')
- ],
- Accessor: [
- o('. Identifier', function() {
- return new Access($2);
- }), o('?. Identifier', function() {
- return new Access($2, 'soak');
- }), o(':: Identifier', function() {
- return [new Access(new Literal('prototype')), new Access($2)];
- }), o('::', function() {
- return new Access(new Literal('prototype'));
- }), o('Index')
- ],
- Index: [
- o('INDEX_START IndexValue INDEX_END', function() {
- return $2;
- }), o('INDEX_SOAK Index', function() {
- return extend($2, {
- soak: true
- });
- })
- ],
- IndexValue: [
- o('Expression', function() {
- return new Index($1);
- }), o('Slice', function() {
- return new Slice($1);
- })
- ],
- Object: [
- o('{ AssignList OptComma }', function() {
- return new Obj($2, $1.generated);
- })
- ],
- AssignList: [
- o('', function() {
- return [];
- }), o('AssignObj', function() {
- return [$1];
- }), o('AssignList , AssignObj', function() {
- return $1.concat($3);
- }), o('AssignList OptComma TERMINATOR AssignObj', function() {
- return $1.concat($4);
- }), o('AssignList OptComma INDENT AssignList OptComma OUTDENT', function() {
- return $1.concat($4);
- })
- ],
- Class: [
- o('CLASS', function() {
- return new Class;
- }), o('CLASS Block', function() {
- return new Class(null, null, $2);
- }), o('CLASS EXTENDS Expression', function() {
- return new Class(null, $3);
- }), o('CLASS EXTENDS Expression Block', function() {
- return new Class(null, $3, $4);
- }), o('CLASS SimpleAssignable', function() {
- return new Class($2);
- }), o('CLASS SimpleAssignable Block', function() {
- return new Class($2, null, $3);
- }), o('CLASS SimpleAssignable EXTENDS Expression', function() {
- return new Class($2, $4);
- }), o('CLASS SimpleAssignable EXTENDS Expression Block', function() {
- return new Class($2, $4, $5);
- })
- ],
- Invocation: [
- o('Value OptFuncExist Arguments', function() {
- return new Call($1, $3, $2);
- }), o('Invocation OptFuncExist Arguments', function() {
- return new Call($1, $3, $2);
- }), o('SUPER', function() {
- return new Call('super', [new Splat(new Literal('arguments'))]);
- }), o('SUPER Arguments', function() {
- return new Call('super', $2);
- })
- ],
- OptFuncExist: [
- o('', function() {
- return false;
- }), o('FUNC_EXIST', function() {
- return true;
- })
- ],
- Arguments: [
- o('CALL_START CALL_END', function() {
- return [];
- }), o('CALL_START ArgList OptComma CALL_END', function() {
- return $2;
- })
- ],
- This: [
- o('THIS', function() {
- return new Value(new Literal('this'));
- }), o('@', function() {
- return new Value(new Literal('this'));
- })
- ],
- ThisProperty: [
- o('@ Identifier', function() {
- return new Value(new Literal('this'), [new Access($2)], 'this');
- })
- ],
- Array: [
- o('[ ]', function() {
- return new Arr([]);
- }), o('[ ArgList OptComma ]', function() {
- return new Arr($2);
- })
- ],
- RangeDots: [
- o('..', function() {
- return 'inclusive';
- }), o('...', function() {
- return 'exclusive';
- })
- ],
- Range: [
- o('[ Expression RangeDots Expression ]', function() {
- return new Range($2, $4, $3);
- })
- ],
- Slice: [
- o('Expression RangeDots Expression', function() {
- return new Range($1, $3, $2);
- }), o('Expression RangeDots', function() {
- return new Range($1, null, $2);
- }), o('RangeDots Expression', function() {
- return new Range(null, $2, $1);
- }), o('RangeDots', function() {
- return new Range(null, null, $1);
- })
- ],
- ArgList: [
- o('Arg', function() {
- return [$1];
- }), o('ArgList , Arg', function() {
- return $1.concat($3);
- }), o('ArgList OptComma TERMINATOR Arg', function() {
- return $1.concat($4);
- }), o('INDENT ArgList OptComma OUTDENT', function() {
- return $2;
- }), o('ArgList OptComma INDENT ArgList OptComma OUTDENT', function() {
- return $1.concat($4);
- })
- ],
- Arg: [o('Expression'), o('Splat')],
- SimpleArgs: [
- o('Expression'), o('SimpleArgs , Expression', function() {
- return [].concat($1, $3);
- })
- ],
- Try: [
- o('TRY Block', function() {
- return new Try($2);
- }), o('TRY Block Catch', function() {
- return new Try($2, $3[0], $3[1]);
- }), o('TRY Block FINALLY Block', function() {
- return new Try($2, null, null, $4);
- }), o('TRY Block Catch FINALLY Block', function() {
- return new Try($2, $3[0], $3[1], $5);
- })
- ],
- Catch: [
- o('CATCH Identifier Block', function() {
- return [$2, $3];
- })
- ],
- Throw: [
- o('THROW Expression', function() {
- return new Throw($2);
- })
- ],
- Parenthetical: [
- o('( Body )', function() {
- return new Parens($2);
- }), o('( INDENT Body OUTDENT )', function() {
- return new Parens($3);
- })
- ],
- WhileSource: [
- o('WHILE Expression', function() {
- return new While($2);
- }), o('WHILE Expression WHEN Expression', function() {
- return new While($2, {
- guard: $4
- });
- }), o('UNTIL Expression', function() {
- return new While($2, {
- invert: true
- });
- }), o('UNTIL Expression WHEN Expression', function() {
- return new While($2, {
- invert: true,
- guard: $4
- });
- })
- ],
- While: [
- o('WhileSource Block', function() {
- return $1.addBody($2);
- }), o('Statement WhileSource', function() {
- return $2.addBody(Block.wrap([$1]));
- }), o('Expression WhileSource', function() {
- return $2.addBody(Block.wrap([$1]));
- }), o('Loop', function() {
- return $1;
- })
- ],
- Loop: [
- o('LOOP Block', function() {
- return new While(new Literal('true')).addBody($2);
- }), o('LOOP Expression', function() {
- return new While(new Literal('true')).addBody(Block.wrap([$2]));
- })
- ],
- For: [