node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

matches-selector-shim

matches-selector-shim

Shim for matchesSelector in IE8.

Installation

npm install matches-selector-shim

API

var matchesSelector = require('matches-selector-shim'),
    byTag = require('dom-essentials/by').tag,
    lis = byTag('li');
 
console.log(matchesSelector(lis, 'li')); // true 

Contributors

License

MIT License.