Convert lodah-es and d3 to named imports for geo

This commit is contained in:
Bryan Housel
2017-09-24 23:01:21 -04:00
parent 78908bfaa1
commit 8e591a5384
3 changed files with 19 additions and 9 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
import _ from 'lodash';
import _extend from 'lodash-es/extend';
import {
geoMetersToLat,
geoMetersToLon
@@ -20,7 +21,7 @@ export function geoExtent(min, max) {
geoExtent.prototype = new Array(2);
_.extend(geoExtent.prototype, {
_extend(geoExtent.prototype, {
equals: function (obj) {
return this[0][0] === obj[0][0] &&