UNPKG

802 BJavaScriptView Raw
1/**
2@license
3Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
4This code may only be used under the BSD style license found at
5http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
6http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
7found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
8part of the polymer project is also subject to an additional IP rights grant
9found at http://polymer.github.io/PATENTS.txt
10*/
11var _a;
12const Element_prototype = Element.prototype;
13if (!Element_prototype.hasOwnProperty('matches')) {
14 Element_prototype.matches = (_a = Element_prototype.webkitMatchesSelector) !== null && _a !== void 0 ? _a : Element_prototype.msMatchesSelector;
15}
16//# sourceMappingURL=matches.js.map
\No newline at end of file