Sha256: c079f72d60636fdbf0b1da5a0b756228f21b818a65abe1c3b9d925467d2d98cb

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1322611694.0041001C-:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%24a8e6dbee8eef635da96015776ca353I"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-11-17T16:27:57-05:00;
FI"	body;
FI"‚
  window.ListView = (function() {

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

    ListView.prototype.render = function() {
      var _this = this;
      this.el.empty();
      return $.each(this.list.getList(), function(index, item) {
        return _this.el.append($(_this.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
5ź€o:@_zoneI"EST;
T:offsetiž°¹I"hexdigest;
F"%e7d9594d78eb7ebae781f7ae24855c3bI"
_version;
F"%46dde6621c301f4928e3b34efee9e3b5

Version data entries

1 entries across 1 versions & 1 rubygems

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