nl_tokens: Add a listener to an event ( or events ) on this object or another evented object . The listener will only be called once and then removed .
pl_tokens: function one$$1 ( ) { var _this2 = this ; for ( var _len2 = arguments . length , args = Array ( _len2 ) , _key2 = 0 ; _key2 < _len2 ; _key2 ++ ) { args [ _key2 ] = arguments [ _key2 ] ; } var _normalizeListenArgs2 = normalizeListenArgs ( this , args ) , isTargetingSelf = _normalizeListenArgs2 . isTargetingSelf , target = _normalizeListenArgs2 . target , type = _normalizeListenArgs2 . type , listener = _normalizeListenArgs2 . listener ; // Targeting this evented object. if ( isTargetingSelf ) { listen ( target , 'one' , type , listener ) ; // Targeting another evented object. } else { var wrapper = function wrapper ( ) { for ( var _len3 = arguments . length , largs = Array ( _len3 ) , _key3 = 0 ; _key3 < _len3 ; _key3 ++ ) { largs [ _key3 ] = arguments [ _key3 ] ; } _this2 . off ( target , type , wrapper ) ; listener . apply ( null , largs ) ; } ; // Use the same function ID as the listener so we can remove it later // it using the ID of the original listener. <mask> . guid = listener . guid ; listen ( target , 'one' , type , wrapper ) ; } }