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

updating documentation with correct variable names.

This commit is contained in:
Jeremy Ashkenas 2010-07-23 09:34:54 -07:00
parent 8262070f5c
commit 0a3f6c49f8
4 changed files with 23 additions and 23 deletions

View file

@ -2,16 +2,15 @@
var _a, countdown, deliverEggs, num;
countdown = (function() {
_a = [];
for (num = 10; num >= 1; num += -1) {
for (num = 10; num >= 1; num--) {
_a.push(num);
}
return _a;
})();
deliverEggs = function() {
var _b, _c, dozen, i;
_b = []; (_c = eggs.length);
for (i = 0; i < _c; i += 12) {
_b = []; _c = eggs.length;
for (i = 0; (0 <= _c ? i < _c : i > _c); i += 12) {
_b.push((function() {
dozen = eggs.slice(i, i + 12);
return deliver(new eggCarton(dozen));