mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 12:25:59 +08:00
Upgrade to 1.9.1
Reviewed By: vjeux Differential Revision: D6497877 fbshipit-source-id: 3b88b96e375ddf1fbe039a0593569bbdde40a2dc
This commit is contained in:
committed by
Facebook Github Bot
parent
4034febb7e
commit
9f33fe2583
@@ -59,7 +59,7 @@ let wrapperComponentProvider: ?WrapperComponentProvider;
|
||||
|
||||
/**
|
||||
* `AppRegistry` is the JavaScript entry point to running all React Native apps.
|
||||
*
|
||||
*
|
||||
* See http://facebook.github.io/react-native/docs/appregistry.html
|
||||
*/
|
||||
const AppRegistry = {
|
||||
@@ -89,7 +89,7 @@ const AppRegistry = {
|
||||
|
||||
/**
|
||||
* Registers an app's root component.
|
||||
*
|
||||
*
|
||||
* See http://facebook.github.io/react-native/docs/appregistry.html#registercomponent
|
||||
*/
|
||||
registerComponent(
|
||||
@@ -155,7 +155,7 @@ const AppRegistry = {
|
||||
|
||||
/**
|
||||
* Loads the JavaScript bundle and runs the app.
|
||||
*
|
||||
*
|
||||
* See http://facebook.github.io/react-native/docs/appregistry.html#runapplication
|
||||
*/
|
||||
runApplication(appKey: string, appParameters: any): void {
|
||||
@@ -197,8 +197,8 @@ const AppRegistry = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Stops an application when a view should be destroyed.
|
||||
*
|
||||
* Stops an application when a view should be destroyed.
|
||||
*
|
||||
* See http://facebook.github.io/react-native/docs/appregistry.html#unmountapplicationcomponentatroottag
|
||||
*/
|
||||
unmountApplicationComponentAtRootTag(rootTag: number): void {
|
||||
@@ -207,7 +207,7 @@ const AppRegistry = {
|
||||
|
||||
/**
|
||||
* Register a headless task. A headless task is a bit of code that runs without a UI.
|
||||
*
|
||||
*
|
||||
* See http://facebook.github.io/react-native/docs/appregistry.html#registerheadlesstask
|
||||
*/
|
||||
registerHeadlessTask(taskKey: string, task: TaskProvider): void {
|
||||
|
||||
@@ -398,7 +398,8 @@ class YellowBox extends React.Component<
|
||||
onDismissAll={() => this.dismissWarning(null)}
|
||||
onMinimize={() => this.setState({inspecting: null})}
|
||||
toggleStacktrace={() =>
|
||||
this.setState({stacktraceVisible: !stacktraceVisible})}
|
||||
this.setState({stacktraceVisible: !stacktraceVisible})
|
||||
}
|
||||
/>
|
||||
) : null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user