DRY up event target implementations

Dedupe event target code and make it extensible.

// FREEBIE
This commit is contained in:
lilia 2016-01-14 14:07:00 -08:00
parent 925c1bdb33
commit f7c4fd2fed
5 changed files with 176 additions and 228 deletions

View file

@ -54,6 +54,7 @@ module.exports = function(grunt) {
'libtextsecure/websocket-resources.js',
'libtextsecure/helpers.js',
'libtextsecure/stringview.js',
'libtextsecure/event_target.js',
'libtextsecure/api.js',
'libtextsecure/account_manager.js',
'libtextsecure/message_receiver.js',