(editorClass, options, depthCounter = 1)
| 229 | } |
| 230 | |
| 231 | createEditor (editorClass, options, depthCounter = 1) { |
| 232 | options = extend({}, editorClass.options || {}, options) |
| 233 | // eslint-disable-next-line new-cap |
| 234 | return new editorClass(options, JSONEditor.defaults, depthCounter) |
| 235 | } |
| 236 | |
| 237 | onChange (eventData) { |
| 238 | if (!this.ready) return |
no test coverage detected