File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/landing/collection/cardcollection/dist/cardcollection.bundle.js
Back
this.BX = this.BX || {}; this.BX.Landing = this.BX.Landing || {}; (function (exports,landing_collection_basecollection) { 'use strict'; /** * @memberOf BX.Landing.Collection */ var CardCollection = /*#__PURE__*/function (_BaseCollection) { babelHelpers.inherits(CardCollection, _BaseCollection); function CardCollection() { babelHelpers.classCallCheck(this, CardCollection); return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(CardCollection).apply(this, arguments)); } babelHelpers.createClass(CardCollection, [{ key: "getByNode", value: function getByNode(node) { return this.find(function (card) { return card.node === node; }); } }, { key: "getBySelector", value: function getBySelector(selector) { return this.find(function (card) { return card.selector === selector; }); } }, { key: "add", value: function add(card) { if (!!card && card instanceof BX.Landing.Block.Card) { babelHelpers.get(babelHelpers.getPrototypeOf(CardCollection.prototype), "add", this).call(this, card); } } }, { key: "matches", value: function matches(selector) { return this.filter(function (item) { return item.node.matches(selector); }); } }, { key: "notMatches", value: function notMatches(selector) { return this.filter(function (item) { return !item.node.matches(selector); }); } }]); return CardCollection; }(landing_collection_basecollection.BaseCollection); exports.CardCollection = CardCollection; }((this.BX.Landing.Collection = this.BX.Landing.Collection || {}),BX.Landing.Collection)); //# sourceMappingURL=cardcollection.bundle.js.map
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings