RN: Require {react/lib/ => }ReactNative

Reviewed By: sebmarkbage

Differential Revision: D4024375

fbshipit-source-id: cd2226a3580a7a4ff319d6a93b67b68f2942eb00
This commit is contained in:
Tim Yung 2016-10-14 18:50:14 -07:00 committed by Facebook Github Bot
parent c7d68238ec
commit 331c13d4dc
15 changed files with 15 additions and 15 deletions

View File

@ -14,7 +14,7 @@ var ColorPropType = require('ColorPropType');
var NativeMethodsMixin = require('react/lib/NativeMethodsMixin');
var Platform = require('Platform');
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var ReactPropTypes = require('react/lib/ReactPropTypes');
var StatusBar = require('StatusBar');
var StyleSheet = require('StyleSheet');

View File

@ -16,7 +16,7 @@ var Image = require('Image');
var NavigationContext = require('NavigationContext');
var RCTNavigatorManager = require('NativeModules').NavigatorManager;
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var StaticContainer = require('StaticContainer.react');
var StyleSheet = require('StyleSheet');
var View = require('View');

View File

@ -14,7 +14,7 @@
var Dimensions = require('Dimensions');
var Platform = require('Platform');
var Keyboard = require('Keyboard');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var Subscribable = require('Subscribable');
var TextInputState = require('TextInputState');
var UIManager = require('UIManager');

View File

@ -16,7 +16,7 @@ const EdgeInsetsPropType = require('EdgeInsetsPropType');
const Platform = require('Platform');
const PointPropType = require('PointPropType');
const React = require('React');
const ReactNative = require('react/lib/ReactNative');
const ReactNative = require('ReactNative');
const ScrollResponder = require('ScrollResponder');
const StyleSheet = require('StyleSheet');
const StyleSheetPropType = require('StyleSheetPropType');

View File

@ -18,7 +18,7 @@ const NativeMethodsMixin = require('react/lib/NativeMethodsMixin');
const Platform = require('Platform');
const PropTypes = require('react/lib/ReactPropTypes');
const React = require('React');
const ReactNative = require('react/lib/ReactNative');
const ReactNative = require('ReactNative');
const ReactChildren = require('react/lib/ReactChildren');
const StyleSheet = require('StyleSheet');
const Text = require('Text');

View File

@ -13,7 +13,7 @@
var Platform = require('Platform');
var PropTypes = require('react/lib/ReactPropTypes');
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var Touchable = require('Touchable');
var TouchableWithoutFeedback = require('TouchableWithoutFeedback');
var UIManager = require('UIManager');

View File

@ -12,7 +12,7 @@
'use strict';
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var ReactElement = require('react/lib/ReactElement');
var ReactPropTypes = require('react/lib/ReactPropTypes');
var UIManager = require('UIManager');

View File

@ -13,7 +13,7 @@
var EdgeInsetsPropType = require('EdgeInsetsPropType');
var ActivityIndicator = require('ActivityIndicator');
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var ReactNativeViewAttributes = require('ReactNativeViewAttributes');
var StyleSheet = require('StyleSheet');
var UIManager = require('UIManager');

View File

@ -14,7 +14,7 @@
var ActivityIndicator = require('ActivityIndicator');
var EdgeInsetsPropType = require('EdgeInsetsPropType');
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var StyleSheet = require('StyleSheet');
var Text = require('Text');
var UIManager = require('UIManager');

View File

@ -34,7 +34,7 @@
var ListViewDataSource = require('ListViewDataSource');
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var RCTScrollViewManager = require('NativeModules').ScrollViewManager;
var ScrollView = require('ScrollView');
var ScrollResponder = require('ScrollResponder');

View File

@ -14,7 +14,7 @@
var RCTDeviceEventEmitter = require('RCTDeviceEventEmitter');
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var StyleSheet = require('StyleSheet');
var Subscribable = require('Subscribable');
var View = require('View');

View File

@ -13,7 +13,7 @@
var BatchedBridge = require('BatchedBridge');
var BugReporting = require('BugReporting');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
const infoLog = require('infoLog');
var invariant = require('fbjs/lib/invariant');

View File

@ -14,7 +14,7 @@
var AppContainer = require('AppContainer');
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var invariant = require('fbjs/lib/invariant');

View File

@ -186,7 +186,7 @@ if (__DEV__) {
// Preserve getters with warnings on the internal ReactNative copy without
// invoking them.
const ReactNativeInternal = require('react/lib/ReactNative');
const ReactNativeInternal = require('ReactNative');
function applyForwarding(key) {
if (__DEV__) {
Object.defineProperty(

View File

@ -13,7 +13,7 @@
var BatchedBridge = require('BatchedBridge');
var React = require('React');
var ReactNative = require('react/lib/ReactNative');
var ReactNative = require('ReactNative');
var View = require('View');
var StyleSheet = require('StyleSheet');
var UIManager = require('UIManager');