jshint compliance

This commit is contained in:
ansuz
2017-01-09 18:07:45 +01:00
parent 74a12f50ac
commit b39067d2a1
3 changed files with 7 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ define([
Cryptpad: Cryptpad,
};
var emitResize = APP.emitResize = function () {
var emitResize = module.emitResize = function () {
var cw = $('#pad-iframe')[0].contentWindow;
var evt = cw.document.createEvent('UIEvents');
@@ -635,9 +635,9 @@ define([
// this should only ever get called once, when the chain syncs
var onReady = realtimeOptions.onReady = function (info) {
if (!APP.isMaximized) {
if (!module.isMaximized) {
editor.execCommand('maximize');
APP.isMaximized = true;
module.isMaximized = true;
}
module.patchText = TextPatcher.create({