UNPKG

extra-dom

Version:
35 lines 1.94 kB
const xpathResultExists = 'XPathResult' in globalThis; export var XPathResultType; (function (XPathResultType) { XPathResultType[XPathResultType["ANY_TYPE"] = xpathResultExists ? globalThis.XPathResult.ANY_TYPE : 0] = "ANY_TYPE"; XPathResultType[XPathResultType["NUMBER_TYPE"] = xpathResultExists ? globalThis.XPathResult.NUMBER_TYPE : 1] = "NUMBER_TYPE"; XPathResultType[XPathResultType["STRING_TYPE"] = xpathResultExists ? globalThis.XPathResult.STRING_TYPE : 2] = "STRING_TYPE"; XPathResultType[XPathResultType["BOOLEAN_TYPE"] = xpathResultExists ? globalThis.XPathResult.BOOLEAN_TYPE : 3] = "BOOLEAN_TYPE"; XPathResultType[XPathResultType["UNORDERED_NODE_ITERATOR_TYPE"] = xpathResultExists ? globalThis.XPathResult.UNORDERED_NODE_ITERATOR_TYPE : 4] = "UNORDERED_NODE_ITERATOR_TYPE"; XPathResultType[XPathResultType["ORDERED_NODE_ITERATOR_TYPE"] = xpathResultExists ? globalThis.XPathResult.ORDERED_NODE_ITERATOR_TYPE : 5] = "ORDERED_NODE_ITERATOR_TYPE"; XPathResultType[XPathResultType["UNORDERED_NODE_SNAPSHOT_TYPE"] = xpathResultExists ? globalThis.XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE : 6] = "UNORDERED_NODE_SNAPSHOT_TYPE"; XPathResultType[XPathResultType["ORDERED_NODE_SNAPSHOT_TYPE"] = xpathResultExists ? globalThis.XPathResult.ORDERED_NODE_SNAPSHOT_TYPE : 7] = "ORDERED_NODE_SNAPSHOT_TYPE"; XPathResultType[XPathResultType["ANY_UNORDERED_NODE_TYPE"] = xpathResultExists ? globalThis.XPathResult.ANY_UNORDERED_NODE_TYPE : 8] = "ANY_UNORDERED_NODE_TYPE"; XPathResultType[XPathResultType["FIRST_ORDERED_NODE_TYPE"] = xpathResultExists ? globalThis.XPathResult.FIRST_ORDERED_NODE_TYPE : 9] = "FIRST_ORDERED_NODE_TYPE"; })(XPathResultType = XPathResultType || (XPathResultType = {})); //# sourceMappingURL=xpath-result-type.js.map