Undo pathUtils rename

This commit is contained in:
Brent Vatne
2018-08-03 15:33:38 -07:00
parent 859f071783
commit 28416c0ab3
6 changed files with 7 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ import NavigationActions from './NavigationActions';
import getNavigation from './getNavigation';
import invariant from './utils/invariant';
import docsUrl from './utils/docsUrl';
import { urlToPathAndParams } from './routers/PathUtils';
import { urlToPathAndParams } from './routers/pathUtils';
function isStateful(props) {
return !props.navigation;

View File

@@ -106,8 +106,8 @@ module.exports = {
get validateRouteConfigMap() {
return require('./routers/validateRouteConfigMap').default;
},
get PathUtils() {
return require('./routers/PathUtils').default;
get pathUtils() {
return require('./routers/pathUtils').default;
},
// Views

View File

@@ -6,7 +6,7 @@ import StateUtils from '../StateUtils';
import validateRouteConfigMap from './validateRouteConfigMap';
import invariant from '../utils/invariant';
import { generateKey } from './KeyGenerator';
import { createPathParser } from './PathUtils';
import { createPathParser } from './pathUtils';
function behavesLikePushAction(action) {
return (

View File

@@ -5,7 +5,7 @@ import createConfigGetter from './createConfigGetter';
import NavigationActions from '../NavigationActions';
import StackActions from './StackActions';
import validateRouteConfigMap from './validateRouteConfigMap';
import { createPathParser } from './PathUtils';
import { createPathParser } from './pathUtils';
const defaultActionCreators = (route, navStateKey) => ({});

View File

@@ -6,7 +6,7 @@ import SwitchRouter from '../SwitchRouter';
import StackRouter from '../StackRouter';
import StackActions from '../StackActions';
import NavigationActions from '../../NavigationActions';
import { urlToPathAndParams } from '../PathUtils';
import { urlToPathAndParams } from '../pathUtils';
import { _TESTING_ONLY_normalize_keys } from '../KeyGenerator';
beforeEach(() => {

View File

@@ -1,4 +1,4 @@
import { urlToPathAndParams } from '../PathUtils';
import { urlToPathAndParams } from '../pathUtils';
test('urlToPathAndParams empty', () => {
const { path, params } = urlToPathAndParams('foo://');