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

Switching default arguments to use an if instead of an and, more documentation.

This commit is contained in:
Jeremy Ashkenas 2010-11-21 21:12:59 -05:00
parent 5dfd36af6a
commit fc64fa49ac
25 changed files with 283 additions and 162 deletions

View file

@ -1,10 +1,10 @@
var globals, name, _results;
var __hasProp = Object.prototype.hasOwnProperty;
globals = ((function() {
globals = (function() {
_results = [];
for (name in window) {
if (!__hasProp.call(window, name)) continue;
_results.push(name);
}
return _results;
})()).slice(0, 10);
}()).slice(0, 10);