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

missing events & build

This commit is contained in:
Metin Seylan
2016-11-23 13:59:51 +03:00
parent 77a06779dc
commit b0df13186c
3 changed files with 5 additions and 5 deletions
+3 -3
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
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", "connect_timeout", "connecting", "reconnect_attempt", "ping", "pong"]
["connect", "error", "disconnect", "reconnect", "reconnect_attempt", "reconnecting", "reconnect_error", "reconnect_failed", "connect_error", "connect_timeout", "connecting", "ping", "pong"]
.forEach((value) => {
_this.Socket.on(value, (data) => {
Emitter.emit(value, data)