summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mixins/serverData.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mixins/serverData.js b/src/mixins/serverData.js
index 1fdcbfd1..f1674d32 100644
--- a/src/mixins/serverData.js
+++ b/src/mixins/serverData.js
@@ -20,6 +20,22 @@
*
*/
+/*
+ * 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() {