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/cheerio.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/cheerio.js')
-rw-r--r-- | includes/external/addressbook/node_modules/cheerio/lib/cheerio.js | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/cheerio/lib/cheerio.js b/includes/external/addressbook/node_modules/cheerio/lib/cheerio.js new file mode 100644 index 0000000..0b1d053 --- /dev/null +++ b/includes/external/addressbook/node_modules/cheerio/lib/cheerio.js @@ -0,0 +1,66 @@ +"use strict"; +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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Cheerio = void 0; +var Attributes = __importStar(require("./api/attributes.js")); +var Traversing = __importStar(require("./api/traversing.js")); +var Manipulation = __importStar(require("./api/manipulation.js")); +var Css = __importStar(require("./api/css.js")); +var Forms = __importStar(require("./api/forms.js")); +var Cheerio = /** @class */ (function () { + /** + * Instance of cheerio. Methods are specified in the modules. Usage of this + * constructor is not recommended. Please use `$.load` instead. + * + * @private + * @param elements - The new selection. + * @param root - Sets the root node. + * @param options - Options for the instance. + */ + function Cheerio(elements, root, options) { + this.length = 0; + this.options = options; + this._root = root; + if (elements) { + for (var idx = 0; idx < elements.length; idx++) { + this[idx] = elements[idx]; + } + this.length = elements.length; + } + } + return Cheerio; +}()); +exports.Cheerio = Cheerio; +/** Set a signature of the object. */ +Cheerio.prototype.cheerio = '[cheerio object]'; +/* + * Make cheerio an array-like object + */ +Cheerio.prototype.splice = Array.prototype.splice; +// Support for (const element of $(...)) iteration: +Cheerio.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator]; +// Plug in the API +Object.assign(Cheerio.prototype, Attributes, Traversing, Manipulation, Css, Forms); +//# sourceMappingURL=cheerio.js.map
\ No newline at end of file |