Reduce circular dependencies caused by importing from indexes, the location of the validation models, and the location of areaKeys (close #6237)

This commit is contained in:
Quincy Morgan
2019-04-24 13:45:59 -07:00
parent 862eca9ddd
commit d01bb78707
158 changed files with 503 additions and 472 deletions
+10 -13
View File
@@ -5,18 +5,14 @@ import {
import { t } from '../util/locale';
import {
actionAddMidpoint,
actionConnect,
actionMoveNode,
actionNoop
} from '../actions';
import { actionAddMidpoint } from '../actions/add_midpoint';
import { actionConnect } from '../actions/connect';
import { actionMoveNode } from '../actions/move_node';
import { actionNoop } from '../actions/noop';
import {
behaviorEdit,
behaviorHover,
behaviorDrag
} from '../behavior';
import { behaviorDrag } from '../behavior/drag';
import { behaviorEdit } from '../behavior/edit';
import { behaviorHover } from '../behavior/hover';
import {
geoChooseEdge,
@@ -26,9 +22,10 @@ import {
geoViewportEdge
} from '../geo';
import { modeBrowse, modeSelect } from './index';
import { modeBrowse } from './browse';
import { modeSelect } from './select';
import { osmJoinWays, osmNode } from '../osm';
import { uiFlash } from '../ui';
import { uiFlash } from '../ui/flash';
import { utilArrayIntersection, utilKeybinding } from '../util';