Skip to content

Commit

Permalink
Fix minor jsdoc syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
robyngit committed Jun 25, 2024
1 parent 733269d commit 3e0fb95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/docs/src_js_models_maps_AssetColor.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ <h1 class="page-title">Source: src/js/models/maps/AssetColor.js</h1>
},

/**
@returns {string} A string in the format of a css color value.
@since 2.30.0
*/
* @returns {string} A string in the format of a css color value.
* @since 2.30.0
*/
getCss() {
const color = this.get("color");
return `rgba(${color.red * 255}, ${color.green * 255}, ${color.blue * 255}, ${color.alpha * 255})`;
Expand Down
6 changes: 3 additions & 3 deletions src/js/models/maps/AssetColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ define(["jquery", "underscore", "backbone"], ($, _, Backbone) => {
},

/**
@returns {string} A string in the format of a css color value.
@since 2.30.0
*/
* @returns {string} A string in the format of a css color value.
* @since 2.30.0
*/
getCss() {
const color = this.get("color");
return `rgba(${color.red * 255}, ${color.green * 255}, ${color.blue * 255}, ${color.alpha * 255})`;
Expand Down

0 comments on commit 3e0fb95

Please sign in to comment.