Created
January 31, 2012 12:05
-
-
Save 72lions/1710149 to your computer and use it in GitHub Desktop.
FrameworkJS.extend - Extending a controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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