Sha256: c88ab691ca7199781f6a189db61c8e05b5c98320b071b292a8e86e34202c6373

Contents?: true

Size: 904 Bytes

Versions: 3

Compression:

Stored size: 904 Bytes

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1321311536.0288289ØU:@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"%ea6206c34450d63b43753c56a385b4a6

Version data entries

3 entries across 3 versions & 1 rubygems

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