mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-04-11 03:00:13 -04:00
tests passing with smarter block syntax with optional parens
This commit is contained in:
@@ -34,7 +34,7 @@ methods: ['one', 'two', 'three']
|
||||
|
||||
for method in methods
|
||||
name: method
|
||||
obj[name]: () =>
|
||||
obj[name]: =>
|
||||
"I'm " + name
|
||||
|
||||
print obj.one() is "I'm one"
|
||||
|
||||
Reference in New Issue
Block a user