Permalink
Browse files

Work in progress

  • Loading branch information...
Raynos
Raynos committed Dec 16, 2011
1 parent 2bdab31 commit 5bdfd32381dc30866bced7d22969170c1e4f5fbb
Showing with 18,732 additions and 1,941 deletions.
  1. +26 −4 build.js
  2. +7 −1,425 lib/DOM-shim-ie8.js
  3. +7 −415 lib/DOM-shim.js
  4. +7 −0 node_modules/express/.npmignore
  5. +770 −0 node_modules/express/History.md
  6. +22 −0 node_modules/express/LICENSE
  7. +29 −0 node_modules/express/Makefile
  8. +145 −0 node_modules/express/Readme.md
  9. +428 −0 node_modules/express/bin/express
  10. +2 −0 node_modules/express/index.js
  11. +79 −0 node_modules/express/lib/express.js
  12. +583 −0 node_modules/express/lib/http.js
  13. +52 −0 node_modules/express/lib/https.js
  14. +321 −0 node_modules/express/lib/request.js
  15. +460 −0 node_modules/express/lib/response.js
  16. +53 −0 node_modules/express/lib/router/collection.js
  17. +398 −0 node_modules/express/lib/router/index.js
  18. +70 −0 node_modules/express/lib/router/methods.js
  19. +88 −0 node_modules/express/lib/router/route.js
  20. +152 −0 node_modules/express/lib/utils.js
  21. +457 −0 node_modules/express/lib/view.js
  22. +40 −0 node_modules/express/lib/view/partial.js
  23. +210 −0 node_modules/express/lib/view/view.js
  24. +11 −0 node_modules/express/node_modules/connect/.npmignore
  25. +24 −0 node_modules/express/node_modules/connect/LICENSE
  26. +2 −0 node_modules/express/node_modules/connect/index.js
  27. +81 −0 node_modules/express/node_modules/connect/lib/cache.js
  28. +106 −0 node_modules/express/node_modules/connect/lib/connect.js
  29. +217 −0 node_modules/express/node_modules/connect/lib/http.js
  30. +47 −0 node_modules/express/node_modules/connect/lib/https.js
  31. +46 −0 node_modules/express/node_modules/connect/lib/index.js
  32. +93 −0 node_modules/express/node_modules/connect/lib/middleware/basicAuth.js
  33. +189 −0 node_modules/express/node_modules/connect/lib/middleware/bodyParser.js
  34. +163 −0 node_modules/express/node_modules/connect/lib/middleware/compiler.js
  35. +46 −0 node_modules/express/node_modules/connect/lib/middleware/cookieParser.js
  36. +105 −0 node_modules/express/node_modules/connect/lib/middleware/csrf.js
  37. +222 −0 node_modules/express/node_modules/connect/lib/middleware/directory.js
  38. +100 −0 node_modules/express/node_modules/connect/lib/middleware/errorHandler.js
  39. +76 −0 node_modules/express/node_modules/connect/lib/middleware/favicon.js
  40. +82 −0 node_modules/express/node_modules/connect/lib/middleware/limit.js
  41. +299 −0 node_modules/express/node_modules/connect/lib/middleware/logger.js
  42. +38 −0 node_modules/express/node_modules/connect/lib/middleware/methodOverride.js
  43. +100 −0 node_modules/express/node_modules/connect/lib/middleware/profiler.js
  44. +40 −0 node_modules/express/node_modules/connect/lib/middleware/query.js
  45. +34 −0 node_modules/express/node_modules/connect/lib/middleware/responseTime.js
  46. +379 −0 node_modules/express/node_modules/connect/lib/middleware/router.js
  47. +346 −0 node_modules/express/node_modules/connect/lib/middleware/session.js
  48. +126 −0 node_modules/express/node_modules/connect/lib/middleware/session/cookie.js
  49. +131 −0 node_modules/express/node_modules/connect/lib/middleware/session/memory.js
  50. +137 −0 node_modules/express/node_modules/connect/lib/middleware/session/session.js
  51. +87 −0 node_modules/express/node_modules/connect/lib/middleware/session/store.js
  52. +225 −0 node_modules/express/node_modules/connect/lib/middleware/static.js
  53. +175 −0 node_modules/express/node_modules/connect/lib/middleware/staticCache.js
  54. +44 −0 node_modules/express/node_modules/connect/lib/middleware/vhost.js
  55. +79 −0 node_modules/express/node_modules/connect/lib/patch.js
  56. +75 −0 node_modules/express/node_modules/connect/lib/public/directory.html
  57. +13 −0 node_modules/express/node_modules/connect/lib/public/error.html
  58. BIN node_modules/express/node_modules/connect/lib/public/favicon.ico
  59. BIN node_modules/express/node_modules/connect/lib/public/icons/page.png
  60. BIN node_modules/express/node_modules/connect/lib/public/icons/page_add.png
  61. BIN node_modules/express/node_modules/connect/lib/public/icons/page_attach.png
  62. BIN node_modules/express/node_modules/connect/lib/public/icons/page_code.png
  63. BIN node_modules/express/node_modules/connect/lib/public/icons/page_copy.png
  64. BIN node_modules/express/node_modules/connect/lib/public/icons/page_delete.png
  65. BIN node_modules/express/node_modules/connect/lib/public/icons/page_edit.png
  66. BIN node_modules/express/node_modules/connect/lib/public/icons/page_error.png
  67. BIN node_modules/express/node_modules/connect/lib/public/icons/page_excel.png
  68. BIN node_modules/express/node_modules/connect/lib/public/icons/page_find.png
  69. BIN node_modules/express/node_modules/connect/lib/public/icons/page_gear.png
  70. BIN node_modules/express/node_modules/connect/lib/public/icons/page_go.png
  71. BIN node_modules/express/node_modules/connect/lib/public/icons/page_green.png
  72. BIN node_modules/express/node_modules/connect/lib/public/icons/page_key.png
  73. BIN node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png
  74. BIN node_modules/express/node_modules/connect/lib/public/icons/page_link.png
  75. BIN node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png
  76. BIN node_modules/express/node_modules/connect/lib/public/icons/page_paste.png
  77. BIN node_modules/express/node_modules/connect/lib/public/icons/page_red.png
  78. BIN node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png
  79. BIN node_modules/express/node_modules/connect/lib/public/icons/page_save.png
  80. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white.png
  81. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png
  82. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png
  83. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png
  84. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png
  85. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png
  86. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png
  87. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png
  88. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png
  89. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png
  90. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png
  91. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png
  92. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png
  93. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png
  94. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png
  95. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png
  96. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png
  97. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png
  98. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png
  99. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png
  100. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png
  101. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png
  102. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png
  103. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png
  104. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png
  105. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png
  106. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png
  107. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png
  108. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png
  109. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png
  110. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png
  111. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png
  112. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png
  113. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png
  114. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png
  115. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png
  116. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png
  117. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png
  118. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png
  119. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png
  120. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png
  121. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png
  122. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png
  123. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png
  124. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png
  125. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png
  126. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png
  127. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png
  128. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png
  129. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png
  130. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png
  131. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png
  132. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png
  133. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png
  134. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png
  135. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png
  136. BIN node_modules/express/node_modules/connect/lib/public/icons/page_word.png
  137. BIN node_modules/express/node_modules/connect/lib/public/icons/page_world.png
  138. +141 −0 node_modules/express/node_modules/connect/lib/public/style.css
  139. +451 −0 node_modules/express/node_modules/connect/lib/utils.js
  140. +4 −0 node_modules/express/node_modules/connect/node_modules/formidable/.gitignore
  141. +4 −0 node_modules/express/node_modules/connect/node_modules/formidable/.npmignore
  142. +4 −0 node_modules/express/node_modules/connect/node_modules/formidable/.travis.yml
  143. +14 −0 node_modules/express/node_modules/connect/node_modules/formidable/Makefile
  144. +286 −0 node_modules/express/node_modules/connect/node_modules/formidable/Readme.md
  145. +3 −0 node_modules/express/node_modules/connect/node_modules/formidable/TODO
  146. +70 −0 ..._modules/express/node_modules/connect/node_modules/formidable/benchmark/bench-multipart-parser.js
  147. +43 −0 node_modules/express/node_modules/connect/node_modules/formidable/example/post.js
  148. +48 −0 node_modules/express/node_modules/connect/node_modules/formidable/example/upload.js
  149. +1 −0 node_modules/express/node_modules/connect/node_modules/formidable/index.js
  150. +61 −0 node_modules/express/node_modules/connect/node_modules/formidable/lib/file.js
  151. +377 −0 node_modules/express/node_modules/connect/node_modules/formidable/lib/incoming_form.js
  152. +3 −0 node_modules/express/node_modules/connect/node_modules/formidable/lib/index.js
  153. +312 −0 node_modules/express/node_modules/connect/node_modules/formidable/lib/multipart_parser.js
  154. +25 −0 node_modules/express/node_modules/connect/node_modules/formidable/lib/querystring_parser.js
  155. +6 −0 node_modules/express/node_modules/connect/node_modules/formidable/lib/util.js
  156. +22 −0 node_modules/express/node_modules/connect/node_modules/formidable/package.json
  157. +19 −0 node_modules/express/node_modules/connect/node_modules/formidable/test/common.js
  158. +1 −0 ..._modules/express/node_modules/connect/node_modules/formidable/test/fixture/file/funkyfilename.txt
  159. +1 −0 node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/file/plain.txt
  160. +13 −0 ...s/express/node_modules/connect/node_modules/formidable/test/fixture/http/no-filename/generic.http
  161. +3 −0 .../node_modules/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/info.md
  162. +26 −0 ...es/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/osx-chrome-13.http
  163. +24 −0 .../connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/osx-firefox-3.6.http
  164. +23 −0 ...les/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/osx-safari-5.http
  165. +24 −0 ...les/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/xp-chrome-12.http
  166. +22 −0 ..._modules/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/xp-ie-7.http
  167. +22 −0 ..._modules/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/xp-ie-8.http
  168. +22 −0 ...ules/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/xp-safari-5.http
  169. +3 −0 node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/no-filename.js
  170. +21 −0 ...express/node_modules/connect/node_modules/formidable/test/fixture/js/special-chars-in-filename.js
  171. +72 −0 node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/multipart.js
  172. +89 −0 node_modules/express/node_modules/connect/node_modules/formidable/test/integration/test-fixtures.js
  173. +24 −0 node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js
  174. +80 −0 ...ess/node_modules/connect/node_modules/formidable/test/legacy/integration/test-multipart-parser.js
  175. +104 −0 node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/simple/test-file.js
  176. +715 −0 ...les/express/node_modules/connect/node_modules/formidable/test/legacy/simple/test-incoming-form.js
  177. +50 −0 .../express/node_modules/connect/node_modules/formidable/test/legacy/simple/test-multipart-parser.js
  178. +45 −0 ...xpress/node_modules/connect/node_modules/formidable/test/legacy/simple/test-querystring-parser.js
  179. +72 −0 ...xpress/node_modules/connect/node_modules/formidable/test/legacy/system/test-multi-video-upload.js
  180. +2 −0 node_modules/express/node_modules/connect/node_modules/formidable/test/run.js
  181. +63 −0 node_modules/express/node_modules/connect/node_modules/formidable/test/unit/test-incoming-form.js
  182. +47 −0 node_modules/express/node_modules/connect/node_modules/formidable/tool/record.js
  183. +25 −0 node_modules/express/node_modules/connect/package.json
  184. +19 −0 node_modules/express/node_modules/mime/LICENSE
  185. +50 −0 node_modules/express/node_modules/mime/README.md
  186. +92 −0 node_modules/express/node_modules/mime/mime.js
  187. +22 −0 node_modules/express/node_modules/mime/package.json
  188. +79 −0 node_modules/express/node_modules/mime/test.js
  189. +1,479 −0 node_modules/express/node_modules/mime/types/mime.types
  190. +43 −0 node_modules/express/node_modules/mime/types/node.types
  191. +2 −0 node_modules/express/node_modules/mkdirp/.gitignore
  192. +2 −0 node_modules/express/node_modules/mkdirp/.gitignore.orig
  193. +5 −0 node_modules/express/node_modules/mkdirp/.gitignore.rej
  194. +21 −0 node_modules/express/node_modules/mkdirp/LICENSE
  195. +21 −0 node_modules/express/node_modules/mkdirp/README.markdown
  196. +6 −0 node_modules/express/node_modules/mkdirp/examples/pow.js
  197. +6 −0 node_modules/express/node_modules/mkdirp/examples/pow.js.orig
  198. +19 −0 node_modules/express/node_modules/mkdirp/examples/pow.js.rej
  199. +20 −0 node_modules/express/node_modules/mkdirp/index.js
  200. +23 −0 node_modules/express/node_modules/mkdirp/package.json
  201. +28 −0 node_modules/express/node_modules/mkdirp/test/mkdirp.js
  202. +41 −0 node_modules/express/node_modules/mkdirp/test/race.js
  203. +32 −0 node_modules/express/node_modules/mkdirp/test/rel.js
  204. +1 −0 node_modules/express/node_modules/qs/.gitignore
  205. +6 −0 node_modules/express/node_modules/qs/.gitmodules
  206. +63 −0 node_modules/express/node_modules/qs/History.md
  207. +5 −0 node_modules/express/node_modules/qs/Makefile
  208. +47 −0 node_modules/express/node_modules/qs/Readme.md
  209. +17 −0 node_modules/express/node_modules/qs/benchmark.js
  210. +48 −0 node_modules/express/node_modules/qs/examples.js
  211. +2 −0 node_modules/express/node_modules/qs/index.js
  212. +262 −0 node_modules/express/node_modules/qs/lib/querystring.js
  213. +16 −0 node_modules/express/node_modules/qs/package.json
  214. +2 −0 node_modules/express/node_modules/qs/test/mocha.opts
  215. +155 −0 node_modules/express/node_modules/qs/test/parse.js
  216. +95 −0 node_modules/express/node_modules/qs/test/stringify.js
  217. +39 −0 node_modules/express/package.json
  218. +35 −0 node_modules/express/testing/foo/app.js
  219. +9 −0 node_modules/express/testing/foo/package.json
  220. +8 −0 node_modules/express/testing/foo/public/stylesheets/style.css
  221. +10 −0 node_modules/express/testing/foo/routes/index.js
  222. +2 −0 node_modules/express/testing/foo/views/index.jade
  223. +6 −0 node_modules/express/testing/foo/views/layout.jade
  224. +43 −0 node_modules/express/testing/index.js
  225. +2,971 −0 node_modules/express/testing/public/test.txt
  226. +1 −0 node_modules/express/testing/views/page.html
  227. +3 −0 node_modules/express/testing/views/page.jade
  228. +1 −0 node_modules/express/testing/views/test.md
  229. +1 −0 node_modules/express/testing/views/user/index.jade
  230. +1 −0 node_modules/express/testing/views/user/list.jade
  231. +2 −1 package.json
  232. +15 −0 server.js
  233. +7 −0 src/all/bugs/CustomEvent.js
  234. +5 −0 src/all/bugs/Element.js
  235. +34 −0 src/all/bugs/Event.js
  236. +0 −29 src/all/{bugs.js → bugs/Node.js}
  237. +0 −3 src/all/interfaces/EventTarget.js
  238. +0 −7 src/all/interfaces/index.js
  239. +7 −0 src/ie8/bugs/CustomEvent.js
  240. +7 −0 src/ie8/bugs/DOMException.js
  241. +7 −0 src/ie8/bugs/DOMImplementation.js
  242. +36 −0 src/ie8/bugs/Document.js
  243. +7 −0 src/ie8/bugs/Element.js
  244. +7 −0 src/ie8/bugs/Event.js
  245. +7 −0 src/ie8/bugs/EventTarget.js
  246. +3 −35 src/ie8/{bugs.js → bugs/Node.js}
  247. +4 −0 src/ie8/interfaces/CustomEvent.js
  248. +29 −0 src/ie8/interfaces/Event.js
  249. +17 −4 src/ie8/interfaces/EventTarget.js
  250. +0 −10 src/ie8/interfaces/index.js
  251. +5 −5 src/main.js
  252. +307 −0 test/DOM-shim-ie8.js
  253. +307 −0 test/DOM-shim.js
  254. +3 −0 test/test-suites/XMLHttpRequest.js
  255. +3 −3 test/test.html
  256. +3 −0 test/xhr-suites/XMLHttpRequest.js
  257. +9 −0 test/xhr-suites/main.js
  258. +28 −0 test/xhr-test.html
  259. +183 −0 test/xhr-tests.js
