diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-02-02 15:13:45 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-02-02 18:01:15 +0100 |
commit | 03f4b49eccc381deda4ad17fe7d74817b14b165a (patch) | |
tree | f597d45bbc26fc4eb98269f72762c80e01dbc463 /apps/comments/js/commentcollection.js | |
parent | 9028457ea2a150a586e63421382379f14cebd648 (diff) | |
download | nextcloud-server-03f4b49eccc381deda4ad17fe7d74817b14b165a.tar.gz nextcloud-server-03f4b49eccc381deda4ad17fe7d74817b14b165a.zip |
Added JS unit tests for comments
Diffstat (limited to 'apps/comments/js/commentcollection.js')
-rw-r--r-- | apps/comments/js/commentcollection.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/comments/js/commentcollection.js b/apps/comments/js/commentcollection.js index 055752f327c..f39eeb020fa 100644 --- a/apps/comments/js/commentcollection.js +++ b/apps/comments/js/commentcollection.js @@ -13,14 +13,14 @@ var NS_OWNCLOUD = 'http://owncloud.org/ns'; /** - * @class OCA.Comments.CommentsCollection + * @class OCA.Comments.CommentCollection * @classdesc * * Collection of comments assigned to a file * */ - var CommentsCollection = OC.Backbone.Collection.extend( - /** @lends OCA.Comments.CommentsCollection.prototype */ { + var CommentCollection = OC.Backbone.Collection.extend( + /** @lends OCA.Comments.CommentCollection.prototype */ { sync: OC.Backbone.davSync, @@ -82,7 +82,7 @@ options = _.extend({ remove: false, data: body, - davProperties: CommentsCollection.prototype.model.prototype.davProperties, + davProperties: CommentCollection.prototype.model.prototype.davProperties, success: function(resp) { if (resp.length <= self._limit) { // no new entries, end reached @@ -105,6 +105,6 @@ } }); - OCA.Comments.CommentsCollection = CommentsCollection; + OCA.Comments.CommentCollection = CommentCollection; })(OC, OCA); |