Skip to content

Commit

Permalink
Release 1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Sonderegger committed Jul 30, 2021
1 parent d392303 commit 0b304f8
Show file tree
Hide file tree
Showing 231 changed files with 4,197 additions and 454 deletions.
35 changes: 34 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,38 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [1.16.0] - 2021-07-30
### Added
- New base class
[Axis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axis.Axis.html)
for the axis classes.
- New class
[WindspeedProfileAxis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axes_windspeedProfileAxis.WindspeedProfileAxis.html)
for the axis for the windspeed profile.
- Added grid and change:windspeedMax event in
[WindspeedProfile](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_windspeedProfile.WindspeedProfile.html)
- Added windspeed profile in default diagram class
[ThermodynamicDiagram](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram.ThermodynamicDiagram.html)

### Changed
- [xAxis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axes_xAxis.xAxis.html)
and
[yAxis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axes_yAxis.yAxis.html)
now inherits from new base class
[Axis](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_axis.Axis.html).
- Added windspeed profile axis and added borders to the hodograph and the windspeed profile
in one of the [examples](https://chird.github.io/meteoJS/examples/thermodynamicdiagram-extended.html).

### Fixed
- [RepetitiveRequests](https://chird.github.io/meteoJS/doc/module-meteoJS_repetitiveRequests.RepetitiveRequests.html):
Bugfix for empty requests.
- Doc fixes in
[DiagramSounding](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_diagramSounding.DiagramSounding.html)
and
[Hodograph](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_hodograph.Hodograph.html).
- Fix broken highlighted lines in
[TDDiagram](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_tdDiagram.TDDiagram.html).

## [1.15.0] - 2021-07-16
### Added
- [Hodograph](https://chird.github.io/meteoJS/doc/module-meteoJS_thermodynamicDiagram_hodograph.Hodograph.html):
Expand Down Expand Up @@ -255,7 +287,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.15.0...HEAD
[Unreleased]: https://github.com/chird/meteoJS/compare/v1.16.0...HEAD
[1.16.0]: https://github.com/chird/meteoJS/compare/v1.15.0...v1.16.0
[1.15.0]: https://github.com/chird/meteoJS/compare/v1.14.7...v1.15.0
[1.14.7]: https://github.com/chird/meteoJS/compare/v1.14.6...v1.14.7
[1.14.6]: https://github.com/chird/meteoJS/compare/v1.14.5...v1.14.6
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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 2021.
</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 @@ -314,7 +314,7 @@ <h1>Source: RepetitiveRequests.js</h1>
* defined or is actually loading. In these cases don&#x27;t throw an
* error event. */
if (request !&#x3D;&#x3D; undefined)
this.trigger(&#x27;error:request&#x27;, { request })
this.trigger(&#x27;error:request&#x27;, { request });
});
}

Expand Down Expand Up @@ -389,7 +389,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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 2021.
</p>
</div>
</footer>
Expand Down
25 changes: 24 additions & 1 deletion doc/ThermodynamicDiagram.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ <h1>Source: ThermodynamicDiagram.js</h1>
import Hodograph from &#x27;./thermodynamicDiagram/Hodograph.js&#x27;;
import { xAxis as xAxisClass } from &#x27;./thermodynamicDiagram/axes/xAxis.js&#x27;;
import { yAxis as yAxisClass } from &#x27;./thermodynamicDiagram/axes/yAxis.js&#x27;;
import { WindspeedProfileAxis as WindspeedProfileAxisClass } from &#x27;./thermodynamicDiagram/axes/WindspeedProfileAxis.js&#x27;;

/**
* Options for the coordinate system.
Expand Down Expand Up @@ -69,6 +70,8 @@ <h1>Source: ThermodynamicDiagram.js</h1>
* [windbarbs] - Options for the windbarbs profile.
* @param {module:meteoJS/thermodynamicDiagram/windspeedProfile~options}
* [windprofile] - Options for the windspeed profile.
* @param {module:meteoJS/thermodynamicDiagram/axes/windspeedProfileAxis~options}
* [windspeedProfileAxis] - Options for the windspeed profile axis.
* @param {module:meteoJS/thermodynamicDiagram/hodograph~options} [hodograph]
* Options for the hodograph container.
* @param {module:meteoJS/thermodynamicDiagram/axes/xAxis~options} [xAxis]
Expand Down Expand Up @@ -97,6 +100,7 @@ <h1>Source: ThermodynamicDiagram.js</h1>
diagram &#x3D; {},
windbarbsProfile &#x3D; {},
windspeedProfile &#x3D; {},
windspeedProfileAxis &#x3D; {},
hodograph &#x3D; {},
xAxis &#x3D; {},
yAxis &#x3D; {}
Expand All @@ -110,6 +114,7 @@ <h1>Source: ThermodynamicDiagram.js</h1>
diagram &#x3D; normalizePlotAreaOptions(diagram);
windbarbsProfile &#x3D; normalizePlotAreaOptions(windbarbsProfile);
windspeedProfile &#x3D; normalizePlotAreaOptions(windspeedProfile);
windspeedProfileAxis &#x3D; normalizePlotAreaOptions(windspeedProfileAxis);
hodograph &#x3D; normalizePlotAreaOptions(hodograph);
xAxis &#x3D; normalizePlotAreaOptions(xAxis);
yAxis &#x3D; normalizePlotAreaOptions(yAxis);
Expand Down Expand Up @@ -188,6 +193,15 @@ <h1>Source: ThermodynamicDiagram.js</h1>
xAxis.y &#x3D; diagram.y + diagram.height;
if (xAxis.height &#x3D;&#x3D;&#x3D; undefined)
xAxis.height &#x3D; defaultPadding;

if (windspeedProfileAxis.width &#x3D;&#x3D;&#x3D; undefined)
windspeedProfileAxis.width &#x3D; windspeedProfile.width;
if (windspeedProfileAxis.height &#x3D;&#x3D;&#x3D; undefined)
windspeedProfileAxis.height &#x3D; defaultPadding;
if (windspeedProfileAxis.x &#x3D;&#x3D;&#x3D; undefined)
windspeedProfileAxis.x &#x3D; windspeedProfile.x;
if (windspeedProfileAxis.y &#x3D;&#x3D;&#x3D; undefined)
windspeedProfileAxis.y &#x3D; windspeedProfile.y + windspeedProfile.height;

// Defintionen zum Hodograph
if (hodograph.x &#x3D;&#x3D;&#x3D; undefined)
Expand All @@ -212,7 +226,16 @@ <h1>Source: ThermodynamicDiagram.js</h1>
this.appendPlotArea(this.windbarbsProfile);

this.windspeedProfile &#x3D; new WindspeedProfile(windspeedProfile);
this.windspeedProfile.on(&#x27;prebuild:background&#x27;, ({ node }) &#x3D;&gt; {
node
.rect(this.windspeedProfile.width, this.windspeedProfile.height)
.fill({ color: &#x27;white&#x27; })
.stroke({ color: &#x27;black&#x27;, width: 1 });
});
this.appendPlotArea(this.windspeedProfile);

this.windspeedProfileAxis &#x3D; new WindspeedProfileAxisClass(windspeedProfileAxis);
this.appendPlotArea(this.windspeedProfileAxis);

this.hodograph &#x3D; new Hodograph(hodograph);
this.hodograph.on(&#x27;prebuild:background&#x27;, ({ node }) &#x3D;&gt; {
Expand Down Expand Up @@ -307,7 +330,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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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 @@ -232,7 +232,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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/Timeline.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 2021.
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/external-momentjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1><small></small><span class="symbol-name">momentjs</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.7 on July 16, 2021.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> 3.6.7 on July 30, 2021.
</p>
</div>
</footer>
Expand Down
Loading

0 comments on commit 0b304f8

Please sign in to comment.