Add option pdf.pageNumber

Fix GitbookIO/editor#38
This commit is contained in:
Samy Pessé
2014-06-03 16:24:35 +02:00
parent 5d51263a58
commit c803270af8
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ function escapeShellArg(arg) {
function optionsToShellArgs(options) {
return _.chain(options)
.map(function(value, key) {
if (value == null) return null;
if (value == null || value == false) return null;
if (value == true) return key;
return key+"="+escapeShellArg(value);
})