diff --git a/src/core/Events.js b/src/core/Events.js index d902ab0..1ec08f3 100644 --- a/src/core/Events.js +++ b/src/core/Events.js @@ -42,7 +42,9 @@ var Events = {}; eventClone; if (object.events) { - event = event || {}; + if (!event) + event = {}; + names = eventNames.split(' '); for (var i = 0; i < names.length; i++) {