I have a really simple template that causes a syntax error with kendo templates in Google Chrome. I'm using Kendo beta2 and jQuery 1.6.4. Here's the template:
This is broken:
This works:
Notice that's the exact same line, except with and without the = sign. The error that it gives is this:
If you want to see for yourself, here's the jsfiddle
Notice nothing is displayed, and there's an error in the javascript console.
It seems like variable assignment in a non-printing # block is breaking the parser. Any thoughts?
This is broken:
<script type="text/x-kendo-template" id="test"> # length = "abc".length # #= length #</script>This works:
<script type="text/x-kendo-template" id="test"> #= length = "abc".length #</script>Notice that's the exact same line, except with and without the = sign. The error that it gives is this:
Notice nothing is displayed, and there's an error in the javascript console.
It seems like variable assignment in a non-printing # block is breaking the parser. Any thoughts?