Update common.js

This commit is contained in:
Kam Low 2019-04-08 20:07:42 +02:00 committed by GitHub
parent a37e50a86d
commit f747888674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,9 @@ var common = {
}
}
}
if (value.example) {
return value.example
}
if (value.schema) {
return this.formatExampleProp(value.schema, root, options)
}