From fa352c7fd4e822c45fc705267078ddc6aed2fc2f Mon Sep 17 00:00:00 2001 From: Diogo Bento <8176105+dgobnto@users.noreply.github.com> Date: Tue, 17 Apr 2018 13:50:24 -0100 Subject: [PATCH] Update README.md Typo at import command. Should be retinajs (before was retina) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 277d975..68ac254 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,7 @@ retinajs( document.querySelectorAll('img') ); To use retina.js the new-school way, you'll want to `require` it (or `import` it if you're using ES6) into your Gulp/Webpack/Grunt/CommonJS/etc application. In this case, the script won't run automatically. Instead, it'll let you determine when you'd like it to run. ```JavaScript -import retina from 'retina'; +import retina from 'retinajs'; window.addEventListener('load', retina); ```