flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject [08/28] git commit: [flex-asjs] [refs/heads/feature/dragAndDrop] - fx:Style blocks in MXML weren't working. How did they ever work?
Date Mon, 21 Aug 2017 09:12:03 GMT
fx:Style blocks in MXML weren't working.  How did they ever work?


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

Branch: refs/heads/feature/dragAndDrop
Commit: bf706bc8022d735f70a739e73e34ef50c542f0d0
Parents: dcd748c
Author: Alex Harui <aharui@apache.org>
Authored: Wed Aug 9 10:18:29 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Aug 9 10:19:13 2017 -0700

----------------------------------------------------------------------
 .../Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf706bc8/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 36198f6..3c3f955 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
@@ -91,7 +91,7 @@ package org.apache.flex.core
 				c = ApplicationDomain.currentDomain.getDefinition(styleClassName) as Class;
                 generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);
 			}
-			c = mainClass.constructor as Class;
+			c = main.constructor as Class;
             generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);
             if (hasEventListener("init"))
                 dispatchEvent(new ValueEvent("init", false, false, c["fontFaces"]));


Mime
View raw message