Shims matchesSelector for IE8
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
index.js
package.json

README.md

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.