Skip to content

Commit 4c60197

Browse files
committed
0.4.1
1 parent 3279685 commit 4c60197

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

dist/react-json-schema.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ var _createClass = function () { function defineProperties(target, props) { for
88

99
var _react = require('react');
1010

11-
var _ReactDOMFactories = require('react/lib/ReactDOMFactories');
12-
13-
var _ReactDOMFactories2 = _interopRequireDefault(_ReactDOMFactories);
14-
15-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16-
1711
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; }
1812

1913
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -95,7 +89,7 @@ var ReactJsonSchema = function () {
9589
Component = schema.component;
9690
} else if (_componentMap && _componentMap[schema.component]) {
9791
Component = _componentMap[schema.component];
98-
} else if (_ReactDOMFactories2.default.hasOwnProperty(schema.component)) {
92+
} else if (_react.DOM.hasOwnProperty(schema.component)) {
9993
Component = schema.component;
10094
}
10195
} else {

dist/react-json-schema.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-json-schema",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Write component schema in JSON; parse to create react elements.",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)