aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/native-simple-dom-parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/native-simple-dom-parser.js')
-rw-r--r--ext/bg/js/native-simple-dom-parser.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/native-simple-dom-parser.js b/ext/bg/js/native-simple-dom-parser.js
index 4e0d89ea..c1752bc4 100644
--- a/ext/bg/js/native-simple-dom-parser.js
+++ b/ext/bg/js/native-simple-dom-parser.js
@@ -17,6 +17,8 @@
class NativeSimpleDOMParser {
constructor(content) {
+ // TODO : Remove
+ // eslint-disable-next-line no-undef
this._document = new DOMParser().parseFromString(content, 'text/html');
}