1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-31 18:50:14 +02:00

fix js check

This commit is contained in:
Kushagra Gour
2017-11-19 01:59:47 +05:30
parent d2458a7b8b
commit 6de2b7e404
2 changed files with 2 additions and 2 deletions

View File

@@ -120,7 +120,7 @@
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef-init": "error",
"no-undefined": "error",
"no-undefined": "off",
"no-underscore-dangle": "error",
"no-unmodified-loop-condition": "error",
"no-unneeded-ternary": "error",

View File

@@ -1007,7 +1007,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
'"></script>';
}
if (js) {
if (js !== undefined) {
contents += '<script>\n' + js + '\n//# sourceURL=userscript.js';
} else {
var origin = chrome.i18n.getMessage()