Skip to content

Commit

Permalink
Remove unecessary function wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwalley committed Oct 10, 2016
1 parent 822318a commit 9239eb0
Show file tree
Hide file tree
Showing 5 changed files with 615 additions and 621 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ If you use NPM, `npm install d3-tube-map`. Otherwise, download the [latest relea
var width = 1600;
var height = 1024;
const map = tubeMap.tubeMap()()
const map = tubeMap.tubeMap()
.width(width)
.height(height)
.margin({
Expand Down
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
var width = 1600;
var height = 1024;

const map = tubeMap.tubeMap()()
const map = tubeMap.tubeMap()
.width(width)
.height(height)
.margin({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d3-tube-map",
"version": "0.0.5",
"version": "0.0.6",
"description": "Draw tube map.",
"keywords": [
"d3",
Expand Down
Loading

0 comments on commit 9239eb0

Please sign in to comment.