[Pkg-javascript-commits] [d3-tip.js] 73/277: shuffle some private methods around
bhuvan krishna
bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:18 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 50155ef4447b645943e9406617ac2b91c1ad610c
Author: Justin Palmer <justin at github.com>
Date: Sun Apr 7 15:11:10 2013 -0700
shuffle some private methods around
---
src/d3.tip.js | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/src/d3.tip.js b/src/d3.tip.js
index a02ba42..8d0679f 100644
--- a/src/d3.tip.js
+++ b/src/d3.tip.js
@@ -17,22 +17,10 @@ d3.svg.tip = function() {
document.body.appendChild(node)
}
- function d3_svg_direction() {
- return 'n'
- }
-
- function d3_svg_offset() {
- return [0, 0]
- }
-
- function d3_svg_text() {
- return ' '
- }
-
tip.show = function(v) {
- var content = text.apply(this, arguments),
- dir = direction.apply(this, arguments),
- coords
+ var content = text.apply(this, arguments),
+ dir = direction.apply(this, arguments),
+ coords
node.innerHTML = content
node.style.display = 'block'
@@ -101,6 +89,10 @@ d3.svg.tip = function() {
return tip
};
+ function d3_svg_direction() { return 'n' }
+ function d3_svg_offset() { return [0, 0] }
+ function d3_svg_text() { return ' ' }
+
var direction_callbacks = d3.map({
n: direction_n,
s: direction_s,
--
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