dist/zn.reactnative.js
function (name, handler, options) {
            if (handler) {
                var _handlers = this.__handlers__;
                var _listeners = _handlers[name] = _handlers[name] || [];

                _listeners[0] = zn.extend({
                    owner: this,
                    handler: handler
                }, options);
            }

            return this;
        }
function (name, handler, options) {
            if (handler) {
                var _handlers = this.__handlers__;
                var _listeners = _handlers[name] = _handlers[name] || [];

                _listeners[0] = zn.extend({
                    owner: this,
                    handler: handler
                }, options);
            }

            return this;
        }
function ( name , handler , options ) { if ( handler ) { var _handlers = this . __handlers__ ; var _listeners = _handlers [ name ] = _handlers [ name ] || [ ] ; _listeners [ 0 ] = zn . extend ( { owner : this , handler : handler } , options ) ; } return this ; }
Add a single event handler.
@method upon
@param name {String}
@param handler {Function}
@param [options] {Object}
Add a single event handler .