Sha256: aa65b1b067687fccd088e987b78d79128245cf1e10183374d83328daa48d3a7b

Contents?: true

Size: 884 Bytes

Versions: 1

Compression:

Stored size: 884 Bytes

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1322611695.261066µN:@value{	I"length:EFi‚I"digest;
F"%e22391acee4f25e69e558c8f5ab57921I"source;
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;

  })();
;
FI"
_version;
F"%24a8e6dbee8eef635da96015776ca353

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
medivo-0.2.24 spec/dummy/tmp/cache/assets/DD1/FD0/sprockets%2Fa531f33dc9c5852d39d64a9eda44dacf