nl_tokens: Sets up event handlers to add and remove a css class when the mouse is down and then up on this element ( a click effect )
pl_tokens: function ( className , testFn , <mask> ) { var me = this , dom = me . dom , hasTest = Ext . isFunction ( testFn ) ; me . on ( "mousedown" , function ( ) { if ( hasTest && testFn . call ( scope || me , me ) === false ) { return false ; } Ext . fly ( dom , INTERNAL ) . addCls ( className ) ; var d = Ext . getDoc ( ) , fn = function ( ) { Ext . fly ( dom , INTERNAL ) . removeCls ( className ) ; d . removeListener ( "mouseup" , fn ) ; } ; d . on ( "mouseup" , fn ) ; } ) ; return me ; }