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:
parent
2c1033f5da
commit
3e24cef69f
7 changed files with 79 additions and 60 deletions
|
@ -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;
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue