chi-matches
Check if a DOM element matches a CSS selector.
A cross-browser wrapper for the
Element#matches
function. It will choose the appropriate native method (including vendor
prefixes) to use.
This module uses Node.js-style modules, for best results use browserify.
Example
var matches = ; var div = document;; // true; // false