1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* A page represent a parsable file in the book (Markdown, Asciidoc, etc) */ function Page(book, filename) { if (!(this instanceof Page)) return new Page(); this.book = book; this.filename = filename; } module.exports = Page;