Sha256: e006b80d96f43d140376802fb3b757492bf74bad9da0d625502eb4e2e2ab2ebd

Contents?: true

Size: 1.92 KB

Versions: 7

Compression:

Stored size: 1.92 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1320143886.3464708,”:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%7981500c2ab7144372b5efa07c1e6833I"logical_path;
FI"medivo/models.js;
FI"
pathname;
FI"c/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/models.coffee;
FI"content_type;
FI"application/javascript;
FI"
mtime;
FI"2011-10-30T15:16:36+01:00;
FI"	body;
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);
;
TI"asset_paths;
F[I"c/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/models.coffee;
FI"dependency_paths;
F[{I"	path;
FI"c/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/models.coffee;
FI"
mtime;
FIu:	Time
Ξη€@B:@_zoneI"CET;
T:offsetiI"hexdigest;
F"%b0e92a01c6c263c3e1aee23552d675e0I"
_version;
F"%46dde6621c301f4928e3b34efee9e3b5

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
medivo-0.1.7 spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575
medivo-0.1.6 spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575
medivo-0.1.5 spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575
medivo-0.1.4 spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575
medivo-0.1.3 spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575
medivo-0.1.2 spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575
medivo-0.1.1 spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575