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
When Modernizr is built using https://modernizr.com/download/?-beacon-localstorage-video-webp-addtest-setclasses-shiv, Modernizr fails to load with the following issue:
modernizr-3.6.0.custom.min.js:3 Uncaught ReferenceError: define is not defined at modernizr-3.6.0.custom.min.js:3
Adjusting to https://modernizr.com/download/?-localstorage-video-webp-addtest-setclasses-shiv (i.e. removing the Beacon API) works fine.
This also applies to the development build https://modernizr.com/download?do_not_use_in_production
Tested in latest Chrome; can be replicated in Firefox as well.
Calling Modernizr via:
<script src="js/vendor/modernizr-3.6.0.custom.min.js"></script>
When Modernizr is built using
https://modernizr.com/download/?-beacon-localstorage-video-webp-addtest-setclasses-shiv
, Modernizr fails to load with the following issue:Adjusting to
https://modernizr.com/download/?-localstorage-video-webp-addtest-setclasses-shiv
(i.e. removing the Beacon API) works fine.This also applies to the development build
https://modernizr.com/download?do_not_use_in_production
Tested in latest Chrome; can be replicated in Firefox as well.
(Moved from Modernizr/Modernizr#2303)
The text was updated successfully, but these errors were encountered: