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 49c59c6 Fixed the example B0015: It was not compiled and the HSlider
did not apply to the List.
new 0d86c2b Merge pull request #897 from mjesteve/BE0015_NotCompiling
49c59c6 is described below
commit 49c59c60bd909e361e1c00b454a29e710de4d8c1
Author: hiedra-iest <[email protected]>
AuthorDate: Tue Aug 11 00:50:27 2020 +0200
Fixed the example B0015: It was not compiled and the HSlider did not apply
to the List.
---
.../asconfig.json | 2 +-
.../blog/BE0015_Using_Jewel_TileHorizontalLayout/pom.xml | 16 +++++++++++++++-
.../royale/BE0015_Using_Jewel_TileHorizontalLayout.mxml | 10 +++++-----
3 files changed, 21 insertions(+), 7 deletions(-)
diff --git
a/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/asconfig.json
b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/asconfig.json
index 1dfcb70..b2f435a 100644
--- a/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/asconfig.json
+++ b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/asconfig.json
@@ -29,6 +29,6 @@
"additionalOptions": "-remove-circulars
-js-output-optimization=skipAsCoercions",
"files":
[
- "src/main/royale/BE0014_Working_with_vector_graphics.mxml"
+ "src/main/royale/BE0015_Using_Jewel_TileHorizontalLayout.mxml"
]
}
diff --git a/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/pom.xml
b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/pom.xml
index d61f6a1..43d9687 100644
--- a/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/pom.xml
+++ b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/pom.xml
@@ -49,8 +49,15 @@
</plugins>
</build>
+
<dependencies>
-
+ <dependency>
+ <groupId>org.apache.royale.framework</groupId>
+ <artifactId>Network</artifactId>
+ <version>0.9.8-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>js</classifier>
+ </dependency>
<dependency>
<groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
@@ -82,6 +89,13 @@
<dependencies>
<dependency>
<groupId>org.apache.royale.framework</groupId>
+ <artifactId>Network</artifactId>
+ <version>0.9.8-SNAPSHOT</version>
+ <type>swc</type>
+ <classifier>swf</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.royale.framework</groupId>
<artifactId>Jewel</artifactId>
<version>0.9.8-SNAPSHOT</version>
<type>swc</type>
diff --git
a/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/src/main/royale/BE0015_Using_Jewel_TileHorizontalLayout.mxml
b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/src/main/royale/BE0015_Using_Jewel_TileHorizontalLayout.mxml
index 666fc90..459da1b 100644
---
a/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/src/main/royale/BE0015_Using_Jewel_TileHorizontalLayout.mxml
+++
b/examples/blog/BE0015_Using_Jewel_TileHorizontalLayout/src/main/royale/BE0015_Using_Jewel_TileHorizontalLayout.mxml
@@ -129,15 +129,15 @@
</j:beads>
<j:VGroup>
<j:Label
text="columnWidth"/>
- <j:HSlider width="200"
value="85" minimum="50" maximum="150" valueChange="thl.columnWidth =
event.target.value"/>
+ <j:HSlider width="200"
value="85" minimum="50" maximum="150" valueChange="thl.columnWidth =
thll.columnWidth = event.target.value;"/>
</j:VGroup>
<j:VGroup>
<j:Label
text="horizontalGap"/>
- <j:HSlider width="200"
value="6" minimum="0" maximum="20" valueChange="thl.horizontalGap =
event.target.value"/>
+ <j:HSlider width="200"
value="6" minimum="0" maximum="20" valueChange="thl.horizontalGap =
thll.horizontalGap = event.target.value"/>
</j:VGroup>
<j:VGroup>
<j:Label
text="requestedColumnCount"/>
- <j:HSlider width="200"
value="4" minimum="1" maximum="8" valueChange="thl.requestedColumnCount =
event.target.value"/>
+ <j:HSlider width="200"
value="4" minimum="1" maximum="8" valueChange="thl.requestedColumnCount =
thll.requestedColumnCount = event.target.value"/>
</j:VGroup>
</j:BarSection>
<j:BarSection width="50%"
itemsHorizontalAlign="itemsRight">
@@ -146,11 +146,11 @@
</j:beads>
<j:VGroup>
<j:Label
text="rowHeight"/>
- <j:HSlider width="200"
value="60" minimum="50" maximum="150" valueChange="thl.rowHeight =
event.target.value"/>
+ <j:HSlider width="200"
value="60" minimum="50" maximum="150" valueChange="thl.rowHeight =
thll.rowHeight = event.target.value"/>
</j:VGroup>
<j:VGroup>
<j:Label
text="verticalGap"/>
- <j:HSlider width="200"
value="6" minimum="0" maximum="20" valueChange="thl.verticalGap =
event.target.value"/>
+ <j:HSlider width="200"
value="6" minimum="0" maximum="20" valueChange="thl.verticalGap =
thll.verticalGap = event.target.value"/>
</j:VGroup>
</j:BarSection>
</j:CardActions>