lint compliance

This commit is contained in:
yflory 2019-03-28 17:26:02 +01:00
parent 49a15e8d5c
commit dc3594959d
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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'; }