summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGökay Şatır <gokaysatir@collabora.com>2022-04-13 11:50:47 +0300
committerAndras Timar <andras.timar@collabora.com>2022-04-19 11:01:56 +0200
commit3a756ee18714fd2febe0648ee95adf69570bb346 (patch)
treecdc49a14220d4b4683875b6ef68943219dae4ac0
parentAdded validation feature for window.app object. (diff)
downloadonline-3a756ee18714fd2febe0648ee95adf69570bb346.tar.gz
online-3a756ee18714fd2febe0648ee95adf69570bb346.zip
Add a comment for window.app definition into global.js file.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I111eda6182235a307b40a297466a1fb4a74ad5bf
-rw-r--r--browser/js/global.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/browser/js/global.js b/browser/js/global.js
index 672a8841d6..8c742707b4 100644
--- a/browser/js/global.js
+++ b/browser/js/global.js
@@ -1,6 +1,10 @@
/* -*- js-indent-level: 8 -*- */
/* global Uint8Array */
+/*
+ For extending window.app object, please see "docstate.js" file.
+ Below definition is only for the properties that this (global.js) file needs at initialization.
+*/
window.app = {
socket: null,
console: {}