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

[2/2] git commit: [flex-asjs] [refs/heads/develop] - revert this because it isn't needed now that we require the same IValuesImpl in the module as is in the main app.

revert this because it isn't needed now that we require the same IValuesImpl in the module as is in the main app.


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

Branch: refs/heads/develop
Commit: d526a4a81df20449b8ab6b55ff870028cfe31563
Parents: bbbd0f2
Author: Alex Harui <ah...@apache.org>
Authored: Fri Aug 18 22:50:34 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Aug 18 22:50:34 2017 -0700

----------------------------------------------------------------------
 .../flex/org/apache/flex/core/SimpleCSSValuesImpl.as     | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d526a4a8/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
index 003ca12..d96558b 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as
@@ -81,26 +81,17 @@ package org.apache.flex.core
         public function init(main:Object):void
         {
 			var styleClassName:String;
-            var mainClassName:String;
             
 			var c:Class;
 			if (!values)
 			{
 				values = {};
 	            mainClass = main;
-                mainClassName = getQualifiedClassName(mainClass);
+                var mainClassName:String = getQualifiedClassName(mainClass);
 				styleClassName = "_" + mainClassName + "_Styles";
 				c = ApplicationDomain.currentDomain.getDefinition(styleClassName) as Class;
                 generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);
 			}
-            else if (main is IFlexInfo)
-            {
-                mainClass = main;
-                mainClassName = getQualifiedClassName(mainClass);
-                styleClassName = "_" + mainClassName + "_Styles";
-                c = ApplicationDomain.currentDomain.getDefinition(styleClassName) as Class;
-                generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);                
-            }
 			c = main.constructor as Class;
             generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);
             if (hasEventListener("init"))