This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 934a0d4 BE0013: use new Jewel ModuleLoader
934a0d4 is described below
commit 934a0d42c159c16719691ac41b73d0352053b271
Author: Carlos Rovira <[email protected]>
AuthorDate: Wed Jun 19 20:22:53 2019 +0200
BE0013: use new Jewel ModuleLoader
---
.../MainJewelApp/src/main/royale/MainJewelApp.mxml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/royale/MainJewelApp.mxml
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/royale/MainJewelApp.mxml
index 6532021..2e74f75 100644
---
a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/royale/MainJewelApp.mxml
+++
b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/MainJewelApp/src/main/royale/MainJewelApp.mxml
@@ -25,7 +25,7 @@
<fx:Script>
<![CDATA[
// inject_html does not wotk in modules
- import MaterialIconType;MaterialIconType;
+ import MaterialIconType; MaterialIconType;
[Bindable]
public var code_txt:String;
@@ -52,7 +52,9 @@
<j:Label html="This example uses Modules to load other
application parts"/>
- <js:UIModuleLoader modulePath="modules"
moduleName="JewelModule" />
+ <j:ModuleLoader localId="moduleLoader"
+ modulePath="modules" moduleName="JewelModule"
+ />
<j:Button text="Load a Module" emphasis="primary"
click="loadModule()"/>
</j:Card>