Fixed #255: Removed wrong console warning about the option `search`

This commit is contained in:
jos 2016-01-15 19:41:51 +01:00
parent 5d3b005dc3
commit b4c02f9a3f
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,11 @@
https://github.com/josdejong/jsoneditor https://github.com/josdejong/jsoneditor
## not yet released, version 5.1.1
- Fixed #255: Removed wrong console warning about the option `search`.
## 2016-01-14, version 5.1.0 ## 2016-01-14, version 5.1.0
- Implemented support for JSON schema validation, powered by `ajv`. - Implemented support for JSON schema validation, powered by `ajv`.

View File

@ -77,7 +77,7 @@ function JSONEditor (container, options, json) {
'ace', 'theme', 'ace', 'theme',
'ajv', 'schema', 'ajv', 'schema',
'onChange', 'onEditable', 'onError', 'onModeChange', 'onChange', 'onEditable', 'onError', 'onModeChange',
'escapeUnicode', 'history', 'mode', 'modes', 'name', 'indentation' 'escapeUnicode', 'history', 'search', 'mode', 'modes', 'name', 'indentation'
]; ];
Object.keys(options).forEach(function (option) { Object.keys(options).forEach(function (option) {