fix
This commit is contained in:
parent
00c43cee45
commit
b4911cb81b
|
|
@ -74,7 +74,7 @@ function DEFNODE(type, props, methods, base) {
|
|||
if (type) {
|
||||
ctor.prototype.TYPE = ctor.TYPE = type;
|
||||
}
|
||||
if (methods) for (i in methods) if (HOP(methods, i)) {
|
||||
if (methods) for (var i in methods) if (HOP(methods, i)) {
|
||||
if (/^\$/.test(i)) {
|
||||
ctor[i.substr(1)] = methods[i];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user