nl_tokens: Msutache Instance Methods
pl_tokens: function addAction ( name , fn ) { if ( typeof name === "object" && fn == null ) { _ . each ( name , function ( fn , n ) { this . addAction ( n , fn ) ; } , this ) ; return this ; } if ( typeof name !== "string" || name === "" ) throw new <mask> ( "Expecting non-empty string for action name." ) ; if ( typeof fn !== "function" ) throw new Error ( "Expecting function for action." ) ; if ( this . _actions == null ) this . _actions = { } ; if ( this . _actions [ name ] == null ) this . _actions [ name ] = [ ] ; if ( ! ~ this . _actions [ name ] . indexOf ( fn ) ) this . _actions [ name ] . push ( fn ) ; return this ; }