Chap02 -> Managing template with jQuery (Bug fixing)
parent
9b7f2fefbe
commit
1b13bd0e0c
|
@ -14,7 +14,7 @@
|
|||
<div class="well" data-bind="template:{name:'cart'}"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row hidden" id="ifnot: visibleCatalog">
|
||||
<div class="row" data-bind="if: visibleCart">
|
||||
<div data-bind="template:{name:'order'}"></div>
|
||||
</div>
|
||||
<div data-bind="template: {name:'add-to-catalog-modal'}"></div>
|
||||
|
|
|
@ -123,6 +123,7 @@ var vm = (function () {
|
|||
// second chapter
|
||||
cart: cart,
|
||||
showCartDetails: showCartDetails,
|
||||
addToCart: addToCart,
|
||||
totalItems: totalItems,
|
||||
grandTotal: grandTotal,
|
||||
removeFromCart: removeFromCart,
|
||||
|
|
Loading…
Reference in New Issue