laravel-echo
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -76,3 +76,3 @@ var classCallCheck = function (instance, Constructor) { | ||
key: null, | ||
namespace: null | ||
namespace: '' | ||
}; | ||
@@ -133,6 +133,8 @@ this.setOptions(options); | ||
value: function format(event) { | ||
if (event.charAt(0) != '\\' && event.charAt(0) != '.') { | ||
event = this.defaultNamespace + '.' + event; | ||
} else { | ||
event = event.substr(1); | ||
if (this.defaultNamespace !== false) { | ||
if (event.charAt(0) != '\\' && event.charAt(0) != '.') { | ||
event = this.defaultNamespace + '.' + event; | ||
} else { | ||
event = event.substr(1); | ||
} | ||
} | ||
@@ -139,0 +141,0 @@ return event.replace(/\./g, '\\'); |
{ | ||
"name": "laravel-echo", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Laravel Echo library for beautiful Pusher integration", | ||
@@ -5,0 +5,0 @@ "main": "dist/echo.js", |
123367
2800