Sha256: 2ab1e645c78cc03a66fb020b84c2dd87e95a4bf1c6e54f68777fd83c1e668484

Contents?: true

Size: 436 Bytes

Versions: 11

Compression:

Stored size: 436 Bytes

Contents

Informant.EntryList = Backbone.Collection.extend({
  model: Informant.EntryModel,
  url: function() {
    return this.parent.url() + '/entries';
  },
  initialize: function(buckets, options) {
    this.parent = options.parent;
  },
  locus: function() {
    return this.parent.locus();
  },
  path: function() {
    return this.parent.entries_path();
  },
  newPath: function() {
    return this.locus().entries_path() + '/new';
  }
});

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
c2-0.1.13 public/javascripts/c2/informant/collections/entries.js
c2-0.1.12 public/javascripts/c2/informant/collections/entries.js
c2-0.1.11 public/javascripts/c2/informant/collections/entries.js
c2-0.1.10 public/javascripts/c2/informant/collections/entries.js
c2-0.1.9 public/javascripts/c2/informant/collections/entries.js
c2-0.1.8 public/javascripts/c2/informant/collections/entries.js
c2-0.1.7 public/javascripts/c2/informant/collections/entries.js
c2-0.1.6 public/javascripts/c2/informant/collections/entries.js
c2-0.1.5 public/javascripts/c2/informant/collections/entries.js
c2-0.1.4 public/javascripts/c2/informant/collections/entries.js
c2-0.1.3 public/javascripts/c2/informant/collections/entries.js