This is an automated email from the ASF dual-hosted git repository.

piotrz pushed a commit to branch feature/type_names_class_name_issue124
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to 
refs/heads/feature/type_names_class_name_issue124 by this push:
     new f21d7f2  Remove trimming from computation of class names (reference 
#124)
f21d7f2 is described below

commit f21d7f247c671f6645068766766d4067de5dcf12
Author: Piotr Zarzycki <piotrzarzyck...@gmail.com>
AuthorDate: Fri Mar 2 07:58:26 2018 +0100

    Remove trimming from computation of class names (reference #124)
---
 .../projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 928c831..5937eb2 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
@@ -1062,7 +1062,7 @@ package org.apache.royale.core
                COMPILE::JS
         protected function computeFinalClassNames():String
                {
-            return (_className ? _className + " " : "") + 
StringUtil.trim(typeNames ? typeNames : "");
+            return _className ? _className + " " : "" + typeNames ? typeNames 
: "";
                }
 
         COMPILE::JS

-- 
To stop receiving notification emails like this one, please contact
pio...@apache.org.

Reply via email to