Permalink
Browse files

Massive Overhaul and Updates

Overhauled some directories, the book effects, the build tool, updated
demos and other files
  • Loading branch information...
2 parents ecd6baf + 0e97625 commit d1f912211143935b4e1f7e0762af022ca4a1280a Matt Lantz committed Nov 20, 2012
Showing with 5,711 additions and 1,862 deletions.
  1. +15 −5 Jakefile
  2. +6 −0 README.md
  3. +3,071 −0 build/alice.js
  4. +45 −0 build/alice.min.js
  5. BIN build/alice.min.js.gz
  6. +1 −1 docs/credits.json
  7. +32 −14 docs/css/default.css
  8. +18 −15 docs/demos/builder.html
  9. +300 −161 docs/demos/caterpillar.html
  10. +10 −8 docs/demos/chaining.html
  11. +23 −27 docs/demos/cheshire.html
  12. +34 −50 docs/demos/fx/book.html
  13. +3 −4 docs/demos/fx/bounce.html
  14. +3 −4 docs/demos/fx/dance.html
  15. +3 −4 docs/demos/fx/drain.html
  16. +3 −4 docs/demos/fx/fade.html
  17. +3 −4 docs/demos/fx/hinge.html
  18. +3 −4 docs/demos/fx/pageFlip.html
  19. +3 −4 docs/demos/fx/pendulum.html
  20. +3 −4 docs/demos/fx/phantomZone.html
  21. +3 −4 docs/demos/fx/raceFlag.html
  22. +3 −4 docs/demos/fx/slide.html
  23. +3 −4 docs/demos/fx/spin.html
  24. +3 −4 docs/demos/fx/toss.html
  25. +3 −4 docs/demos/fx/twirl.html
  26. +3 −4 docs/demos/fx/wobble.html
  27. +3 −4 docs/demos/fx/zoom.html
  28. +23 −24 docs/demos/index.html
  29. +0 −15 docs/demos/newgame.html
  30. +23 −23 docs/demos/sampler.html
  31. BIN docs/images/AliceMain.png
  32. BIN { → docs}/images/app_icon.png
  33. BIN { → docs}/images/back_btn.png
  34. BIN { → docs}/images/backgrounds/black_canvas.jpg
  35. BIN { → docs}/images/backgrounds/wave_header.jpg
  36. BIN docs/images/caterpillar.png
  37. BIN { → docs}/images/cheshire-131x96.png
  38. BIN { → docs}/images/cheshire-175x128.png
  39. BIN { → docs}/images/cheshire-260x190.png
  40. BIN docs/images/cheshire.png
  41. BIN { → docs}/images/close_icon.png
  42. BIN docs/images/favicon.ico
  43. BIN { → docs}/images/folder.png
  44. 0 { → docs}/images/logo.html
  45. BIN { → docs}/images/logo_header_plain.png
  46. BIN { → docs}/images/logo_header_plain_sprite.png
  47. BIN { → docs}/images/logo_plain.png
  48. BIN docs/images/madhatter.png
  49. BIN docs/images/pat.jpg
  50. BIN docs/images/queen.png
  51. BIN { → docs}/images/rabbit.png
  52. BIN docs/images/rabbit2.png
  53. +11 −9 docs/index.html
  54. +45 −0 docs/js/alice.min.js
  55. 0 { → docs}/libs/prettify/lang-css.js
  56. 0 { → docs}/libs/prettify/license.txt
  57. 0 { → docs}/libs/prettify/prettify.css
  58. 0 { → docs}/libs/prettify/prettify.js
  59. 0 { → docs}/libs/prettify/themes/desert.css
  60. 0 { → docs}/libs/prettify/themes/sons-of-obsidian.css
  61. 0 { → docs}/libs/prettify/themes/sunburst.css
  62. 0 { → docs}/libs/sniffer.js
  63. +201 −0 docs/license.txt
  64. +0 −9 libs/jworkflow/LICENSE
  65. +0 −3 libs/jworkflow/jworkflow-min-0.6.0.js
  66. +838 −0 src/alice.core.js
  67. +970 −1,223 src/alice.plugins.caterpillar.js
  68. +0 −215 test/bouncySlide.html
View
@@ -7,18 +7,28 @@ task("build", [], function () {
console.log("building Alice.js ...");
var fs = require('fs'),
+ zlib = require('zlib'),
+ gzip = zlib.createGzip(),
+ ginp = "",
+ gout = '',
childProcess = require('child_process'),
output = "";
-
console.log(" - including alice.core.js");
output += fs.readFileSync("src/alice.core.js", "utf-8");
console.log(" - including alice.plugins.cheshire.js");
output += fs.readFileSync("src/alice.plugins.cheshire.js", "utf-8");
console.log(" - including alice.plugins.caterpillar.js");
output += fs.readFileSync("src/alice.plugins.caterpillar.js", "utf-8");
- console.log("writing: js/alice.js");
- fs.writeFileSync("js/alice.js", output);
- console.log("minifying: js/alice-min.js");
- childProcess.exec("uglifyjs js/alice.js > js/alice-min.js", complete);
+ console.log("writing: build/alice.js");
+ fs.writeFileSync("build/alice.js", output);
+ console.log("minifying: build/alice.min.js");
+ childProcess.exec("uglifyjs build/alice.js > build/alice.min.js", complete);
+ console.log("gzipping: build/alice.min.js");
+ setTimeout(function(){
+ ginp = fs.createReadStream('build/alice.min.js');
+ gout = fs.createWriteStream('build/alice.min.js.gz');
+ ginp.pipe(gzip).pipe(gout);
+ console.log("Build Complete.");
+ }, 2000);
}, true);
View
@@ -4,13 +4,19 @@
This library and the sample code is Open Source under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).
+**Special Attention**
+As of version 0.5 there is no support for the 0.2 and 0.1 since there was a large transition in the method styling. So please if you're looking to transition to 0.5, you will need to re-write your code to fit the new method styling. Please take caution in doing so.
+
**Author(s):**
* [Laurent Hasson](https://github.com/ldhasson) ([@ldhasson](http://twitter.com/ldhasson), lhasson at rim dot com)
* [Jim Ing](https://github.com/psiborg) ([@jim_ing](http://twitter.com/jim_ing), jing at rim dot com)
* [Gord Tanner](https://github.com/gtanner) ([@gordtanner](http://twitter.com/gordtanner), gtanner at rim dot com)
* [Matt Lantz](https://github.com/mlantz) ([@mattylantz](http://twitter.com/mattylantz), malantz at rim dot com)
+**Compatibility Issues:**
+AliceJs 0.5 is not compatible with 0.2 or 0.1. We made improvements in the readability of AliceJs with objectifying the parameters of the methods. We hope this doesn't cause any confusion or stop you from trying out the new caterpillar effect!
+
**Requirements:**
1. A WebKit-based browser with support for CSS3.
Oops, something went wrong.

0 comments on commit d1f9122

Please sign in to comment.