jshint compliance
This commit is contained in:
parent
74a12f50ac
commit
b39067d2a1
@ -237,7 +237,7 @@ define(function () {
|
|||||||
|
|
||||||
out.login_cancel_prompt = "...or if you may have entered the wrong username or password, cancel to try again.";
|
out.login_cancel_prompt = "...or if you may have entered the wrong username or password, cancel to try again.";
|
||||||
|
|
||||||
out.login_registerSuccess = "registered successfully. Make sure you don't forget your password!"
|
out.login_registerSuccess = "registered successfully. Make sure you don't forget your password!";
|
||||||
out.login_passwordMismatch = "The two passwords you entered do not match. Try again";
|
out.login_passwordMismatch = "The two passwords you entered do not match. Try again";
|
||||||
|
|
||||||
out.login_warning = [
|
out.login_warning = [
|
||||||
|
|||||||
@ -12,16 +12,17 @@ define([
|
|||||||
//console.log("plaintext");
|
//console.log("plaintext");
|
||||||
//console.log(body);
|
//console.log(body);
|
||||||
|
|
||||||
|
/*
|
||||||
0 && Crypt.put(body, function (e, out) {
|
0 && Crypt.put(body, function (e, out) {
|
||||||
if (e) { return void console.error(e); }
|
if (e) { return void console.error(e); }
|
||||||
if (out) {
|
if (out) {
|
||||||
console.log(out);
|
console.log(out);
|
||||||
}
|
}
|
||||||
});
|
}); */
|
||||||
|
|
||||||
var data = {};
|
var data = {};
|
||||||
|
|
||||||
(_ => {
|
(function () {
|
||||||
var cyphertext = data.payload = Crypto.encrypt(body, key);
|
var cyphertext = data.payload = Crypto.encrypt(body, key);
|
||||||
console.log("encrypted");
|
console.log("encrypted");
|
||||||
console.log(cyphertext);
|
console.log(cyphertext);
|
||||||
|
|||||||
@ -62,7 +62,7 @@ define([
|
|||||||
Cryptpad: Cryptpad,
|
Cryptpad: Cryptpad,
|
||||||
};
|
};
|
||||||
|
|
||||||
var emitResize = APP.emitResize = function () {
|
var emitResize = module.emitResize = function () {
|
||||||
var cw = $('#pad-iframe')[0].contentWindow;
|
var cw = $('#pad-iframe')[0].contentWindow;
|
||||||
|
|
||||||
var evt = cw.document.createEvent('UIEvents');
|
var evt = cw.document.createEvent('UIEvents');
|
||||||
@ -635,9 +635,9 @@ define([
|
|||||||
|
|
||||||
// this should only ever get called once, when the chain syncs
|
// this should only ever get called once, when the chain syncs
|
||||||
var onReady = realtimeOptions.onReady = function (info) {
|
var onReady = realtimeOptions.onReady = function (info) {
|
||||||
if (!APP.isMaximized) {
|
if (!module.isMaximized) {
|
||||||
editor.execCommand('maximize');
|
editor.execCommand('maximize');
|
||||||
APP.isMaximized = true;
|
module.isMaximized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
module.patchText = TextPatcher.create({
|
module.patchText = TextPatcher.create({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user