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

CoffeeScript 0.9.4

This commit is contained in:
Jeremy Ashkenas 2010-09-21 23:58:05 -04:00
parent 25c8b4b34f
commit c50cf23b7b
36 changed files with 771 additions and 736 deletions

View file

@ -1,4 +1,4 @@
var _a, _b, _c, _d, cubes, list, math, num, number, opposite, race, square;
var _i, _len, _ref, _result, cubes, list, math, num, number, opposite, race, square;
var __slice = Array.prototype.slice;
number = 42;
opposite = true;
@ -25,10 +25,10 @@ if (typeof elvis !== "undefined" && elvis !== null) {
alert("I knew it!");
}
cubes = (function() {
_a = []; _c = list;
for (_b = 0, _d = _c.length; _b < _d; _b++) {
num = _c[_b];
_a.push(math.cube(num));
_result = []; _ref = list;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
num = _ref[_i];
_result.push(math.cube(num));
}
return _a;
return _result;
})();