1/** 2 * Copyright © Magento, Inc. All rights reserved. 3 * See COPYING.txt for license details. 4 */ 5 6/** 7 * @api 8 */ 9 10define([ 11 'ko', 12 'uiComponent', 13 'Magento_Customer/js/customer-data' 14], function (ko, Component, customerData) { 15 'use strict'; 16 17 return Component.extend({ 18 displaySubtotal: ko.observable(true), 19 20 /** 21 * @override 22 */ 23 initialize: function () { 24 this._super(); 25 this.cart = customerData.get('cart'); 26 } 27 }); 28});
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.