Buckets:
tahamajs/Other_Lessons / AP /TA_1 /AP-ECE-UT.github.io /node_modules /cheerio-select /lib /helpers.js
| ; | |
| 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 |
Xet Storage Details
- Size:
- 864 Bytes
- Xet hash:
- e9300be0bf71595efcb81859f1bdb4cb7fbc9b4bb26a4f622640266d3ed5b364
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.