drdk/dr-svg-sprites — pull request #23 by gregori-goossens (2014-06-16 14:39:20+00:00)
Title: Prevent an extra "../" in background-image url with cssPath filename option

if you specify a filename in options.cssPath, the path.relative function return an extra "../" level due to the filename.
Add a test if contains "." return cssPath dirname