mirror of
https://github.com/tenrok/vue-native-websocket.git
synced 2026-05-17 04:29:38 +03:00
No default connection string
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import Emitter from './Emitter'
|
||||
export default {
|
||||
|
||||
install (Vue, connection, opts = {}) {
|
||||
if (!connection) { throw new Error('[vue-native-socket] cannot locate connection') }
|
||||
if (!connection && !opts.connectManually) { throw new Error('[vue-native-socket] cannot locate connection') }
|
||||
|
||||
let observer = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user