UNPKG

afterwriting

Version:

Post-processing tools for Fountain screenplays

23 lines (15 loc) 454 B
define(function(require) { var Protoplast = require('protoplast'); var SettingsGroup = Protoplast.Model.extend({ title: null, entries: null, $create: function(title) { this.title = title; this.entries = Protoplast.Collection.create([]); }, addEntry: function(entry) { this.entries.add(entry); } }); return SettingsGroup; });