Skip to content

Commit

Permalink
Updating build
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Feb 18, 2016
1 parent 64d6dde commit bf1af5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/react-domify.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function transform(obj, fromRecur, comma) {

// strings
if (typeof obj === 'string') {
return React.createElement(tag, { style: styles.string }, obj, comma);
return React.createElement(tag, { style: styles.string }, '"' + obj + '"', comma);
}
// booleans, null and undefined
else if (typeof obj === 'boolean' || obj === null || obj === undefined) {
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.

2 changes: 1 addition & 1 deletion lib/DOMify.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function transform(obj, fromRecur, comma) {

// strings
if (typeof obj === 'string') {
return React.createElement(tag, { style: styles.string }, obj, comma);
return React.createElement(tag, { style: styles.string }, '"' + obj + '"', comma);
}
// booleans, null and undefined
else if (typeof obj === 'boolean' || obj === null || obj === undefined) {
Expand Down

0 comments on commit bf1af5b

Please sign in to comment.