typo
This commit is contained in:
parent
4568cba7b6
commit
e556447d1b
1 changed files with 1 additions and 1 deletions
2
ox/js.py
2
ox/js.py
|
@ -104,7 +104,7 @@ def tokenize(source):
|
|||
else:
|
||||
token = tokens[i]
|
||||
is_regexp = (
|
||||
token['type'] == 'identifier' and token['value'] in KEYWORDS
|
||||
token['type'] == 'identifier' and token['value'] in KEYWORD
|
||||
) or (
|
||||
token['type'] == 'operator' and not token['value'] in ['++', '--', ')', ']', '}']
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue