{"size": 494, "ext": "js", "max_stars_repo_path": "compose/magento-2/src/pub/static/frontend/Mgs/orson/en_US/Magento_Tax/js/view/checkout/minicart/subtotal/totals.js", "max_stars_repo_name": "carlstrand/docker-magento", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "compose/magento-2/src/pub/static/frontend/Mgs/orson/en_US/Magento_Tax/js/view/checkout/minicart/subtotal/totals.js", "max_issues_repo_name": "carlstrand/docker-magento", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "compose/magento-2/src/pub/static/frontend/Mgs/orson/en_US/Magento_Tax/js/view/checkout/minicart/subtotal/totals.js", "max_forks_repo_name": "carlstrand/docker-magento", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.5833333333, "max_line_length": 49, "alphanum_fraction": 0.548582996}
/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
define([
    'ko',
    'uiComponent',
    'Magento_Customer/js/customer-data'
], function (ko, Component, customerData) {
    'use strict';

    return Component.extend({
        displaySubtotal: ko.observable(true),

        /**
         * @override
         */
        initialize: function () {
            this._super();
            this.cart = customerData.get('cart');
        }
    });
});
