Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'ThreeTwoOne'

  • Loading branch information...
commit a6be96f90d7c56535f6285a9197e272a9a381cd0 2 parents f4a9b18 + 78959a4
authored
11  libs/Wormhole/jslib/mosync-bridge.js
@@ -80,9 +80,6 @@ var mosync = (function()
80 80
 		mosync.bridge.send(["MoSync", "SendToBackground"]);
81 81
 	};
82 82
 
83  
-	/**
84  
-	 * Screen orientation constants.
85  
-	 */
86 83
 	mosync.SCREEN_ORIENTATION_DYNAMIC = "dynamic";
87 84
 	mosync.SCREEN_ORIENTATION_PORTRAIT = "portrait";
88 85
 	mosync.SCREEN_ORIENTATION_LANDSCAPE = "landscape";
@@ -92,12 +89,12 @@ var mosync = (function()
92 89
 	 *
93 90
 	 * @param orientation The desired screen orientation.
94 91
 	 * Can be one of the constants:
95  
-	 *   mosync.SCREEN_ORIENTATION_DYNAMIC
96  
-	 *   mosync.SCREEN_ORIENTATION_PORTRAIT
97  
-	 *   mosync.SCREEN_ORIENTATION_LANDSCAPE
  92
+	 *   mosync.SCREEN\_ORIENTATION\_DYNAMIC
  93
+	 *   mosync.SCREEN\_ORIENTATION\_PORTRAIT
  94
+	 *   mosync.SCREEN\_ORIENTATION\_LANDSCAPE
98 95
 	 *
99 96
 	 * Example:
100  
-	 *   mosync.app.screenSetOrientation(mosync.SCREEN_ORIENTATION_DYNAMIC);
  97
+	 *   mosync.app.screenSetOrientation(mosync.SCREEN\_ORIENTATION\_DYNAMIC);
101 98
 	 */
102 99
 	mosync.app.screenSetOrientation = function(orientation)
103 100
 	{
4  testPrograms/FileTest/main.cpp
@@ -106,8 +106,8 @@ class FileTestApp
106 106
 	 */
107 107
 	MAUtil::String getPath()
108 108
 	{
109  
-		// return mPlatform->getLocalPath();
110  
-		return mPlatform->getAndroidSDCardPath();
  109
+		return mPlatform->getLocalPath();
  110
+		//return mPlatform->getAndroidSDCardPath();
111 111
 	}
112 112
 
113 113
 	void testFileAPI()

0 notes on commit a6be96f

Please sign in to comment.
Something went wrong with that request. Please try again.