View
@@ -38,21 +38,43 @@ function build() {
modul8("./test/test-suites/main.js")
.compile("./test/tests.js");
+ modul8("./test/xhr-suites/main.js")
+ .compile("./test/xhr-tests.js");
+
modul8("./src/main.js")
.domains({
- shims: './src/all/',
+ interfaces: './src/all/interfaces',
+ bugs: './src/all/bugs',
all: './src/all/',
utils: './src/utils/'
})
- .compile("./lib/DOM-shim.js");
+ .data()
+ .add('shims', [
+ 'CustomEvent', 'Element', 'Event', 'Node'
+ ])
+ .compile("./lib/DOM-shim.js")
+ .compile("./test/DOM-shim.js");
modul8("./src/main.js")
.domains({
- shims: './src/ie8/',
+ interfaces: './src/ie8/interfaces',
+ bugs: './src/ie8/bugs',
all: './src/all/',
utils: './src/utils/'
})
- .compile('./lib/DOM-shim-ie8.js');
+ .data()
+ .add('shims', [
+ 'CustomEvent',
+ 'Document',
+ 'DOMException',
+ 'DOMImplementaton',
+ 'Element',
+ 'Event',
+ 'EventTarget',
+ 'Node'
+ ])
+ .compile('./lib/DOM-shim-ie8.js')
+ .compile("./test/DOM-shim-ie8.js");
} catch (e) {
console.log("compiler error", e);
Oops, something went wrong.

0 comments on commit 5bdfd32

Please sign in to comment.