Sha256: 36757930b6022e7841bcc230a0fd34522b3cfd34784077760c7f8fbd9ec48187

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1321457842.7673919ó:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%b93dcde9346ae0ec54b95c646be2c055I"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"%ed2044121bda8c19f1cc8e9494b00fbeI"
_version;
F"%46dde6621c301f4928e3b34efee9e3b5

Version data entries

1 entries across 1 versions & 1 rubygems

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