A few changes to make things work and test with Node 4, 5, 6

This commit is contained in:
Bryan Housel
2016-09-29 10:51:10 -04:00
parent 85ea95e401
commit 348a973f68
3 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,8 @@
language: node_js
node_js:
- "5.11"
- "4"
- "5"
- "6"
sudo: false
before_script:
- make clean

View File

@@ -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) {

View File

@@ -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';