PageSourceSearch

https://creative-wine.ru/bitrix/templates/creative_wine/components…/full_zakaz/script.js?17449901381192

js creative-wine.ru collected 2026-10-03 00:54:01 UTC 1,192 bytes, 42 lines download raw bytes

1function CosmosFullCart(){}
2
3CosmosFullCart.prototype = {
4
5    init: function() {
6        //BX.addCustomEvent(window, 'OnBasketChange', this.closure('refreshBasket', {}));
7    },
8
9    closure: function (fname, data) {
10        var obj = this;
11        return data
12            ? function(){obj[fname](data)}
13            : function(arg1){obj[fname](arg1)};
14    },
15
16    cosmosSetQuantity: function (elementCode, action, quantityWrapId) {
17        var curVal = $('#' + quantityWrapId + ' .qty').val();
18        if (action == "minus") {
19            curVal--;
20        } else if (action == "plus") {
21            curVal++;
22        } else if (action == "qty") {
23        }
24        $('#' + quantityWrapId + ' .qty').val(curVal);
25        $.ajax({
26            type: "POST",
27            url: this.ajaxPath,
28            data: {
29                siteId: this.siteId,
30                sessid: BX.bitrix_sessid(),
31                arParams: this.arParams,
32                action: action,
33                curVal: curVal,
34                ELEMENT_CODE: elementCode,
35            },
36            success: function(result){
37                $("#cosmos-full-cart").empty().append(result);
38            },
39        });
40    },
41
42}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.