Sha256: fa1e753fe4556c22213fa0a2868c70365729749db09750d1b315a4d028070572
Contents?: true
Size: 589 Bytes
Versions: 64
Compression:
Stored size: 589 Bytes
Contents
pageflow.StorylineScaffold = pageflow.Scaffold.extend({ build: function() { this.storyline = this.parent.buildStoryline(this.options.storylineAttributes); this.chapter = this.storyline.buildChapter(); if (this.options.depth === 'page') { this.page = this.chapter.buildPage(); } pageflow.editor.trigger('scaffold:storyline', this.storyline); return this.storyline; }, load: function(response) { this.storyline.set(response.storyline); this.chapter.set(response.chapter); if (this.page) { this.page.set(response.page); } } });
Version data entries
64 entries across 64 versions & 1 rubygems