Skip to content

Commit

Permalink
Updating build
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Feb 16, 2016
1 parent 130447b commit 97726be
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion dist/react-domify.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ var DOMify = React.createClass({
displayName: 'DOMify',

render: function render() {
return transform(this.props.value);
return React.createElement(
'div',
{ className: this.props.className, style: this.props.style },
transform(this.props.value)
);
}
});

Expand Down
2 changes: 1 addition & 1 deletion dist/react-domify.min.js

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

6 changes: 5 additions & 1 deletion lib/DOMify.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ var DOMify = React.createClass({
displayName: 'DOMify',

render: function render() {
return transform(this.props.value);
return React.createElement(
'div',
{ className: this.props.className, style: this.props.style },
transform(this.props.value)
);
}
});

Expand Down

0 comments on commit 97726be

Please sign in to comment.