flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [04/16] git commit: [flex-asjs] [refs/heads/develop] - also init styles in the main document
Date Fri, 10 Oct 2014 14:34:51 GMT
also init styles in the main document


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

Branch: refs/heads/develop
Commit: 8b6c1a9570091d32581ec0049e11a4ff130ba9e5
Parents: f876241
Author: Alex Harui <aharui@apache.org>
Authored: Wed Oct 8 10:53:23 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Oct 10 07:34:31 2014 -0700

----------------------------------------------------------------------
 .../FlexJSUI/src/org/apache/flex/core/SimpleCSSValuesImpl.as   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8b6c1a95/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/SimpleCSSValuesImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/SimpleCSSValuesImpl.as
b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/SimpleCSSValuesImpl.as
index 85681da..1a96f64 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/SimpleCSSValuesImpl.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/SimpleCSSValuesImpl.as
@@ -78,11 +78,9 @@ package org.apache.flex.core
 	            var mainClassName:String = getQualifiedClassName(mainClass);
 				styleClassName = "_" + mainClassName + "_Styles";
 				c = ApplicationDomain.currentDomain.getDefinition(styleClassName) as Class;
+                generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);
 			}
-			else
-			{
-				c = mainClass.constructor as Class;
-			}
+			c = mainClass.constructor as Class;
             generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);
         }
         


Mime
View raw message