BorisMoore/jsrender — Issue #16: Unterminated string constant in IE8
Author: dgurich
Created: 2011-11-07 14:32:04+00:00
State: open

It looks like the latest version causes an error in IE8 resulting in the following error: "Unterminated string constant." The error seems to occur in the function ``` buildTmplFunction``` at this line:

```javascript
try {
ret = new Function("$data, $view", code.slice(0, -1) + ";return result;\n\n}catch(e){return views.err(e);}");
} catch (e) {
ret = function () {
return viewsNs.err(e);
};
}
```
This error is visible in all the demos.

Thanks!