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