aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/src/comments-app.js
blob: a91a4bb37bb612cff8898c6d25c78c8c24b716fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

import CommentsInstance from './services/CommentsInstance.js'

// Init Comments
if (window.OCA && !window.OCA.Comments) {
	Object.assign(window.OCA, { Comments: {} })
}

// Init Comments App view
Object.assign(window.OCA.Comments, { View: CommentsInstance })
console.debug('OCA.Comments.View initialized')