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 efa7f22  BE004: simplify code removing dataproviderdince is 
DefaultProperty in Jewel List
efa7f22 is described below

commit efa7f22101a6ac01039e19650de678895f4fcc0e
Author: Carlos Rovira <[email protected]>
AuthorDate: Sun Feb 14 10:21:27 2021 +0100

    BE004: simplify code removing dataproviderdince is DefaultProperty in Jewel 
List
---
 .../src/main/royale/BE0004_Adding_an_item_to_a_Jewel_List.mxml        | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/src/main/royale/BE0004_Adding_an_item_to_a_Jewel_List.mxml
 
b/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/src/main/royale/BE0004_Adding_an_item_to_a_Jewel_List.mxml
index 2375792..4b6637c 100644
--- 
a/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/src/main/royale/BE0004_Adding_an_item_to_a_Jewel_List.mxml
+++ 
b/examples/blog/BE0004_Adding_an_item_to_a_Jewel_List/src/main/royale/BE0004_Adding_an_item_to_a_Jewel_List.mxml
@@ -46,9 +46,7 @@
             <html:H3 text="Avengers Character List"/>
        
             <j:List id="list" width="200" height="300" 
change="changeHandler(event)">
-                <j:dataProvider>
-                    <js:ArrayList id="avengersCharacters" source="[Iron Man, 
Hulk, Thor, Captain America, Black Widow]" />
-                </j:dataProvider>
+                <js:ArrayList id="avengersCharacters" source="[Iron Man, Hulk, 
Thor, Captain America, Black Widow]" />
             </j:List>
 
             <j:Label id="selected"/>

Reply via email to