Explorar el Código

improved es6 syntax, thanks tautvilas

talkol hace 8 años
padre
commit
016c655032
Se han modificado 4 ficheros con 4 adiciones y 4 borrados
  1. 1
    1
      package.json
  2. 1
    1
      src/Navigation.js
  3. 1
    1
      src/platformSpecific.ios.js
  4. 1
    1
      src/utils.js

+ 1
- 1
package.json Ver fichero

@@ -7,7 +7,7 @@
7 7
     "type": "git",
8 8
     "url": "https://github.com/wix/react-native-navigation.git"
9 9
   },
10
-  "version": "0.1.3",
10
+  "version": "0.1.4",
11 11
   "description": "React Native Navigation - truly native navigation for iOS and Android",
12 12
   "nativePackage": true,
13 13
   "bugs": {

+ 1
- 1
src/Navigation.js Ver fichero

@@ -67,7 +67,7 @@ function dismissModal(params = {}) {
67 67
   return platformSpecific.dismissModal(params);
68 68
 }
69 69
 
70
-export default Navigation = {
70
+export default {
71 71
   registerScreen,
72 72
   getRegisteredScreen,
73 73
   registerComponent,

+ 1
- 1
src/platformSpecific.ios.js Ver fichero

@@ -308,7 +308,7 @@ function dismissModal(params) {
308 308
   Modal.dismissController(params.animationType);
309 309
 }
310 310
 
311
-export default platformSpecific = {
311
+export default {
312 312
   startTabBasedApp,
313 313
   startSingleScreenApp,
314 314
   navigatorPush,

+ 1
- 1
src/utils.js Ver fichero

@@ -2,6 +2,6 @@ function getRandomId() {
2 2
   return (Math.random()*1e20).toString(36);
3 3
 }
4 4
 
5
-export default utils = {
5
+export default {
6 6
   getRandomId
7 7
 }