mirror of https://github.com/xwiki-labs/cryptpad
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_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_warning = [
|
||||
|
|
|
@ -12,16 +12,17 @@ define([
|
|||
//console.log("plaintext");
|
||||
//console.log(body);
|
||||
|
||||
/*
|
||||
0 && Crypt.put(body, function (e, out) {
|
||||
if (e) { return void console.error(e); }
|
||||
if (out) {
|
||||
console.log(out);
|
||||
}
|
||||
});
|
||||
}); */
|
||||
|
||||
var data = {};
|
||||
|
||||
(_ => {
|
||||
(function () {
|
||||
var cyphertext = data.payload = Crypto.encrypt(body, key);
|
||||
console.log("encrypted");
|
||||
console.log(cyphertext);
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue