UNPKG
phnq_ejs
Version:
latest (1.0.9)
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Embedded JavaScript templating tool
github.com/pgostovic/phnq_ejs
pgostovic/phnq_ejs
phnq_ejs
/
test
/
test12.txt
27 lines
(26 loc)
•
240 B
Plain Text
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
it should correctly scope using
'with'
========== { _locals: { one: { two: { three: { foo:
"bar"
, bubba:
"gump"
} } } } } ========== {with one.two.three}
${foo}
${bubba}
{/with} ========== bar gump