From 265c2686a2e452d4d7e21742aa652219ac06a973 Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Tue, 15 Oct 2019 12:27:48 +0200 Subject: [PATCH] DOC: Updated serverData mixin doc Signed-off-by: Cyrille Bollu --- src/mixins/serverData.js | 18 ++---------------- 1 file 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 * + * @file Provides global methods for using the serverData structure. + * * @author Julius Härtl * * @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() {