Skip to content

Commit 9bd3daf

Browse files
committed
defined vals
1 parent 049dfe3 commit 9bd3daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/jsonclock/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ let getVal = function(now, loc) {
112112

113113
let loadJson = function() {
114114
const now = new Date();
115-
vals = getVal(now, location);
115+
const vals = getVal(now, location);
116116
//vals.steps = null; // For testing; uncomment to see the steps not appear
117117
//location.location = null; // For testing, if null, the time becomes an struct to take up sun's struct
118118
let raw;

0 commit comments

Comments
 (0)