Skip to content

Commit a0639c7

Browse files
committed
- ✅ update examples import maps to use ARnftThreejs.mjs
- ✅ sync README references to the new .mjs helper
1 parent 531bd61 commit a0639c7

18 files changed

Lines changed: 18 additions & 18 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ and import it as a module:
5858
{
5959
"imports": {
6060
"three": "./js/third_party/three.js/three.module.min.js",
61-
"arnft-threejs": "./js/ARnftThreejs.module.js",
61+
"arnft-threejs": "./js/ARnftThreejs.mjs",
6262
"arnft": "./../dist/ARnft.mjs"
6363
}
6464
}
@@ -81,7 +81,7 @@ or you can use raw.githack services (for development):
8181
{
8282
"imports": {
8383
"three": "https://cdn.jsdelivr.net/npm/three@<version>/build/three.module.min.js",
84-
"arnft-threejs": "https://raw.githack.com/webarkit/ARnft-threejs/master/dist/ARnftThreejs.module.js",
84+
"arnft-threejs": "https://raw.githack.com/webarkit/ARnft-threejs/master/dist/ARnftThreejs.mjs",
8585
"arnft": "https://raw.githack.com/webarkit/ARnft/master/dist/ARnft.mjs"
8686
}
8787
}

examples/arNFT_autoupdate_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"imports": {
2222
"three": "./js/third_party/three.js/three.module.min.js",
23-
"arnft-threejs": "./js/ARnftThreejs.module.js",
23+
"arnft-threejs": "./js/ARnftThreejs.mjs",
2424
"arnft": "./../dist/ARnft.mjs"
2525
}
2626
}

examples/arNFT_container_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"imports": {
2222
"three": "./js/third_party/three.js/three.module.min.js",
23-
"arnft-threejs": "./js/ARnftThreejs.module.js",
23+
"arnft-threejs": "./js/ARnftThreejs.mjs",
2424
"arnft": "./../dist/ARnft.mjs"
2525
}
2626
}

examples/arNFT_event_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{
2424
"imports": {
2525
"three": "./js/third_party/three.js/three.module.min.js",
26-
"arnft-threejs": "./js/ARnftThreejs.module.js",
26+
"arnft-threejs": "./js/ARnftThreejs.mjs",
2727
"arnft": "./../dist/ARnft.mjs"
2828
}
2929
}

examples/arNFT_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"imports": {
2222
"three": "./js/third_party/three.js/three.module.min.js",
23-
"arnft-threejs": "./js/ARnftThreejs.module.js",
23+
"arnft-threejs": "./js/ARnftThreejs.mjs",
2424
"arnft": "./../dist/ARnft.mjs"
2525
}
2626
}

examples/arNFT_gltf_brave_robot_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"imports": {
2222
"three": "./js/third_party/three.js/three.module.min.js",
23-
"arnft-threejs": "./js/ARnftThreejs.module.js",
23+
"arnft-threejs": "./js/ARnftThreejs.mjs",
2424
"arnft": "./../dist/ARnft.mjs"
2525
}
2626
}

examples/arNFT_gltf_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"imports": {
2222
"three": "./js/third_party/three.js/three.module.min.js",
23-
"arnft-threejs": "./js/ARnftThreejs.module.js",
23+
"arnft-threejs": "./js/ARnftThreejs.mjs",
2424
"arnft": "./../dist/ARnft.mjs"
2525
}
2626
}

examples/arNFT_gltf_flamingo_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"imports": {
2222
"three": "./js/third_party/three.js/three.module.min.js",
23-
"arnft-threejs": "./js/ARnftThreejs.module.js",
23+
"arnft-threejs": "./js/ARnftThreejs.mjs",
2424
"arnft": "./../dist/ARnft.mjs"
2525
}
2626
}

examples/arNFT_image_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"imports": {
2222
"three": "./js/third_party/three.js/three.module.min.js",
23-
"arnft-threejs": "./js/ARnftThreejs.module.js",
23+
"arnft-threejs": "./js/ARnftThreejs.mjs",
2424
"arnft": "./../dist/ARnft.mjs"
2525
}
2626
}

examples/arNFT_initialize_raw_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{
2525
"imports": {
2626
"three": "./js/third_party/three.js/three.module.min.js",
27-
"arnft-threejs": "./js/ARnftThreejs.module.js",
27+
"arnft-threejs": "./js/ARnftThreejs.mjs",
2828
"arnft": "./../dist/ARnft.mjs",
2929
"camera-renderer": "./js/cameraViewRenderer.js"
3030
}

0 commit comments

Comments
 (0)