2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-05-17 05:19:38 +03:00

Added Missing Events

Added Missing Events
This commit is contained in:
Metin Seylan
2016-11-23 13:55:37 +03:00
committed by GitHub
parent 7f5fac27d0
commit 77a06779dc
+2 -2
View File
@@ -22,7 +22,7 @@ export default class{
let _this = this;
["connect", "error", "disconnect", "reconnect", "reconnect_attempt", "reconnecting", "reconnect_error", "reconnect_failed"]
["connect", "error", "disconnect", "reconnect", "reconnect_attempt", "reconnecting", "reconnect_error", "reconnect_failed", "connect_error", "connect_timeout", "connecting", "reconnect_attempt", "ping", "pong"]
.forEach((value) => {
_this.Socket.on(value, (data) => {
Emitter.emit(value, data)
@@ -30,4 +30,4 @@ export default class{
})
}
}
}