Skip to content
Permalink
Browse files
Selector: Use Element.matches in selector-native if available
  • Loading branch information
foolip authored and dmethvin committed Mar 21, 2014
1 parent ad032d3 commit 2c2c93c7cbfafdb06a27dafee88fc67b265c8e32
Showing 2 changed files with 3 additions and 1 deletion.
@@ -220,4 +220,5 @@ Roman Reiß <me@silverwind.io>
Benjy Cui <benjytrys@gmail.com>
Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>
John Hoven <hovenj@gmail.com>
Philip Jägenstedt <philip@foolip.org>

@@ -29,7 +29,8 @@ define([

var docElem = window.document.documentElement,
selector_hasDuplicate,
matches = docElem.webkitMatchesSelector ||
matches = docElem.matches ||
docElem.webkitMatchesSelector ||
docElem.mozMatchesSelector ||
docElem.oMatchesSelector ||
docElem.msMatchesSelector,

0 comments on commit 2c2c93c

Please sign in to comment.