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

classPrefix is not applied to first feature #1053

anasnakawa opened this Issue Oct 5, 2013 · 1 comment


None yet
2 participants

anasnakawa commented Oct 5, 2013

I am using Modernizr v3.0.0pre, with a custom config-all.json file as follows,

  "classPrefix" : "libname-",
  "options": [
  "feature-detects": [

but when i load the page, i got those classes on html element where classPrefix is applied to all features except the first one..

<html lang="en" class=" cssanimations libname-borderimage libname-cssgradients libname-hsla libname-mediaqueries libname-rgba libname-csstransforms libname-csstransforms3d libname-csstransitions libname-no-touchevents">

@ryanseddon ryanseddon closed this in 6aef0c9 Oct 7, 2013


This comment has been minimized.


ryanseddon commented Oct 7, 2013

Sweet thanks @anasnakawa that will work correctly now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment