Created
September 18, 2011 21:07
-
-
Save preslavrachev/1225547 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Proj.View.CustomView2 = Proj.View.CustomView.extend({ | |
initialize: function(opts) { | |
//this is the equivalent of super() | |
Proj.View.CustomView.prototype.initialize.call(this,opts); | |
//.... | |
}, | |
render: function(opts) { | |
//this is the equivalent of super() | |
Proj.View.CustomView.prototype.render.call(this,opts); | |
//.... | |
}, | |
//.... other methods and attributes | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment