lint errors
This commit is contained in:
parent
a149152f11
commit
9e4c48f537
@ -142,6 +142,7 @@ define([
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var onLocal;
|
||||||
var onRemote = function () {
|
var onRemote = function () {
|
||||||
if (state !== STATE.READY) { return; }
|
if (state !== STATE.READY) { return; }
|
||||||
|
|
||||||
@ -199,7 +200,7 @@ define([
|
|||||||
if (!bool && update) { onRemote(); }
|
if (!bool && update) { onRemote(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
var onLocal = function () {
|
onLocal = function () {
|
||||||
if (state !== STATE.READY) { return; }
|
if (state !== STATE.READY) { return; }
|
||||||
if (readOnly) { return; }
|
if (readOnly) { return; }
|
||||||
|
|
||||||
|
|||||||
@ -4,10 +4,7 @@ define([
|
|||||||
'/common/themes.js',
|
'/common/themes.js',
|
||||||
'/common/cryptpad-common.js',
|
'/common/cryptpad-common.js',
|
||||||
'/bower_components/textpatcher/TextPatcher.js',
|
'/bower_components/textpatcher/TextPatcher.js',
|
||||||
|
|
||||||
'/bower_components/file-saver/FileSaver.min.js'
|
|
||||||
], function ($, Modes, Themes, Cryptpad, TextPatcher) {
|
], function ($, Modes, Themes, Cryptpad, TextPatcher) {
|
||||||
var saveAs = window.saveAs;
|
|
||||||
var module = {};
|
var module = {};
|
||||||
|
|
||||||
var cursorToPos = function(cursor, oldText) {
|
var cursorToPos = function(cursor, oldText) {
|
||||||
|
|||||||
@ -366,7 +366,7 @@ define([
|
|||||||
window.open(href);
|
window.open(href);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user