Refactor Entity, Node, Relation, Tags, Way from core to osm

This commit is contained in:
Bryan Housel
2016-10-11 22:41:24 -04:00
parent fd742518c6
commit 07fa5fcc34
52 changed files with 215 additions and 239 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import * as d3 from 'd3';
import { d3keybinding } from '../lib/d3.keybinding.js';
import { coreEntity } from '../core/index';
import { osmEntity } from '../osm/index';
import { utilRebind } from '../util/rebind';
@@ -54,7 +54,7 @@ export function behaviorHover() {
selection.selectAll('.hover-suppressed')
.classed('hover-suppressed', false);
if (target instanceof coreEntity) {
if (target instanceof osmEntity) {
var selector = '.' + target.id;
if (target.type === 'relation') {