dist/jbone.js
function(el, event) {
        var events = [];

        if (isString(event)) {
            events = event.split(" ").map(function(event) {
                return jBone.Event(event);
            });
        } else {
            event = event instanceof Event ? event : jBone.Event(event);
            events = [event];
        }

        events.forEach(function(event) {
            if (!event.type) {
                return;
            }

            el.dispatchEvent && el.dispatchEvent(event);
        });
    }
function(el, event) {
        var events = [];

        if (isString(event)) {
            events = event.split(" ").map(function(event) {
                return jBone.Event(event);
            });
        } else {
            event = event instanceof Event ? event : jBone.Event(event);
            events = [event];
        }

        events.forEach(function(event) {
            if (!event.type) {
                return;
            }

            el.dispatchEvent && el.dispatchEvent(event);
        });
    }
function ( el , event ) { var events = [ ] ; if ( isString ( event ) ) { events = event . split ( " " ) . map ( function ( event ) { return jBone . Event ( event ) ; } ) ; } else { event = event instanceof Event ? event : jBone . Event ( event ) ; events = [ event ] ; } events . forEach ( function ( event ) { if ( ! event . type ) { return ; } el . dispatchEvent && el . dispatchEvent ( event ) ; } ) ; }
Execute all handlers and behaviors attached to the matched elements for the given event type.
@param  {Node}       el       - Events will be triggered for thie DOM Node
@param  {String}     event    - One or more space-separated event types and optional namespaces
Execute all handlers and behaviors attached to the matched elements for the given event type .