Skip to content

Instantly share code, notes, and snippets.

@jbueza
Created September 30, 2010 15:21
Show Gist options
  • Save jbueza/604740 to your computer and use it in GitHub Desktop.
Save jbueza/604740 to your computer and use it in GitHub Desktop.
dojo.provide("stdlib.command.MapControllersCommand");
dojo.require("mojo.command.Command");
dojo.declare("stdlib.command.MapControllersCommand", mojo.command.Command, {
execute: function(requestObj) {
var contextObj = null;
if(requestObj.getParams()) {
// parameters: contextObj: String or HTMLElement
contextObj = requestObj.getParams().contextObj;
}
mojo.controller.Map.mapControllers(contextObj);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment