[Pkg-javascript-commits] [d3-tip.js] 167/277: Clarify the need for a class name
bhuvan krishna
bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
bhuvan-guest pushed a commit to branch master
in repository d3-tip.js.
commit 012f09fa397c51557056898dcfc5666cecbdabb4
Author: Justin Palmer <justin at github.com>
Date: Sat Sep 7 08:36:54 2013 -0700
Clarify the need for a class name
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 0ccd48f..e9ddd6f 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ bower install Caged/d3-tip
``` javascript
/* Initialize tooltip */
-tip = d3.tip().html(function(d) { return d; });
+tip = d3.tip().attr('class', 'd3-tip').html(function(d) { return d; });
/* Invoke the tip in the context of your visualization */
vis.call(tip)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/d3-tip.js.git
More information about the Pkg-javascript-commits
mailing list