Files
coffeescript/lib/index.js
Trevor Burnham 5005cb606f Fixing inconsistencies for index variables
See the tests added to test_comprehensions.coffee. Previously, after
`for i in [1..3]`, i was 4. Also, index variables were never set to
any value in comprehensions containing both a closure and a break or
return.
2010-10-19 14:09:16 -04:00

12 lines
252 B
JavaScript

(function() {
var _ref, key, val;
var __hasProp = Object.prototype.hasOwnProperty;
for (key in _ref = require('./coffee-script')) {
if (!__hasProp.call(_ref, key)) continue;
val = _ref[key];
(exports[key] = val);
}
}).call(this);