mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
getting ready for a 0.7.0. cleanups and doc revisions, not quite there yet.
This commit is contained in:
parent
08ab4abd43
commit
1f7af35368
52 changed files with 1367 additions and 5688 deletions
|
@ -1,21 +1,22 @@
|
|||
(function(){
|
||||
var _a, _b, _c, countdown, egg_delivery, num;
|
||||
var _a, countdown, deliverEggs, num;
|
||||
countdown = (function() {
|
||||
_a = []; _b = 10; _c = 1;
|
||||
for (num = _b; (_b <= _c ? num <= _c : num >= _c); (_b <= _c ? num += 1 : num -= 1)) {
|
||||
_a = [];
|
||||
for (num = 10; num >= 1; num += -1) {
|
||||
_a.push(num);
|
||||
}
|
||||
return _a;
|
||||
})();
|
||||
egg_delivery = function() {
|
||||
var _d, _e, _f, dozen_eggs, i;
|
||||
_d = []; _e = 0; _f = eggs.length;
|
||||
for (i = _e; (_e <= _f ? i < _f : i > _f); (_e <= _f ? i += 12 : i -= 12)) {
|
||||
_d.push((function() {
|
||||
dozen_eggs = eggs.slice(i, i + 12);
|
||||
return deliver(new egg_carton(dozen));
|
||||
deliverEggs = function() {
|
||||
var _b, _c, dozen, i;
|
||||
_b = []; (_c = eggs.length);
|
||||
|
||||
for (i = 0; i < _c; i += 12) {
|
||||
_b.push((function() {
|
||||
dozen = eggs.slice(i, i + 12);
|
||||
return deliver(new eggCarton(dozen));
|
||||
})());
|
||||
}
|
||||
return _d;
|
||||
return _b;
|
||||
};
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue