dist/zn.reactnative.js
function (name, handler, options) {
            var _listeners = this.__handlers__[name]||[], _listener;
            var _context = options && options.context;
            if (handler) {
                for (var i = _listeners.length - 1; i >= 0; i--) {
                    _listener = _listeners[i];
                    if (_listener.handler === handler && (!_context || _listener.context === _context )) {
                        this.__handlers__[name].splice(i, 1);
                    }
                }
            }
            else {
                this.__handlers__[name] = [
                    {
                        owner: null,
                        handler: null,
                        context: null
                    }
                ];
            }

            return this;
        }
function (name, handler, options) {
            var _listeners = this.__handlers__[name]||[], _listener;
            var _context = options && options.context;
            if (handler) {
                for (var i = _listeners.length - 1; i >= 0; i--) {
                    _listener = _listeners[i];
                    if (_listener.handler === handler && (!_context || _listener.context === _context )) {
                        this.__handlers__[name].splice(i, 1);
                    }
                }
            }
            else {
                this.__handlers__[name] = [
                    {
                        owner: null,
                        handler: null,
                        context: null
                    }
                ];
            }

            return this;
        }
function ( name , handler , options ) { var _listeners = this . __handlers__ [ name ] || [ ] , _listener ; var _context = options && options . context ; if ( handler ) { for ( var i = _listeners . length - 1 ; i >= 0 ; i -- ) { _listener = _listeners [ i ] ; if ( _listener . handler === handler && ( ! _context || _listener . context === _context ) ) { this . __handlers__ [ name ] . splice ( i , 1 ) ; } } } else { this . __handlers__ [ name ] = [ { owner : null , handler : null , context : null } ] ; } return this ; }
Remove an event handler.
@method off
@param name {String}
@param [handler] {Function}
@param [options] {Object}
Remove an event handler .