‘;
html += ”;
} else
html += ”;
go back html;
},
/**
*
* @param Object opts Must specify the next key:
*/
loadMore: serve as(opts){
var args = ;
var self = this;
var pendingXhr = ++this.state.lastXhr;
var feedback = this.state.feedback[args.sort];
var loadingIndicator = ‘feedbackLoadingIndicator’;
if (!feedback)
if (opts.subsequent)
if (feedback.records.period >= Math.min(feedback.web page * this.props.pageSize, consts.TOTAL_COMMENTS))
if (this.state.commentCount === zero)
args.web page = feedback.web page;
this.state.loadingNode = true;
this.els.feedbackContentContainer.fadeTo(100, zero.five);
$.put up(this.url.backend, args).then(serve as(res) !res.feedback.standing)
if (res.votes) );
if(res.kind != ‘rejected’) else
$.merge(feedback.records, rows);
if (pendingXhr !== self.state.lastXhr)
if (opts.append) else
self.state.commentCount = feedback.records.period;
var commentCount = self.state.commentCount;
if (commentCount >= consts.TOTAL_COMMENTS) consts.TOTAL_COMMENTS – commentCount – 1 = insertPoint)
setTimeout(KSL.information.dfp.loadAds, zero);
};
kslEventBus.on(kslEventBus.tournamentTypes.commentsLoaded, $.proxy(kslComments.loadCommentAdvert, kslComments));
kslEventBus.on(‘feedback.fetch’, $.proxy(kslComments.loadMore, kslComments));
$(kslComments.els.commentsBubble).on(‘click on’, serve as());
$(kslComments.els.commentsLoadBtn).on(‘click on’, serve as());
$(kslComments.els.commentsLoadMoreBtn).on(‘click on’, serve as());
var kslCommentsSorting = {
state: ,
els: ,
onSelect: serve as(tournament)
};
kslCommentsSorting.els.button.on(‘click on’, kslCommentsSorting.onSelect);
$frame.on(‘click on’, ‘.thumb’, serve as() );
$(‘.reauth-box’).on(‘click on’, ‘button[data-intent=close]’, serve as() );
$(‘.reauth-box’).on(‘click on’, ‘h3’, serve as() );
$frame.on(‘mouseenter’, ‘.thumb’, serve as() ).on(‘mouseleave’,’.buttonBox’, serve as() );
});