Repository: cordova-plugins
Updated Branches:
  refs/heads/master bbd62028c -> 525df54fd


CB-8032 - Used typedef for block definition.


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

Branch: refs/heads/master
Commit: 525df54fd983bfdfbff836f6bc48069652fff78f
Parents: bbd6202
Author: Shazron Abdullah <[email protected]>
Authored: Tue Dec 9 16:38:30 2014 -0800
Committer: Shazron Abdullah <[email protected]>
Committed: Tue Dec 9 16:38:30 2014 -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/525df54f/local-webserver/src/ios/CDVLocalWebServer.m
----------------------------------------------------------------------
diff --git a/local-webserver/src/ios/CDVLocalWebServer.m 
b/local-webserver/src/ios/CDVLocalWebServer.m
index dcc7b69..e067176 100644
--- a/local-webserver/src/ios/CDVLocalWebServer.m
+++ b/local-webserver/src/ios/CDVLocalWebServer.m
@@ -89,7 +89,7 @@
     SEL sel = NSSelectorFromString(@"setUrlTransformer:");
     
     if ([self.commandDelegate respondsToSelector:sel]) {
-        NSURL* (^urlTransformer)(NSURL*) = ^NSURL* (NSURL* urlToTransform) {
+        UrlTransformerBlock urlTransformer = ^NSURL* (NSURL* urlToTransform) {
             NSURL* transformedUrl = urlToTransform;
             
             NSString* localhostUrlString = [NSString 
stringWithFormat:@"http://localhost:%lu";, [localServerURL.port 
unsignedIntegerValue]];


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to