mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
finishing up fix for #1009: class @do; it's a little bit ugly, but it
makes sense to do it this way
This commit is contained in:
parent
df5aca9348
commit
c3fe29455b
5 changed files with 10 additions and 7 deletions
|
@ -63,7 +63,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
if (__indexOf.call(JS_FORBIDDEN, id) >= 0) {
|
||||
if (__indexOf.call(['eval', 'arguments'].concat(JS_FORBIDDEN), id) >= 0) {
|
||||
if (forcedIdentifier) {
|
||||
tag = 'IDENTIFIER';
|
||||
id = new String(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue