“TypeError: ‘undefined’ is not an object” in JavaScript on Safari

jquery-tmpl causes the below error when wrap is called like {{wrap () "#id"}} on Safari (5.1). It should be {{wrap "#id"}}. No parentheses. On Chrome, it works well either way. jquery-tmpl is no longer actively developed, so I should use jsrender or something else anyways.

TypeError: 'undefined' is not an object (evaluating 'call._')

This entry was posted in Tweak. Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">