nl_tokens: Triggers a named action on the ActionHandler . Any parameters supplied after the actionName string will be passed as arguments to the action target function .
pl_tokens: function ( actionName ) { var args = [ ] . slice . call ( arguments , 1 ) , target ; if ( this . _actions && this . _actions [ actionName ] ) { if ( this . _actions [ actionName ] . apply ( this , args ) === true ) { // handler returned true, so this action will bubble } else { return ; } } else if ( ! Ember . FEATURES . isEnabled ( 'ember-routing-drop-deprecated-action-style' ) && this . deprecatedSend && this . deprecatedSendHandles && this . deprecatedSendHandles ( actionName ) ) { Ember . warn ( "The current default is deprecated but will prefer to handle actions directly on the controller instead of a similarly named action in the actions hash. To turn off this deprecated feature set: Ember.FEATURES['ember-routing-drop-deprecated-action-style'] = true" ) ; if ( this . deprecatedSend . <mask> ( this , [ ] . slice . call ( arguments ) ) === true ) { // handler return true, so this action will bubble } else { return ; } } if ( target = get ( this , 'target' ) ) { Ember . assert ( "The `target` for " + this + " (" + target + ") does not have a `send` method" , typeof target . send === 'function' ) ; target . send . apply ( target , arguments ) ; } }