{:uriI"file:///Users/rich/Development/link_to_add_fields/vendor/assets/javascripts/link_to_add_fields.js?type=application/javascript&pipeline=self&id=32501b063d9549166ee06ad4615afc8f1ff040cb300e035efdcced4c5277ca04:ET:load_pathI"I/Users/rich/Development/link_to_add_fields/vendor/assets/javascripts;T: filenameI"_/Users/rich/Development/link_to_add_fields/vendor/assets/javascripts/link_to_add_fields.js;T: nameI"link_to_add_fields;T:logical_pathI"link_to_add_fields.self.js;T:content_typeI"application/javascript;T: sourceI"// Generated by CoffeeScript 1.12.7 (function() { $(document).on('click', '[data-link-to-remove-field]', function(e) { var $field, target; e.preventDefault(); $(this).prev('input[type=hidden]').val('1'); target = $(this).data('link-to-remove-field'); $field = $(this).closest(target); return $field.hide(); }); $(document).on('click', '[data-link-to-add-field]', function(e) { var fields_html, regexp, time; e.preventDefault(); time = new Date().getTime(); regexp = new RegExp($(this).data('link-to-add-field-id'), 'g'); fields_html = $(this).data('link-to-add-field').replace(regexp, time); return $(this).before(fields_html); }); }).call(this); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"mfile-digest:///Users/rich/Development/link_to_add_fields/vendor/assets/javascripts/link_to_add_fields.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%>>a7!C{& y@I: lengthi:dependencies_digest"%MŠ*_%/ .O8YB(:idI"E32501b063d9549166ee06ad4615afc8f1ff040cb300e035efdcced4c5277ca04;F: mtimel+_@Y