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/09 17:19:21 UTC

[1/2] git commit: [flex-asjs] [refs/heads/develop] - try this price if we can't get other price data

Repository: flex-asjs
Updated Branches:
  refs/heads/develop dcd748c8c -> 6e55c55c7


try this price if we can't get other price data


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

Branch: refs/heads/develop
Commit: 6e55c55c716a79d09b62e63d58110b39037d5fcf
Parents: bf706bc
Author: Alex Harui <ah...@apache.org>
Authored: Wed Aug 9 10:18:58 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Aug 9 10:19:13 2017 -0700

----------------------------------------------------------------------
 examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6e55c55c/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as b/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as
index 5a16d02..0c05d63 100644
--- a/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as
+++ b/examples/flexjs/DataBindingExample/src/main/flex/models/MyModel.as
@@ -58,6 +58,8 @@ package models
 			{
 				if (_requestedField == "Ask")
 					s = _responseData["Bid"];
+                if (s == null)
+                    s = _responseData["LastTradePriceOnly"];
 			}
 			return s;
 		}


[2/2] git commit: [flex-asjs] [refs/heads/develop] - fx:Style blocks in MXML weren't working. How did they ever work?

Posted by ah...@apache.org.
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/develop
Commit: bf706bc8022d735f70a739e73e34ef50c542f0d0
Parents: dcd748c
Author: Alex Harui <ah...@apache.org>
Authored: Wed Aug 9 10:18:29 2017 -0700
Committer: Alex Harui <ah...@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"]));