cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject cordova-plugins git commit: Fixed compilation error (UrlTransformerBlock definition not found) in CDVLocalWebServer
Date Tue, 24 Feb 2015 22:34:04 GMT
Repository: cordova-plugins
Updated Branches:
  refs/heads/master 511c74a04 -> d3fb84827


Fixed compilation error (UrlTransformerBlock definition not found) in CDVLocalWebServer


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

Branch: refs/heads/master
Commit: d3fb848279a57ae8ce8d53e756c5214263e4db13
Parents: 511c74a
Author: Shazron Abdullah <shazron@gmail.com>
Authored: Tue Feb 24 14:34:02 2015 -0800
Committer: Shazron Abdullah <shazron@gmail.com>
Committed: Tue Feb 24 14:34:02 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/d3fb8482/local-webserver/src/ios/CDVLocalWebServer.m
----------------------------------------------------------------------
diff --git a/local-webserver/src/ios/CDVLocalWebServer.m b/local-webserver/src/ios/CDVLocalWebServer.m
index 6323679..3413dda 100644
--- a/local-webserver/src/ios/CDVLocalWebServer.m
+++ b/local-webserver/src/ios/CDVLocalWebServer.m
@@ -91,7 +91,7 @@
     SEL sel = NSSelectorFromString(@"setUrlTransformer:");
     
     if ([self.commandDelegate respondsToSelector:sel]) {
-        UrlTransformerBlock urlTransformer = ^NSURL* (NSURL* urlToTransform) {
+        NSURL* (^urlTransformer)(NSURL*) = ^NSURL* (NSURL* urlToTransform) {
             NSURL* transformedUrl = urlToTransform;
             
             NSString* localhostUrlString = [NSString stringWithFormat:@"http://localhost:%lu",
[localServerURL.port unsignedIntegerValue]];


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


Mime
View raw message