summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-02-22 15:31:08 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-02-22 15:31:08 +0000
commit8fb641ea167d1323838681ad7a03655d1cb511ad (patch)
tree45d512a8b54cd7941a7ceab26e853fb57de12e1c /app/lib
parentb170456c8552089670924b01806e3cd74b519bd2 (diff)
downloadmullvadvpn-8fb641ea167d1323838681ad7a03655d1cb511ad.tar.xz
mullvadvpn-8fb641ea167d1323838681ad7a03655d1cb511ad.zip
- Transition header when connecting
- Pass server to Backend.connect() - Add missing connecting event
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/backend.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index 8e08ab237c..a97f19a6fb 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -55,6 +55,9 @@ export default class Backend extends EventEmitter {
connect(addr) {
this._serverAddress = addr;
+
+ // emit: connecting
+ this.emit(EventType.connecting, addr);
// @TODO: Add connect call
setTimeout(() => {