Publish `v5.28.1`

This commit is contained in:
jos 2019-01-22 20:48:08 +01:00
parent 3f9ea75f20
commit 21ae2180e7
11 changed files with 40 additions and 39 deletions

View File

@ -3,7 +3,7 @@
https://github.com/josdejong/jsoneditor
## not yet released, version 5.28.1
## 2019-01-22, version 5.28.1
- Fix #637: vertical white border left/right from the main menu in some
specific circumstances.

View File

@ -24,8 +24,8 @@
* Copyright (c) 2011-2019 Jos de Jong, http://jsoneditoronline.org
*
* @author Jos de Jong, <wjosdejong@gmail.com>
* @version 5.28.0
* @date 2019-01-21
* @version 5.28.1
* @date 2019-01-22
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
@ -7011,6 +7011,7 @@ return /******/ (function(modules) { // webpackBootstrap
this._debouncedOnChangeValue = util.debounce(this._onChangeValue.bind(this), Node.prototype.DEBOUNCE_INTERVAL);
this._debouncedOnChangeField = util.debounce(this._onChangeField.bind(this), Node.prototype.DEBOUNCE_INTERVAL);
// starting value for visible children
this.visibleChilds = this.getMaxVisibleChilds();
}
@ -7873,14 +7874,14 @@ return /******/ (function(modules) { // webpackBootstrap
// reset max visible childs
if (!options || options.resetVisibleChilds) {
delete this.visibleChilds;
this.visibleChilds = this.getMaxVisibleChilds();
}
};
/**
* set custom css classes on a node
*/
Node.prototype._updateCssClassName = function () {
if(this.dom.field
&& this.editor
&& this.editor.options
@ -7890,13 +7891,12 @@ return /******/ (function(modules) { // webpackBootstrap
const addClasses = this.editor.options.onClassName({ path: this.getPath(), field: this.field, value: this.value }) || "";
util.addClassName(this.dom.tree, "jsoneditor-values " + addClasses);
}
}
};
Node.prototype.recursivelyUpdateCssClassesOnNodes = function () {
this._updateCssClassName();
if (this.childs !== 'undefined') {
var i;
for (i in this.childs) {
for (var i = 0; i < this.childs.length; i++) {
this.childs[i].recursivelyUpdateCssClassesOnNodes();
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3
dist/jsoneditor.css vendored
View File

@ -244,7 +244,8 @@ div.jsoneditor-tree div.jsoneditor-date {
div.jsoneditor {
color: #1A1A1A;
border: 1px solid #3883fa;
border: thin solid #3883fa;
/* we use thin and not 1px to work around an issue in Chrome/IE, see #637 */
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;

14
dist/jsoneditor.js vendored
View File

@ -24,8 +24,8 @@
* Copyright (c) 2011-2019 Jos de Jong, http://jsoneditoronline.org
*
* @author Jos de Jong, <wjosdejong@gmail.com>
* @version 5.28.0
* @date 2019-01-21
* @version 5.28.1
* @date 2019-01-22
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
@ -35653,6 +35653,7 @@ return /******/ (function(modules) { // webpackBootstrap
this._debouncedOnChangeValue = util.debounce(this._onChangeValue.bind(this), Node.prototype.DEBOUNCE_INTERVAL);
this._debouncedOnChangeField = util.debounce(this._onChangeField.bind(this), Node.prototype.DEBOUNCE_INTERVAL);
// starting value for visible children
this.visibleChilds = this.getMaxVisibleChilds();
}
@ -36515,14 +36516,14 @@ return /******/ (function(modules) { // webpackBootstrap
// reset max visible childs
if (!options || options.resetVisibleChilds) {
delete this.visibleChilds;
this.visibleChilds = this.getMaxVisibleChilds();
}
};
/**
* set custom css classes on a node
*/
Node.prototype._updateCssClassName = function () {
if(this.dom.field
&& this.editor
&& this.editor.options
@ -36532,13 +36533,12 @@ return /******/ (function(modules) { // webpackBootstrap
const addClasses = this.editor.options.onClassName({ path: this.getPath(), field: this.field, value: this.value }) || "";
util.addClassName(this.dom.tree, "jsoneditor-values " + addClasses);
}
}
};
Node.prototype.recursivelyUpdateCssClassesOnNodes = function () {
this._updateCssClassName();
if (this.childs !== 'undefined') {
var i;
for (i in this.childs) {
for (var i = 0; i < this.childs.length; i++) {
this.childs[i].recursivelyUpdateCssClassesOnNodes();
}
}

2
dist/jsoneditor.map vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "jsoneditor",
"version": "5.28.0",
"version": "5.28.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "jsoneditor",
"version": "5.28.0",
"version": "5.28.1",
"main": "./index",
"description": "A web-based tool to view, edit, format, and validate JSON",
"tags": [