Fixing implicit object literals with leading string keys.

This commit is contained in:
Jeremy Ashkenas
2010-08-11 21:41:29 -04:00
parent ba02ebc3dc
commit 2ec857ef8d
3 changed files with 3 additions and 3 deletions

View File

@@ -167,7 +167,7 @@ ok obj.fn() is null
# Implicit objects with wacky indentation:
obj =
reverse: (obj) ->
'reverse': (obj) ->
Array.prototype.reverse.call obj
abc: ->
@reverse(