You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/11/01 23:09:19 UTC
[21/58] [abbrv] git commit: fixes Accelerometer unit tests
fixes Accelerometer unit tests
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/commit/e6b03e0d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/tree/e6b03e0d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/diff/e6b03e0d
Branch: refs/heads/master
Commit: e6b03e0d3fd90e6c8e8c163fa0df3a79de8bcfa8
Parents: 1d7c77b
Author: Ruslan Kokorev <ru...@bsquare.com>
Authored: Fri Oct 26 16:08:42 2012 +0400
Committer: Ruslan Kokorev <ru...@bsquare.com>
Committed: Fri Oct 26 16:08:42 2012 +0400
----------------------------------------------------------------------
templates/standalone/cordovalib/NativeExecution.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp8/blob/e6b03e0d/templates/standalone/cordovalib/NativeExecution.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/cordovalib/NativeExecution.cs b/templates/standalone/cordovalib/NativeExecution.cs
index ffa49a5..bd19f7c 100644
--- a/templates/standalone/cordovalib/NativeExecution.cs
+++ b/templates/standalone/cordovalib/NativeExecution.cs
@@ -114,7 +114,7 @@ namespace WPCordovaClassLib.Cordova
}
};
- if (bc is File)
+ if ((bc is File) || (bc is Accelerometer))
{
// Due to some issues with the IsolatedStorage in current version of WP8 SDK we have to run all File Api commands synchronously.
// TODO: test this in WP8 RTM