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/24 16:19:24 UTC

[royale-asjs] branch develop updated: UIBase: simplify a var assignment

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 26d2b8e  UIBase: simplify a var assignment
26d2b8e is described below

commit 26d2b8e0076e25af275d47140a0c586cc91bc5f8
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Apr 24 18:19:19 2020 +0200

    UIBase: simplify a var assignment
---
 .../projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as
index af47753..fd5a274 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as
@@ -1303,8 +1303,7 @@ package org.apache.royale.core
             }
             COMPILE::JS
             {
-                var children:Array = internalChildren();
-                return children.length;
+                return internalChildren().length;
             }
         }