This is an automated email from the ASF dual-hosted git repository. yishayw 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 f80bd8e Default data type for list is an array f80bd8e is described below commit f80bd8ed86ac28f8895059d685646c48724df1cd Author: DESKTOP-RH4S838\Yishay <yishayj...@hotmail.com> AuthorDate: Tue Nov 13 11:12:25 2018 +0200 Default data type for list is an array --- .../DragAndDropExample/src/main/royale/models/ProductsModel.as | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/royale/DragAndDropExample/src/main/royale/models/ProductsModel.as b/examples/royale/DragAndDropExample/src/main/royale/models/ProductsModel.as index 14894e3..f580005 100644 --- a/examples/royale/DragAndDropExample/src/main/royale/models/ProductsModel.as +++ b/examples/royale/DragAndDropExample/src/main/royale/models/ProductsModel.as @@ -18,7 +18,6 @@ //////////////////////////////////////////////////////////////////////////////// package models { - import org.apache.royale.collections.ArrayList; import products.Product; public class ProductsModel @@ -26,15 +25,15 @@ package models /** * Used for the DataGrid. */ - private var _productList:ArrayList = new ArrayList([ + private var _productList:Array = new Array( new Product("ps100","Widgets",44,200,"assets/smallbluerect.jpg"), new Product("tx200","Thingys",5,285,"assets/smallgreenrect.jpg"), new Product("rz300","Sprockets",80,105,"assets/smallyellowrect.jpg"), new Product("dh440","Doohickies",10,340,"assets/smallredrect.jpg"), new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg") - ]); + ); - public function get productList():ArrayList + public function get productList():Array { return _productList; }