Closed ghost closed 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.
.png
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
my_sprite.png
my_sprite
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 justmy_sprite