aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/src/activitytabviewplugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/src/activitytabviewplugin.js')
-rw-r--r--apps/comments/src/activitytabviewplugin.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/comments/src/activitytabviewplugin.js b/apps/comments/src/activitytabviewplugin.js
index f7df6147660..c01cdb8146b 100644
--- a/apps/comments/src/activitytabviewplugin.js
+++ b/apps/comments/src/activitytabviewplugin.js
@@ -18,7 +18,7 @@
* @param {jQuery} $el jQuery handle for this activity
* @param {string} view The view that displayes this activity
*/
- prepareModelForDisplay: function(model, $el, view) {
+ prepareModelForDisplay(model, $el, view) {
if (model.get('app') !== 'comments' || model.get('type') !== 'comments') {
return
}
@@ -37,7 +37,7 @@
/*
* Copy of CommentsTabView._onClickComment()
*/
- _onClickCollapsedComment: function(ev) {
+ _onClickCollapsedComment(ev) {
let $row = $(ev.target)
if (!$row.is('.comment')) {
$row = $row.closest('.comment')
@@ -48,7 +48,7 @@
/*
* Copy of CommentsTabView._isLong()
*/
- _isLong: function(message) {
+ _isLong(message) {
return message.length > 250 || (message.match(/\n/g) || []).length > 1
},
}