[Pkg-javascript-commits] [d3-tip.js] 238/277: Fix scope leak in hide.

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:34 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 61148224590e4fbe5d5a1ae7ca2ab125af6e352c
Author: Brian Mount <bvmount at gmail.com>
Date:   Tue Sep 9 20:25:57 2014 -0700

    Fix scope leak in hide.
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 8c9f4e0..1a3252f 100644
--- a/index.js
+++ b/index.js
@@ -64,7 +64,7 @@
     //
     // Returns a tip
     tip.hide = function() {
-      nodel = d3.select(node)
+      var nodel = d3.select(node)
       nodel.style({ opacity: 0, 'pointer-events': 'none' })
       return 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