We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TEMPLATE()
1 parent cad5732 commit 52a9d46Copy full SHA for 52a9d46
changelog.txt
@@ -2,6 +2,8 @@
2
0.0.84
3
========================
4
5
+- fixed `TEMPLATE()` parser
6
+
7
8
0.0.83
9
templates.js
@@ -126,7 +126,7 @@ function parse(body) {
126
beg = body.indexOf('<scr' + 'ipt type="text/json">');
127
if (beg !== -1) {
128
end = body.indexOf('</scr' + 'ipt>', beg + 8);
129
- model = PARSE(body.substring(beg + 25, end).trim());
+ model = body.substring(beg + 25, end).trim().parseJSON(true);
130
body = body.substring(0, beg) + body.substring(end + 9);
131
}
132
0 commit comments