Skip to content

Commit

Permalink
Release 1.11.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Sonderegger committed Nov 19, 2020
1 parent f63eee5 commit 3454e4c
Show file tree
Hide file tree
Showing 221 changed files with 628 additions and 519 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [1.11.4] - 2020-11-19
### Added
- Additional keyboard navigation options in
[Timeline](https://chird.github.io/meteoJS/doc/module-meteoJS_timeline.html#~optionKeyboardNavigation).
Expand Down Expand Up @@ -126,7 +128,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.3...HEAD
[Unreleased]: https://github.com/chird/meteoJS/compare/v1.11.4...HEAD
[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
[1.11.1]: https://github.com/chird/meteoJS/compare/v1.11.0...v1.11.1
Expand Down
4 changes: 2 additions & 2 deletions doc/Modelviewer.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: Modelviewer.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/RepetitiveRequests.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: RepetitiveRequests.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down Expand Up @@ -368,7 +368,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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/Sounding.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: Sounding.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/Synview.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: Synview.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/ThermodynamicDiagram.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: ThermodynamicDiagram.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/ThermodynamicDiagramPluggable.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: ThermodynamicDiagramPluggable.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
76 changes: 61 additions & 15 deletions doc/Timeline.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: Timeline.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down Expand Up @@ -53,25 +53,41 @@ <h1>Source: Timeline.js</h1>
* Keyboard navigation options.
*
* @typedef {Object} module:meteoJS/timeline~optionKeyboardNavigation
* @param {boolean} [enabled] - Enable Keyboard Navigation.
* @param {module:meteoJS/timeline~optionPressedKeys} [first]
* @param {boolean} [enabled&#x3D;false] - Enable Keyboard Navigation.
* @param {module:meteoJS/timeline~optionPressedKeys} [first&#x3D;36]
* Keyboard event to execute
* {@link module:meteoJS/timeline.Timeline#first|first()}.
* @param {module:meteoJS/timeline~optionPressedKeys} [last]
* Default: Home.
* @param {module:meteoJS/timeline~optionPressedKeys} [last&#x3D;35]
* Keyboard event to execute
* {@link module:meteoJS/timeline.Timeline#last|last()}.
* @param {module:meteoJS/timeline~optionPressedKeys} [prev]
* Default: End.
* @param {module:meteoJS/timeline~optionPressedKeys} [prev&#x3D;37]
* Keyboard event to execute
* {@link module:meteoJS/timeline.Timeline#prev|prev()}.
* @param {module:meteoJS/timeline~optionPressedKeys} [next]
* Default: Arrow left.
* @param {module:meteoJS/timeline~optionPressedKeys} [next&#x3D;39]
* Keyboard event to execute
* {@link module:meteoJS/timeline.Timeline#next|next()}.
* @param {module:meteoJS/timeline~optionPressedKeys} [prevAllEnabledTime]
* Default: Arrow right.
* @param {module:meteoJS/timeline~optionPressedKeys} [prevAllEnabledTime&#x3D;[37, &#x27;ctrl&#x27;]]
* Keyboard event to execute
* {@link module:meteoJS/timeline.Timeline#prevAllEnabledTime|prevAllEnabledTime()}.
* @param {module:meteoJS/timeline~optionPressedKeys} [nextAllEnabledTime]
* Default: Arrow left + Ctrl.
* @param {module:meteoJS/timeline~optionPressedKeys} [nextAllEnabledTime&#x3D;[39, &#x27;ctrl&#x27;]]
* Keyboard event to execute
* {@link module:meteoJS/timeline.Timeline#nextAllEnabledTime|nextAllEnabledTime()}.
* Default: Arrow right + Ctrl.
* @param {Object.&amp;lt;string,module:meteoJS/timeline~optionPressedKeys&gt;} [add]
* Keyboard event to execute {@link module:meteoJS/timeline.Timeline#add|add()}.
* The keys are combined with an amount integer and a timeKey
* (definition analog to the add() function).
* Defaults: ArrowRight plus 3h:Ctrl+Shift, 6h:Shift, 12h:Alt+Shift, 24h:Alt
* @param {Object.&amp;lt;string,module:meteoJS/timeline~optionPressedKeys&gt;} [sub]
* Keyboard event to execute {@link module:meteoJS/timeline.Timeline#sub|sub()}.
* The keys are combined with an amount integer and a timeKey
* (definition analog to the add() function).
* Defaults: ArrowLeft plus 3h:Ctrl+Shift, 6h:Shift, 12h:Alt+Shift, 24h:Alt
*/

/**
Expand Down Expand Up @@ -744,30 +760,60 @@ <h1>Source: Timeline.js</h1>
* [keyboardNavigation] - Keyboard navigation options.
* @private
*/
_initKeyboardNavigation({ enabled &#x3D; false,
_initKeyboardNavigation({
enabled &#x3D; false,
first &#x3D; 36,
last &#x3D; 35,
prev &#x3D; 37,
next &#x3D; 39,
prevAllEnabledTime &#x3D; [37, &#x27;ctrl&#x27;],
nextAllEnabledTime &#x3D; [38, &#x27;ctrl&#x27;]} &#x3D; {}) {
nextAllEnabledTime &#x3D; [39, &#x27;ctrl&#x27;],
add &#x3D; undefined,
sub &#x3D; undefined
} &#x3D; {}) {
if (add &#x3D;&#x3D;&#x3D; undefined)
add &#x3D; {
&#x27;3h&#x27;: [39, &#x27;ctrl&#x27;, &#x27;shift&#x27;],
&#x27;6h&#x27;: [39, &#x27;shift&#x27;],
&#x27;12h&#x27;: [39, &#x27;alt&#x27;, &#x27;shift&#x27;],
&#x27;24h&#x27;: [39, &#x27;alt&#x27;]
};
if (sub &#x3D;&#x3D;&#x3D; undefined)
sub &#x3D; {
&#x27;3h&#x27;: [37, &#x27;ctrl&#x27;, &#x27;shift&#x27;],
&#x27;6h&#x27;: [37, &#x27;shift&#x27;],
&#x27;12h&#x27;: [37, &#x27;alt&#x27;, &#x27;shift&#x27;],
&#x27;24h&#x27;: [37, &#x27;alt&#x27;]
};
this._keyboardNavigation &#x3D; {
enabled,
first,
last,
prev,
next,
prevAllEnabledTime,
nextAllEnabledTime
nextAllEnabledTime,
add,
sub
};
if (document &amp;amp;&amp;amp; this._keyboardNavigation.enabled)
document.addEventListener(&#x27;keydown&#x27;, event &#x3D;&gt; {
Object.keys(this._keyboardNavigation).forEach(method &#x3D;&gt; {
if (method &#x3D;&#x3D; &#x27;enabled&#x27;)
return;
if (method in this &amp;amp;&amp;amp;
_isEventMatchPressedKeys(event, this._keyboardNavigation[method]))
this[method]();
if (/^(add|sub)$/.test(method)) {
Object.keys(this._keyboardNavigation[method]).forEach(time &#x3D;&gt; {
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]))
this[method](+matches[1], matches[2]);
});
}
else
if (method in this &amp;amp;&amp;amp;
_isEventMatchPressedKeys(event, this._keyboardNavigation[method]))
this[method]();
});
});
}
Expand Down Expand Up @@ -843,7 +889,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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/Tooltip.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: Tooltip.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/base_Collection.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: base/Collection.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/base_Named.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: base/Named.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/base_NamedCollection.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: base/NamedCollection.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/base_Unique.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: base/Unique.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/base_UniqueNamed.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: base/UniqueNamed.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions doc/calc.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<meta name="generator" content="JSDoc 3.6.5">
<meta name="generator" content="JSDoc 3.6.6">
<meta charset="utf-8">
<title>Source: calc.js</title>
<link rel="stylesheet" href="https://brick.a.ssl.fastly.net/Karla:400,400i,700,700i" type="text/css">
Expand Down 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.5 on November 19, 2020.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.6 on November 19, 2020.
</p>
</div>
</footer>
Expand Down
Loading

0 comments on commit 3454e4c

Please sign in to comment.