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 <jmcl...@apache.org>
Authored: Thu Jun 1 13:14:41 2017 +1000
Committer: Justin Mclean <jmcl...@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,

Reply via email to