Closed DaQuirm closed 11 years ago
This should also be a CanJS problem then. Could you try creating a Fiddle with an EJS template that breaks?
Yes, I got the same error message: http://jsfiddle.net/qYdwR/908/ I wonder why CanJS EJS doesn't support these statements. I'm using Steal.js and all such templates compile alright... In any case, I should probably create a CanJS issue, right?
I saw your forum post. It will probably help to create a CanJS issue as well to better keep track of it. Closing this issue though as any fix will make it automatically into can-compile (at least 0.3.0).
Using break and continue statements in templates produces the following error upon compilation:
Fatal error: Illegal break statement
Example: