You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/03/01 17:54:36 UTC

ios commit: Remove NSLogs accidentally checked in.

Updated Branches:
  refs/heads/master 822d3a2df -> 9473991d8


Remove NSLogs accidentally checked in.


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

Branch: refs/heads/master
Commit: 9473991d80dc17348d03aa9ac3e9e284b6379fef
Parents: 822d3a2
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Mar 1 11:54:09 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Mar 1 11:54:09 2013 -0500

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


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/9473991d/CordovaLib/Classes/CDVWebViewDelegate.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVWebViewDelegate.m b/CordovaLib/Classes/CDVWebViewDelegate.m
index 32c5e45..6bcb3fd 100644
--- a/CordovaLib/Classes/CDVWebViewDelegate.m
+++ b/CordovaLib/Classes/CDVWebViewDelegate.m
@@ -100,7 +100,6 @@ typedef enum {
 
     if (shouldLoad) {
         BOOL isTopLevelNavigation = [request.URL isEqual:[request mainDocumentURL]];
-        NSLog(@"should (tl=%d): %@", isTopLevelNavigation, request.URL);
         if (isTopLevelNavigation) {
             _loadCount = 0;
             _state = STATE_NORMAL;
@@ -111,7 +110,6 @@ typedef enum {
 
 - (void)webViewDidStartLoad:(UIWebView*)webView
 {
-    NSLog(@"start %d", _loadCount);
     if (_state == STATE_NORMAL) {
         if (_loadCount == 0) {
             if ([_delegate respondsToSelector:@selector(webViewDidStartLoad:)]) {
@@ -138,7 +136,6 @@ typedef enum {
 
 - (void)webViewDidFinishLoad:(UIWebView*)webView
 {
-    NSLog(@"finish %d", _loadCount);
     if (_state == STATE_NORMAL) {
         if (_loadCount == 1) {
             if ([_delegate respondsToSelector:@selector(webViewDidFinishLoad:)]) {