nl_tokens: Recursively trigger an event for a node and it s children . Only emits events for keyed nodes .
pl_tokens: function dispatch ( node , type ) { // Trigger event for this element if it has a key. if ( getKey ( node ) ) { var ev = document . createEvent ( 'Event' ) var prop = { value : node } ev . initEvent ( type , false , false ) Object . defineProperty ( ev , 'target' , prop ) <mask> . defineProperty ( ev , 'srcElement' , prop ) node . dispatchEvent ( ev ) } // Dispatch to all children. var child = node . firstChild while ( child ) child = dispatch ( child , type ) . nextSibling return node }