Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/landing/collection/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/js/landing/collection/block_collection.min.js |
(function(){"use strict";BX.namespace("BX.Landing.Collection");BX.Landing.Collection.BlockCollection=function(){BX.Landing.Collection.BaseCollection.apply(this,arguments)};BX.Landing.Collection.BlockCollection.prototype={constructor:BX.Landing.Collection.BlockCollection,__proto__:BX.Landing.Collection.BaseCollection.prototype,getByNode:function(n){var o=null;this.some(function(t){if(t.node===n){o=t;return true}});return o},getByChildNode:function(n){var o=null;this.some(function(t){if(t.node.contains(n)){o=t;return true}});return o}}})();