Обновить README.md

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-04-01 16:30:19 +07:00
parent 81aca40016
commit 16cfc341f5

View File

@ -19,11 +19,11 @@ Module for creating "hot lines"
</section>
```
```js
import("/js/modules/hotline.mjs").then((hotline) => {
import("/js/modules/hotline.mjs").then((module) => {
// Imported the hotline.mjs module
// Initializing an instance of the hotline.mjs
const instance = new hotline.default(
const instance = new module.hotline(
'articles',
document.getElementById('wrap_articles')
);