aboutsummaryrefslogtreecommitdiffstats
path: root/etherpad/src/etherpad/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad/src/etherpad/helpers.js')
-rw-r--r--etherpad/src/etherpad/helpers.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/etherpad/src/etherpad/helpers.js b/etherpad/src/etherpad/helpers.js
index e16c2f7..aec3bc3 100644
--- a/etherpad/src/etherpad/helpers.js
+++ b/etherpad/src/etherpad/helpers.js
@@ -77,6 +77,10 @@ function addClientVars(vars) {
});
}
+function getClientVar(name) {
+ return _hd().clientVars[name];
+}
+
function addToHead(stuff) {
_hd().headExtra += stuff;
}