You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/07/25 18:25:59 UTC
[royale-asjs] branch develop updated: remove call to loadCSS since
royale already knows how to get that info for modules from inject_html
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 7af436c remove call to loadCSS since royale already knows how to get that info for modules from inject_html
7af436c is described below
commit 7af436c69e854c6d22fc576f4ad2522c98ad3fb1
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Jul 25 20:25:51 2019 +0200
remove call to loadCSS since royale already knows how to get that info for modules from inject_html
---
.../JewelModule/src/main/royale/JewelModule.mxml | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/src/main/royale/JewelModule.mxml b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/src/main/royale/JewelModule.mxml
index 7214759..c2b0c33 100644
--- a/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/src/main/royale/JewelModule.mxml
+++ b/examples/blog/BE0013_Dividing_an_Apache_Royale_application_with_modules/JewelModule/src/main/royale/JewelModule.mxml
@@ -19,19 +19,7 @@ limitations under the License.
-->
<j:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:j="library://ns.apache.org/royale/jewel"
- xmlns:js="library://ns.apache.org/royale/basic"
- initComplete="initModule()">
-
- <fx:Script>
- <![CDATA[
- import org.apache.royale.utils.css.loadCSS;
-
- private function initModule():void
- {
- loadCSS('https://fonts.googleapis.com/icon?family=Material+Icons');
- }
- ]]>
- </fx:Script>
+ xmlns:js="library://ns.apache.org/royale/basic">
<j:beads>
<js:ContainerDataBinding/>