浏览代码

update js in example-redux to support the RN 25.1 upgrade

Artal Druk 8 年前
父节点
当前提交
c67d3f9c6a

+ 1
- 1
example-redux/package.json 查看文件

@@ -9,7 +9,7 @@
9 9
     "_fix_npm2_step2": "cd node_modules; find . -name .babelrc | grep -v packager | xargs rm"
10 10
   },
11 11
   "dependencies": {
12
-    "react-native": "^0.25.1",
12
+    "react-native": "0.25.1",
13 13
     "react": "0.14.5",
14 14
     "fbjs": "^0.6.1",
15 15
     "react-redux": "^4.0.6",

+ 2
- 2
example-redux/src/components/ExampleComponent.js 查看文件

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text
4 4
 } from 'react-native';
5 5
 

+ 2
- 2
example-redux/src/screens/FirstTabScreen.js 查看文件

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text,
4 4
   View,
5 5
   ScrollView,

+ 2
- 2
example-redux/src/screens/LoginScreen.js 查看文件

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text,
4 4
   View,
5 5
   ScrollView,

+ 2
- 2
example-redux/src/screens/PushedScreen.js 查看文件

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text,
4 4
   View,
5 5
   ScrollView,

+ 2
- 2
example-redux/src/screens/SecondTabScreen.js 查看文件

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text,
4 4
   Image,
5 5
   View,