You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2017/12/26 08:14:05 UTC

[royale-asjs] branch feature/royalesite updated (cd428d7 -> ad357d8)

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

aharui pushed a change to branch feature/royalesite
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git.


    from cd428d7  raw html version
     new bfa30a4  change to innerHTML as the special property.  requires compiler update
     new ad357d8  put second icon on separate line

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/royale/html/TextNodeContainerBase.as    | 27 +---------------------
 .../ResponsiveTableTileIcon.as                     |  3 +++
 2 files changed, 4 insertions(+), 26 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <co...@royale.apache.org>'].

[royale-asjs] 02/02: put second icon on separate line

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit ad357d88126a35f458f2ec026a2eae5e77efe576
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Dec 26 00:13:48 2017 -0800

    put second icon on separate line
---
 .../royale/site/responsiveTableClasses/ResponsiveTableTileIcon.as      | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/responsiveTableClasses/ResponsiveTableTileIcon.as b/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/responsiveTableClasses/ResponsiveTableTileIcon.as
index 91c85c3..b276f15 100644
--- a/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/responsiveTableClasses/ResponsiveTableTileIcon.as
+++ b/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/responsiveTableClasses/ResponsiveTableTileIcon.as
@@ -80,6 +80,7 @@ package org.apache.royale.site.responsiveTableClasses
         /**
          * @return The actual element to be parented.
          * @royaleignorecoercion HTMLSpanElement
+         * @royaleignorecoercion HTMLBRElement
          */
         COMPILE::JS
 		override public function addedToParent():void
@@ -90,6 +91,8 @@ package org.apache.royale.site.responsiveTableClasses
             element.appendChild(span);
             if (icon2)
             {
+                var br:HTMLBRElement = document.createElement("br") as HTMLBRElement;
+                element.appendChild(br);
                 span = document.createElement("span") as HTMLSpanElement;
                 span.className = "fa " + icon2;
                 element.appendChild(span);

-- 
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <co...@royale.apache.org>.

[royale-asjs] 01/02: change to innerHTML as the special property. requires compiler update

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit bfa30a4cbe139f440097e7e7af8a436ca7db1b57
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Dec 26 00:13:27 2017 -0800

    change to innerHTML as the special property.  requires compiler update
---
 .../apache/royale/html/TextNodeContainerBase.as    | 27 +---------------------
 1 file changed, 1 insertion(+), 26 deletions(-)

diff --git a/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/TextNodeContainerBase.as b/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/TextNodeContainerBase.as
index d0fca4a..09bd62e 100644
--- a/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/TextNodeContainerBase.as
+++ b/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/TextNodeContainerBase.as
@@ -20,7 +20,7 @@ package org.apache.royale.html
 {
     import org.apache.royale.core.UIBase;
 
-    [DefaultProperty("mxmlContent|textContent")]
+    [DefaultProperty("mxmlContent|innerHTML")]
     
     public class TextNodeContainerBase extends NodeElementBase
     {
@@ -59,31 +59,6 @@ package org.apache.royale.html
 			}
 		}
 		
-        private var _textContent:String = "";
-        
-        /**
-         *  The innerHTML of the element
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion Royale 0.0
-         */
-        public function get textContent():String
-        {
-            // textContent is special cased in the compiler
-            return _textContent;
-        }
-        public function set textContent(value:String):void
-        {
-            _textContent = value;
-            
-            COMPILE::JS
-            {
-                element.innerHTML = value;
-            }
-        }
-        
         COMPILE::JS
         protected var textNode:Text;
 

-- 
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <co...@royale.apache.org>.