nl_tokens: Emit an event from the tree view
pl_tokens: function emit ( instance , name ) { var args = [ ] . slice . call ( arguments , 2 ) ; if ( events . indexOf ( name ) > - 1 ) { if ( <mask> . handlers [ name ] && instance . handlers [ name ] instanceof Array ) { forEach ( instance . handlers [ name ] , function ( handle ) { window . setTimeout ( function ( ) { handle . callback . apply ( handle . context , args ) ; } , 0 ) ; } ) ; } } else { throw new Error ( name + ' event cannot be found on TreeView.' ) ; } }