nl_tokens: Wrap view internal methods so that they delegate to behaviors . For example onDestroy should trigger destroy on all of the behaviors and then destroy itself . i . e . view . delegateEvents = _ . partial ( methods . delegateEvents view . delegateEvents behaviors ) ;
pl_tokens: function ( view , behaviors , methodNames ) { _ . each ( methodNames , function ( methodName ) { view [ methodName ] = _ . partial ( methods [ methodName ] , <mask> [ methodName ] , behaviors ) ; } ) ; }