Use native Promises and drop "q" dependency, update streetside.js to es6

This commit is contained in:
Bryan Housel
2019-11-08 16:23:58 -05:00
parent 67b283c7a2
commit d986d1b68d
3 changed files with 803 additions and 844 deletions
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -99,8 +99,8 @@ export function svgStreetside(projection, context, dispatch) {
service
.selectImage(d)
.then(function(r) {
if (r.status === 'ok'){
.then(response => {
if (response.status === 'ok'){
service.showViewer(_viewerYaw);
}
});
-1
View File
@@ -51,7 +51,6 @@
"node-diff3": "1.0.0",
"osm-auth": "1.0.2",
"pannellum": "2.4.1",
"q": "1.5.1",
"rbush": "3.0.1",
"string.fromcodepoint": "0.2.1",
"which-polygon": "2.2.0",