gorhill/Javascript-Voronoi

ES2017

wraybowling opened this issue · 1 comments

What are the chances we can port this to the new JS standards?

Hi @wraybowling ,
I'm using this great library in my project using module imports, I had though to do manual integration by taking rhill-voronoi-core.js from commit 3fe2165 and adding the following in the bottom, that did the trick

//ES2015 export
export {
    Voronoi
}

this change does produce Unexpected token 'export' so should be protected somehow.
is that what you intend by this request ? or did you expect more changes within the interface input and output ?