fix: add listeners to custom socket functions on the `created` hook instead of `beforeCreate` hook in the mixin lifecycle

pull/27/head
Pieter Jan De Smedt 8 years ago
parent 6f16d6c0b4
commit 0edf7322e6

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