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 2020/04/08 12:40:37 UTC

[royale-asjs] branch develop updated: tour-de-jewel: remove unused beads

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 ffe57ab  tour-de-jewel: remove unused beads
ffe57ab is described below

commit ffe57ab68e5c55d16f16e1d0fb9b7019b8faabbc
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Apr 8 14:40:32 2020 +0200

    tour-de-jewel: remove unused beads
---
 .../jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml    | 5 +----
 examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml   | 3 +--
 .../jewel/TourDeJewel/src/main/royale/services/GitHubService.as  | 9 ++++-----
 3 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml b/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
index 9d0d460..c87b078 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
@@ -396,7 +396,6 @@ limitations under the License.
 							sourceID="listModel"
 							sourcePropertyName="iconDetailListData"
 							destinationPropertyName="dataProvider"/>
-						<j:RemoveDataGridItemRendererForArrayListData/>
 					</j:beads>
 					<j:columns>
 						<j:DataGridColumn label="Icon" 
@@ -447,7 +446,6 @@ limitations under the License.
 							sourceID="listModel"
 							sourcePropertyName="iconDetailListData"
 							destinationPropertyName="dataProvider"/>
-						<j:RemoveDataGridItemRendererForArrayListData/>
 					</j:beads>
 					<j:columns>
 						<j:DataGridColumn label="Icon" 
@@ -472,7 +470,7 @@ limitations under the License.
 							sourceID="listModel"
 							sourcePropertyName="iconDetailListData"
 							destinationPropertyName="dataProvider"/>
-						<j:RemoveDataGridItemRendererForArrayListData/>
+						
 					</j:beads>
 					<j:columns>
 						<j:DataGridColumn label="Icon" 
@@ -498,7 +496,6 @@ limitations under the License.
 								sourceID="listModel"
 								sourcePropertyName="iconDetailListData"
 								destinationPropertyName="dataProvider"/>
-							<j:RemoveDataGridItemRendererForArrayListData/>
 						</j:beads>
 						<j:columns>
 							<j:DataGridColumn label="Icon" 
diff --git a/examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml b/examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml
index 4e339a9..aef2731 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/ListPlayGround.mxml
@@ -27,7 +27,6 @@ limitations under the License.
 	<fx:Script>
 		<![CDATA[
 			import org.apache.royale.collections.ArrayList;
-			import org.apache.royale.core.StyledUIBase;
 
 			import vos.IconListVO;
 
@@ -157,7 +156,7 @@ limitations under the License.
 				</j:CardHeader>
 				<j:CardPrimaryContent>
 					
-					<j:List localId="list1" width="200" height="300" 
+					<j:List localId="list1" width="200" height="300" selectedIndex="2"
 							dataProvider="{simple}" change="onChange(event)"/>
 					
 					<j:TextInput width="200">
diff --git a/examples/jewel/TourDeJewel/src/main/royale/services/GitHubService.as b/examples/jewel/TourDeJewel/src/main/royale/services/GitHubService.as
index 6737596..28c8340 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/services/GitHubService.as
+++ b/examples/jewel/TourDeJewel/src/main/royale/services/GitHubService.as
@@ -18,12 +18,11 @@
 ////////////////////////////////////////////////////////////////////////////////
 package services
 {
-	import org.apache.royale.net.HTTPService;
-	import org.apache.royale.net.HTTPHeader;
-	import org.apache.royale.events.EventDispatcher;
 	import org.apache.royale.events.Event;
-    import org.apache.royale.utils.string.Base64;
-    import org.apache.royale.net.HTTPConstants;
+	import org.apache.royale.events.EventDispatcher;
+	import org.apache.royale.net.HTTPConstants;
+	import org.apache.royale.net.HTTPService;
+	import org.apache.royale.utils.string.Base64;
 
     [Event(name="dataReady", type="org.apache.royale.events.Event")]
     /**