Modernizr is a library scripts and CSS can depend on, there is no need to add it on every pages.

Seems to be working.

Files: 
CommentFileSizeAuthor
core-js-modernizr-dep.patch597 bytesnod_
PASSED: [[SimpleTest]]: [MySQL] 55,533 pass(es).
[ View ]

Comments

nod_’s picture

mcjim’s picture

Status:Needs review» Reviewed & tested by the community

This applies and works as expected.

Modernizr is not loaded until called for (currently only by contextual module: this works).

So, no scripts loaded for anonymous users on a clean install! Win!

catch’s picture

Status:Reviewed & tested by the community» Fixed

Committed/pushed to 8.x, thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.