mirror of
https://github.com/chinchang/web-maker.git
synced 2025-08-02 19:37:29 +02:00
fix js check
This commit is contained in:
@@ -120,7 +120,7 @@
|
|||||||
"no-throw-literal": "error",
|
"no-throw-literal": "error",
|
||||||
"no-trailing-spaces": "error",
|
"no-trailing-spaces": "error",
|
||||||
"no-undef-init": "error",
|
"no-undef-init": "error",
|
||||||
"no-undefined": "error",
|
"no-undefined": "off",
|
||||||
"no-underscore-dangle": "error",
|
"no-underscore-dangle": "error",
|
||||||
"no-unmodified-loop-condition": "error",
|
"no-unmodified-loop-condition": "error",
|
||||||
"no-unneeded-ternary": "error",
|
"no-unneeded-ternary": "error",
|
||||||
|
@@ -1007,7 +1007,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
|
|||||||
'"></script>';
|
'"></script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (js) {
|
if (js !== undefined) {
|
||||||
contents += '<script>\n' + js + '\n//# sourceURL=userscript.js';
|
contents += '<script>\n' + js + '\n//# sourceURL=userscript.js';
|
||||||
} else {
|
} else {
|
||||||
var origin = chrome.i18n.getMessage()
|
var origin = chrome.i18n.getMessage()
|
||||||
|
Reference in New Issue
Block a user