yahoo/mojito — pull request #541 by dmorilha (2012-09-20 23:45:22+00:00)
Title: adding command.ActionContext support on ControllerContext

We have identified a scenario where, in certain cases, is necessary to execute arbitrary code after dispatching a mojit but before its controller gets executed. Once the ActionContext is the last mile before the controller, we would like to augment it. The way mojito is today, it is impossible to change the Y.mojito.ActionContext from inside any mojit (and expect those changes on the dispatch). The solution here would be to augment the command object which is passed around with an ActionContext property. It contains a replacement constructor to the standard ActionContext.