Skip to content

Commit

Permalink
Some lint and doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Sonderegger committed Jul 16, 2021
1 parent 61948c6 commit c0a8f86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/meteoJS/thermodynamicDiagram/Hodograph.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ export class Hodograph extends PlotDataArea {
x: undefined,
y: undefined,
x2: undefined,
x2: undefined
y2: undefined
};
textGroups.map(g => {
g.children().map(el => {
Expand All @@ -672,7 +672,7 @@ export class Hodograph extends PlotDataArea {
maxBBox.x2 = bbox.x2;
if (maxBBox.y2 === undefined || maxBBox.y2 < bbox.y2)
maxBBox.y2 = bbox.y2;
})
});
});
background.attr({
x: maxBBox.x,
Expand Down
4 changes: 3 additions & 1 deletion src/meteoJS/thermodynamicDiagram/PlotArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ import { SVG } from '@svgdotjs/svg.js';
*
* @typedef {Object} module:meteoJS/thermodynamicDiagram/plotArea~options
* @param {external:SVG} [svgNode] - SVG Node.
* @property {module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem}
* [coordinateSystem] - Coordinate system.
* @param {integer} [x=0] - X.
* @param {integer} [y=0] - Y.
* @param {integer} [width=100] - Width.
Expand All @@ -132,7 +134,7 @@ import { SVG } from '@svgdotjs/svg.js';
/**
* Abstract class to define an area on the SVG.
*
* <pre><code>import PlotArea from 'meteoJS/thermodynamicDiagram/PlotArea';</code></pre>
* <pre><code>import PlotArea from 'meteojs/thermodynamicDiagram/PlotArea';</code></pre>
*
* @fires module:meteoJS/thermodynamicDiagram/plotArea#change:visible
* @fires module:meteoJS/thermodynamicDiagram/plotArea#change:position
Expand Down

0 comments on commit c0a8f86

Please sign in to comment.