diff --git a/.travis.yml b/.travis.yml index af6f969c2..5218daa21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: node_js node_js: - - "5.11" + - "4" + - "5" + - "6" sudo: false before_script: - make clean diff --git a/modules/actions/circularize.js b/modules/actions/circularize.js index f9c6aa7ae..8c8d5540b 100644 --- a/modules/actions/circularize.js +++ b/modules/actions/circularize.js @@ -7,11 +7,10 @@ import { polygonArea as d3polygonArea, polygonHull as d3polygonHull, polygonCentroid as d3polygonCentroid -} from 'd3-polygon'; +} from 'd3'; -export function Circularize(wayId - , projection, maxAngle) { +export function Circularize(wayId, projection, maxAngle) { maxAngle = (maxAngle || 20) * Math.PI / 180; var action = function(graph) { diff --git a/modules/behavior/breathe.js b/modules/behavior/breathe.js index 9b93b6365..51fb7f3ec 100644 --- a/modules/behavior/breathe.js +++ b/modules/behavior/breathe.js @@ -1,5 +1,5 @@ import * as d3 from 'd3'; -import { transition as d3transition } from 'd3-transition'; +import { transition as d3transition } from 'd3'; import _ from 'lodash';