cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: InAppBrowser - added class check for options arg.
Date Tue, 27 Nov 2012 23:49:40 GMT
Updated Branches:
  refs/heads/master 6739488a4 -> 5013589f2


InAppBrowser - added class check for options arg.


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

Branch: refs/heads/master
Commit: 5013589f28e269caa8d122cce6cef811cf4a4b09
Parents: 6739488
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue Nov 27 15:49:34 2012 -0800
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue Nov 27 15:49:34 2012 -0800

----------------------------------------------------------------------
 CordovaLib/Classes/CDVInAppBrowser.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/5013589f/CordovaLib/Classes/CDVInAppBrowser.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVInAppBrowser.m b/CordovaLib/Classes/CDVInAppBrowser.m
index 577c825..b04b142 100644
--- a/CordovaLib/Classes/CDVInAppBrowser.m
+++ b/CordovaLib/Classes/CDVInAppBrowser.m
@@ -56,7 +56,7 @@
 
     NSString* url = [command argumentAtIndex:0];
     NSString* target = [command argumentAtIndex:1 withDefault:kInAppBrowserTargetSelf];
-    NSString* options = [command argumentAtIndex:2 withDefault:@""];
+    NSString* options = [command argumentAtIndex:2 withDefault:@"" andClass:[NSString class]];
 
     if (url != nil) {
         NSURL* baseUrl = [self.webView.request URL];


Mime
View raw message