- update
This commit is contained in:
parent
05cf48534a
commit
83558f7bce
173 changed files with 1289 additions and 9312 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* matchesSelector v2.0.1
|
||||
* matchesSelector v2.0.2
|
||||
* matchesSelector( element, '.selector' )
|
||||
* MIT license
|
||||
*/
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
'use strict';
|
||||
|
||||
var matchesMethod = ( function() {
|
||||
var ElemProto = Element.prototype;
|
||||
var ElemProto = window.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