diff --git a/README.md b/README.md index e03e37a..91d80a0 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Example Pen: https://codepen.io/bfintal/pen/zYzOGpZ **JS** ```js -const { counterUp } = window.counterUp +const counterUp = window.counterUp.default const el = document.querySelector( '.counter' ) @@ -129,4 +129,4 @@ new Waypoint( { ``` ### Footnotes -An improvement to https://github.com/bfintal/Counter-Up \ No newline at end of file +An improvement to https://github.com/bfintal/Counter-Up