Skip to content

Commit

Permalink
prepare for v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Apr 22, 2015
1 parent 37dddc0 commit 3fe2165
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "git",
"url": "https://github.com/gorhill/Javascript-Voronoi.git"
},
"author": "",
"author": "Raymond Hill",
"license": "MIT",
"bugs": {
"url": "https://github.com/gorhill/Javascript-Voronoi/issues"
Expand Down
6 changes: 5 additions & 1 deletion rhill-voronoi-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1717,4 +1717,8 @@ Voronoi.prototype.compute = function(sites, bbox) {
return diagram;
};

if(typeof module !== 'undefined') module.exports = Voronoi;
/******************************************************************************/

if ( typeof module !== 'undefined' ) {
module.exports = Voronoi;
}

0 comments on commit 3fe2165

Please sign in to comment.