DOC: Updated serverData mixin doc

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
pull/793/head
Cyrille Bollu 2019-10-15 12:27:48 +02:00 zatwierdzone przez Robin Appelman
rodzic 9467e267e0
commit 265c2686a2
1 zmienionych plików z 2 dodań i 16 usunięć

Wyświetl plik

@ -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() {