Modernizr: Uncaught ReferenceError: define is not defined

The latest V3 beta is giving me this error when called into an otherwise blank file. Identical errors in Chrome & Firefox. Options selected seem not to matter.

Uncaught ReferenceError: define is not definedmodernizr.v3.js:25
    (anonymous function)modernizr.v3.js:25
    (anonymous function)

Using: http://pastebin.com/A0D853Zd

Calling into the head as:

<script type="text/javascript" charset="utf-8" src="library/js/modernizr.v3.js"></script>

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 23 (11 by maintainers)

Commits related to this issue

Most upvoted comments

there is the same error again, in the latest 3.4.0 version, minified or not:

  • “ReferenceError: define is not defined” (modernizr-3.4.0.js:30:1) line 29, column 1, code: “define(“test/network/beacon”, function(){});”