jshint compliance

pull/1/head
ansuz 8 years ago
parent 6c1981c776
commit 1232aa8a79

@ -82,6 +82,7 @@ define([
});
};
var logoutHandlers = [];
var logout = common.logout = function (cb) {
[
userNameKey,
@ -105,7 +106,6 @@ define([
if (cb) { cb(); }
};
var logoutHandlers= [];
var onLogout = common.onLogout = function (h) {
if (typeof (h) !== "function") { return; }
if (logoutHandlers.indexOf(h) !== -1) { return; }

@ -628,8 +628,8 @@ define([
var updateIcon = function () {
$collapse.removeClass('fa-caret-down').removeClass('fa-caret-up');
var isCollapsed = !$bar.find('.cke_toolbox_main').is(':visible');
if (isCollapsed) { $collapse.addClass('fa-caret-down') }
else { $collapse.addClass('fa-caret-up') }
if (isCollapsed) { $collapse.addClass('fa-caret-down'); }
else { $collapse.addClass('fa-caret-up'); }
};
updateIcon();
$collapse.click(function () {

Loading…
Cancel
Save