Skip to content

Commit 450a7d3

Browse files
authored
Update README.md
1 parent 716085e commit 450a7d3

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,11 @@ const { ray } = require('node-ray/web');
7272

7373
### Browser standalone
7474

75-
`node-ray` may be directly used within a web page via a script tag. The standalone version includes everything _except_ the axios library.
75+
> **Important Note** - As of version `1.20.6`, you should no longer include `axios` as a separate `<script>` tag.
76+
>
77+
> It is now included in the standalone build.
78+
79+
`node-ray` may be directly used within a web page via a script tag. The standalone version includes all required libraries, **including** axios.
7680

7781
```html
7882
<script src="https://cdn.jsdelivr.net/npm/node-ray@latest/dist/standalone.min.js"></script>
@@ -85,10 +89,8 @@ const { ray } = require('node-ray/web');
8589

8690
As of version `1.20.3`, you may use the `rayInit()` method instead of manually assigning properties to the `window` global object. `rayInit()` is simply a wrapper around the above method to provide a better developer experience as well as more succinct and readable code:
8791

88-
<!-- <script src="https://cdn.jsdelivr.net/npm/axios@latest"></script>-->
89-
9092
```html
91-
<script src="https://cdn.jsdelivr.net/npm/node-ray@latest/dist/standalone.js"></script>
93+
<script src="https://cdn.jsdelivr.net/npm/node-ray@latest/dist/standalone.min.js"></script>
9294
<script>
9395
rayInit(window);
9496
ray('hello world');

0 commit comments

Comments
 (0)