Skip to content

Instantly share code, notes, and snippets.

@makyo
Created September 5, 2013 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makyo/6450487 to your computer and use it in GitHub Desktop.
Save makyo/6450487 to your computer and use it in GitHub Desktop.
unitItem.filter(function() {
return d3.select(this.parentElement.parentElement.parentElement)
.classed('pending');
})
.append('a').text('foo');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment