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/05/21 16:37:09 UTC

[06/10] git commit: [flex-asjs] [refs/heads/develop] - helps if you declare var

helps if you declare var


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

Branch: refs/heads/develop
Commit: f58e9680d7c23b938402cbf113f68fbb8fbb33fd
Parents: efd7ec0
Author: Justin Mclean <jm...@apache.org>
Authored: Sun May 21 07:38:38 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sun May 21 07:38:38 2017 +1000

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f58e9680/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 2b0c124..4b67cae 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
@@ -169,6 +169,8 @@ package org.apache.flex.core
             var declarationName:String = "";
             var segmentName:String = "";
             var n:int = arr.length;
+            var i:int = 0;
+            
             while (i < n)
             {
                 var className:int = arr[i];
@@ -663,7 +665,7 @@ package org.apache.flex.core
          *  @playerversion AIR 2.6
          *  @productversion FlexJS 0.0
          */
-        public static var inheritingStyles:Object = { 
+        public static var inheritingStyles:Object = {
             "color" : 1,
             "fontFamily" : 1,
             "fontSize" : 1,