Improved tests for the var tag

This commit is contained in:
Patrick Steele-Idem 2015-12-22 10:54:25 -07:00
parent 6216d210ca
commit b6d6f4fdad
8 changed files with 12 additions and 9 deletions

View File

@ -0,0 +1 @@
1711undefined

View File

@ -0,0 +1,6 @@
<var x=1 y=7 z=x+10 unusedVar>
${x}
${y}
${z}
</var>
${typeof x}

View File

@ -1 +0,0 @@
FRANK 36501711

View File

@ -1,8 +0,0 @@
<var name='Frank' age=10/>
${name.toUpperCase()} ${age*365}
<var x=1 y=7 z=x+10 unusedVar>
${x}
${y}
${z}
</var>

View File

@ -0,0 +1 @@
FRANK 3650

View File

@ -0,0 +1,3 @@
<var name='Frank' age=10/>
${name.toUpperCase()} ${age*365}

View File

@ -0,0 +1 @@
exports.templateData = {};