Sha256: 8d4c70f00c94d01b6cf9b2239c1a6901cb7424be5e29e881a96e3cc569c22404
Contents?: true
Size: 1.31 KB
Versions: 8
Compression:
Stored size: 1.31 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320143888.0353761 Cš:@value{ I"length:EFiHI"digest; F"%8df9e513fcfe08e25f37841e37e909dcI"source; FI"H(function() { window.List = (function() { List.prototype.show_number = 3; function List(list_data, show_number, model, tracker_id) { this.list = []; if (show_number) { this.show_number = show_number; } this.model = model; this.tracker_elem = $("<input id='" + tracker_id + "' type='hidden'>"); this.setList(list_data); } List.prototype.getList = function() { return this.list.slice(0, this.show_number); }; List.prototype.setList = function(list_info) { this.list = []; this.loadList(list_info); return this.tracker_elem.change(); }; List.prototype.setShowNumber = function(num) { this.show_number = num; return this.tracker_elem.change(); }; List.prototype.loadList = function(list_info) { var list, model; if (!list_info) { return; } list = this.list; model = this.model; return $.each(list_info, function(index, data) { return list.push(new model(data, index)); }); }; return List; })(); }).call(this); ; FI" _version; F"%7981500c2ab7144372b5efa07c1e6833
Version data entries
8 entries across 8 versions & 1 rubygems