nl_tokens: unbind all registered events from the model
pl_tokens: function _watchedEventsUnbindAll ( keepRegisteredEvents , context ) { var watchedEvents = getState ( '__watchedEvents' , context ) ; if ( watchedEvents ) { var data ; for ( var name in watchedEvents ) { if ( watchedEvents . hasOwnProperty ( name ) ) { data = watchedEvents [ name ] ; var target = getTarget ( <mask> . target , context ) ; if ( target ) { target . off ( data . event , data . callback , data . context ) ; } } } if ( ! keepRegisteredEvents ) { setState ( { __watchedEvents : [ ] } , context ) ; } } }