summaryrefslogtreecommitdiff
path: root/esm
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2024-11-26 17:01:07 +0200
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2024-11-26 17:01:07 +0200
commit5c42b94698eb7be04a492edbda87466804615b79 (patch)
tree12201872e9fe1b8dcc146a696fc84c57eb916284 /esm
parent8d308fe5f7a83d635ef14e95c8e9abc171f76c7e (diff)
downloadslidetray-master.tar.gz
slidetray-master.tar.bz2
slidetray-master.zip
rename extention to .mjs for the esm modulesHEADmasterdevelopment
Diffstat (limited to 'esm')
-rw-r--r--esm/index.html2
-rw-r--r--esm/scripts/app.js6
-rw-r--r--esm/scripts/app.mjs6
-rw-r--r--esm/scripts/presentation.mjs (renamed from esm/scripts/presentation.js)0
-rw-r--r--esm/scripts/slidetray.mjs (renamed from esm/scripts/slidetray.js)0
5 files changed, 7 insertions, 7 deletions
diff --git a/esm/index.html b/esm/index.html
index 08791eb..2d320a2 100644
--- a/esm/index.html
+++ b/esm/index.html
@@ -13,6 +13,6 @@
</div>
</body>
- <script type="module" src="scripts/app.js"></script>
+ <script type="module" src="scripts/app.mjs"></script>
</html>
diff --git a/esm/scripts/app.js b/esm/scripts/app.js
deleted file mode 100644
index 78f1790..0000000
--- a/esm/scripts/app.js
+++ /dev/null
@@ -1,6 +0,0 @@
-import config from './presentation.js'
-
-import slidetray from './slidetray.js'
-
-let presentation = slidetray(config);
-presentation.prepare().apply().show();
diff --git a/esm/scripts/app.mjs b/esm/scripts/app.mjs
new file mode 100644
index 0000000..1aacdf5
--- /dev/null
+++ b/esm/scripts/app.mjs
@@ -0,0 +1,6 @@
+import config from './presentation.mjs'
+
+import slidetray from './slidetray.mjs'
+
+let presentation = slidetray(config);
+presentation.prepare().apply().show();
diff --git a/esm/scripts/presentation.js b/esm/scripts/presentation.mjs
index 47f174d..47f174d 100644
--- a/esm/scripts/presentation.js
+++ b/esm/scripts/presentation.mjs
diff --git a/esm/scripts/slidetray.js b/esm/scripts/slidetray.mjs
index f1ef2f7..f1ef2f7 100644
--- a/esm/scripts/slidetray.js
+++ b/esm/scripts/slidetray.mjs