Skip to content

Commit

Permalink
Publish v5.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Jul 28, 2018
1 parent 91241c6 commit 53b4218
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 35 deletions.
19 changes: 14 additions & 5 deletions dist/jsoneditor-minimalist.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
*
* @author Jos de Jong, <[email protected]>
* @version 5.19.0
* @date 2018-07-11
* @version 5.19.1
* @date 2018-07-28
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
Expand Down Expand Up @@ -1831,9 +1831,18 @@ return /******/ (function(modules) { // webpackBootstrap
}
this.contentOuter = contentOuter;

this.scrollableContent = document.createElement('div');
this.scrollableContent.className = 'jsoneditor-tree';
contentOuter.appendChild(this.scrollableContent);

// the jsoneditor-tree-inner div with bottom padding is here to
// keep space for the action menu dropdown. It's created as a
// separate div instead of using scrollableContent to work around
// and issue in the Chrome browser showing scrollable contents outside of the div
// see https://github.com/josdejong/jsoneditor/issues/557
this.content = document.createElement('div');
this.content.className = 'jsoneditor-tree';
contentOuter.appendChild(this.content);
this.content.className = 'jsoneditor-tree-inner';
this.scrollableContent.appendChild(this.content);

this.table = document.createElement('table');
this.table.className = 'jsoneditor-tree';
Expand Down Expand Up @@ -11890,7 +11899,7 @@ return /******/ (function(modules) { // webpackBootstrap
selectrSortOrder.on('selectr.change', generateQueryFromWizard);
selectrSelectFields.on('selectr.change', generateQueryFromWizard);

wizard.onclick = function (event) {
elem.querySelector('.pico-modal-contents').onclick = function (event) {
// prevent the first clear button from getting focus when clicking anywhere in the modal
event.preventDefault();
};
Expand Down
2 changes: 1 addition & 1 deletion dist/jsoneditor-minimalist.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/jsoneditor-minimalist.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/jsoneditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,10 @@ div.jsoneditor-tree table.jsoneditor-tree {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
margin: 0 0 300px;
/* keep space for the action menu dropdown */
}

div.jsoneditor-tree div.jsoneditor-tree-inner {
padding-bottom: 300px;
}

div.jsoneditor-outer {
Expand Down
19 changes: 14 additions & 5 deletions dist/jsoneditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
*
* @author Jos de Jong, <[email protected]>
* @version 5.19.0
* @date 2018-07-11
* @version 5.19.1
* @date 2018-07-28
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
Expand Down Expand Up @@ -9389,9 +9389,18 @@ return /******/ (function(modules) { // webpackBootstrap
}
this.contentOuter = contentOuter;

this.scrollableContent = document.createElement('div');
this.scrollableContent.className = 'jsoneditor-tree';
contentOuter.appendChild(this.scrollableContent);

// the jsoneditor-tree-inner div with bottom padding is here to
// keep space for the action menu dropdown. It's created as a
// separate div instead of using scrollableContent to work around
// and issue in the Chrome browser showing scrollable contents outside of the div
// see https://github.com/josdejong/jsoneditor/issues/557
this.content = document.createElement('div');
this.content.className = 'jsoneditor-tree';
contentOuter.appendChild(this.content);
this.content.className = 'jsoneditor-tree-inner';
this.scrollableContent.appendChild(this.content);

this.table = document.createElement('table');
this.table.className = 'jsoneditor-tree';
Expand Down Expand Up @@ -19448,7 +19457,7 @@ return /******/ (function(modules) { // webpackBootstrap
selectrSortOrder.on('selectr.change', generateQueryFromWizard);
selectrSelectFields.on('selectr.change', generateQueryFromWizard);

wizard.onclick = function (event) {
elem.querySelector('.pico-modal-contents').onclick = function (event) {
// prevent the first clear button from getting focus when clicking anywhere in the modal
event.preventDefault();
};
Expand Down
2 changes: 1 addition & 1 deletion dist/jsoneditor.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jsoneditor.min.css

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/jsoneditor.min.js

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions misc/how_to_publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,8 @@ correct date and version number in the header.

## Test

Test whether the npm library is ok by installing it locally:

cd ../tmp-folder
npm install ./path/to/jsoneditor

Check whether the examples in the library work ok, and whether the necessary
files are included.
Test whether the npm library is ok by opening some examples, and check whether
the files under `dists` are created and have contents.


## Commit
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsoneditor",
"version": "5.19.0",
"version": "5.19.1",
"main": "./index",
"description": "A web-based tool to view, edit, format, and validate JSON",
"tags": [
Expand Down

0 comments on commit 53b4218

Please sign in to comment.