flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/tlf] - Reversed changes to GraphicGroup
Date Wed, 26 Apr 2017 20:44:15 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/tlf ca8afe2e8 -> fc02496bb


Reversed changes to GraphicGroup


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

Branch: refs/heads/tlf
Commit: fc02496bb4553710c57d7741e5f39119379566d1
Parents: ca8afe2
Author: Harbs <harbs@in-tools.com>
Authored: Wed Apr 26 23:44:10 2017 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Wed Apr 26 23:44:10 2017 +0300

----------------------------------------------------------------------
 .../org/apache/flex/svg/GraphicContainer.as     | 29 ++++++++++++
 .../flex/org/apache/flex/svg/GraphicGroup.as    | 46 --------------------
 2 files changed, 29 insertions(+), 46 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fc02496b/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicContainer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicContainer.as
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicContainer.as
index edd30e8..6b05fea 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicContainer.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicContainer.as
@@ -195,3 +195,32 @@ package org.apache.flex.svg
 	}
 }
 
+import org.apache.flex.core.ContainerBase;
+
+class GraphicGroup extends ContainerBase
+{
+	/**
+	 * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+	 */
+	COMPILE::JS
+	override protected function createElement():org.apache.flex.core.WrappedHTMLElement
+	{
+		element = document.createElementNS('http://www.w3.org/2000/svg', 'g') as org.apache.flex.core.WrappedHTMLElement;
+
+		positioner = element;
+
+		// absolute positioned children need a non-null
+		// position value in the parent.  It might
+		// get set to 'absolute' if the container is
+		// also absolutely positioned
+		//positioner.style.position = 'relative';
+		element.flexjs_wrapper = this;
+
+		/*addEventListener('childrenAdded',
+		runLayoutHandler);
+		addEventListener('elementRemoved',
+		runLayoutHandler);*/
+
+		return element;
+	}
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fc02496b/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicGroup.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicGroup.as
deleted file mode 100644
index 2c972b2..0000000
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/svg/GraphicGroup.as
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.flex.svg
-{
-	import org.apache.flex.core.ContainerBase;
-
-	public class GraphicGroup extends ContainerBase
-	{
-		/**
-		* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
-		*/
-		COMPILE::JS
-		override protected function createElement():org.apache.flex.core.WrappedHTMLElement
-		{
-			element = document.createElementNS('http://www.w3.org/2000/svg', 'g') as org.apache.flex.core.WrappedHTMLElement;
-
-			positioner = element;
-
-			// absolute positioned children need a non-null
-			// position value in the parent.  It might
-			// get set to 'absolute' if the container is
-			// also absolutely positioned
-			//positioner.style.position = 'relative';
-			element.flexjs_wrapper = this;
-
-			/*addEventListener('childrenAdded',
-			runLayoutHandler);
-			addEventListener('elementRemoved',
-			runLayoutHandler);*/
-
-			return element;
-		}
-	}
-
-}


Mime
View raw message