You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2021/12/16 11:21:22 UTC
[royale-asjs] branch develop updated: Added comment
This is an automated email from the ASF dual-hosted git repository.
harbs 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 75511af Added comment
75511af is described below
commit 75511afbb9f81c5e69cc55c4e2ae3148e8462fb5
Author: Harbs <ha...@in-tools.com>
AuthorDate: Thu Dec 16 12:57:48 2021 +0200
Added comment
---
frameworks/projects/XML/src/main/royale/XML.as | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/frameworks/projects/XML/src/main/royale/XML.as b/frameworks/projects/XML/src/main/royale/XML.as
index 39cd4f2..090c543 100644
--- a/frameworks/projects/XML/src/main/royale/XML.as
+++ b/frameworks/projects/XML/src/main/royale/XML.as
@@ -1533,11 +1533,16 @@ package
}
return namespaces;
}
-
+ /**
+ * This method is public to enable code optimizations for getting attributes
+ */
public function getAttributeArray():Array
{
return _attributes ? _attributes : [];
}
+ /**
+ * This method is public to enable code optimizations for getting children
+ */
public function getChildrenArray():Array
{
return _children ? _children : [];