lint compliance

pull/1/head
yflory 3 years ago
parent 62e7467a94
commit bdfb4db13c

@ -437,7 +437,6 @@ define([
}); });
}; };
Exports.redirect = function () { Exports.redirect = function () {
return;
if (redirectTo) { if (redirectTo) {
var h = redirectTo; var h = redirectTo;
var loginOpts = {}; var loginOpts = {};

@ -7,7 +7,8 @@ define([
'/customize/pages.js', '/customize/pages.js',
'/api/config', '/api/config',
'/common/common-ui-elements.js', '/common/common-ui-elements.js',
], function ($, h, Msg, AppConfig, LocalStore, Pages, Config, UIElements) { '/common/common-constants.js',
], function ($, h, Msg, AppConfig, LocalStore, Pages, Config, UIElements, Constants) {
var accounts = Pages.accounts; var accounts = Pages.accounts;
return function () { return function () {

@ -2115,8 +2115,6 @@ define([
return true; return true;
}); });
var priv = common.getMetadataMgr().getPrivateData();
types.forEach(function (p) { types.forEach(function (p) {
var $element = $('<li>', { var $element = $('<li>', {
'class': 'cp-icons-element', 'class': 'cp-icons-element',

@ -89,10 +89,6 @@ define([
var faShared = 'fa-shhare-alt'; var faShared = 'fa-shhare-alt';
var faReadOnly = 'fa-eye'; var faReadOnly = 'fa-eye';
var faPreview = 'fa-eye'; var faPreview = 'fa-eye';
var faOpenInCode = AppConfig.applicationsIcon.code;
var faOpenInSheet = AppConfig.applicationsIcon.sheet;
var faOpenInDoc = AppConfig.applicationsIcon.doc;
var faOpenInPresentation = AppConfig.applicationsIcon.presentation;
var faRename = 'fa-pencil'; var faRename = 'fa-pencil';
var faColor = 'cptools-palette'; var faColor = 'cptools-palette';
var faTrash = 'fa-trash'; var faTrash = 'fa-trash';

Loading…
Cancel
Save