Sha256: 832fe05d7eb4b2be3a742994743e359e499b564b445851da7cb2932be0f9377e

Contents?: true

Size: 903 Bytes

Versions: 2

Compression:

Stored size: 903 Bytes

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1321443492.244844«†:@value{	I"length:EFi•I"digest;
F"%85a5805f92105ad0ebc6e2b786dda61cI"source;
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;

  })();
;
FI"
_version;
F"%409541705ee680ba770229d903bec18e

Version data entries

2 entries across 2 versions & 1 rubygems

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