You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2017/06/01 05:58:14 UTC
[3/7] git commit: [flex-asjs] [refs/heads/develop] - make colour map
const
make colour map const
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ee3a98ec
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ee3a98ec
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ee3a98ec
Branch: refs/heads/develop
Commit: ee3a98ecf4711a8ac0bb17b5173ec5106da0615a
Parents: 53eeff4
Author: Justin Mclean <jm...@apache.org>
Authored: Thu Jun 1 13:14:41 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu Jun 1 13:14:41 2017 +1000
----------------------------------------------------------------------
.../Core/src/main/flex/org/apache/flex/utils/CSSUtils.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ee3a98ec/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as
index 0dcad67..39dc818 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as
@@ -119,7 +119,7 @@ package org.apache.flex.utils
var c2:int;
var stringValue:String = value as String;
- if (stringValue == "transparent")
+ if (stringValue === "transparent")
{
return uint.MAX_VALUE;
}
@@ -316,7 +316,7 @@ package org.apache.flex.utils
* @playerversion AIR 2.6
* @productversion FlexJS 0.0
*/
- public static var colorMap:Object = {
+ public static const colorMap:Object = {
transparent: 0,
white: 0xFFFFFFFF,
silver: 0xFFC0C0C0,