diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 09:31:39 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 09:35:55 +0200 |
commit | a384b4a97a2a4444d8e2c831765dbf35c8da0db2 (patch) | |
tree | 2bd6a62f0707c85fa9bb9322e1aea90a3b0f4305 /apps/comments/src | |
parent | 0f8aca9d87db9022fe942a3d3fbb11433e152676 (diff) | |
download | nextcloud-server-a384b4a97a2a4444d8e2c831765dbf35c8da0db2.tar.gz nextcloud-server-a384b4a97a2a4444d8e2c831765dbf35c8da0db2.zip |
Bump @nextcloud/eslint-config and peers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/comments/src')
-rw-r--r-- | apps/comments/src/commentmodel.js | 20 | ||||
-rw-r--r-- | apps/comments/src/commentsmodifymenu.js | 2 | ||||
-rw-r--r-- | apps/comments/src/commentsummarymodel.js | 2 | ||||
-rw-r--r-- | apps/comments/src/filesplugin.js | 2 |
4 files changed, 13 insertions, 13 deletions
diff --git a/apps/comments/src/commentmodel.js b/apps/comments/src/commentmodel.js index aff8e7f6708..2c547d39948 100644 --- a/apps/comments/src/commentmodel.js +++ b/apps/comments/src/commentmodel.js @@ -40,16 +40,16 @@ }, davProperties: { - 'id': OC.Files.Client.PROPERTY_FILEID, - 'message': OC.Files.Client.PROPERTY_MESSAGE, - 'actorType': OC.Files.Client.PROPERTY_ACTORTYPE, - 'actorId': OC.Files.Client.PROPERTY_ACTORID, - 'actorDisplayName': OC.Files.Client.PROPERTY_ACTORDISPLAYNAME, - 'creationDateTime': OC.Files.Client.PROPERTY_CREATIONDATETIME, - 'objectType': OC.Files.Client.PROPERTY_OBJECTTYPE, - 'objectId': OC.Files.Client.PROPERTY_OBJECTID, - 'isUnread': OC.Files.Client.PROPERTY_ISUNREAD, - 'mentions': OC.Files.Client.PROPERTY_MENTIONS, + id: OC.Files.Client.PROPERTY_FILEID, + message: OC.Files.Client.PROPERTY_MESSAGE, + actorType: OC.Files.Client.PROPERTY_ACTORTYPE, + actorId: OC.Files.Client.PROPERTY_ACTORID, + actorDisplayName: OC.Files.Client.PROPERTY_ACTORDISPLAYNAME, + creationDateTime: OC.Files.Client.PROPERTY_CREATIONDATETIME, + objectType: OC.Files.Client.PROPERTY_OBJECTTYPE, + objectId: OC.Files.Client.PROPERTY_OBJECTID, + isUnread: OC.Files.Client.PROPERTY_ISUNREAD, + mentions: OC.Files.Client.PROPERTY_MENTIONS, }, parse(data) { diff --git a/apps/comments/src/commentsmodifymenu.js b/apps/comments/src/commentsmodifymenu.js index 98ca7dc427e..5be56ed6038 100644 --- a/apps/comments/src/commentsmodifymenu.js +++ b/apps/comments/src/commentsmodifymenu.js @@ -58,7 +58,7 @@ * Renders the menu with the currently set items */ render() { - this.$el.html(OCA.Comments.Templates['commentsmodifymenu']({ + this.$el.html(OCA.Comments.Templates.commentsmodifymenu({ items: this._scopes, })) }, diff --git a/apps/comments/src/commentsummarymodel.js b/apps/comments/src/commentsummarymodel.js index 86d5c71b354..b1eea97c975 100644 --- a/apps/comments/src/commentsummarymodel.js +++ b/apps/comments/src/commentsummarymodel.js @@ -41,7 +41,7 @@ _objectId: null, davProperties: { - 'readMarker': OC.Files.Client.PROPERTY_READMARKER, + readMarker: OC.Files.Client.PROPERTY_READMARKER, }, /** diff --git a/apps/comments/src/filesplugin.js b/apps/comments/src/filesplugin.js index a0331b5390c..384f769c233 100644 --- a/apps/comments/src/filesplugin.js +++ b/apps/comments/src/filesplugin.js @@ -32,7 +32,7 @@ ], _formatCommentCount(count) { - return OCA.Comments.Templates['filesplugin']({ + return OCA.Comments.Templates.filesplugin({ count, countMessage: n('comments', '%n unread comment', '%n unread comments', count), iconUrl: OC.imagePath('core', 'actions/comment'), |