I am stuck with something that should be easy as per the documentation:
To replace an entire JavaScript file as provided by Spree you simply need to create a file with the same name and save it to the corresponding path within your application’s or extension’s app/assets/javascripts directory
so, I initially copied the Spree frontend/app/javascript/store.js.coffee script into my own app,
into my app/assets/javascript/store/checkout.js.coffee
and added in my app/assets/javascript/store/all.js
//= require store/checkout
but when I run it in dev mode , I get a js error :
Timestamp: 25/02/13 10:20:41
Error: ReferenceError: Spree is not defined
Line: 9
here is my all.js file
//= require jquery
//= require jquery_ujs
//= require store/spree_core
//= require store/spree_auth
//= require store/spree_promo
// require_tree .
//= require jquery.fancybox
//= require jquery.mousewheel-3.0.6.pack
//= require jcarousellite_1.3.1
//= require store/checkout
//= require store/workshop
//= require store/spree_multi_lingual