Simplify RKDataManager

This commit is contained in:
Nick Lockwood 2015-06-03 05:38:24 -07:00
parent 95d2843362
commit 10b13512b9
2 changed files with 0 additions and 5 deletions

View File

@ -24,7 +24,6 @@ RCT_EXPORT_MODULE()
*/
RCT_EXPORT_METHOD(queryData:(NSString *)queryType
withQuery:(NSDictionary *)query
queryHash:(__unused NSString *)queryHash
responseSender:(RCTResponseSenderBlock)responseSender)
{
if ([queryType isEqualToString:@"http"]) {

View File

@ -13,8 +13,6 @@
var RCTDataManager = require('NativeModules').DataManager;
var crc32 = require('crc32');
var XMLHttpRequestBase = require('XMLHttpRequestBase');
class XMLHttpRequest extends XMLHttpRequestBase {
@ -28,8 +26,6 @@ class XMLHttpRequest extends XMLHttpRequestBase {
data: data,
headers: headers,
},
// TODO: Do we need this? is it used anywhere?
'h' + crc32(method + '|' + url + '|' + data),
this.callback.bind(this)
);
}