o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1323549772.855273¼Ë: @value{I" class:EFI"BundledAsset; FI"id; F"%f5facb91e168b8e0d49904b41c6aa526I"logical_path; FI"survey_says/answer_form.js; FI" pathname; FI"^/Users/davidhenner/projects/survey_says/app/assets/javascripts/survey_says/answer_form.js; FI"content_type; FI"application/javascript; FI" mtime; FI"2011-12-10T15:29:12-05:00; FI" body; FI"&var SurveySays = window.SurveySays || {}; // If we already have the Question namespace don't override if (typeof SurveySays.Question == "undefined") { SurveySays.Question = {}; } // If we already have the purchaseOrder object don't override if (typeof SurveySays.Question.answer == "undefined") { SurveySays.Question.answer = { //test : null, initialize : function( ) { jQuery('.add_association').bind('click', function(){ var assoc = $(this).attr('data-association'); var content = $('#' + assoc + '_fields_template').html(); var regexp = new RegExp('new_' + assoc, 'g'); var new_id = new Date().getTime(); $(this).parent().before(content.replace(regexp, new_id)); return false; }); $('form a.remove_child').live('click', function() { var hidden_field = $(this).prev('input[type=hidden]')[0]; if(hidden_field) { hidden_field.value = '1'; } $(this).parents('.new_fields').remove(); $(this).parents('.fields').hide(); return false; }); }, prefillCost : function() { } }; jQuery(function() { SurveySays.Question.answer.initialize(); }); } ; ; FI"asset_paths; F[I"^/Users/davidhenner/projects/survey_says/app/assets/javascripts/survey_says/answer_form.js; FI"dependency_paths; F[{I" path; FI"^/Users/davidhenner/projects/survey_says/app/assets/javascripts/survey_says/answer_form.js; FI" mtime; FIu: Time Tí€Àt: @_zoneI"EST; T: offsetiþ°¹I"hexdigest; F"%2c24ae648266600462661e7823a59a85I" _version; F"%46dde6621c301f4928e3b34efee9e3b5