diff --git a/.eslintrc.js b/.eslintrc.js index 4345e085e..f6ff8208d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -14,6 +14,10 @@ module.exports = { 'globals': { '$': 'readonly', 'app': 'readonly', + 'define': 'readonly', + 'exports': 'readonly', + 'jQuery': 'readonly', + 'module': 'readonly', 'w2ui': 'readonly', 'w2obj': 'readonly', 'w2utils': 'readonly', @@ -50,6 +54,7 @@ module.exports = { 'func-name-matching': 'warn', // "func-names": ["warn", "always"], 'no-inner-declarations': 'off', + 'no-undef': 'error', 'no-unreachable': 'off', // PLUGIN rules 'align-assignments/align-assignments' : [ 2, { requiresOnly : false } ], diff --git a/docs/details/w2utils.parseColor.html b/docs/details/w2utils.parseColor.html index 9a6cbe582..5077cc7f4 100644 --- a/docs/details/w2utils.parseColor.html +++ b/docs/details/w2utils.parseColor.html @@ -16,7 +16,12 @@ Returns object.