I am looking at javascript code of an app built by using Backbone.js
there I find a function
render: function () {
var that = this,
template = _.template($(that.templateId).html(), that.model.attributes);
}
and Here templateId:"#abc"
I am just trying to understand about the structure of _.template() function
Can anyone please help me out in understanding and how it is taking that.model.attributes as input
please pardon me if you need some more information.