summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/binaryen.jsoo-extern-pre.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/js/binaryen.jsoo-extern-pre.js b/src/js/binaryen.jsoo-extern-pre.js
new file mode 100644
index 000000000..fdfee1c22
--- /dev/null
+++ b/src/js/binaryen.jsoo-extern-pre.js
@@ -0,0 +1,6 @@
+// js_of_ocaml needs a special syntax for exposing variables to the compiler
+// and it is not built for nodejs so we don't need the __dirname hack
+
+//Provides: Binaryen
+var Binaryen = {};
+