cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject [2/2] mac commit: trivial: remove unused code
Date Sat, 25 Jun 2016 05:14:52 GMT
trivial: remove unused code


Project: http://git-wip-us.apache.org/repos/asf/cordova-osx/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-osx/commit/15081af1
Tree: http://git-wip-us.apache.org/repos/asf/cordova-osx/tree/15081af1
Diff: http://git-wip-us.apache.org/repos/asf/cordova-osx/diff/15081af1

Branch: refs/heads/master
Commit: 15081af1eede713e90570a672365fd38bac5360a
Parents: 4c4bd0f
Author: Tobias Bocanegra <tripod@adobe.com>
Authored: Fri Jun 24 22:14:13 2016 -0700
Committer: Tobias Bocanegra <tripod@adobe.com>
Committed: Fri Jun 24 22:14:13 2016 -0700

----------------------------------------------------------------------
 tests/CordovaLibTests/CDVPluginsTests.m | 1 -
 tests/CordovaLibTests/TestPlugin.m      | 6 ------
 2 files changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/15081af1/tests/CordovaLibTests/CDVPluginsTests.m
----------------------------------------------------------------------
diff --git a/tests/CordovaLibTests/CDVPluginsTests.m b/tests/CordovaLibTests/CDVPluginsTests.m
index 1fcf814..53298c6 100644
--- a/tests/CordovaLibTests/CDVPluginsTests.m
+++ b/tests/CordovaLibTests/CDVPluginsTests.m
@@ -19,7 +19,6 @@
 
 #import <XCTest/XCTest.h>
 #import <Cordova/CDVViewController.h>
-#import <Cordova/CDVBridge.h>
 
 #import "CDVWebViewTest.h"
 

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/15081af1/tests/CordovaLibTests/TestPlugin.m
----------------------------------------------------------------------
diff --git a/tests/CordovaLibTests/TestPlugin.m b/tests/CordovaLibTests/TestPlugin.m
index 51acac6..6c5ca35 100644
--- a/tests/CordovaLibTests/TestPlugin.m
+++ b/tests/CordovaLibTests/TestPlugin.m
@@ -33,12 +33,6 @@
     id arg0 = [command argumentAtIndex:0];
     NSLog(@"TestPlugin.echo(%@)", arg0);
 
-//    CDVPluginResult* pluginResult;
-//    if ([arg0 isKindOfClass:[NSString class]]) {
-//        pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:arg0];
-//    }
-//
-//
     CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK
messageAsString:arg0];
     [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
 }


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


Mime
View raw message