Skip to content

Commit

Permalink
fix bug in render code
Browse files Browse the repository at this point in the history
The API for custom elements has changed in 0.15.1. The update function
should now return a node rather than a boolean.
  • Loading branch information
seliopou committed Oct 26, 2015
1 parent a252238 commit aa203ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elm-package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.0",
"version": "0.4.2",
"summary": "elm bindings for D3.js",
"repository": "https://github.com/seliopou/elm-d3.git",
"license": "BSD3",
Expand Down
2 changes: 1 addition & 1 deletion src/Native/D3/Render.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Elm.Native.D3.Render.make = function(elm) {
.datum(_new.datum)
.call(run(_new.selection));

return true;
return node;
}

function render_selection(width, height, selection, datum) {
Expand Down

0 comments on commit aa203ff

Please sign in to comment.