Sha256: 0d1697a62f815d3a9f90faa6e12058de2da1e3d390b627ee44f6abcb64d7fb60

Contents?: true

Size: 461 Bytes

Versions: 5

Compression:

Stored size: 461 Bytes

Contents

"use strict";

// добавляет
var AddRowToCartSm = function(item_id) {
    this.call = function() {
        var row_as_hash = new CollectDataForRowSm(item_id).call();
        // console.log("<AddRowToCartSm.call> row_as_hash: " + row_as_hash);
        // console.log(row_as_hash);

        coo.cart_push(row_as_hash);

        return {
            result: true,
            message: '1 товар добавлено в корзину.'
        }
    }
};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 engines/co/app/assets/javascripts/co/add_to_cart_sm/actions/add_row_to_cart_sm.js
c80_yax-0.1.0.24 engines/co/app/assets/javascripts/co/add_to_cart_sm/actions/add_row_to_cart_sm.js
c80_yax-0.1.0.23 engines/co/app/assets/javascripts/co/add_to_cart_sm/actions/add_row_to_cart_sm.js
c80_yax-0.1.0.22 engines/co/app/assets/javascripts/co/add_to_cart_sm/actions/add_row_to_cart_sm.js
c80_yax-0.1.0.21 engines/co/app/assets/javascripts/co/add_to_cart_sm/actions/add_row_to_cart_sm.js