This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cordova/ios/CordovaLib/Classes/CDVCommandDelegate.h b/cordova/ios/CordovaLib/Classes/CDVCommandDelegate.h | |
--- a/cordova/ios/CordovaLib/Classes/CDVCommandDelegate.h | |
+++ b/cordova/ios/CordovaLib/Classes/CDVCommandDelegate.h | |
@@ -42,6 +42,8 @@ | |
// without reason. Without the run-loop delay, alerts used in JS callbacks may result | |
// in dead-lock. This method must be called from the UI thread. | |
- (void)evalJs:(NSString*)js scheduledOnRunLoop:(BOOL)scheduledOnRunLoop; | |
+// Patch for using RequireJS. | |
+- (void)evalJs:(NSString*)js scheduledOnRunLoop:(BOOL)scheduledOnRunLoop useNativeEvalAndFetch:(BOOL)useNativeEvalAndFetch; | |
// Runs the given block on a background thread using a shared thread-pool. |