Skip to content

Commit

Permalink
0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eiof committed Sep 7, 2016
1 parent 3279685 commit 4c60197
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions dist/react-json-schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ var _createClass = function () { function defineProperties(target, props) { for

var _react = require('react');

var _ReactDOMFactories = require('react/lib/ReactDOMFactories');

var _ReactDOMFactories2 = _interopRequireDefault(_ReactDOMFactories);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
Expand Down Expand Up @@ -95,7 +89,7 @@ var ReactJsonSchema = function () {
Component = schema.component;
} else if (_componentMap && _componentMap[schema.component]) {
Component = _componentMap[schema.component];
} else if (_ReactDOMFactories2.default.hasOwnProperty(schema.component)) {
} else if (_react.DOM.hasOwnProperty(schema.component)) {
Component = schema.component;
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion dist/react-json-schema.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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-json-schema",
"version": "0.4.0",
"version": "0.4.1",
"description": "Write component schema in JSON; parse to create react elements.",
"keywords": [
"react",
Expand Down

0 comments on commit 4c60197

Please sign in to comment.