diff options
author | RaindropsSys <contact@minteck.org> | 2023-04-06 22:18:28 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-04-06 22:18:28 +0200 |
commit | 83354b2b88218090988dd6e526b0a2505b57e0f1 (patch) | |
tree | e3c73c38a122a78bb7e66fbb99056407edd9d4b9 /includes/external/addressbook/node_modules/cheerio/lib/slim.js | |
parent | 47b8f2299a483024c4a6a8876af825a010954caa (diff) | |
download | pluralconnect-83354b2b88218090988dd6e526b0a2505b57e0f1.tar.gz pluralconnect-83354b2b88218090988dd6e526b0a2505b57e0f1.tar.bz2 pluralconnect-83354b2b88218090988dd6e526b0a2505b57e0f1.zip |
Updated 5 files and added 1110 files (automated)
Diffstat (limited to 'includes/external/addressbook/node_modules/cheerio/lib/slim.js')
-rw-r--r-- | includes/external/addressbook/node_modules/cheerio/lib/slim.js | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/cheerio/lib/slim.js b/includes/external/addressbook/node_modules/cheerio/lib/slim.js new file mode 100644 index 0000000..95b6c4f --- /dev/null +++ b/includes/external/addressbook/node_modules/cheerio/lib/slim.js @@ -0,0 +1,42 @@ +"use strict"; +/** @file Alternative Entry point for Cheerio, excluding parse5. */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.load = void 0; +/** + * Types used in signatures of Cheerio methods. + * + * @category Cheerio + */ +__exportStar(require("./types.js"), exports); +var load_js_1 = require("./load.js"); +var parse_js_1 = require("./parse.js"); +var dom_serializer_1 = __importDefault(require("dom-serializer")); +var htmlparser2_1 = require("htmlparser2"); +/** + * Create a querying function, bound to a document created from the provided markup. + * + * @param content - Markup to be loaded. + * @param options - Options for the created instance. + * @param isDocument - Always `false` here, as we are always using `htmlparser2`. + * @returns The loaded document. + * @see {@link https://cheerio.js.org#loading} for additional usage information. + */ +exports.load = (0, load_js_1.getLoad)((0, parse_js_1.getParse)(htmlparser2_1.parseDocument), dom_serializer_1.default); +//# sourceMappingURL=slim.js.map
\ No newline at end of file |