diff --git a/README.md b/README.md index eb4c0af..9c1e3bb 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,11 @@ Module for creating "hot lines" ``` ```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') );