documentcloud/underscore — pull request #880 by JacksonTian (2012-12-02 22:28:50+00:00)
Title: Make the exception message friendly

the template method is small and smarty, but not friendly for debug. this patch can help developers to debug template. It's useful.
```
ReferenceError: 4
2| <%
3| // a comment
>> 4| if (data) { data += 12345; }; %>
5|
<%= data %>

6|

data is not defined
at eval (eval at (file://localhost/Users/jacksontian/fork/my_underscore/underscore.js:1196:20), :29:9)
at Function._.template (file://localhost/Users/jacksontian/fork/my_underscore/underscore.js:1202:22)
at Object. (file://localhost/Users/jacksontian/fork/my_underscore/test/utility.js:193:21)
```