diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-01-30 17:21:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-30 17:21:31 -0500 |
commit | 00597ffde1ebb05a6c60ea7e09e6578c11f92820 (patch) | |
tree | 849b6b22c07ed38a4b424c363c06435ea2de4fa9 /tests/imports_meta.js | |
parent | 7d278a0383ce634f4fa3dd792e9b202582a6fde1 (diff) |
Refactor libdeno ES module interface. (#1624)
Allows for future asynchronous module loading.
Add support for import.meta.url
Fixes #1496
Diffstat (limited to 'tests/imports_meta.js')
-rw-r--r-- | tests/imports_meta.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/imports_meta.js b/tests/imports_meta.js new file mode 100644 index 000000000..3361d1237 --- /dev/null +++ b/tests/imports_meta.js @@ -0,0 +1,3 @@ +console.log("imports_meta", import.meta.url); + +import "imports_meta2.js"; |