Use only default config

This commit is contained in:
Samy Pessé
2014-08-08 18:58:04 -07:00
parent 78c68c7b9e
commit 66c1b89da2
+1 -12
View File
@@ -44,18 +44,7 @@ Generator.prototype.finish = function() {
};
if (format == "pdf") {
var pdfOptions = _.defaults(that.options.pdf || {}, {
"fontSize": 12,
"toc": true,
"pageNumbers": false,
"paperSize": "a4",
"margin": {
"right": 62,
"left": 62,
"top": 36,
"bottom": 36
}
});
var pdfOptions = that.options.pdf;
_.extend(_options, {
"--margin-left": String(pdfOptions.margin.left),