[ReactNative] Fix ref to eventDispatcher on RCTBridge

This commit is contained in:
Tadeu Zagallo 2015-05-07 09:10:47 -07:00
parent b97ce93cea
commit 6b38fad219

View File

@ -868,6 +868,11 @@ static id<RCTJavaScriptExecutor> _latestJSExecutor;
return _batchedBridge.modules;
}
- (RCTEventDispatcher *)eventDispatcher
{
return _eventDispatcher ?: _batchedBridge.eventDispatcher;
}
#define RCT_BRIDGE_WARN(...) \
- (void)__VA_ARGS__ \
{ \