aboutsummaryrefslogtreecommitdiffstats
path: root/js/vapi-common.js
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2019-07-04 18:41:18 +0200
committerAlessio Vanni <vannilla@firemail.cc>2019-07-04 18:41:18 +0200
commit6908a6c89f9f44380faa1831ec13cff4042b671a (patch)
tree075f1c34a991f1c545645dc20aa04f8a118d9bca /js/vapi-common.js
parent29943a00d915abd025dc93f7f52b3b03aabf149f (diff)
downloadematrix-6908a6c89f9f44380faa1831ec13cff4042b671a.tar.lz
ematrix-6908a6c89f9f44380faa1831ec13cff4042b671a.tar.xz
ematrix-6908a6c89f9f44380faa1831ec13cff4042b671a.zip
Make vAPI definitely global
At least for background.html, it can be defined once at the start of vapi-core and then populated.
Diffstat (limited to 'js/vapi-common.js')
-rw-r--r--js/vapi-common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/vapi-common.js b/js/vapi-common.js
index 1bc20bc..9a322ec 100644
--- a/js/vapi-common.js
+++ b/js/vapi-common.js
@@ -42,7 +42,7 @@ if (self.vAPI === undefined) {
self.vAPI = {};
}
-var vAPI = self.vAPI;
+var vAPI = self.vAPI; // This is used also when vapi-core is not available
/******************************************************************************/