Skip to content

Instantly share code, notes, and snippets.

@roundrobin
Created August 4, 2012 23:49
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 roundrobin/3260661 to your computer and use it in GitHub Desktop.
Save roundrobin/3260661 to your computer and use it in GitHub Desktop.
just another inlet to tributary
var txt;
tributary.init = function(g) {
txt = g.append("text")
.attr("transform", "translate(" + [100, 100] + ")");
};
tributary.run = function(g,t) {
txt.text(t);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment