flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [5/7] git commit: [flex-asjs] [refs/heads/develop] - fix warning
Date Fri, 21 Aug 2015 18:42:59 GMT
fix warning


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

Branch: refs/heads/develop
Commit: 81627427123a3448eea97592eb8b281a55cef004
Parents: 4b6f8a8
Author: Alex Harui <aharui@apache.org>
Authored: Fri Aug 21 10:28:11 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Aug 21 10:28:11 2015 -0700

----------------------------------------------------------------------
 .../as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/81627427/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
index 56e1c08..fd741b4 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/layouts/VerticalLayout.as
@@ -92,7 +92,7 @@ package org.apache.flex.html.beads.layouts
 			var maxWidth:Number = 0;
 			// asking for contentView.width can result in infinite loop if host isn't sized already
 			var w:Number = hostSizedToContent ? 0 : contentView.width;
-            var h = contentView.height;
+            var h:Number = contentView.height;
 			
 			for (var i:int = 0; i < n; i++)
 			{


Mime
View raw message