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 a115fddbac removed dead JS code
a115fddbac is described below

commit a115fddbacdf6e11151d3d1d0f0579b19b2760ca
Author: Harbs <[email protected]>
AuthorDate: Fri Mar 20 10:56:51 2026 +0200

    removed dead JS code
---
 .../projects/Style/src/main/royale/org/apache/royale/style/Icon.as   | 5 ++++-
 .../src/main/royale/org/apache/royale/style/util/StyleManager.as     | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/Icon.as 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/Icon.as
index 709acf0cc6..5e6e0b9be3 100644
--- a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/Icon.as
+++ b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/Icon.as
@@ -178,7 +178,10 @@ package org.apache.royale.style
                        {
                                return _registeredIcons.has(name);
                        }
-                       return false;
+                       COMPILE::SWF
+                       {
+                               return false;
+                       }
                }
                private static function getAttributes():Object
                {
diff --git 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/util/StyleManager.as
 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/util/StyleManager.as
index bb3c282c17..58450d0a0c 100644
--- 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/util/StyleManager.as
+++ 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/util/StyleManager.as
@@ -35,7 +35,10 @@ package org.apache.royale.style.util
                        {
                                return styleList.has(selector);
                        }
-                       return false;
+                       COMPILE::SWF
+                       {
+                               return false;
+                       }
                }
                public static function addStyle(selector:String, 
normalizedSelector:String, rule:String):void
                {

Reply via email to