Sha256: 6bdee2cfbb6d6da772df3f7945c3fec657389b4e64bb4a78fce0905b6563bacd
Contents?: true
Size: 914 Bytes
Versions: 3
Compression:
Stored size: 914 Bytes
Contents
pageflow.EntryData = pageflow.Object.extend({ getThemingOption: function(name) { throw 'Not implemented'; }, getPageConfiguration: function(permaId) { throw 'Not implemented'; }, getChapterConfiguration: function(id) { throw 'Not implemented'; }, getChapterIdByPagePermaId: function(permaId) { throw 'Not implemented'; }, getChapterPagePermaIds: function(id) { throw 'Not implemented'; }, getParentPagePermaIdByPagePermaId: function(permaId) { var chapterId = this.getChapterIdByPagePermaId(permaId); return this.getParentPagePermaId(chapterId); }, getParentChapterId: function(chapterId) { var pagePermaId = this.getParentPagePermaId(chapterId); return pagePermaId && this.getChapterIdByPagePermaId(pagePermaId); }, getParentPagePermaId: function(chapterId) { return this.getChapterConfiguration(chapterId).parent_page_perma_id; } });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pageflow-0.9.2 | app/assets/javascripts/pageflow/entry_data.js |
pageflow-0.9.1 | app/assets/javascripts/pageflow/entry_data.js |
pageflow-0.9.0 | app/assets/javascripts/pageflow/entry_data.js |