Sha256: 7e7ebe9f5cf7bd723a876d63ef10c9b8a421cc9b46ebc241da713c3abfa64f74

Contents?: true

Size: 1.95 KB

Versions: 4

Compression:

Stored size: 1.95 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"outpost/field_manager.js;FI"
pathname;TI"`/Users/bricker/websites/kpcc/outpost/app/assets/javascripts/outpost/field_manager.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+d}RI"length;TiI"digest;TI"%3bec2c6acc9978e0e83e0968e9d7b84c;FI"source;TI"(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;TI"%b3f1a21fa80c11c3bb7764d7a0d903fb;FI"required_paths;T[I"`/Users/bricker/websites/kpcc/outpost/app/assets/javascripts/outpost/field_manager.js.coffee;FI"dependency_paths;T[{I"	path;TI"`/Users/bricker/websites/kpcc/outpost/app/assets/javascripts/outpost/field_manager.js.coffee;FI"
mtime;TI"2013-11-08T18:26:44-08:00;TI"digest;TI"%ccd71de42f394a9601afd865c1b9ffa8;FI"
_version;TI"%64b22cf9f770209c1e0beb31754a8cbc;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
outpost-cms-0.1.4 spec/internal/tmp/cache/assets/test/sprockets/3717c6d6d1b1afd049b633417ed63cdd
outpost-cms-0.1.4 spec/internal/tmp/cache/assets/test/sprockets/b9d76e389aeda53d2f9cc256f75e303b
outpost-cms-0.1.3 spec/internal/tmp/cache/assets/test/sprockets/3717c6d6d1b1afd049b633417ed63cdd
outpost-cms-0.1.3 spec/internal/tmp/cache/assets/test/sprockets/b9d76e389aeda53d2f9cc256f75e303b