{:uriI"Ìfile:///Users/craigphares/Development/tang/app/assets/javascripts/tang/subscriptions.js.coffee?type=application/javascript&pipeline=self&id=21dcf664d03bca4f5763f16d415f0f7cb17ba17685ee0d1855d5c976bb82f9da: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($('').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"%\^£LLŽbÿú+=ë ¹¨tÉìÓ:Õ98žw5¥¿¯‘: lengthiä:dependencies_digest"%÷y±ÕÙ3!Ô‹«¬L£Àr`3f«¨ ƒ(Sä¹:idI"E21dcf664d03bca4f5763f16d415f0f7cb17ba17685ee0d1855d5c976bb82f9da;F: mtimel+.YíW