From dc3594959ddf1fee9104485a0de10ce705265fc2 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 28 Mar 2019 17:26:02 +0100 Subject: [PATCH] lint compliance --- .jshintignore | 1 + customize.dist/pages/index.js | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.jshintignore b/.jshintignore index 103edf2b9..5e8ad65eb 100644 --- a/.jshintignore +++ b/.jshintignore @@ -2,6 +2,7 @@ node_modules/ www/bower_components/ www/common/pdfjs/ www/common/tippy/ +www/common/textFit.min.js www/common/highlight/ www/common/jquery-ui/ www/common/onlyoffice/sdkjs diff --git a/customize.dist/pages/index.js b/customize.dist/pages/index.js index 51589ebca..e86c1a704 100644 --- a/customize.dist/pages/index.js +++ b/customize.dist/pages/index.js @@ -25,8 +25,6 @@ define([ }; return function () { - var showingMore = false; - var icons = [ [ 'pad', Msg.type.pad], [ 'code', Msg.type.code], @@ -39,7 +37,7 @@ define([ ].filter(function (x) { return isAvailableType(x[0]); }) - .map(function (x, i) { + .map(function (x) { var s = 'div.bs-callout.cp-callout-' + x[0]; var isEnabled = checkRegisteredType(x[0]); //if (i > 2) { s += '.cp-more.cp-hidden'; }