mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
fix typo jsdom tag returns
This commit is contained in:
parent
038b6765e7
commit
0f39b7733c
@ -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"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user