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
// Component Definition | |
function Component(name) { | |
this.pageName = name; | |
} | |
// Lets decorate the Component instances with | |
// a method that can do some work | |
Component.prototype.onLoaded = function() { | |
// do some fancy work |
NewerOlder