Created
October 8, 2014 09:02
-
-
Save dreammonkey/b0af05f104b55a4d07f7 to your computer and use it in GitHub Desktop.
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
(function() { | |
var Button = function(label) { | |
this.initialize(label); | |
} | |
var p = Button.prototype = new createjs.Container(); | |
Button.prototype.Container_initialize = p.initialize; | |
Button.prototype.initialize = function(label) { | |
this.Container_initialize(); | |
// add custom setup logic here. | |
} | |
window.Button = Button; | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment