You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cz...@apache.org on 2013/09/06 18:02:18 UTC

git commit: [flex-sdk] [refs/heads/develop] - FLEX-33714 changed const to var for newRowIndex - Falcon is stricter then legacy compiler

Updated Branches:
  refs/heads/develop 6581f0220 -> 614c19612


FLEX-33714 changed const to var for newRowIndex - Falcon is stricter then legacy compiler


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

Branch: refs/heads/develop
Commit: 614c19612554c56b39d0eeefd67c0484520c3999
Parents: 6581f02
Author: cyrill.zadra <cy...@gmail.com>
Authored: Fri Sep 6 20:01:11 2013 +0400
Committer: cyrill.zadra <cy...@gmail.com>
Committed: Fri Sep 6 20:01:11 2013 +0400

----------------------------------------------------------------------
 .../spark/src/spark/components/gridClasses/GridSelection.as      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/614c1961/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as b/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
index bc28723..88d01c6 100644
--- a/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
+++ b/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
@@ -1389,7 +1389,7 @@ public class GridSelection
         var selectionChanged:Boolean = false;
         
         const oldRowIndex:int = event.oldLocation;
-        const newRowIndex:int = event.location;
+        var newRowIndex:int = event.location;
         
         selectionChanged = handleRowRemove(oldRowIndex);
         
@@ -1664,7 +1664,7 @@ public class GridSelection
             return false;
 
         const oldColumnIndex:int = event.oldLocation;
-        const newColumnIndex:int = event.location;
+        var newColumnIndex:int = event.location;
         
         var selectionChanged:Boolean = handleColumnRemove(oldColumnIndex);