-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version bump #162
base: main
Are you sure you want to change the base?
Version bump #162
Conversation
Please rework this to have a single variable controlling the version everywhere |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Current solution does not work. Try to get a better understanding about how the ``` actually works. We want to get the same rendering style using HTML directly.
``` | ||
<div style={{ textAlign: "center", margin: "0 auto", color: "#ff6347" }}> | ||
<script src=`https://cxrtnc.leaningtech.com/`{VERSION} | ||
`/cx.js`></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -23,12 +28,13 @@ CheerpX is also available as an ES6 JavaScript module. If you prefer to use the | |||
|
|||
```html | |||
<script type="module"> | |||
import * as CheerpX from "https://cxrtnc.leaningtech.com/1.0.0/cx.esm.js"; | |||
// Insert the version number of CheerpX | |||
import * as CheerpX from "https://cxrtnc.leaningtech.com/{VERSION_NUMBER}/cx.esm.js"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.