chap02 -> Creating templates -> The cart-widget template (Bug Fix)
parent
b1fc664fe9
commit
16d677a98c
|
@ -91,7 +91,9 @@ var vm = (function () {
|
|||
addProduct: addProduct,
|
||||
// second chapter
|
||||
cart: cart,
|
||||
showCartDetails: showCartDetails
|
||||
showCartDetails: showCartDetails,
|
||||
totalItems: totalItems,
|
||||
grandTotal: grandTotal
|
||||
};
|
||||
})();
|
||||
ko.applyBindings(vm);
|
||||
|
|
Loading…
Reference in New Issue