Ignore attributes on the static tag

This commit is contained in:
Patrick Steele-Idem 2017-03-01 16:23:38 -07:00
parent 592ba7337b
commit e8c3c390d0
4 changed files with 9 additions and 2 deletions

View File

@ -60,7 +60,7 @@
"events": "^1.0.2",
"events-light": "^1.0.0",
"he": "^1.1.0",
"htmljs-parser": "^2.3.0",
"htmljs-parser": "^2.3.1",
"lasso-caching-fs": "^1.0.1",
"lasso-modules-client": "^2.0.3",
"lasso-package-root": "^1.0.1",

View File

@ -155,7 +155,10 @@
]
},
"<static>": {
"code-generator": "./static-tag"
"code-generator": "./static-tag",
"parse-options": {
"ignoreAttributes": true
}
},
"<unless>": {
"node-factory": "./unless-tag",

View File

@ -0,0 +1 @@
<div>true</div>

View File

@ -0,0 +1,3 @@
static var startDate = new Date();
<div>${startDate instanceof Date}</div>