enable coffeescript classes
This commit is contained in:
parent
98a950ff53
commit
c3ee79b01d
@ -60,6 +60,7 @@ L.Class.extend = function (props) {
|
|||||||
proto._initHooks = [];
|
proto._initHooks = [];
|
||||||
|
|
||||||
var parent = this;
|
var parent = this;
|
||||||
|
NewClass.__super__ = parent.prototype;
|
||||||
// add method for calling all hooks
|
// add method for calling all hooks
|
||||||
proto.callInitHooks = function () {
|
proto.callInitHooks = function () {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user