Merge branch 'master' of github.com:jashkenas/coffee-script

This commit is contained in:
Timothy Jones
2010-10-24 02:17:44 +13:00
4 changed files with 37 additions and 40 deletions

View File

@@ -182,7 +182,7 @@ class Mini
@num
m = new Mini
ok (func() for func in m.generate()).join(' ') is '10 10 10'
eq (func() for func in m.generate()).join(' '), '10 10 10'
# Testing a contructor called with varargs.

View File

@@ -99,3 +99,6 @@ learn = ->
ok learn().join(' ') is '1 2 3'
ok rule(101) is 101
f = -> [-> ok no, 'should cache source']
ok yes for k of [f] = f()