Skip to content

Commit

Permalink
Update dist with changes in #13
Browse files Browse the repository at this point in the history
  • Loading branch information
roonyh committed Jun 22, 2016
1 parent b0a9bb2 commit 3252a15
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dist/components/Node.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,16 @@ var Node = function (_React$Component) {
);
}

// Keep a copy so that further mutations to containerStyle don't impact us:
var containerStyleCopy = (0, _assign2.default)({}, containerStyle);

// tag with children
return _react2.default.createElement(
'div',
null,
_react2.default.createElement(
'div',
{ style: containerStyle },
{ style: containerStyleCopy },
_react2.default.createElement(
'span',
{ style: tagStyle },
Expand All @@ -135,7 +138,7 @@ var Node = function (_React$Component) {
}),
_react2.default.createElement(
'div',
{ style: containerStyle },
{ style: containerStyleCopy },
_react2.default.createElement(
'span',
{ style: tagStyle },
Expand Down

0 comments on commit 3252a15

Please sign in to comment.