|
@ -342,7 +342,7 @@ Item.prototype._updateContents = function (element) { |
|
|
|
|
|
|
|
|
if (this.options.template) { |
|
|
if (this.options.template) { |
|
|
templateFunction = this.options.template.bind(this); |
|
|
templateFunction = this.options.template.bind(this); |
|
|
content = templateFunction(itemData, element); |
|
|
|
|
|
|
|
|
content = templateFunction(itemData, element, this.data); |
|
|
} else { |
|
|
} else { |
|
|
content = this.data.content; |
|
|
content = this.data.content; |
|
|
} |
|
|
} |
|
|