summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-11-29 01:34:07 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-11-29 01:34:07 +0100
commit05aa64b9bbd0081506eeb198f77e9ff4b8096394 (patch)
tree1e6215cbc57a232fdb8174800239a579e5df1862 /package.json
parent2036a423760a0c9f1efc944d0d200df8dc1ebdab (diff)
JS: Fix Opal build to not mess with backslashes
The problem is that the replacement in `String#sub(pattern, replacement)` is interpreted by Ruby: If replacement is a String that looks like a pattern's capture group but is actually not a pattern capture group e.g. "\'", then it will have to be preceded by two backslashes like so "\\'".
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions