Skip to content

Commit

Permalink
fix: πŸ› enumerate map returned by sheet()
Browse files Browse the repository at this point in the history
Issues: closes #189
  • Loading branch information
streamich committed Jul 16, 2018
1 parent 372b954 commit 58da52a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ exports.addon = function (renderer) {
} else {
Object.defineProperty(result, elementModifier, {
configurable: true,
enumerable: true,
get: function () {
var classNames = renderer.rule(styles, block + '-' + elementModifier);

Object.defineProperty(result, elementModifier, {
value: classNames
value: classNames,
enumerable: true
});

return classNames;
Expand Down

0 comments on commit 58da52a

Please sign in to comment.