Commit 6ad452e049e6b44d559888128267bb109a3f1aad
better flatten
Dominic Tarr committed on 7/8/2017, 1:36:06 AMParent: 757781c62005b7ee5e20b07616d719a72de7f743
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -28,7 +28,7 @@ | ||
28 | 28 … | heading: GreatCircle.bearing(_e.latitude, _e.longitude, e.latitude, e.longitude) |
29 | 29 … | } |
30 | 30 … | }) |
31 | 31 … | |
32 | - pre.textContent = JSON.stringify(flatten({current:e, movement: movement}), null, 2) | |
32 … | + pre.textContent = JSON.stringify({current: flatten(e), movement: movement}, null, 2) | |
33 | 33 … | }) |
34 | 34 … |
Built with git-ssb-web