//= require store/spree_core

$(document).ready(function () {
    $("input#apply_credit").live('click',function(){
        requestUri = $(this).data('uri')
        value = $(this).is(':checked')
        $.ajax({
            url: requestUri,
            data: { credit: value},
            type: 'PUT'
        })
    });
});

@@ -87,12 +87,10 @@
 t%22).
-live
+on
 ('cl

remove 'live' from jquery javascript