summaryrefslogtreecommitdiffstats
path: root/static/emscripten/environment.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/emscripten/environment.js')
-rw-r--r--static/emscripten/environment.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/static/emscripten/environment.js b/static/emscripten/environment.js
new file mode 100644
index 000000000..bc60fddcb
--- /dev/null
+++ b/static/emscripten/environment.js
@@ -0,0 +1,5 @@
+if (!('preRun' in Module)) Module['preRun'] = [];
+Module.preRun.push(function() {
+ ENV.SAL_LOG = "+WARN"
+ ENV.SAL_VCL_QT5_USE_CAIRO = "1"
+});