Closed (cannot reproduce)
Project:
Aurora
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2012 at 06:38 UTC
Updated:
13 Mar 2013 at 16:02 UTC
Jump to comment: Most recent
Comments
Comment #1
iamcarrico commentedCan you please let me know what version you are using, as well as the settings for putting the JS in the footer, and if you are using the experimental handling.
I have just made some changes, and the code seems to be working on my site... but that is a limited use case.
Comment #2
iamcarrico commentedComment #3
elijah lynnI just had this error and ran through it with xdebug.
This is most likely because you don't have the actual Modernizr JS library installed in either your module folder (sites/*/modules/modernizr/js/modernizr-min.js) or library folder (sites/all/libraries/modernizr/modernizr.min.js).
The function modernizr_get_path() looks in the module & libraries folders for the '/^modernizr[a-z0-9\.-]*\.js$/' file.
To solve you could grab http://modernizr.com/downloads/modernizr-latest.js and put in your Modernizr module folder, like this => sites/*/modules/modernizr/js/modernizr-min.js
Comment #4
elijah lynnCrosslinking similar issue - http://drupal.org/node/1862860
Comment #5
iamcarrico commentedThis error has not been since since that version-- and updates to Aurora / Modernizr seem to have fixed it.
Comment #6
Anonymous (not verified) commentedJust to clarify from #3 above, should this be modernizr-min.js or modernizr.min.js, as is stated on http://drupal.org/project/modernizr?
Comment #7
iamcarrico commentedIt is "modernizr.min.js", all future questions should refer to the modernizr module's docs.