Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
db6658c
Use endsWith from Lodash
edwingustafson Aug 10, 2018
56d122d
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Aug 16, 2018
0425235
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Aug 21, 2018
7dff7a2
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Aug 22, 2018
f8fd86e
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Aug 24, 2018
d17ca20
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Aug 27, 2018
94b024f
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Aug 30, 2018
5268a1b
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Aug 31, 2018
e0a228c
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Sep 2, 2018
72549f0
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Sep 5, 2018
eb6b49b
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Sep 6, 2018
a7bc42e
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Sep 14, 2018
8492a69
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Sep 15, 2018
a1e0078
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Sep 29, 2018
a7a8e76
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Oct 7, 2018
aa1c3d4
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Oct 12, 2018
de43b76
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Oct 15, 2018
868cb4d
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Oct 21, 2018
a02c9f0
Return function results directly (without trivial local variable)
edwingustafson Oct 27, 2018
599c0bc
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Oct 27, 2018
b7d1a3b
Eliminate another case of function returning trivial local variable
edwingustafson Oct 29, 2018
07967f3
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Oct 30, 2018
d9b616d
Another opportunity to directly return function result without a triv…
edwingustafson Oct 30, 2018
46e97ad
Consolidate redundant functions "percentile"; remove unused function …
edwingustafson Nov 15, 2018
d154a1f
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Nov 18, 2018
77386d5
Import percentile with var not const
edwingustafson Nov 18, 2018
666d97c
Merge remote-tracking branch 'upstream/dev' into dev
edwingustafson Nov 18, 2018
631c34f
basalGlucose spelling
edwingustafson Nov 18, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/autotune-prep/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function generate (inputs) {
BGTime = new Date(basalGlucose[i].date);
} else if (basalGlucose[i].displayTime) {
BGTime = new Date(basalGlucose[i].displayTime.replace('T', ' '));
} else if (basalGuclose[i].dateString) {
} else if (basalGlucose[i].dateString) {
BGTime = new Date(basalGlucose[i].dateString);
} else {
consoleError("Could not determine last BG time");
Expand Down Expand Up @@ -128,7 +128,7 @@ function generate (inputs) {
BGTime = new Date(basalGlucose[i].date);
} else if (basalGlucose[i].displayTime) {
BGTime = new Date(basalGlucose[i].displayTime.replace('T', ' '));
} else if (basalGuclose[i].dateString) {
} else if (basalGlucose[i].dateString) {
BGTime = new Date(basalGlucose[i].dateString);
} else {
consoleError("Could not determine last BG time");
Expand Down
2 changes: 1 addition & 1 deletion lib/autotune/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function tuneAllTheThings (inputs) {
BGTime = new Date(basalGlucose[i].date);
} else if (basalGlucose[i].displayTime) {
BGTime = new Date(basalGlucose[i].displayTime.replace('T', ' '));
} else if (basalGuclose[i].dateString) {
} else if (basalGlucose[i].dateString) {
BGTime = new Date(basalGlucose[i].dateString);
} else {
console.error("Could not determine last BG time");
Expand Down