Sha256: 539bd73e8d2febd314b5f17cd7f76422a2eaf9f584f405c567f66860ad399886
Contents?: true
Size: 1.56 KB
Versions: 2
Compression:
Stored size: 1.56 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1321443492.2808261 ù:@value{ I"length:EFiLI"digest; F"%08d13b0d343ca56a68dbd97e7240242aI"source; FI"L 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; })(); (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"%f4f0e0adda4c6c03571b927457d64fbc
Version data entries
2 entries across 2 versions & 1 rubygems