// Placeholder manifest file.
// the installer will append this file to the app vendored assets here: vendor/assets/javascripts/spree/frontend/all.js'

var index = 0;
var next  = 1;

$(document).ready(function() {
  startSlider();
});


function startSlider() {
  count = $("#showcase_inner_container > img").size();

  loop = setInterval( function() {
    if(next == count) {
      next = 0;
      index = 0;
    }

    $("#showcase_inner_container > img#" + index).css("transform", "translateX(" + (index * -663) + "px)");
    index = next;
    next = next + 1;

  }, 2000);
}

@@ -366,16 +366,18 @@
 == count
++1
 ) %7B%0A    

Add images to showcase.