Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 10:31:39 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 10:35:55 +0300
commita384b4a97a2a4444d8e2c831765dbf35c8da0db2 (patch)
tree2bd6a62f0707c85fa9bb9322e1aea90a3b0f4305 /apps/comments/src
parent0f8aca9d87db9022fe942a3d3fbb11433e152676 (diff)
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.js20
-rw-r--r--apps/comments/src/commentsmodifymenu.js2
-rw-r--r--apps/comments/src/commentsummarymodel.js2
-rw-r--r--apps/comments/src/filesplugin.js2
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'),