incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [7/8] ios commit: Add onReset for CDVBattery.
Date Tue, 25 Sep 2012 20:14:00 GMT
Add onReset for CDVBattery.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/1252c545
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/1252c545
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/1252c545

Branch: refs/heads/master
Commit: 1252c5456fe5103699d793269fd5fc1d06357fe8
Parents: 1a62a75
Author: Braden Shepherdson <braden@chromium.org>
Authored: Tue Sep 25 11:07:46 2012 -0400
Committer: Braden Shepherdson <braden@chromium.org>
Committed: Tue Sep 25 11:07:46 2012 -0400

----------------------------------------------------------------------
 CordovaLib/Classes/CDVBattery.m |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/1252c545/CordovaLib/Classes/CDVBattery.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVBattery.m b/CordovaLib/Classes/CDVBattery.m
index f032ebe..53d7d90 100644
--- a/CordovaLib/Classes/CDVBattery.m
+++ b/CordovaLib/Classes/CDVBattery.m
@@ -144,4 +144,9 @@
     [self stop:nil];
 }
 
+- (void)onReset
+{
+    [self stop:nil];
+}
+
 @end


Mime
View raw message