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