mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Code file exports fixed
This commit is contained in:
@@ -485,6 +485,10 @@ namespace xml2ui {
|
||||
|
||||
if (this.rootComponentModule && this.rootComponentModule.component instanceof Page) {
|
||||
this.currentPage = <Page>this.rootComponentModule.component;
|
||||
|
||||
if((<any>this.currentPage).exports){
|
||||
this.context = (<any>this.currentPage).exports;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user