lint compliance

pull/1/head
ansuz 8 years ago
parent bce0b03ba4
commit d3bbdc27c0

@ -30,7 +30,7 @@ define([
})
.on('ready', function () {
console.log('ready');
cb(lm);
cb(lm, done);
})
.on('disconnect', function () {
console.log('disconnected');

@ -7,15 +7,7 @@ define([
], function ($, Cryptpad, Listmap, Curve) {
var APP = window.APP = {};
var Nacl = window.nacl;
//var Messages = Cryptpad.Messages;
var onReady = function () {
if (!APP.initialized) {
APP.initialized = true;
}
};
var onInit = function () {};
var onDisconnect = function () {};
@ -55,6 +47,7 @@ define([
var lm = APP.lm = Listmap.create(listmapConfig);
lm.proxy.on('create', onInit)
.on('ready', function () {
APP.initialized = true;
console.log(JSON.stringify(lm.proxy));
})
.on('disconnect', onDisconnect)

Loading…
Cancel
Save