Fix html 5 mode setting, esp for non-min

This commit is contained in:
Vit Brunner
2015-03-13 17:19:15 +01:00
parent 09fa1e49c8
commit 2e70e83d68
+5 -2
View File
@@ -82,7 +82,7 @@ module.exports = (grunt) ->
test_styles: [
'bower_components/qunit/qunit/qunit.css'
]
html5mode: false
html5Mode: false
min: false
}
@@ -203,7 +203,10 @@ module.exports = (grunt) ->
grunt.config 'jade', add([
[ 'main', { options: {
data: _.extend {}, vars, { base: get_base(vars) }
data: _.extend {}, vars, {
base: get_base(vars)
html5Mode: true
}
pretty: true
}}]
[ 'min', { options: {