[Pkg-javascript-commits] [d3-tip.js] 14/17: Use functor substitute

Sunil Mohan Adapa sunilmohan-guest at moszumanska.debian.org
Thu Dec 8 10:37:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

sunilmohan-guest pushed a commit to branch upstream
in repository d3-tip.js.

commit ef34fc9edb620a027ea1b91f7622245b822289cd
Author: Isaac Mann <isaacplmann at gmail.com>
Date:   Wed Sep 21 21:07:13 2016 -0400

    Use functor substitute
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index d80b9bc..ad3a6c0 100644
--- a/index.js
+++ b/index.js
@@ -165,7 +165,7 @@
     // Returns root node of tip
     tip.rootElement = function(v) {
       if (!arguments.length) return rootElement
-      rootElement = v == null ? v : d3.functor(v)()
+      rootElement = v == null ? v : functor(v)
 
       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