lib/parse/parsePage.js
function parsePage(book, page) {
    var fs = book.getContentFS();
    var file = page.getFile();

    return fs.readAsString(file.getPath())
    .then(function(content) {
        return parsePageFromString(page, content);
    });
}
function parsePage(book, page) {
    var fs = book.getContentFS();
    var file = page.getFile();

    return fs.readAsString(file.getPath())
    .then(function(content) {
        return parsePageFromString(page, content);
    });
}
function parsePage ( book , page ) { var fs = book . getContentFS ( ) ; var file = page . getFile ( ) ; return fs . readAsString ( file . getPath ( ) ) . then ( function ( content ) { return parsePageFromString ( page , content ) ; } ) ; }
Parse a page, read its content and parse the YAMl header

@param {Book} book
@param {Page} page
@return {Promise<Page>}
Parse a page read its content and parse the YAMl header