Sha256: 79b360da3a8b3793a844556d3d349bf4784f7c3e6a499dc22e60a83e6e14ff30
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
{:uriI"file:///Users/craigphares/Development/tang/app/assets/javascripts/tang/subscriptions.js.coffee?type=application/javascript&pipeline=self&id=65291f4d9aa9159e1085f234f791932dad4c7fb18b6530913ea1aa86127c2b26:ET:load_pathI"?/Users/craigphares/Development/tang/app/assets/javascripts;T: filenameI"\/Users/craigphares/Development/tang/app/assets/javascripts/tang/subscriptions.js.coffee;T: nameI"tang/subscriptions;T:logical_pathI"tang/subscriptions.self.js;T:content_typeI"application/javascript;T:sourceI"(function() { var stripeResponseHandler; $(function() { var $form; $form = $('#payment-form'); return $form.submit(function(event) { $form.find('.submit').prop('disabled', true); Stripe.card.createToken($form, stripeResponseHandler); return false; }); }); stripeResponseHandler = function(status, response) { var $form, token; $form = $('#payment-form'); if (response.error) { $form.find('.payment-errors').text(response.error.message); return $form.find('.submit').prop('disabled', false); } else { token = response.id; $form.append($('<input type="hidden" name="stripe_token">').val(token)); return $form.get(0).submit(); } }; }).call(this); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"jfile-digest:///Users/craigphares/Development/tang/app/assets/javascripts/tang/subscriptions.js.coffee;TTF: requiredo;;} F:stubbedo;;} F: linkso;;} F:charsetI" utf-8;F:digest"%,?|9~>]:lengthi:dependencies_digest"%FKJKU Lp9"y}SfV$?z:idI"E65291f4d9aa9159e1085f234f791932dad4c7fb18b6530913ea1aa86127c2b26;F: mtimel+\W
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tang-0.0.1 | spec/tang_app/tmp/cache/assets/sprockets/v3.0/NR/NRrBgJCcWQn191Q8fwULeMHSMEX-dli5cDmYK6ppAg4.cache |