Skip to content

Allow configuration on the fly #23

@ream88

Description

@ream88

The latest few issues (#19, #20, #21) showed up a big problem of this gem: Not everybody needs the same setup, and some features of Modernizr even break some setups.

A few solutions I thought of:

  • I'm only bundling the dev built anymore: If somebody needs a special version of Modernizr, they have to bring their own. We should not accept such pull requests anymore. This is the quickest solution for now, and I will update the README about this change.
  • Some kind of building system: A Modernizr build is assembled by Grunt from lots of separate files. Maybe we can translate this functionality into the Rails Asset Pipeline somehow. Usage would be following:
#= require modernizr # for the whole Modernizr build
#= require modernizr-css # only for the CSS tests
#= require modernizr-touch-events # only for one particular test, in this case touch events

Any ideas and suggestions? @russfrisch @mltsy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions