diff --git a/runtime/rehack/js/Array_.js b/runtime/rehack/js/Array_.js index ab33b7dd..a17f663c 100644 --- a/runtime/rehack/js/Array_.js +++ b/runtime/rehack/js/Array_.js @@ -1 +1 @@ -module.exports = require('Array.js'); +module.exports = require('./Array.js'); diff --git a/runtime/rehack/js/List_.js b/runtime/rehack/js/List_.js new file mode 100644 index 00000000..de733d84 --- /dev/null +++ b/runtime/rehack/js/List_.js @@ -0,0 +1 @@ +module.exports = require('./List.js'); diff --git a/runtime/rehack/js/String_.js b/runtime/rehack/js/String_.js index 4889ddba..ccc1abfb 100644 --- a/runtime/rehack/js/String_.js +++ b/runtime/rehack/js/String_.js @@ -1 +1 @@ -module.exports = require('String.js'); +module.exports = require('./String.js'); diff --git a/runtime/rehack/js/runtime.js b/runtime/rehack/js/runtime.js index eab5a416..52775264 100644 --- a/runtime/rehack/js/runtime.js +++ b/runtime/rehack/js/runtime.js @@ -2,9 +2,8 @@ * Runtime * @providesModule Runtime */ -"use strict"; -let joo_global_object = global; +joo_global_object = global; var caml_oo_last_id = 0; @@ -5644,4 +5643,4 @@ caml_register_global( ); -module.exports = global.jsoo_runtime; \ No newline at end of file +module.exports = global.jsoo_runtime;