You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2017/11/01 22:40:44 UTC

[royale-asjs] branch develop updated: Add suggestion from Harbs comment #commitcomment-25342568

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

piotrz 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 1e818f6  Add suggestion from Harbs comment #commitcomment-25342568
1e818f6 is described below

commit 1e818f68a108f149b100d7013d4c56616d848958
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Wed Nov 1 23:40:37 2017 +0100

    Add suggestion from Harbs comment #commitcomment-25342568
---
 .../projects/HTML/src/main/royale/org/apache/royale/html/Code.as       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/Code.as b/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/Code.as
index ee9685e..9e6e332 100644
--- a/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/Code.as
+++ b/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/Code.as
@@ -88,8 +88,7 @@ package org.apache.royale.html
         COMPILE::JS
         override protected function createElement():WrappedHTMLElement
         {
-			addElementToWrapper(this,'code');
-            return element;
+			return addElementToWrapper(this,'code');
         }
     }
 }

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