diff options
Diffstat (limited to 'includes/external/addressbook/node_modules/cheerio-select/lib/helpers.js')
-rw-r--r-- | includes/external/addressbook/node_modules/cheerio-select/lib/helpers.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/includes/external/addressbook/node_modules/cheerio-select/lib/helpers.js b/includes/external/addressbook/node_modules/cheerio-select/lib/helpers.js deleted file mode 100644 index f996a6c..0000000 --- a/includes/external/addressbook/node_modules/cheerio-select/lib/helpers.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.groupSelectors = exports.getDocumentRoot = void 0; -var positionals_js_1 = require("./positionals.js"); -function getDocumentRoot(node) { - while (node.parent) - node = node.parent; - return node; -} -exports.getDocumentRoot = getDocumentRoot; -function groupSelectors(selectors) { - var filteredSelectors = []; - var plainSelectors = []; - for (var _i = 0, selectors_1 = selectors; _i < selectors_1.length; _i++) { - var selector = selectors_1[_i]; - if (selector.some(positionals_js_1.isFilter)) { - filteredSelectors.push(selector); - } - else { - plainSelectors.push(selector); - } - } - return [plainSelectors, filteredSelectors]; -} -exports.groupSelectors = groupSelectors; -//# sourceMappingURL=helpers.js.map
\ No newline at end of file |