I\'m having a problem with Underscore.js templates and Internet Explorer. Here\'s part of the template which is causing trouble:
<% if ( typeo
If you typeof something and the something is null, object is returned. Try checking for null after checking for 'undefined'.
typeof something
null
object
'undefined'