mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
changed the docs for optional parens
This commit is contained in:
parent
8d63d269b8
commit
2875de5e73
17 changed files with 71 additions and 71 deletions
|
@ -8,7 +8,7 @@
|
|||
__a.push(eat(food));
|
||||
}
|
||||
return __a;
|
||||
})();
|
||||
}).call(this);
|
||||
// Naive collision detection.
|
||||
__d = asteroids;
|
||||
for (__e = 0; __e < __d.length; __e++) {
|
||||
|
|
|
@ -10,5 +10,5 @@
|
|||
}
|
||||
}
|
||||
return __a;
|
||||
})()).slice(0, 10);
|
||||
}).call(this)).slice(0, 10);
|
||||
})();
|
|
@ -5,5 +5,5 @@
|
|||
} catch (error) {
|
||||
return "And the error is ... " + error;
|
||||
}
|
||||
})());
|
||||
}).call(this));
|
||||
})();
|
|
@ -15,5 +15,5 @@
|
|||
}
|
||||
}
|
||||
return __a;
|
||||
})();
|
||||
}).call(this);
|
||||
})();
|
|
@ -39,5 +39,5 @@
|
|||
__a.push(math.cube(num));
|
||||
}
|
||||
return __a;
|
||||
})();
|
||||
}).call(this);
|
||||
})();
|
|
@ -6,7 +6,7 @@
|
|||
__a.push(num);
|
||||
}
|
||||
return __a;
|
||||
})();
|
||||
}).call(this);
|
||||
egg_delivery = function egg_delivery() {
|
||||
var __f, __g, __h, __i, __j, dozen_eggs, i;
|
||||
__f = []; __i = 0; __j = eggs.length;
|
||||
|
@ -14,7 +14,7 @@
|
|||
__f.push((function() {
|
||||
dozen_eggs = eggs.slice(i, i + 12);
|
||||
return deliver(new egg_carton(dozen));
|
||||
})());
|
||||
}).call(this));
|
||||
}
|
||||
return __f;
|
||||
};
|
||||
|
|
|
@ -18,5 +18,5 @@
|
|||
One fell out and bumped his head.");
|
||||
}
|
||||
return __a;
|
||||
})();
|
||||
}).call(this);
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue