Skip to content

Commit 29643da

Browse files
committed
Fix bug with validate API call.
1 parent d85006e commit 29643da

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-editor",
3-
"version": "0.6.9",
3+
"version": "0.6.10",
44
"authors": [
55
"Jeremy Dorn <[email protected]>"
66
],

dist/jsoneditor.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/*! JSON Editor v0.6.9 - JSON Schema -> HTML Editor
1+
/*! JSON Editor v0.6.10 - JSON Schema -> HTML Editor
22
* By Jeremy Dorn - https://github.com/jdorn/json-editor/
33
* Released under the MIT license
44
*
5-
* Date: 2014-05-23
5+
* Date: 2014-05-27
66
*/
77

88
/**
@@ -206,7 +206,7 @@ JSONEditor.prototype = {
206206

207207
// Custom value
208208
if(arguments.length === 1) {
209-
return this.validator.validate(arguments[1]);
209+
return this.validator.validate(value);
210210
}
211211
// Current value (use cached result)
212212
else {

dist/jsoneditor.min.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/intro.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/*! JSON Editor v0.6.9 - JSON Schema -> HTML Editor
1+
/*! JSON Editor v0.6.10 - JSON Schema -> HTML Editor
22
* By Jeremy Dorn - https://github.com/jdorn/json-editor/
33
* Released under the MIT license
44
*
5-
* Date: 2014-05-23
5+
* Date: 2014-05-27
66
*/
77

88
/**

0 commit comments

Comments
 (0)