allowing paren-less instance creation, a la 'new Class'

This commit is contained in:
Jeremy Ashkenas
2010-06-29 21:03:50 -04:00
parent 7c426db36a
commit 7d79d73b58
11 changed files with 149 additions and 144 deletions

View File

@@ -25,7 +25,7 @@ else
exports.VERSION: '0.7.0'
# Instantiate a Lexer for our use here.
lexer: new Lexer()
lexer: new Lexer
# Compile a string of CoffeeScript code to JavaScript, using the Coffee/Jison
# compiler.