mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
fix typo jsdom tag returns
This commit is contained in:
@@ -126,7 +126,7 @@ class WeatherObject {
|
|||||||
/**
|
/**
|
||||||
* Checks if the weatherObject is at dayTime.
|
* Checks if the weatherObject is at dayTime.
|
||||||
*
|
*
|
||||||
* @return {boolean} true if it is at dayTime
|
* @returns {boolean} true if it is at dayTime
|
||||||
*/
|
*/
|
||||||
isDayTime() {
|
isDayTime() {
|
||||||
return this.date.isBetween(this.sunrise, this.sunset, undefined, "[]");
|
return this.date.isBetween(this.sunrise, this.sunset, undefined, "[]");
|
||||||
@@ -150,7 +150,7 @@ class WeatherObject {
|
|||||||
/**
|
/**
|
||||||
* Clone to simple object to prevent mutating and deprecated legacy library.
|
* Clone to simple object to prevent mutating and deprecated legacy library.
|
||||||
*
|
*
|
||||||
* @return {object} simple object cloned.
|
* @returns {object} simple object cloned.
|
||||||
*/
|
*/
|
||||||
simpleClone() {
|
simpleClone() {
|
||||||
const toFlat = ["date", "sunrise", "sunset"];
|
const toFlat = ["date", "sunrise", "sunset"];
|
||||||
|
Reference in New Issue
Block a user