diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-03 00:23:09 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-03 00:23:09 -0500 |
| commit | e760f95dc843cf11367d1aea0ed832991964584a (patch) | |
| tree | cf03b343ef830c58f2b12aa0c76135fca58489c9 /StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m | |
| parent | 0a55602cb98fea35632f8f11e840c65cc9011018 (diff) | |
rebuild project
Diffstat (limited to 'StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m')
| -rw-r--r-- | StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m b/StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m index 9407e0a8..be7eb63a 100644 --- a/StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m +++ b/StoneIsland/platforms/ios/CordovaLib/Classes/CDVCommandDelegateImpl.m @@ -143,7 +143,7 @@ - (void)evalJs:(NSString*)js scheduledOnRunLoop:(BOOL)scheduledOnRunLoop { - js = [NSString stringWithFormat:@"cordova.require('cordova/exec').nativeEvalAndFetch(function(){%@})", js]; + js = [NSString stringWithFormat:@"try{cordova.require('cordova/exec').nativeEvalAndFetch(function(){%@})}catch(e){console.log('exeption nativeEvalAndFetch : '+e);};", js]; if (scheduledOnRunLoop) { [self evalJsHelper:js]; } else { |
