From b17698579125cacaddb9b16e7cab4226b8f24094 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Fri, 7 Feb 2014 11:33:07 -0500 Subject: [PATCH] fix some indentation --- ios/MBXViewController.mm | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/ios/MBXViewController.mm b/ios/MBXViewController.mm index 2034f5ff7..865ad00fc 100644 --- a/ios/MBXViewController.mm +++ b/ios/MBXViewController.mm @@ -309,25 +309,25 @@ namespace llmr [NSURLConnection sendAsynchronousRequest:urlRequest queue:[NSOperationQueue mainQueue] completionHandler: ^(NSURLResponse *response, NSData *data, NSError *error) - { - if ( ! error) - { - Response res; + { + if ( ! error) + { + Response res; - res.code = [(NSHTTPURLResponse *)response statusCode]; - res.body = { (const char *)[data bytes], [data length] }; + res.code = [(NSHTTPURLResponse *)response statusCode]; + res.body = { (const char *)[data bytes], [data length] }; - func(res); - } - else - { - Response res; + func(res); + } + else + { + Response res; - func(res); - } + func(res); + } - [[NSNotificationCenter defaultCenter] postNotificationName:MBXNeedsRenderNotification object:nil]; - }]; + [[NSNotificationCenter defaultCenter] postNotificationName:MBXNeedsRenderNotification object:nil]; + }]; } void request_http(std::string url, std::function func, std::function cb) @@ -351,7 +351,7 @@ namespace llmr cb(); [[NSNotificationCenter defaultCenter] postNotificationName:MBXNeedsRenderNotification object:nil]; - }]; + }]; } double time()