cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject cordova-plugin-dialogs git commit: CB-8351 Use argumentForIndex rather than NSArray extension
Date Fri, 23 Jan 2015 14:51:22 GMT
Repository: cordova-plugin-dialogs
Updated Branches:
  refs/heads/master c93d34bd4 -> a3c846983


CB-8351 Use argumentForIndex rather than NSArray extension


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/a3c84698
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/a3c84698
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/a3c84698

Branch: refs/heads/master
Commit: a3c846983ac1c851de9e823d50225d8b6a0b3592
Parents: c93d34b
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Fri Jan 23 09:49:20 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Fri Jan 23 09:49:20 2015 -0500

----------------------------------------------------------------------
 src/ios/CDVNotification.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/a3c84698/src/ios/CDVNotification.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVNotification.m b/src/ios/CDVNotification.m
index ac95cc6..100ffc4 100644
--- a/src/ios/CDVNotification.m
+++ b/src/ios/CDVNotification.m
@@ -143,7 +143,7 @@ static void soundCompletionCallback(SystemSoundID  ssid, void* data) {
 
 - (void)beep:(CDVInvokedUrlCommand*)command
 {
-    NSNumber* count = [command.arguments objectAtIndex:0 withDefault:[NSNumber numberWithInt:1]];
+    NSNumber* count = [command argumentAtIndex:0 withDefault:[NSNumber numberWithInt:1]];
     playBeep([count intValue]);
 }
 


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


Mime
View raw message