Skip to content

Instantly share code, notes, and snippets.

@tonylukasavage
Created August 2, 2012 17:12
Show Gist options
  • Save tonylukasavage/3238824 to your computer and use it in GitHub Desktop.
Save tonylukasavage/3238824 to your computer and use it in GitHub Desktop.
export.module = Alloy.getController('BaseController').extend({
// preLayout() is optional. It's safe to delete.
preLayout: function(args) {}
// postLayout() is also optional, but most often all your app
// logic will be contained in this function.
postLayout: function(args) {}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment