Sha256: 191e7a75210b304ac936fb52bb6ea2e3544e1c4e5344344dac3b2a970fad2ee2

Contents?: true

Size: 419 Bytes

Versions: 9

Compression:

Stored size: 419 Bytes

Contents

<div id='cart'></div>
<%= content_for :caboose_js do %>
<%= javascript_include_tag 'cart' %>
<script type='text/javascript'>

var modal = false;
$(window).load(function() {
  var line_items = <%= raw Caboose.json(line_items(@order)) %>;
  var c = new Cart(line_items);
  c.print();
  if (c.line_items.length > 0)
    modal = new CabooseModal(600);
  else
    modal = new CabooseModal(400, 50);
});

</script>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
caboose-store-0.0.10 app/views/caboose_store/cart/index.html.erb
caboose-store-0.0.9 app/views/caboose_store/cart/index.html.erb
caboose-store-0.0.8 app/views/caboose_store/cart/index.html.erb
caboose-store-0.0.7 app/views/caboose_store/cart/index.html.erb
caboose-store-0.0.6 app/views/caboose_store/cart/index.html.erb
caboose-store-0.0.5 app/views/caboose_store/cart/index.html.erb
caboose-store-0.0.4 app/views/caboose_store/cart/index.html.erb
caboose-store-0.0.3 app/views/caboose_store/cart/index.html.erb
caboose-store-0.0.2 app/views/caboose_store/cart/index.html.erb