summaryrefslogtreecommitdiffstats
path: root/lib/backbone/page.js
blob: 33bd6368720d8ad4c8f271477ef703b69c939963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

/*
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;
}

// Return the filename of the page with another extension
Page.prototype.withExtension = function(ext) {
    return
};


module.exports = Page;