lint compliance

This commit is contained in:
yflory
2019-12-17 11:49:32 +01:00
parent 5174472329
commit 3aa111d8a8
3 changed files with 3 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ define([
var l = window.location;
if (origin && window && window.document) {
var l = document.createElement("a");
l = document.createElement("a");
l.href = origin;
}
var protocol = l.protocol.replace(/http/, 'ws');

View File

@@ -775,6 +775,7 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto) {
Object.keys(data).forEach(function (curve) {
if (!isValidId(curve) || isMap(ref.state.members[curve])) { return delete data[curve]; }
});
console.error('SENDING INVITE');
send(['INVITE', data], cb);
};