updated AppDelegate.m template

This commit is contained in:
Dan Motzenbecker 2015-08-29 16:41:58 -04:00
parent e35d8240b4
commit 086c359895
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ RCT_EXPORT_MODULE()
// Send a nonsense UI event to cause React Native to load our Om UI // Send a nonsense UI event to cause React Native to load our Om UI
RCTRootView* rootView = (RCTRootView*)self.window.rootViewController.view; RCTRootView* rootView = (RCTRootView*)self.window.rootViewController.view;
[rootView.bridge.modules[@"RCTEventDispatcher"] sendInputEventWithName:@"" body:@{@"target": @1}]; [rootView.bridge.modules[@"RCTEventDispatcher"] sendInputEventWithName:@"dummy" body:@{@"target": @1}];
// Now that React Native has been initialized, fire up our REPL server // Now that React Native has been initialized, fire up our REPL server
self.replServer = [[ABYServer alloc] initWithContext:self.contextManager.context self.replServer = [[ABYServer alloc] initWithContext:self.contextManager.context