-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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:
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.
(Moved from Modernizr/Modernizr#2303)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels