support backtick strings
This commit is contained in:
parent
db241cec0e
commit
11376c5d7d
1 changed files with 1 additions and 1 deletions
2
ox/js.py
2
ox/js.py
|
@ -95,7 +95,7 @@ def tokenize(source):
|
|||
'.', ',', ';'
|
||||
]
|
||||
REGEXP = 'abcdefghijklmnopqrstuvwxyz'
|
||||
STRING = '\'"'
|
||||
STRING = '\'"`'
|
||||
WHITESPACE = ' \t'
|
||||
def is_regexp():
|
||||
# checks if a forward slash is the beginning of a regexp,
|
||||
|
|
Loading…
Reference in a new issue