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

minor doc updates -- let's try pulling in the underscore test suite

This commit is contained in:
Jeremy Ashkenas 2010-01-04 19:15:24 -05:00
parent 2c1033f5da
commit 3e24cef69f
7 changed files with 79 additions and 60 deletions

View file

@ -1,24 +1,24 @@
(function(){
var __a, __b, __c, __d, __e, __f, __g, food, i, lunch, row;
var __a, __b, __c, __d, __e, __f, food, i, lunch, row;
// Eat lunch.
__a = ['toast', 'cheese', 'wine'];
__c = [];
for (__b in __a) {
if (__a.hasOwnProperty(__b)) {
food = __a[__b];
__d = this.eat(food);
__c.push(__d);
lunch = (function() {
__a = ['toast', 'cheese', 'wine'];
__c = [];
for (__b in __a) {
if (__a.hasOwnProperty(__b)) {
food = __a[__b];
__d = this.eat(food);
__c.push(__d);
}
}
}
lunch = __c;
return __c;
})();
// Zebra-stripe a table.
__e = table;
__f = [];
for (i in __e) {
if (__e.hasOwnProperty(i)) {
row = __e[i];
i % 2 === 0 ? highlight(row) : null;
}
}
__f;
})();