Sha256: 7a7338eab03db965b6b28ddaacf13f2efc1707e2ff54d73f6bbe577ea8d0674d

Contents?: true

Size: 1.62 KB

Versions: 4

Compression:

Stored size: 1.62 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1321032518.361464"::@value{	I"length:EFiŠI"digest;
F"%638b4600fa542bf7ba8b48f336f30300I"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);
(function() {
  var __hasProp = Object.prototype.hasOwnProperty, __extends = function(child, parent) {
    for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; }
    function ctor() { this.constructor = child; }
    ctor.prototype = parent.prototype;
    child.prototype = new ctor;
    child.__super__ = parent.prototype;
    return child;
  };
  window.AppointmentListView = (function() {
    __extends(AppointmentListView, ListView);
    function AppointmentListView(list) {
      this.list = list;
      AppointmentListView.__super__.constructor.call(this, this.list, 'appointment_list', 'appointment_item_template');
    }
    return AppointmentListView;
  })();
}).call(this);
;
FI"
_version;
F"%83895e51530e1f57be0d1175dcd05d40

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
medivo-0.2.7 spec/dummy/tmp/cache/assets/C6C/8D0/sprockets%2F2f423a28516973330a94ad121151f3bf
medivo-0.2.6 spec/dummy/tmp/cache/assets/C6C/8D0/sprockets%2F2f423a28516973330a94ad121151f3bf
medivo-0.2.5 spec/dummy/tmp/cache/assets/C6C/8D0/sprockets%2F2f423a28516973330a94ad121151f3bf
medivo-0.2.3 spec/dummy/tmp/cache/assets/C6C/8D0/sprockets%2F2f423a28516973330a94ad121151f3bf