address more jshint complaints
This commit is contained in:
@@ -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]);
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@ define([
|
||||
|
||||
var interval = 100;
|
||||
var first = function () {
|
||||
// FIXME assignment in conditional
|
||||
if (Ckeditor = ifrw.CKEDITOR) {
|
||||
andThen();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user