mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
more is defined checks added
This commit is contained in:

committed by
Erjan Gavalji

parent
cffd0d54f7
commit
8b9c30f5ea
@ -83,7 +83,9 @@ export function getComponentModule(elementName: string, namespace: string, attri
|
||||
|
||||
var i: number;
|
||||
for (i = 0; i < properties.length - 1; i++) {
|
||||
subObj = subObj[properties[i]];
|
||||
if (types.isDefined(subObj)) {
|
||||
subObj = subObj[properties[i]];
|
||||
}
|
||||
}
|
||||
|
||||
if (types.isDefined(subObj)) {
|
||||
|
Reference in New Issue
Block a user