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:
|
else:
|
||||||
token = tokens[i]
|
token = tokens[i]
|
||||||
is_regexp = (
|
is_regexp = (
|
||||||
token['type'] == 'identifier' and token['value'] in KEYWORDS
|
token['type'] == 'identifier' and token['value'] in KEYWORD
|
||||||
) or (
|
) or (
|
||||||
token['type'] == 'operator' and not token['value'] in ['++', '--', ')', ']', '}']
|
token['type'] == 'operator' and not token['value'] in ['++', '--', ')', ']', '}']
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue