flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [2/2] git commit: [flex-utilities] [refs/heads/develop] - add linux as a support platform for the badge
Date Wed, 07 Aug 2013 23:13:58 GMT
add linux as a support platform for the badge


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

Branch: refs/heads/develop
Commit: 91aee9302bdffa4a19383983fb02590d1dd1fcd7
Parents: 1d72d07
Author: Justin Mclean <jmclean@apache.org>
Authored: Thu Aug 8 09:13:45 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Thu Aug 8 09:13:45 2013 +1000

----------------------------------------------------------------------
 common/src/org/apache/flex/utilities/common/Tools.as | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/91aee930/common/src/org/apache/flex/utilities/common/Tools.as
----------------------------------------------------------------------
diff --git a/common/src/org/apache/flex/utilities/common/Tools.as b/common/src/org/apache/flex/utilities/common/Tools.as
index a8adb92..7dc7d00 100644
--- a/common/src/org/apache/flex/utilities/common/Tools.as
+++ b/common/src/org/apache/flex/utilities/common/Tools.as
@@ -35,6 +35,7 @@ public class Tools
 	
 	private static const PLATFORM_MAC:String = "Mac";
 	private static const PLATFORM_WIN:String = "Windows";
+	private static const PLATFORM_LINUX:String = "Linux";
 	
 	//--------------------------------------------------------------------------
 	//
@@ -74,6 +75,8 @@ public class Tools
 			return Constants.APPLICATION_EXTENSION_WIN;
 		else if (platform == PLATFORM_MAC)
 			return Constants.APPLICATION_EXTENSION_MAC;
+		else if (platform == PLATFORM_LINUX)
+			return Constants.APPLICATION_EXTENSION_LINUX;
 		else
 			throw(new Error("PlatformNotSupported"));
 	}


Mime
View raw message