Skip to content

Instantly share code, notes, and snippets.

@72lions
Created January 31, 2012 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 72lions/1710149 to your computer and use it in GitHub Desktop.
Save 72lions/1710149 to your computer and use it in GitHub Desktop.
FrameworkJS.extend - Extending a controller
// Extend using the Controller class
FrameworkJS.extend(function() {
this.someFunction = function() {
// Some code here...
};
},
FrameworkJS.Controller,
'controllers.Grid');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment