Skip to content

Commit

Permalink
Release 1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Sonderegger committed Mar 1, 2021
1 parent aa1dade commit c474934
Show file tree
Hide file tree
Showing 218 changed files with 514 additions and 267 deletions.
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [1.12.0] - 2021-03-01
### Added
- Method `getMirrorsFrom` in
[Container](https://chird.github.io/meteoJS/doc/module-meteoJS_modelviewer_container.Container.html).
- Time format is now dynamic in
[bsButtons](https://chird.github.io/meteoJS/doc/module-meteoJS_timeline_visualisation_bsButtons.html#~options).

### Changed
- The `change:selectedVariables` event in
[Container](https://chird.github.io/meteoJS/doc/module-meteoJS_modelviewer_container.Container.html).
is now fired debounced.
- `mirrorsFrom` can now be called for different other containers on
[Container](https://chird.github.io/meteoJS/doc/module-meteoJS_modelviewer_container.Container.html).
- Added internal cache for performance reasons in
[Node](https://chird.github.io/meteoJS/doc/module-meteoJS_modelviewer_node.Node.html).

### Fixed
- Bugfix for the `pauseOnHiddenDocument` feature in
[RepetitiveRequests](https://chird.github.io/meteoJS/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html).
- Fix to prevent some unwanted side effects with the keyboard navigation in
[Timeline](https://chird.github.io/meteoJS/doc/module-meteoJS_timeline.Timeline.html).

## [1.11.4] - 2020-11-19
### Added
- Additional keyboard navigation options in
Expand Down Expand Up @@ -128,7 +150,8 @@ will not work anymore, until you pass a callback to `getTimeText`.
### Fixed
- Some tests with DOM usage.

[Unreleased]: https://github.com/chird/meteoJS/compare/v1.11.4...HEAD
[Unreleased]: https://github.com/chird/meteoJS/compare/v1.12.0...HEAD
[Unreleased]: https://github.com/chird/meteoJS/compare/v1.11.4...v1.12.0
[1.11.4]: https://github.com/chird/meteoJS/compare/v1.11.3...v1.11.4
[1.11.3]: https://github.com/chird/meteoJS/compare/v1.11.2...v1.11.3
[1.11.2]: https://github.com/chird/meteoJS/compare/v1.11.1...v1.11.2
Expand Down
2 changes: 1 addition & 1 deletion doc/Modelviewer.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ <h1>Source: Modelviewer.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
27 changes: 21 additions & 6 deletions doc/RepetitiveRequests.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ <h1>Source: RepetitiveRequests.js</h1>
*/
this._pauseOnHiddenDocument &#x3D; pauseOnHiddenDocument;
this._initPauseOnHiddenDocument();

/**
* @type boolean
* @private
*/
this._isSuppressedByHiddenDocument &#x3D; false;

/**
* @type string
Expand Down Expand Up @@ -250,6 +256,13 @@ <h1>Source: RepetitiveRequests.js</h1>
return;

this._timeoutID &#x3D; setTimeout(() &#x3D;&gt; {
if (this._pauseOnHiddenDocument
&amp;amp;&amp;amp; (&#x27;hidden&#x27; in document)
&amp;amp;&amp;amp; document.hidden) {
this._isSuppressedByHiddenDocument &#x3D; true;
return;
}

this._startRequest();
}, delay);
}
Expand Down Expand Up @@ -348,11 +361,13 @@ <h1>Source: RepetitiveRequests.js</h1>
return;

document.addEventListener(&#x27;visibilitychange&#x27;, () &#x3D;&gt; {
if (&#x27;hidden&#x27; in document)
if (document.hidden)
this.stop();
else
this.start();
if ((&#x27;hidden&#x27; in document)
&amp;amp;&amp;amp; !document.hidden
&amp;amp;&amp;amp; this._isSuppressedByHiddenDocument
&amp;amp;&amp;amp; this._isStarted) {
this._isSuppressedByHiddenDocument &#x3D; false;
this.start();
}
});
}
}
Expand All @@ -368,7 +383,7 @@ <h1>Source: RepetitiveRequests.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/Sounding.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ <h1>Source: Sounding.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/Synview.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ <h1>Source: Synview.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/ThermodynamicDiagram.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ <h1>Source: ThermodynamicDiagram.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/ThermodynamicDiagramPluggable.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ <h1>Source: ThermodynamicDiagramPluggable.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
17 changes: 11 additions & 6 deletions doc/Timeline.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -806,14 +806,19 @@ <h1>Source: Timeline.js</h1>
const matches &#x3D; time.match(/^([0-9]+)\s*([a-zA-Z]+)$/);
if (matches &#x3D;&#x3D;&#x3D; null)
return;
if (_isEventMatchPressedKeys(event, this._keyboardNavigation[method][time]))
if (_isEventMatchPressedKeys(event, this._keyboardNavigation[method][time])) {
this[method](+matches[1], matches[2]);
event.preventDefault();
event.stopPropagation();
}
});
}
else
if (method in this &amp;amp;&amp;amp;
_isEventMatchPressedKeys(event, this._keyboardNavigation[method]))
this[method]();
else if (method in this
&amp;amp;&amp;amp; _isEventMatchPressedKeys(event, this._keyboardNavigation[method])) {
this[method]();
event.preventDefault();
event.stopPropagation();
}
});
});
}
Expand Down Expand Up @@ -889,7 +894,7 @@ <h1>Source: Timeline.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/Tooltip.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ <h1>Source: Tooltip.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/base_Collection.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ <h1>Source: base/Collection.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/base_Named.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h1>Source: base/Named.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/base_NamedCollection.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h1>Source: base/NamedCollection.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/base_Unique.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h1>Source: base/Unique.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/base_UniqueNamed.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h1>Source: base/UniqueNamed.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/calc.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ <h1>Source: calc.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/events.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ <h1>Source: Events.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/external-Event.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1><small></small><span class="symbol-name">Event</span></h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/external-HTMLElement.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1><small></small><span class="symbol-name">HTMLElement</span></h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/external-SVG.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1><small></small><span class="symbol-name">SVG</span></h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/external-XMLHttpRequest.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1><small></small><span class="symbol-name">XMLHttpRequest</span></h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/external-jQuery.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1><small></small><span class="symbol-name">jQuery</span></h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
28 changes: 19 additions & 9 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1132,18 +1132,23 @@ <h2 id="meteoJS/modelviewer/container.Container">meteoJS/modelviewer/container.C
</dt>
<dd>
</dd>
<dt class="symbol-index-name">
<a href="module-meteoJS_modelviewer_container.Container.html#enabledTimes" class="!symbol-index-name">meteoJS/<wbr>modelviewer/<wbr>container.<wbr>Container#<wbr>enabledTimes</a>
</dt>
<dd>
</dd>
</dl>
</div>

<div class="symbol-index-column">
<dl class="symbol-index-list">
<dt class="symbol-index-name">
<a href="module-meteoJS_modelviewer_container.Container.html#enabledTimes" class="!symbol-index-name">meteoJS/<wbr>modelviewer/<wbr>container.<wbr>Container#<wbr>enabledTimes</a>
<a href="module-meteoJS_modelviewer_container.Container.html#exchangeDisplayVariable" class="!symbol-index-name">meteoJS/<wbr>modelviewer/<wbr>container.<wbr>Container#<wbr>exchangeDisplayVariable(variables)</a>
</dt>
<dd>
</dd>
<dt class="symbol-index-name">
<a href="module-meteoJS_modelviewer_container.Container.html#exchangeDisplayVariable" class="!symbol-index-name">meteoJS/<wbr>modelviewer/<wbr>container.<wbr>Container#<wbr>exchangeDisplayVariable(variables)</a>
<a href="module-meteoJS_modelviewer_container.Container.html#getMirrorsFrom" class="!symbol-index-name">meteoJS/<wbr>modelviewer/<wbr>container.<wbr>Container#<wbr>getMirrorsFrom()</a>
</dt>
<dd>
</dd>
Expand All @@ -1157,16 +1162,16 @@ <h2 id="meteoJS/modelviewer/container.Container">meteoJS/modelviewer/container.C
</dt>
<dd>
</dd>
</dl>
</div>

<div class="symbol-index-column">
<dl class="symbol-index-list">
<dt class="symbol-index-name">
<a href="module-meteoJS_modelviewer_container.Container.html#modelviewer" class="!symbol-index-name">meteoJS/<wbr>modelviewer/<wbr>container.<wbr>Container#<wbr>modelviewer</a>
</dt>
<dd>
</dd>
</dl>
</div>

<div class="symbol-index-column">
<dl class="symbol-index-list">
<dt class="symbol-index-name">
<a href="module-meteoJS_modelviewer_container.Container.html#selectedVariables" class="!symbol-index-name">meteoJS/<wbr>modelviewer/<wbr>container.<wbr>Container#<wbr>selectedVariables</a>
</dt>
Expand Down Expand Up @@ -2779,7 +2784,7 @@ <h2 id="meteoJS/synview">meteoJS/synview</h2>
<div class="symbol-index-column">
<dl class="symbol-index-list">
<dt class="symbol-index-name">
<a href="module-meteoJS_synview.html" class="!symbol-index-name">meteoJS/<wbr>synview</a>
<a href="module-meteoJS_synview.html" class="!symbol-index-name">meteoJS/<wbr>synview(options)</a>
</dt>
<dd>
</dd>
Expand Down Expand Up @@ -8594,6 +8599,11 @@ <h2 id="meteoJS/timeline/visualisation/bsButtons">meteoJS/timeline/visualisation

<div class="symbol-index-column">
<dl class="symbol-index-list">
<dt class="symbol-index-name">
<a href="module-meteoJS_timeline_visualisation_bsButtons.html#~timeFormatFunction" class="!symbol-index-name">meteoJS/<wbr>timeline/<wbr>visualisation/<wbr>bsButtons~<wbr>timeFormatFunction(time)</a>
</dt>
<dd>
</dd>
</dl>
</div>

Expand Down Expand Up @@ -9202,7 +9212,7 @@ <h2 id="meteoJS/tooltip/bootstrapTooltip.BootstrapTooltip">meteoJS/tooltip/boots
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ <h1>Source: index.js</h1>
<footer id="jsdoc-footer" class="jsdoc-footer">
<div id="jsdoc-footer-container">
<p>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on March 1, 2021.
</p>
</div>
</footer>
Expand Down
Loading

0 comments on commit c474934

Please sign in to comment.