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 2015/10/28 17:39:55 UTC

cordova-plugin-device-motion git commit: revert wp8 commit: 90ef274

Repository: cordova-plugin-device-motion
Updated Branches:
  refs/heads/master ae7d473cc -> 6b417a1cb


revert wp8 commit: 90ef274


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/6b417a1c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/6b417a1c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/6b417a1c

Branch: refs/heads/master
Commit: 6b417a1cbbcc77ce2fa9b0bb5e100df133fabcf6
Parents: ae7d473
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Oct 28 09:39:23 2015 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Oct 28 09:39:23 2015 -0700

----------------------------------------------------------------------
 src/wp/Accelerometer.cs | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/6b417a1c/src/wp/Accelerometer.cs
----------------------------------------------------------------------
diff --git a/src/wp/Accelerometer.cs b/src/wp/Accelerometer.cs
index d7a95b5..33c5434 100644
--- a/src/wp/Accelerometer.cs
+++ b/src/wp/Accelerometer.cs
@@ -93,12 +93,7 @@ namespace WPCordovaClassLib.Cordova.Commands
             {
                 this.SetStatus(ErrorFailedToStart);
                 DispatchCommandResult(new PluginResult(PluginResult.Status.IO_EXCEPTION, ErrorFailedToStart), watchCallbackId);
-                return;
             }
-            PluginResult result = new PluginResult(PluginResult.Status.OK);
-            result.KeepCallback = true;
-            DispatchCommandResult(result,watchCallbackId);
-
         }
 
         public void stop(string options)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org