diff options
Diffstat (limited to 'iPhone/CordovaLib/Classes/CDVCommandQueue.m')
-rwxr-xr-x | iPhone/CordovaLib/Classes/CDVCommandQueue.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iPhone/CordovaLib/Classes/CDVCommandQueue.m b/iPhone/CordovaLib/Classes/CDVCommandQueue.m index d88a730..a8a58b7 100755 --- a/iPhone/CordovaLib/Classes/CDVCommandQueue.m +++ b/iPhone/CordovaLib/Classes/CDVCommandQueue.m @@ -87,14 +87,14 @@ for (NSUInteger i = 0; i < [_queue count]; ++i) { // Parse the returned JSON array. - NSArray* commandBatch = [[_queue objectAtIndex:i] cdvjk_mutableObjectFromJSONString]; + NSArray* commandBatch = [[_queue objectAtIndex:i] JSONObject]; // Iterate over and execute all of the commands. for (NSArray* jsonEntry in commandBatch) { CDVInvokedUrlCommand* command = [CDVInvokedUrlCommand commandFromJson:jsonEntry]; if (![self execute:command]) { #ifdef DEBUG - NSString* commandJson = [jsonEntry cdvjk_JSONString]; + NSString* commandJson = [jsonEntry JSONString]; static NSUInteger maxLogLength = 1024; NSString* commandString = ([commandJson length] > maxLogLength) ? [NSString stringWithFormat:@"%@[...]", [commandJson substringToIndex:maxLogLength]] : |