varvet / serenade.js

Client side MVC framework
http://serenadejs.org
Other
524 stars 27 forks source link

Add view name to syntaxt error message, parse view only once. #66

Closed maciejka closed 12 years ago

maciejka commented 12 years ago

View parse tree caching makes huge difference in slow IE8.

travisbot commented 12 years ago

This pull request passes (merged e5cc7bfa into 696306d9).

jnicklas commented 12 years ago

I've added the caching part, I like that, but I'm omitting the view name in syntax error for now. We can't be sure that the view even has a name. I'll have to think about this a bit.

jnicklas commented 12 years ago

Actually, I changed my mind. I changed it so that the view name is only added when the view has a name.