2010-01-04 22:19:45 -05:00
|
|
|
(function(){
|
2010-01-10 15:52:23 -05:00
|
|
|
var __a, __b, __c, __d, __e, countdown, egg_delivery, num;
|
|
|
|
countdown = (function() {
|
2010-01-11 09:16:08 -05:00
|
|
|
__a = []; __d = 10; __e = 1;
|
2010-01-10 15:52:23 -05:00
|
|
|
for (__c=0, num=__d; (__d <= __e ? num <= __e : num >= __e); (__d <= __e ? num += 1 : num -= 1), __c++) {
|
2010-01-11 09:16:08 -05:00
|
|
|
__a.push(num);
|
2010-01-10 15:52:23 -05:00
|
|
|
}
|
2010-01-11 09:16:08 -05:00
|
|
|
return __a;
|
2010-01-10 15:52:23 -05:00
|
|
|
})();
|
|
|
|
egg_delivery = function egg_delivery() {
|
|
|
|
var __f, __g, __h, __i, __j, dozen_eggs, i;
|
2010-01-11 09:16:08 -05:00
|
|
|
__f = []; __i = 0; __j = eggs.length;
|
2010-01-10 15:52:23 -05:00
|
|
|
for (__h=0, i=__i; (__i <= __j ? i < __j : i > __j); (__i <= __j ? i += 12 : i -= 12), __h++) {
|
2010-01-11 09:16:08 -05:00
|
|
|
__f.push((function() {
|
2010-01-10 15:52:23 -05:00
|
|
|
dozen_eggs = eggs.slice(i, i + 12);
|
|
|
|
return deliver(new egg_carton(dozen));
|
|
|
|
})());
|
|
|
|
}
|
2010-01-11 09:16:08 -05:00
|
|
|
return __f;
|
2010-01-10 15:52:23 -05:00
|
|
|
};
|
2010-01-04 22:19:45 -05:00
|
|
|
})();
|