Convert lodah-es and d3 to named imports for ui

This commit is contained in:
Bryan Housel
2017-09-26 11:22:43 -04:00
parent 31aec5743c
commit 3d13620705
54 changed files with 621 additions and 423 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
import * as d3 from 'd3';
import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { JXON } from '../util/jxon';
import { actionDiscardTags } from '../actions';
@@ -50,7 +51,7 @@ export function uiCommitChanges(context) {
itemsEnter
.each(function(d) {
d3.select(this)
d3_select(this)
.call(svgIcon('#icon-' + d.entity.geometry(d.graph), 'pre-text ' + d.changeType));
});