Permalink
Browse files

changed version of ready.js

  • Loading branch information...
dsimard committed Nov 17, 2010
1 parent 676aa39 commit 770fc28d9abe52d6524ea3bc105c1a47e512bef2
Showing with 26 additions and 18 deletions.
  1. +3 −0 .gitmodules
  2. +10 −0 demo/nofreeze.js
  3. +7 −7 minified/jskata.js
  4. +5 −4 ready.conf.js
  5. +1 −0 ready.js
  6. +0 −7 ready.watch.js
View
@@ -0,0 +1,3 @@
+[submodule "ready.js"]
+ path = ready.js
+ url = git@github.com:dsimard/ready.js.git
View
@@ -1,5 +1,15 @@
$(document).ready(function() {
+ // forloop(wh, inc, fct, options{sleepFor:integer, chunkSize:integer}, stopCallback) returns {stop:function}
+ var i = 0;
+ jsk.nf.forloop(
+ function() { return i < 10; },
+ function() { i++; },
+ function() { console.log(i); },
+ null,
+ function() { console.log("Stopped at " + i.toString()) }
+ );
+
$("#forCount").click(function() {
jsKata.nofreeze.forCount(1000000, function(i) {
document.title = i;
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,8 @@
-{src : "./src",
- dest : "./minified",
- minifiedExtension : "min",
+{src : "src/",
+ dest : "minified/",
debug : true,
- aggregateTo : "./minified/jskata.js",
+ aggregateTo : "jskata.js",
runGCompiler : true,
+ runJslint : true,
+ keepCompiled : true,
}
Submodule ready.js added at 180ca5
View
@@ -1,7 +0,0 @@
-{src : "./src",
- dest : "./minified",
- watch : true,
- debug : true,
- runGCompiler : true,
- aggregateTo : "./minified/all.js"
-}

0 comments on commit 770fc28

Please sign in to comment.