Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Commit

Permalink
Add identity function to data so d3 can match them up right
Browse files Browse the repository at this point in the history
  • Loading branch information
myShoggoth committed May 26, 2015
1 parent b85159c commit b95ad32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/homepage.hamlet
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Add
<span .glyphicon .glyphicon-upload>

<#urls .container d3-select="#urls" d3-callback="urls" d3-selectAll=".urllisting" d3-data="data.urls">
<#urls .container d3-select="#urls" d3-callback="urls" d3-selectAll=".urllisting" d3-data="data.urls, function(d){return d.id}">
<.urllisting .col-sm-6 .col-md-4>
<.well .well-sm>
<.btn-group>
Expand Down

0 comments on commit b95ad32

Please sign in to comment.