Обновить 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> </section>
``` ```
```js ```js
import("/js/modules/hotline.mjs").then((hotline) => { import("/js/modules/hotline.mjs").then((module) => {
// Imported the hotline.mjs module // Imported the hotline.mjs module
// Initializing an instance of the hotline.mjs // Initializing an instance of the hotline.mjs
const instance = new hotline.default( const instance = new module.hotline(
'articles', 'articles',
document.getElementById('wrap_articles') document.getElementById('wrap_articles')
); );