react-native/Libraries/BatchedBridge/BatchedBridgedModules
cpojer 838cc48059 Make object properties in NativeModules configurable.
Summary:In Jest, we sometimes wipe away the (partial) state of the world. I noticed that when we run the NativeModules file twice, it throws. Because Jest implicitly throws out the state, it isn't obvious what exactly is going on.

I figured I'll fix this in react-native directly as I don't see a reason why those fields shouldn't be configurable. This shouldn't have any negative impact on react-native apps themselves.

cc ide bestander tadeuzagallo davidaurelio
Closes https://github.com/facebook/react-native/pull/6914

Differential Revision: D3162561

Pulled By: cpojer

fb-gh-sync-id: d3418ec210278a44f8ad325f7e9e01872b4877d1
fbshipit-source-id: d3418ec210278a44f8ad325f7e9e01872b4877d1
2016-04-11 07:57:28 -07:00
..
__mocks__ add Clipboard component for ios and android 2015-12-09 10:04:21 -08:00
NativeModules.js Make object properties in NativeModules configurable. 2016-04-11 07:57:28 -07:00
NativeModules.js.flow Fix errors in fbobjc 2015-12-10 13:56:44 -08:00
RCTAlertManager.ios.js flowify some Libraries 2015-03-25 11:09:54 -08:00
RCTEventEmitter.js Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00