@ -22,6 +22,7 @@ define([
Cryptpad: Cryptpad,
};
$(function () {
Cryptpad.styleAlerts();
Cryptpad.addLoadingScreen();
@ -30,7 +31,6 @@ define([
return JSONSortify(obj);
var toolbar;
var secret = Cryptpad.getSecrets();
@ -21,6 +21,9 @@ define([
Visible, Notify) {
var $ = window.jQuery;
var saveAs = window.saveAs;
var ifrw = $('#pad-iframe')[0].contentWindow;
var Ckeditor; // to be initialized later...
var DiffDom = window.diffDOM;
@ -814,4 +817,6 @@ define([
$(first);
});
@ -15,6 +15,8 @@ define([
], function (Config, Messages, TextPatcher, Listmap, Crypto, Cryptpad, Hyperjson, Renderer, Toolbar, Visible, Notify) {
var unlockHTML = '<i class="fa fa-unlock" aria-hidden="true"></i>';
var lockHTML = '<i class="fa fa-lock" aria-hidden="true"></i>';
var HIDE_INTRODUCTION_TEXT = "hide_poll_text";
@ -786,5 +788,7 @@ define([
onConnectError();
}
@ -28,9 +28,7 @@ define([
var SLIDE_BACKCOLOR_ID = "cryptpad-backcolor";
var SLIDE_COLOR_ID = "cryptpad-color";
var stringify = function (obj) {
@ -45,6 +43,9 @@ define([
var ifrw = module.ifrw = $('#pad-iframe')[0].contentWindow;