enable coffeescript classes

This commit is contained in:
Calvin Metcalf 2013-02-04 08:00:02 -05:00
parent 98a950ff53
commit c3ee79b01d

View File

@ -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 () {