mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
10 lines
253 B
CoffeeScript
10 lines
253 B
CoffeeScript
Darkswarm.factory 'Cart', (CurrentOrder)->
|
|
# Handles syncing of current cart/order state to server
|
|
new class Cart
|
|
order: CurrentOrder.order
|
|
line_items: CurrentOrder.order.line_items
|
|
constructor: ->
|
|
console.log @order.line_items
|
|
|
|
|