You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pi...@apache.org on 2017/05/01 09:02:30 UTC

git commit: [flex-asjs] [refs/heads/develop] - Remove redundant "createElement" from Div, cause it's handled by Group

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 5b4273cff -> 631277b09


Remove redundant "createElement" from Div, cause it's handled by Group


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/631277b0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/631277b0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/631277b0

Branch: refs/heads/develop
Commit: 631277b091f9c7f50c7ca0f73f1d0461c958ffcc
Parents: 5b4273c
Author: piotrz <pi...@apache.org>
Authored: Mon May 1 11:02:25 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Mon May 1 11:02:25 2017 +0200

----------------------------------------------------------------------
 .../HTML/src/main/flex/org/apache/flex/html/Div.as    | 14 --------------
 1 file changed, 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/631277b0/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
index 285a661..b94ed92 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Div.as
@@ -80,19 +80,5 @@ package org.apache.flex.html
 		
         COMPILE::JS
         protected var textNode:Text;
-		
-        /**
-         * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
-         */
-        COMPILE::JS
-        override protected function createElement():WrappedHTMLElement
-        {
-			element = document.createElement('div') as WrappedHTMLElement;
-
-            positioner = element;
-            element.flexjs_wrapper = this;
-            
-            return element;
-        }
     }
 }