Skip to content

Commit 9e99d06

Browse files
MomentumVthyttan
authored andcommitted
Fix linter complaints
Commented out the utility functions and variables used to make documentation. Seems like there should be a better approach, maybe an extra dev.js?
1 parent 69bf06f commit 9e99d06

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

apps/daymoon/app.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,7 @@ function tToRad(date) {
186186
}
187187

188188
function draw(date) {
189-
d = date !== undefined ? date : new Date();
190-
191-
//var d = new Date(),
189+
var d = date !== undefined ? date : new Date();
192190
var a = tToRad(d),
193191
shape = moonShade(M_POS, SunCalc.getMoonIllumination(d)),
194192
sTimes = SunCalc.getTimes(d, location.lat, location.lon),
@@ -205,15 +203,16 @@ function draw(date) {
205203
});
206204

207205
}
206+
/*
208207
const shotTimes = [1720626960000, 1729184400000, 1738298880000, 1717575420000];
209-
/*first quarter -2 days moon at 10:20 in the summer
208+
let desc =`first quarter -2 days moon at 10:20 in the summer
210209
jun 10 2024 10:56
211210
full moon at 12 noon near fall equinox
212211
Sep 17 2024 12:00
213212
new moon at 11pm in winter
214213
dec 30 2024 23:48
215214
3rd quarter moon at 03:17 am
216-
May 5 2024 03:17*/
215+
May 5 2024 03:17`
217216
218217
function screenshots(times) {
219218
let d = new Date();
@@ -223,7 +222,7 @@ function screenshots(times) {
223222
g.dump();
224223
}
225224
}
226-
225+
*/
227226
// Clear the screen once, at startup
228227
g.reset();
229228
// requires the myLocation app

0 commit comments

Comments
 (0)