This commit is contained in:
parent
d886356513
commit
ebf509d5dd
186 changed files with 37993 additions and 36821 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* matchesSelector v2.0.2
|
||||
* matchesSelector v2.0.1
|
||||
* matchesSelector( element, '.selector' )
|
||||
* MIT license
|
||||
*/
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
'use strict';
|
||||
|
||||
var matchesMethod = ( function() {
|
||||
var ElemProto = window.Element.prototype;
|
||||
var ElemProto = Element.prototype;
|
||||
// check for the standard method name first
|
||||
if ( ElemProto.matches ) {
|
||||
return 'matches';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue