2
0
mirror of https://github.com/tenrok/vue-native-websocket.git synced 2026-06-22 14:30:34 +03:00

Add support to native events

Native event was passed capitalized which cause unexpected camelCase
conversion.

Event is now passed without uppercasing and save string transformations

e.g.
SOCKET_CONNECT       => `socket_cONNECT`      instead of `socket_connect`
SOCKET_CONNECT_ERROR => `socket_cONNECTERROR` instead of `socket_connectError`
This commit is contained in:
Michgeek
2017-03-29 16:10:27 +11:00
parent 3a86a906d5
commit 8709b16a78
2 changed files with 5 additions and 5 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long