Permalink
Browse files

copied master into gh-pages

  • Loading branch information...
1 parent 7a7576f commit 3b272f90f22a011e286c2f9cd11830cd392442a5 @electronicwhisper committed May 7, 2012
Showing with 5,376 additions and 1 deletion.
  1. +30 −0 compile.coffee
  2. +1,042 −0 compiled/app.js
  3. +239 −0 compiled/css/font/font-awesome.css
  4. BIN compiled/css/font/fontawesome-webfont.eot
  5. +175 −0 compiled/css/font/fontawesome-webfont.svg
  6. BIN compiled/css/font/fontawesome-webfont.svgz
  7. BIN compiled/css/font/fontawesome-webfont.ttf
  8. BIN compiled/css/font/fontawesome-webfont.woff
  9. BIN compiled/css/images/bgnoise.gif
  10. BIN compiled/css/images/dragarrow.png
  11. +200 −0 compiled/css/style.css
  12. +92 −0 doc/old ideas for solving.txt
  13. +25 −0 doc/test-chromebug.html
  14. +37 −0 doc/test-hitdetect.html
  15. +24 −0 doc/test.html
  16. +81 −0 doc/todo.txt
  17. +21 −0 doc/ui.txt
  18. +96 −1 index.html
  19. +514 −0 src/app.coffee
  20. +10 −0 src/config.coffee
  21. +17 −0 src/export.coffee
  22. +11 −0 src/extras.coffee
  23. +208 −0 src/makeRenderer.coffee
  24. +140 −0 src/model.coffee
  25. +91 −0 src/solveConstraint.coffee
  26. +212 −0 src/style.styl
  27. +4 −0 vendor/jquery-1.7.2.min.js
  28. BIN vendor/jquery.contextMenu/images/cut.png
  29. BIN vendor/jquery.contextMenu/images/door.png
  30. BIN vendor/jquery.contextMenu/images/page_white_copy.png
  31. BIN vendor/jquery.contextMenu/images/page_white_delete.png
  32. BIN vendor/jquery.contextMenu/images/page_white_edit.png
  33. BIN vendor/jquery.contextMenu/images/page_white_paste.png
  34. +134 −0 vendor/jquery.contextMenu/jquery.contextMenu.css
  35. +1,466 −0 vendor/jquery.contextMenu/jquery.contextMenu.js
  36. +252 −0 vendor/jquery.contextMenu/jquery.ui.position.js
  37. +84 −0 vendor/jquery.mousewheel.js
  38. +4 −0 vendor/keymaster.min.js
  39. +97 −0 vendor/knockout-2.0.0.js
  40. +2 −0 vendor/numeric-1.0.2.min.js
  41. +30 −0 vendor/rAF.js
  42. +7 −0 vendor/stats.js
  43. +31 −0 vendor/underscore-min.js
View
@@ -0,0 +1,30 @@
+# Run:
+# nodemon --watch src compile.coffee
+#
+# also (until I factor stylus in here...):
+# stylus -w -o compiled/css src/style.styl
+
+
+stitch = require("stitch")
+stylus = require('stylus')
+fs = require('fs')
+
+package = stitch.createPackage(
+ # Specify the paths you want Stitch to automatically bundle up
+ paths: [ __dirname + "/src" ]
+
+ # Specify your base libraries
+ dependencies: [
+ # __dirname + '/lib/jquery.js'
+ ]
+)
+
+
+compile = () ->
+ package.compile (err, source) ->
+ fs.writeFile 'compiled/app.js', source, (err) ->
+ if (err) then throw err
+ console.log('Compiled app.js')
+
+
+compile()
Oops, something went wrong.

0 comments on commit 3b272f9

Please sign in to comment.