Sha256: 3baf9150fdbcc03b7732685db911d98e253715a3169606b4712500a4adea8923
Contents?: true
Size: 454 Bytes
Versions: 11
Compression:
Stored size: 454 Bytes
Contents
Informant.BucketModel = Backbone.Model.extend({ initialize: function(options) { this.id = options._id; this.entries = new Informant.EntryList(options.entries_page, { parent: this, cached: false }); }, locus: function() { return this.collection.parent; }, entries_path: function() { return '#/locus/' + this.locus().id + '/buckets/' + this.id + '/entries'; }, index_label: function() { return this.escape('label'); } });
Version data entries
11 entries across 11 versions & 1 rubygems