matches-selector-shim

0.1.0 • Public • Published

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.

/matches-selector-shim/

    Package Sidebar

    Install

    npm i matches-selector-shim

    Weekly Downloads

    0

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • ralt