-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
21339e3
commit 887b15e
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,10 +36,10 @@ If you are going to use X_ITE in a production environment, you should use a fixe | |
jsDelivr is an open-source content delivery network (CDN) renowned for its no-cost access, swift performance, and reliable service. | ||
|
||
```html | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/x_ite.min.js"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/x_ite.min.js"></script> | ||
<!-- or as ES module for use in scripts --> | ||
<script type="module"> | ||
import X3D from "https://cdn.jsdelivr.net/npm/[email protected].0/dist/x_ite.min.mjs"; | ||
import X3D from "https://cdn.jsdelivr.net/npm/[email protected].1/dist/x_ite.min.mjs"; | ||
</script> | ||
``` | ||
|
||
|
@@ -68,7 +68,7 @@ This script initializes an X3D canvas within an HTML page, configuring it to con | |
### Declarative Syntax | ||
|
||
```html | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/x_ite.min.js"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/x_ite.min.js"></script> | ||
<x3d-canvas> | ||
<X3D profile='Interchange' version='4.0'> | ||
<head> | ||
|
@@ -107,7 +107,7 @@ The same scene can also be created using pure JavaScript: | |
|
||
```html | ||
<script type="module"> | ||
import X3D from "https://cdn.jsdelivr.net/npm/[email protected].0/dist/x_ite.min.mjs"; | ||
import X3D from "https://cdn.jsdelivr.net/npm/[email protected].1/dist/x_ite.min.mjs"; | ||
const | ||
browser = X3D .getBrowser (), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.