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 2014/10/10 16:34:51 UTC
[04/16] git commit: [flex-asjs] [refs/heads/develop] - also init
styles in the main document
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 <ah...@apache.org>
Authored: Wed Oct 8 10:53:23 2014 -0700
Committer: Alex Harui <ah...@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"]);
}