[Pkg-javascript-commits] [d3-tip.js] 88/277: cleanup compiler warnings
bhuvan krishna
bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:19 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 98a4e9c99eb9645407433fb5d7546ffcd7aca58e
Author: Justin Palmer <justin at github.com>
Date: Mon Apr 8 12:01:30 2013 -0700
cleanup compiler warnings
---
src/d3.tip.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/d3.tip.js b/src/d3.tip.js
index c727a7b..a62c774 100644
--- a/src/d3.tip.js
+++ b/src/d3.tip.js
@@ -9,8 +9,8 @@ d3.tip = function() {
svg = null,
point = null;
- function tip(svg) {
- svg = get_svg_node(svg)
+ function tip(vis) {
+ svg = get_svg_node(vis)
point = svg.createSVGPoint()
document.body.appendChild(node)
}
@@ -18,7 +18,7 @@ d3.tip = function() {
// Public - show the tooltip on the screen
//
// Returns a tip
- tip.show = function(v) {
+ tip.show = function() {
var content = text.apply(this, arguments),
poffset = offset.apply(this, arguments),
dir = direction.apply(this, arguments),
@@ -40,7 +40,7 @@ d3.tip = function() {
// Public - hide the tooltip
//
// Returns a tip
- tip.hide = function(v) {
+ tip.hide = function() {
node.style.display = 'none'
node.innerText = ''
--
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