cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: CB-8032 - Added a typedef for block definition.
Date Wed, 10 Dec 2014 00:37:50 GMT
Repository: cordova-ios
Updated Branches:
  refs/heads/wkwebview 0838a0730 -> 1d4ba9778


CB-8032 - Added a typedef for block definition.


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

Branch: refs/heads/wkwebview
Commit: 1d4ba9778e6d15abe49fb8e0d6b66603372e7d7c
Parents: 0838a07
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue Dec 9 16:37:49 2014 -0800
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue Dec 9 16:37:49 2014 -0800

----------------------------------------------------------------------
 CordovaLib/Classes/CDVCommandDelegate.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/1d4ba977/CordovaLib/Classes/CDVCommandDelegate.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVCommandDelegate.h b/CordovaLib/Classes/CDVCommandDelegate.h
index 2062519..926278a 100644
--- a/CordovaLib/Classes/CDVCommandDelegate.h
+++ b/CordovaLib/Classes/CDVCommandDelegate.h
@@ -24,10 +24,12 @@
 @class CDVPluginResult;
 @class CDVWhitelist;
 
+typedef NSURL* (^ UrlTransformerBlock)(NSURL*);
+
 @protocol CDVCommandDelegate <NSObject>
 
 @property (nonatomic, readonly) NSDictionary* settings;
-@property (nonatomic, copy) NSURL*(^urlTransformer)(NSURL*);
+@property (nonatomic, copy) UrlTransformerBlock urlTransformer;
 
 - (NSString*)pathForResource:(NSString*)resourcepath;
 - (id)getCommandInstance:(NSString*)pluginName;


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


Mime
View raw message