You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
When I do import 'retinajs' or require('retinajs') the window.retinajs method runs automatically. Isn't it supposed to only run when I call it manually?
This contradicts what is written in the docs. Am I missing something here guys?
The text was updated successfully, but these errors were encountered:
Good catch @fahmilatib. It appears there's a bit of misinformation in the docs. I'll adjust it accordingly alongside an updated release, which should fix the issue.
When I do
import 'retinajs'
orrequire('retinajs')
thewindow.retinajs
method runs automatically. Isn't it supposed to only run when I call it manually?This contradicts what is written in the docs. Am I missing something here guys?
The text was updated successfully, but these errors were encountered: