Merge pull request #27 from pieterjandesmedt/master

fix: add listeners to custom socket functions on the `created` hook
pull/28/head
Metin Seylan 8 years ago committed by GitHub
commit 2f17ac9a17

2
dist/build.js vendored

File diff suppressed because one or more lines are too long

@ -12,7 +12,7 @@ export default {
Vue.prototype.$socket = observer.Socket;
Vue.mixin({
beforeCreate(){
created(){
let sockets = this.$options['sockets']
this.$options.sockets = new Proxy({}, {

Loading…
Cancel
Save