pug-code-gen
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -61,2 +61,7 @@ 'use strict'; | ||
} | ||
if (this.pp && !/^\s+$/.test(this.pp)) { | ||
throw new Error( | ||
'The pretty parameter should either be a boolean or whitespace only string' | ||
); | ||
} | ||
this.debug = false !== options.compileDebug; | ||
@@ -63,0 +68,0 @@ this.indents = 0; |
{ | ||
"name": "pug-code-gen", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Default code-generator for pug. It generates HTML via a JavaScript template function.", | ||
@@ -26,4 +26,3 @@ "keywords": [ | ||
"author": "Forbes Lindesay", | ||
"license": "MIT", | ||
"gitHead": "1bdf628a70fda7a0d840c52f3abce54b1c6b0130" | ||
"license": "MIT" | ||
} |
26712
734