Changeset 2677
- Timestamp:
- 12/06/07 23:40:50 (13 months ago)
- Location:
- lang/javascript/jsdeferred/trunk
- Files:
-
- 2 modified
-
Rakefile (modified) (1 diff)
-
test-rhino.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/jsdeferred/trunk/Rakefile
r2659 r2677 29 29 30 30 task :test => [:release] do 31 sh %{rhino test-rhino.js} 31 32 end 32 33 -
lang/javascript/jsdeferred/trunk/test-rhino.js
r2673 r2677 57 57 58 58 59 // run test 60 //eval(data);59 // run tests 60 eval(data); 61 61 62 Deferred.define();63 loop(5, function (n) {64 print(n);65 });66 67 68 next(function () {69 print("111");70 return next(function () {71 print("222");72 });73 }).74 next(function () {75 function aaa () {76 print("444");77 }78 print("333");79 return call(aaa);80 });62 //Deferred.define(); 63 //loop(5, function (n) { 64 // print(n); 65 //}); 66 // 67 // 68 //next(function () { 69 // print("111"); 70 // return next(function () { 71 // print("222"); 72 // }); 73 //}). 74 //next(function () { 75 // function aaa () { 76 // print("444"); 77 // } 78 // print("333"); 79 // return call(aaa); 80 //}); 81 81 82 82 //var id = setTimeout(function () {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)