Sha256: ac4e43a96281d6bca9eb1ec363698a584b08a88a71d4d33d682f6657ba97cfac

Contents?: true

Size: 1.49 KB

Versions: 3

Compression:

Stored size: 1.49 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1321313732.2256429pï:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%58c271619eae36da2bc20706170dc7ebI"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

3 entries across 3 versions & 1 rubygems

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