Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to add Modernizr version number to top of downloaded custom build? #75

Closed
dixhuit opened this issue Mar 20, 2014 · 1 comment
Closed

Comments

@dixhuit
Copy link

dixhuit commented Mar 20, 2014

When downloading a custom build from the Modernizr website, the comment at the top of the file includes a rather useful indication of the version of Modernizr used.

For example (note 2.7.1):

/* Modernizr 2.7.1 (Custom Build) | MIT & BSD
 * Build: http://modernizr.com/download/#-inlinesvg-svg-printshiv-cssclasses-load
 */

Yet when grunt-modernizr downloads a custom build, this version number is omitted. Granted, the version number is included elsewhere in the code but it's not nearly as prominent or easy to find via RegX.

Would it be possible for grunt-modernizr to include this version number, in the same place as the example above for consistency?

@rupl
Copy link

rupl commented Mar 20, 2014

I see the creation of the string in gruntifier.js but I can't find an indicator of which Modernizr version is currently in use. Is this variable exposed somewhere?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants