Skip to content

Commit

Permalink
Merge pull request mui#2051 from chrismcv/auto-prefix-null
Browse files Browse the repository at this point in the history
[AutoPrefix] add null support
  • Loading branch information
oliviertassinari committed Nov 3, 2015
2 parents d3ee052 + e7d6660 commit aef950e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/styles/auto-prefix.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ module.exports = {
},

all(styles) {
if (!styles)
return {};
return this.getPrefixer().prefix(styles);
},

Expand Down

0 comments on commit aef950e

Please sign in to comment.