[ReactNative] Add NativeModules and DeviceEventEmitter to react-native exports

This commit is contained in:
Alex Kotliarskyi 2015-03-23 09:39:18 -07:00
parent 48cc440bd3
commit e4990939e4
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ var ReactNative = Object.assign(Object.create(require('React')), {
TimerMixin: require('TimerMixin'),
VibrationIOS: require('VibrationIOS'),
// Plugins
DeviceEventEmitter: require('RCTDeviceEventEmitter'),
NativeModules: require('NativeModules'),
addons: {
batchedUpdates: require('ReactUpdates').batchedUpdates,
LinkedStateMixin: require('LinkedStateMixin'),