Skip to content

Commit

Permalink
[Improved] Updating class name escaping to be compatible with tailwin…
Browse files Browse the repository at this point in the history
…d 0.6
  • Loading branch information
nfourtythree committed Jun 25, 2018
1 parent 5827d32 commit ac29a8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const className = 'transition'
module.exports = function({ standard, transitions, variants }) {
return function({ addUtilities, e }) {
let utilities = _.map(transitions, (val, name) => ({
[`.${className}-${e(name)}`]: {
[`.${e(`${className}-${name}`)}`]: {
transition: val
}
}))
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tailwindcss-transition",
"version": "1.0.4",
"version": "1.0.5",
"description": "Transition utility plugin for tailwindcss framework",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ac29a8f

Please sign in to comment.