Separate UI elements from cryptpad-common

This commit is contained in:
yflory
2017-11-13 10:23:18 +01:00
parent 354c63bd64
commit dc207393fd
30 changed files with 424 additions and 1840 deletions

View File

@@ -49,7 +49,7 @@ define([
});
var firstUser = function () {
Cryptpad.log("You are the first user to visit this board");
UI.log("You are the first user to visit this board");
};
var whenReady = function () {
@@ -81,7 +81,7 @@ define([
window.location.hash = info.channel + secret.key;
})
.on('ready', function () {
Cryptpad.log("Ready!");
UI.log("Ready!");
whenReady({
});