mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-06-20 12:50:34 +03:00
missing events & build
This commit is contained in:
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -22,7 +22,7 @@ export default class{
|
|||||||
|
|
||||||
let _this = this;
|
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) => {
|
.forEach((value) => {
|
||||||
_this.Socket.on(value, (data) => {
|
_this.Socket.on(value, (data) => {
|
||||||
Emitter.emit(value, data)
|
Emitter.emit(value, data)
|
||||||
|
|||||||
Reference in New Issue
Block a user