[Pkg-javascript-commits] [d3-tip.js] 242/277: Merge pull request #78 from chiester/master

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:35 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 9b28d37d9ea93c1b656c30b369348f05161eb2d8
Merge: 460b1e6 f5008e7
Author: Justin Palmer <justin at github.com>
Date:   Tue Sep 30 08:30:29 2014 -0700

    Merge pull request #78 from chiester/master
    
    Stronger type checking

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

diff --cc index.js
index 60b7be6,ad97551..1310f35
--- a/index.js
+++ b/index.js
@@@ -230,18 -230,18 +230,18 @@@
          'pointer-events': 'none',
          'box-sizing': 'border-box'
        })
 -  
 +
        return node.node()
      }
 -  
 +
      function getSVGNode(el) {
        el = el.node()
-       if(el.tagName.toLowerCase() == 'svg')
+       if(el.tagName.toLowerCase() === 'svg')
          return el
 -  
 +
        return el.ownerSVGElement
      }
 -  
 +
      // Private - gets the screen coordinates of a shape
      //
      // Given a shape on the screen, will return an SVGPoint for the directions

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