- Revert prefer-named-capture-group due to apparently problematic Babel plugin
This commit is contained in:
@@ -97,7 +97,6 @@ const iframe = $('<iframe width="900px" height="600px" id="svgedit"></iframe>');
|
||||
iframe[0].src = frameBase + framePath +
|
||||
(location.href.includes('?')
|
||||
// ? location.href.replace(/\?(?<search>.*)$/, '&$<search>')
|
||||
// eslint-disable-next-line prefer-named-capture-group
|
||||
? location.href.replace(/\?(.*)$/, '&$1')
|
||||
: ''); // Append arguments to this file onto the iframe
|
||||
|
||||
|
||||
Reference in New Issue
Block a user