Sha256: dfa006959b0eedc49bbd2a5c8f32d4eaffabfc82f5ac76f9fc24813cf51a814e

Contents?: true

Size: 946 Bytes

Versions: 2

Compression:

Stored size: 946 Bytes

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1320950535.7806778ö :@value{	I"length:EFi¿I"digest;
F"%f1e6f832ca24d6918379eb5b1dba0b2bI"source;
FI"¿(function() {
  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;
  })();
}).call(this);
;
FI"
_version;
F"%bd7aa081dcc9efcd1173189fac6fa56b

Version data entries

2 entries across 2 versions & 1 rubygems

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