Buckets:
| ; | |
| exports.__esModule = true; | |
| exports.default = matches; | |
| var matchesImpl; | |
| /** | |
| * Checks if a given element matches a selector. | |
| * | |
| * @param node the element | |
| * @param selector the selector | |
| */ | |
| function matches(node, selector) { | |
| if (!matchesImpl) { | |
| var body = document.body; | |
| var nativeMatch = body.matches || body.matchesSelector || body.webkitMatchesSelector || body.mozMatchesSelector || body.msMatchesSelector; | |
| matchesImpl = function matchesImpl(n, s) { | |
| return nativeMatch.call(n, s); | |
| }; | |
| } | |
| return matchesImpl(node, selector); | |
| } | |
| module.exports = exports["default"]; |
Xet Storage Details
- Size:
- 611 Bytes
- Xet hash:
- e590e0bbd17c9004898029f5c710af8ecc171c845e8a5978590d8febf988b6ed
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.