“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. Both comments and trackbacks are currently closed.