react-native/React
Nick Lockwood e72163f0f2 Added explicit init to observer modules
Summary:
Modules which call JS methods directly, or use `sendDeviceEventWithName:`, can trigger effects in JS without ever being referenced from the JS code. This breaks some assumptions in my earlier diff about when modules can be lazily loaded.

Pending a better solution, I've put explicit `init` methods in these modules to ensure they are eagerly initialized (the downside to this is that they'll still be initialized even if they are never used).

Reviewed By: javache

Differential Revision: D3258232

fb-gh-sync-id: f925bc2e5339c1fbfcc244d4613062c5ab848fc2
fbshipit-source-id: f925bc2e5339c1fbfcc244d4613062c5ab848fc2
2016-05-04 07:07:24 -07:00
..
Base Added explicit init to observer modules 2016-05-04 07:07:24 -07:00
Executors Unify source map approach for RA bundles on iOS/Android 2016-04-29 10:16:22 -07:00
Layout Import css-layout measure mode changes from pull request #163 2016-04-12 07:02:29 -07:00
Modules Added explicit init to observer modules 2016-05-04 07:07:24 -07:00
Profiler Added explicit init to observer modules 2016-05-04 07:07:24 -07:00
React.xcodeproj Support the bytecode cache for FBReactKit 2016-04-21 08:59:43 -07:00
Views Move setBridge: off main thread 2016-05-03 09:09:21 -07:00