don't Ox.extend with undefined, use empty object

This commit is contained in:
rolux 2012-05-21 22:07:06 +02:00
parent 047cf5813d
commit c5b148773f

View file

@ -110,7 +110,7 @@ Ox.Element = function(options, self) {
callback.call(that, Ox.extend({ callback.call(that, Ox.extend({
_element: that.$element, _element: that.$element,
_event: event _event: event
}, data)); }, data || {}));
}); });
} }