summaryrefslogtreecommitdiffstats
path: root/lib/book.js
blob: 62667a97d536437b73cb123ad5b11e8704f8d0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
var _ = require("lodash");

var Configuration = require("./configuration");

var Book = function(root) {
	// Root folder of the book
	this.root = root;

	// Configuration
	this.config = new Configuration(this);
	Object.defineProperty(this, "options", {
		get: function () {
			return this.config.options;
		}
	});
};

module.exports= Book;