Sha256: 2a8fc0b0acb9629d19a71d2213409d1ad19ace91b6f82eebce2d4e65ca5383f6
Contents?: true
Size: 544 Bytes
Versions: 11
Compression:
Stored size: 544 Bytes
Contents
Informant.LocusModel = Backbone.Model.extend({ initialize: function(options) { this.id = options._id; this.buckets = new Informant.BucketList(options.buckets, { parent: this }); this.entries = new Informant.EntryList(options.entries_page, { parent: this, cached: false }); }, locus: function() { return this; }, index_label: function() { return 'All'; }, entries_path: function() { return this.hash_path() + '/entries'; }, hash_path: function() { return '#/locus/' + this.locus().id; } });
Version data entries
11 entries across 11 versions & 1 rubygems