Trying to normalize event handling somewhat. More to go before it's simple.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3685 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -425,13 +425,13 @@ async function blobHandler(request, response, blobId, uri) {
|
||||
}
|
||||
}
|
||||
|
||||
ssb.onBroadcastsChanged = function() {
|
||||
ssb.addEventListener('broadcasts', function() {
|
||||
broadcastEvent('onBroadcastsChanged', []);
|
||||
}
|
||||
});
|
||||
|
||||
ssb.onConnectionsChanged = function() {
|
||||
ssb.addEventListener('connections', function() {
|
||||
broadcastEvent('onConnectionsChanged', []);
|
||||
}
|
||||
});
|
||||
|
||||
async function loadSettings() {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user