Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Added support for the $<sprite-map>-prefix attribute. #1521
With the $-prefix attribute the default prefix (= sprite folder name) for the generated sprite classes can be overwritten.
My use case: In some cases we use our company branded icons as single images, in other cases they are merged in sprite sheets. It's easier for everyone if file names and sprite classes are identical. So i don't want the sprite classes to be prefixed with their including folder's name. In this case I set the $-prefix to null.
I found the existing $-prefix attribute in the original code unused. So I hijacked it for my purposes.