[Pkg-javascript-commits] [d3-tip.js] 124/277: consistent naming convention

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:23 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 3e8d15d73b9f191c7f8194eacb5f94b95b27ec34
Author: Justin Palmer <justin at github.com>
Date:   Sun Apr 21 17:57:27 2013 -0700

    consistent naming convention
---
 src/d3.tip.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/d3.tip.js b/src/d3.tip.js
index c15649c..a7153cf 100644
--- a/src/d3.tip.js
+++ b/src/d3.tip.js
@@ -7,9 +7,9 @@
 //
 // Returns a tip
 d3.tip = function() {
-  var direction = d3_svg_direction,
-      offset    = d3_svg_offset,
-      html      = d3_svg_html,
+  var direction = d3_tip_direction,
+      offset    = d3_tip_offset,
+      html      = d3_tip_html,
       node      = init_node(),
       svg       = null,
       point     = null;
@@ -118,9 +118,9 @@ d3.tip = function() {
     return tip
   };
 
-  function d3_svg_direction() { return 'n' }
-  function d3_svg_offset() { return [0, 0] }
-  function d3_svg_html() { return ' ' }
+  function d3_tip_direction() { return 'n' }
+  function d3_tip_offset() { return [0, 0] }
+  function d3_tip_html() { return ' ' }
 
   var direction_callbacks = d3.map({
     n: direction_n,

-- 
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