nl_tokens: for performance in the case where there are no handlers just the listener
pl_tokens: function simpleWrap ( <mask> , list , length ) { inAsyncTick = true ; for ( var i = 0 ; i < length ; ++ i ) { var listener = list [ i ] ; if ( listener . create ) listener . create ( listener . data ) ; } inAsyncTick = false ; // still need to make sure nested async calls are made in the context // of the listeners active at their creation return function ( ) { listenerStack . push ( listeners ) ; listeners = union ( list , listeners ) ; var returned = original . apply ( this , arguments ) ; listeners = listenerStack . pop ( ) ; return returned ; } ; }