summaryrefslogtreecommitdiffstats
path: root/lib/backbone/page.js
blob: fdfe3f7dbeac393ee4aa24010a7f180032973b2a (plain)
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;