jsx: viewFragment support null or undefined
This commit is contained in:
@@ -716,7 +716,7 @@ var Group = /** @class */ (function (_super) {
|
||||
else if (e instanceof View) {
|
||||
this.addChild(e);
|
||||
}
|
||||
else {
|
||||
else if (!!e) {
|
||||
loge("Not allowed to add " + typeof e);
|
||||
}
|
||||
};
|
||||
|
@@ -576,7 +576,7 @@ class Group extends Superview {
|
||||
else if (e instanceof View) {
|
||||
this.addChild(e);
|
||||
}
|
||||
else {
|
||||
else if (!!e) {
|
||||
loge(`Not allowed to add ${typeof e}`);
|
||||
}
|
||||
}
|
||||
|
@@ -2106,7 +2106,7 @@ class Group extends Superview {
|
||||
else if (e instanceof View) {
|
||||
this.addChild(e);
|
||||
}
|
||||
else {
|
||||
else if (!!e) {
|
||||
loge(`Not allowed to add ${typeof e}`);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user