laravel-echo
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -479,3 +479,3 @@ var classCallCheck = function (instance, Constructor) { | ||
} | ||
if (this.options.connector == 'pusher') { | ||
if (this.options.broadcaster == 'pusher') { | ||
if (!window.Pusher) { | ||
@@ -485,3 +485,3 @@ window.Pusher = require('pusher-js'); | ||
this.connector = new PusherConnector(this.options); | ||
} else if (this.options.connector == 'socket.io') { | ||
} else if (this.options.broadcaster == 'socket.io') { | ||
this.connector = new SocketIoConnector(this.options); | ||
@@ -488,0 +488,0 @@ } |
{ | ||
"name": "laravel-echo", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Laravel Echo library for beautiful Pusher integration", | ||
@@ -5,0 +5,0 @@ "main": "dist/echo.js", |
122081