mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 00:29:50 +02:00
Use native Promises and drop "q" dependency, update streetside.js to es6
This commit is contained in:
+801
-841
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user