-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
aksonov
committed
Jul 10, 2017
1 parent
1f3dfe5
commit 7df07b5
Showing
8 changed files
with
205 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
Object.defineProperty(exports,"__esModule",{value:true});var _reactNavigation=require('react-navigation'); | ||
|
||
var JUMP=_reactNavigation.NavigationActions.NAVIGATE; | ||
var PUSH=_reactNavigation.NavigationActions.NAVIGATE; | ||
var REPLACE=_reactNavigation.NavigationActions.RESET; | ||
var BACK=_reactNavigation.NavigationActions.BACK; | ||
var REFRESH=_reactNavigation.NavigationActions.SET_PARAMS; | ||
var RESET=_reactNavigation.NavigationActions.RESET;exports.default= | ||
|
||
{JUMP:JUMP,PUSH:PUSH,REPLACE:REPLACE,BACK:BACK,REFRESH:REFRESH,RESET:RESET}; | ||
Object.defineProperty(exports,"__esModule",{value:true});var JUMP=exports.JUMP='REACT_NATIVE_ROUTER_FLUX_JUMP'; | ||
var PUSH=exports.PUSH='REACT_NATIVE_ROUTER_FLUX_PUSH'; | ||
var PUSH_OR_POP=exports.PUSH_OR_POP='REACT_NATIVE_ROUTER_FLUX_PUSH_OR_POP'; | ||
var REPLACE=exports.REPLACE='REACT_NATIVE_ROUTER_FLUX_REPLACE'; | ||
var BACK=exports.BACK='REACT_NATIVE_ROUTER_FLUX_BACK'; | ||
var BACK_ACTION=exports.BACK_ACTION='REACT_NATIVE_ROUTER_FLUX_BACK_ACTION'; | ||
var POP_AND_REPLACE=exports.POP_AND_REPLACE='REACT_NATIVE_ROUTER_FLUX_POP_AND_REPLACE'; | ||
var POP_TO=exports.POP_TO='REACT_NATIVE_ROUTER_FLUX_POP_TO'; | ||
var REFRESH=exports.REFRESH='REACT_NATIVE_ROUTER_FLUX_REFRESH'; | ||
var RESET=exports.RESET='REACT_NATIVE_ROUTER_FLUX_RESET'; | ||
var FOCUS=exports.FOCUS='REACT_NATIVE_ROUTER_FLUX_FOCUS'; | ||
var ANDROID_BACK=exports.ANDROID_BACK='REACT_NATIVE_ROUTER_FLUX_ANDROID_BACK'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
Object.defineProperty(exports,"__esModule",{value:true});exports.Actions=exports.Scene=exports.Router=exports.Reducer=exports.navigationStore=exports.ActionConst=undefined; | ||
|
||
|
||
var _ActionConst=require('./ActionConst');var ActionConst=_interopRequireWildcard(_ActionConst); | ||
var _navigationStore=require('./navigationStore');var _navigationStore2=_interopRequireDefault(_navigationStore); | ||
var _Reducer=require('./Reducer');var _Reducer2=_interopRequireDefault(_Reducer); | ||
var _Router=require('./Router');var _Router2=_interopRequireDefault(_Router); | ||
var _Scene=require('./Scene');var _Scene2=_interopRequireDefault(_Scene);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _interopRequireWildcard(obj){if(obj&&obj.__esModule){return obj;}else{var newObj={};if(obj!=null){for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key))newObj[key]=obj[key];}}newObj.default=obj;return newObj;}}exports. | ||
|
||
module.exports={ | ||
get Actions(){ | ||
return require('./navigationStore').default; | ||
}, | ||
get ActionConst(){ | ||
return require('./ActionConst').default; | ||
}, | ||
get Reducer(){ | ||
return require('./Reducer').default; | ||
}, | ||
get Router(){ | ||
return require('./Router').default; | ||
}, | ||
get navigationStore(){ | ||
return require('./navigationStore').default; | ||
}, | ||
get Scene(){ | ||
return require('./Scene').default; | ||
}}; | ||
|
||
|
||
ActionConst=ActionConst;exports. | ||
navigationStore=_navigationStore2.default;exports. | ||
Reducer=_Reducer2.default;exports. | ||
Router=_Router2.default;exports. | ||
Scene=_Scene2.default;exports. | ||
Actions=_navigationStore2.default; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import {NavigationActions} from 'react-navigation'; | ||
|
||
const JUMP = NavigationActions.NAVIGATE; | ||
const PUSH = NavigationActions.NAVIGATE; | ||
const REPLACE = NavigationActions.RESET; | ||
const BACK = NavigationActions.BACK; | ||
const REFRESH = NavigationActions.SET_PARAMS; | ||
const RESET = NavigationActions.RESET; | ||
|
||
export default {JUMP, PUSH, REPLACE, BACK, REFRESH, RESET}; | ||
|
||
export const JUMP = 'REACT_NATIVE_ROUTER_FLUX_JUMP'; | ||
export const PUSH = 'REACT_NATIVE_ROUTER_FLUX_PUSH'; | ||
export const PUSH_OR_POP = 'REACT_NATIVE_ROUTER_FLUX_PUSH_OR_POP'; | ||
export const REPLACE = 'REACT_NATIVE_ROUTER_FLUX_REPLACE'; | ||
export const BACK = 'REACT_NATIVE_ROUTER_FLUX_BACK'; | ||
export const BACK_ACTION = 'REACT_NATIVE_ROUTER_FLUX_BACK_ACTION'; | ||
export const POP_AND_REPLACE = 'REACT_NATIVE_ROUTER_FLUX_POP_AND_REPLACE'; | ||
export const POP_TO = 'REACT_NATIVE_ROUTER_FLUX_POP_TO'; | ||
export const REFRESH = 'REACT_NATIVE_ROUTER_FLUX_REFRESH'; | ||
export const RESET = 'REACT_NATIVE_ROUTER_FLUX_RESET'; | ||
export const FOCUS = 'REACT_NATIVE_ROUTER_FLUX_FOCUS'; | ||
export const ANDROID_BACK = 'REACT_NATIVE_ROUTER_FLUX_ANDROID_BACK'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,18 @@ | ||
/* @flow */ | ||
/* eslint-disable import/no-commonjs */ | ||
|
||
module.exports = { | ||
get Actions() { | ||
return require('./navigationStore').default; | ||
}, | ||
get ActionConst() { | ||
return require('./ActionConst').default; | ||
}, | ||
get Reducer() { | ||
return require('./Reducer').default; | ||
}, | ||
get Router() { | ||
return require('./Router').default; | ||
}, | ||
get navigationStore() { | ||
return require('./navigationStore').default; | ||
}, | ||
get Scene() { | ||
return require('./Scene').default; | ||
}, | ||
}; | ||
import * as ActionConst from './ActionConst'; | ||
import navigationStore from './navigationStore'; | ||
import Reducer from './Reducer'; | ||
import Router from './Router'; | ||
import Scene from './Scene'; | ||
import Actions from './navigationStore'; | ||
|
||
export { | ||
ActionConst, | ||
navigationStore, | ||
Reducer, | ||
Router, | ||
Scene, | ||
Actions | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters