aslansky / css-sprite

css sprite generator
MIT License
734 stars 55 forks source link

Don't include extension for the spritesheet/retina name #41

Closed ghost closed 9 years ago

ghost commented 9 years ago

It prevents from using it in templates, as you can't strip .png from it due to mustache's logic-less nature.

I wanted to create a variable with the name of the template inside it, but couldn't, because it contains a dot and sass considers it invalid name.

So instead of my_sprite.png it should output just my_sprite