Mark the methods as copied

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Joas Schilling 2016-04-26 15:18:55 +02:00 committed by Joas Schilling
parent bd0c9489f6
commit ed70d4a2dc
No known key found for this signature in database
GPG key ID: E166FD8976B3BAC8

View file

@ -34,6 +34,9 @@
}
},
/*
* Copy of CommentsTabView._onClickComment()
*/
_onClickCollapsedComment: function(ev) {
var $row = $(ev.target);
if (!$row.is('.comment')) {
@ -42,9 +45,8 @@
$row.removeClass('collapsed');
},
/**
* Returns whether the given message is long and needs
* collapsing
/*
* Copy of CommentsTabView._isLong()
*/
_isLong: function(message) {
return message.length > 250 || (message.match(/\n/g) || []).length > 1;