BorisMoore / jsrender

A lightweight, powerful and highly extensible templating engine. In the browser or on Node.js, with or without jQuery.
http://www.jsviews.com
MIT License
2.68k stars 340 forks source link

jsrender do not work on IE8 by trailing comma #241

Closed tnanba closed 10 years ago

tnanba commented 10 years ago

Trainling comma exists in jsrender.js line 777, so syntax error occured in IE8.

https://github.com/BorisMoore/jsrender/blob/master/jsrender.js#L777

BorisMoore commented 10 years ago

Thanks - I was aware of this and have a fix coming - but did not realize it broke IE8. See also https://github.com/BorisMoore/jsviews/pull/275. I will try to get the update submitted within a couple of days.

BorisMoore commented 10 years ago

This has been fixed in commit 57.