Closed digitalxero closed 13 years ago
No but I will make one tomorrow
Thanks Digitalxero. Yes, I would also like to see an example of how this happens before integrating this change. There have been cases when people have hit an error on that line of code because they were in fact not using the template APIs correctly... So it would be great to see a complete example...
Thanks for taking the time to submit this pull request. Unfortunately this plugin is no longer being actively developed or maintained by the jQuery team. See README for more info.
add a safety check to make sure we are calling a function. In several of my nested templates newItem.tmpl was getting set as an object or array and would crash here. Adding the check and setting the _ctnt to the obj or array fixed this and cause the templates to parse as expected.