cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject cordova-plugin-device-motion git commit: revert wp8 commit: 90ef274
Date Wed, 28 Oct 2015 16:39:55 GMT
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 <purplecabbage@gmail.com>
Authored: Wed Oct 28 09:39:23 2015 -0700
Committer: Jesse MacFadyen <purplecabbage@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


Mime
View raw message