address more jshint complaints

This commit is contained in:
ansuz
2016-02-12 11:39:37 +01:00
parent f6c848385f
commit 967d636df9
8 changed files with 30 additions and 25 deletions

View File

@@ -69,7 +69,7 @@ define([
var showError = function (errorType, docHtml, moreInfo) {
$('body').append('<div class="modalBox"></div>');
var $modalbox = $('.modalBox')
var $modalbox = $('.modalBox');
$modalbox.append(CONTENT + STYLE);
$modalbox.find('.errorType').text(Messages['errorBox_errorType_' + errorType]);

View File

@@ -95,7 +95,7 @@ define([
if (PARANOIA && getInnerHTML(dom) !== docText) { throw new Error(); }
}
if (PARANOIA && docText.indexOf(content, idx) !== idx) { throw new Error() }
if (PARANOIA && docText.indexOf(content, idx) !== idx) { throw new Error(); }
return idx;
};

View File

@@ -45,6 +45,7 @@ define([
var interval = 100;
var first = function () {
// FIXME assignment in conditional
if (Ckeditor = ifrw.CKEDITOR) {
andThen();
} else {