Sha256: 5cadd4ae588efbd7134110b8ab4fa4c43b55d094ca78903044ccfb33da56dd40
Contents?: true
Size: 462 Bytes
Versions: 6
Compression:
Stored size: 462 Bytes
Contents
pageflow.OtherEntry = Backbone.Model.extend({ paramRoot: 'entry', urlRoot: '/entries', modelName: 'entry', initialize: function() { this.imageFiles = new pageflow.ImageFilesCollection([], {entry: this}); this.videoFiles = new pageflow.VideoFilesCollection([], {entry: this}); this.audioFiles = new pageflow.AudioFilesCollection([], {entry: this}); }, titleOrSlug: function () { return this.get('title') || this.get('slug'); } });
Version data entries
6 entries across 6 versions & 1 rubygems