1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 13:49:42 +02:00

address js lint warning

This commit is contained in:
Harvey Kandola 2017-09-05 12:21:18 +01:00
parent f4f2f5c032
commit 42b86b0513
2 changed files with 38 additions and 7 deletions

View file

@ -41,7 +41,7 @@ var Base64 = {
var n, r, i;
var s, o, u, a;
var f = 0;
e = e.replace(/[^A-Za-z0-9\+\/\=]/g, "");
e = e.replace(/[^A-Za-z0-9+/=]/g, "");
while (f < e.length) {
s = this._keyStr.indexOf(e.charAt(f++));
o = this._keyStr.indexOf(e.charAt(f++));

View file

@ -1,5 +1,36 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module'
},
extends: 'eslint:recommended',
env: {
browser: true,
jquery: true,
qunit: true,
embertest: true
},
rules: {
},
globals: {
"$": true,
"is": true,
"_": true,
"tinymce": true,
"CodeMirror": true,
"Drop": true,
"Mousetrap": true,
"Sortable": true,
"moment": true,
"Dropzone": true,
"Tooltip": true,
"server": true,
"authenticateUser": true,
"stubAudit": true,
"stubUserNotification": true,
"userLogin": true,
"Keycloak": true,
"slug": true
}
};