nl_tokens: Removes listener ( s ) from event ( s ) on an evented object .
pl_tokens: function off$$1 ( targetOrType , typeOrListener , listener ) { // Targeting this evented object. if ( ! targetOrType || isValidEventType ( targetOrType ) ) { off ( this . eventBusEl_ , targetOrType , typeOrListener ) ; // Targeting another evented object. } else { var target = targetOrType ; var type = typeOrListener ; // Fail fast and in a meaningful way! validateTarget ( target ) ; validateEventType ( type ) ; validateListener ( listener ) ; // Ensure there's at least a guid, even if the function hasn't been used listener = bind ( this , listener ) ; // Remove the dispose listener on this evented object, which was given // the same guid as the event listener in on(). this . off ( 'dispose' , listener ) ; if ( target . nodeName ) { off ( target , type , listener ) ; off ( <mask> , 'dispose' , listener ) ; } else if ( isEvented ( target ) ) { target . off ( type , listener ) ; target . off ( 'dispose' , listener ) ; } } }