leonsmith/retina-replace-js — pull request #2 by marijnvdwerf (2012-04-17 20:16:04+00:00)
Title: Remove need for css addition

The script now uses the retina image dimensions to set the background-size property to half its width and height. This should make retina patterns (of varying dimensions) an option.