filamentgroup/grunticon — pull request #20 by 4nd3rs (2013-01-02 14:13:44+00:00)
Title: Support for outputting PNG's in many different pixel ratios.

Why?

- Better support for Android 2.x.
- Some assets in our projects are also used in apps and other websites

The available pixel ratios are configurable:

pngpixelratio: [1, 1.5, 2]

This will output CSS files for fallback and data png: icons-fallback.css, icons-fallback-1.5x.css, icons-fallback-2x.css etc.

It will also output PNG's: bear.png, bear-1.5x.png, bear-2x.png etc.

grunticon.loader.js is also updated with feature detection by using devicePixelRatio to determine which version of the files that should be included.

Hope this intrests you!