[Pkg-javascript-commits] [d3-tip.js] 187/277: d3 won't translate camelCased properties

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:29 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 82eca47b0b2549451c2fe6d0351186715848f5c8
Author: Justin Palmer <justin at github.com>
Date:   Tue Oct 1 09:30:22 2013 -0700

    d3 won't translate camelCased properties
---
 src/d3.tip.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/d3.tip.js b/src/d3.tip.js
index 19cc203..e84ca7f 100644
--- a/src/d3.tip.js
+++ b/src/d3.tip.js
@@ -31,7 +31,7 @@ d3.tip = function() {
         coords
 
     nodel.html(content)
-      .style({ opacity: 1, pointerEvents: 'all' })
+      .style({ opacity: 1, 'pointer-events': 'all' })
 
     while(i--) nodel.classed(directions[i], false)
     coords = direction_callbacks.get(dir).apply(this)
@@ -48,9 +48,7 @@ d3.tip = function() {
   // Returns a tip
   tip.hide = function() {
     nodel = d3.select(node)
-    nodel.style({ 
-      opacity: 0, 
-      'pointer-events': 'none' })
+    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