{I" class:EFI"ProcessedAsset;FI"logical_path;FI"outpost/field_manager.js;TI" pathname;FI"`/Users/bricker/websites/kpcc/outpost/app/assets/javascripts/outpost/field_manager.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;Fl+d}RI" length;FiI" digest;F"%daa494eab193a07523893d1279f87561I" source;FI"(function() { outpost.FieldManager = (function() { function FieldManager() { $("fieldset.form-block legend").on({ click: function(event) { var target; target = $(this); target.siblings(".fields").toggle(); return target.siblings(".notification").toggle(); } }); $(".js-add-fields").on({ click: function(event) { var buildTarget, fields, regexp, target, time; event.preventDefault(); target = $(this); time = new Date().getTime(); regexp = new RegExp(target.data('id'), 'g'); fields = $(target.data('fields').trim().replace(regexp, time)); if (buildTarget = target.data('build-target')) { $(buildTarget).append(fields); } else { target.before(fields); } outpost.DateTimeInput.buildDateTimeInputs(fields); outpost.DateTimeInput.buildDateInputs(fields); return $("select", fields).select2({ placeholder: " ", allowClear: true }); } }); } return FieldManager; })(); }).call(this); ;TI"dependency_digest;F"%b7164b16c7df0f0d050966cd391dec26I"required_paths;F[I"`/Users/bricker/websites/kpcc/outpost/app/assets/javascripts/outpost/field_manager.js.coffee;TI"dependency_paths;F[{I" path;FI"`/Users/bricker/websites/kpcc/outpost/app/assets/javascripts/outpost/field_manager.js.coffee;TI" mtime;FI"2013-11-08T18:26:44-08:00;FI" digest;F"%669b392f44e704a403d091f894b53895I" _version;F"%ac1cd7cf9811f9938e2b8937c60a24e6