rtsao / csjs

:sparkles: Modular, scoped CSS with ES6
MIT License
575 stars 32 forks source link

Fix for similar animation names #33

Closed shama closed 8 years ago

shama commented 8 years ago

When creating this library I noticed that some of the similar animation names were incorrect.

For instance, if we had animations named bounce, bounceIn, bounceInDown it would result in:

animation-name: bounceIn_3YDk0BDown;

instead of:

animation-name: bounceInDown_3YDk0B;

This PR makes it check more explicitly for the animation name. Thanks!

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling ecbc3c2117ebeb2940170a1091bd22f23409fd26 on shama:animation-name into 695d7820f61e7c6bae6b264f8bde3b8e444289dc on rtsao:master.

rtsao commented 8 years ago

Wow, this is great. Thank you!

rtsao commented 8 years ago

Published as v1.0.2. Thanks again for the PR!