Sha256: 2def85f2968397a81839544cc571a515a807e0145b072a291bb02ea7d19d2cbd

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1321457207.214354·ú:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%ae705b12c04d6b627dc6e929a460d945I"logical_path;
FI"medivo/views.js;
FI"
pathname;
FI"b/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/views.coffee;
FI"content_type;
FI"application/javascript;
FI"
mtime;
FI"2011-10-29T18:57:31-04:00;
FI"	body;
FI"•
  window.ListView = (function() {

    function ListView(list, element_id, template_id) {
      var view;
      this.list = list;
      this.el = $("#" + element_id);
      this.template = Handlebars.compile($("#" + template_id).html());
      if (this.list) this.render();
      view = this;
      this.list.tracker_elem.change(function() {
        return view.render();
      });
    }

    ListView.prototype.render = function() {
      var view;
      view = this;
      view.el.empty();
      return $.each(this.list.getList(), function(index, item) {
        return view.el.append($(view.template(item)));
      });
    };

    return ListView;

  })();
;
TI"asset_paths;
F[I"b/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/views.coffee;
FI"dependency_paths;
F[{I"	path;
FI"b/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/views.coffee;
FI"
mtime;
FIu:	Time
¶ç€ðå:@_zoneI"EDT;
T:offsetiþÀÇI"hexdigest;
F"%967703f77e3dcde6fe0f7a68c4848a42I"
_version;
F"%ee50e40b36d7dc25c526aaff3fac8c9c

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
medivo-0.2.18 spec/dummy/tmp/cache/assets/D45/320/sprockets%2Fc50ff379a1bdf1dd4d22249058749cf6