1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

First draft of recompiling examples for 0.9.9

This commit is contained in:
Jeremy Ashkenas 2010-10-24 21:50:34 -04:00
parent 99c06b5cda
commit 0e5dd3d557
27 changed files with 501 additions and 2184 deletions

View file

@ -1,21 +1,8 @@
var _result, countdown, deliverEggs, num;
countdown = (function() {
var _result, count, num;
count = ((function() {
_result = [];
for (num = 10; num >= 1; num--) {
for (num = 1; num <= 10; num++) {
_result.push(num);
}
num--;
return _result;
})();
deliverEggs = function() {
var _ref, _result2, dozen, i;
_result2 = [];
for (i = 0, _ref = eggs.length; (0 <= _ref ? i < _ref : i > _ref); i += 12) {
_result2.push((function() {
dozen = eggs.slice(i, i + 12);
return deliver(new eggCarton(dozen));
})());
}
i -= 12;
return _result2;
};
})());