This commit is contained in:
yimi 2017-09-18 07:18:28 +00:00
parent 6546aaa704
commit 00c43cee45

View File

@ -69,7 +69,7 @@ function DEFNODE(type, props, methods, base) {
}
if (base) base.SUBCLASSES.push(ctor);
ctor.prototype.CTOR = ctor;
ctor.SELF_PROPS = self_props;
ctor.SELF_PROPS = props;
ctor.SUBCLASSES = [];
if (type) {
ctor.prototype.TYPE = ctor.TYPE = type;