Code file exports fixed

This commit is contained in:
Vladimir Enchev
2016-03-09 14:35:20 +02:00
parent 00bb498ea5
commit 8de027648b
2 changed files with 11 additions and 0 deletions

View File

@@ -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;
}
}
}