Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_updateBreadcrumbs: function() {
var activeFilters = this._getActiveFilters();
// formulate data to pass to renderer
var renderData = {
totalCount: this._state.totalCount,
activeFilters: activeFilters
};
viewRenderer.renderHTML(this._references.$filterBreadcrumbsContainer, collectionFilterBreadcrumbsTemplate, renderData);
},
_updateBreadcrumbs: function() {
var activeFilters = this._getActiveFilters();
// formulate data to pass to renderer
var renderData = {
totalCount: this._state.totalCount,
activeFilters: activeFilters
};
viewRenderer.renderHTML(this._references.$filterBreadcrumbsContainer, collectionFilterBreadcrumbsTemplate, renderData);
},
_renderSearchItems: function(renderData) {
viewRenderer.renderHTML(this._references.$searchItemsContainer, searchCompletionTemplate, renderData);
},
_renderSearchItems: function(renderData) {
viewRenderer.renderHTML(this._references.$searchItemsContainer, searchCompletionTemplate, renderData);
},
_renderFilters: function() {
var filterDataForRender = this._getFilterDataForRender();
viewRenderer.renderHTML(this._references.$filtersContainer, collectionFilterListTemplate, filterDataForRender);
},
_renderSearchItems: function(renderData) {
viewRenderer.renderHTML(this._references.$searchItemsContainer, searchCompletionTemplate, renderData);
},
_renderFilters: function() {
var filterDataForRender = this._getFilterDataForRender();
viewRenderer.renderHTML(this._references.$filtersContainer, collectionFilterListTemplate, filterDataForRender);
},
currentCommentsItemData._replied = true;
}
currentReply._formattedLikedCount = Util.integerCommaFormat(currentReply.likedCount);
currentReply._likesPlural = currentReply.likedCount != 1;
}
*/
renderCommentsArray.push(currentCommentsItemData);
}
var renderData = {
comments: renderCommentsArray
};
if (addedComment){
viewRenderer.renderHTML(this._references.$commentsList, commentTemplate, renderData);
}
else {
viewRenderer.renderAppend(this._references.$commentsList, commentTemplate, renderData);
}
},