Skip to content

Commit ecc0607

Browse files
committed
1.0.0
1 parent bcf5af3 commit ecc0607

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/react-json-schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var ReactJsonSchema = function () {
4646
for (var _iterator = subSchemas[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
4747
var subSchema = _step.value;
4848

49-
subSchema.key = index;
49+
subSchema.key = typeof subSchema.key !== 'undefined' ? subSchema.key : index;
5050
Components.push(this.parseSchema(subSchema));
5151
index++;
5252
}

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.2",
3+
"version": "1.0.0",
44
"description": "Write component schema in JSON; parse to create react elements.",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)