summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrille Bollu <cyrpub@bollu.be>2019-10-15 12:27:48 +0200
committerRobin Appelman <robin@icewind.nl>2020-10-13 23:53:40 +0200
commit265c2686a2e452d4d7e21742aa652219ac06a973 (patch)
tree8efa9363f96cbe396758a9aef4a68df9633c58da
parent9467e267e05a8de94a509a0c7926a2cf85f7016d (diff)
DOC: Updated serverData mixin doc
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
-rw-r--r--src/mixins/serverData.js18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/mixins/serverData.js b/src/mixins/serverData.js
index f1674d32..cf0be10c 100644
--- a/src/mixins/serverData.js
+++ b/src/mixins/serverData.js
@@ -1,6 +1,8 @@
/*
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
+ * @file Provides global methods for using the serverData structure.
+ *
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
@@ -20,22 +22,6 @@
*
*/
-/*
- * This file provides global methods for using the serverData structure
- * the serverData structure's data are initialy found in a DOM element
- * provided by the server.
- *
- * It may contain the following information:
- * - account (only in 'OStatus.vue'): The account that the user wants to follow
- * - cliUrl:
- * - cloudAddress:
- * - firstrun:
- * - isAdmin:
- * - local (only in 'OStatus.vue'): The local part of the account that the user wants to follow
- * - public: False when the page is accessed by an authenticated user. True otherwise.
- * - setup:
- */
-
export default {
computed: {
serverData: function() {