We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bde8d7 commit ef1fc75Copy full SHA for ef1fc75
ionic/components/slides/test/basic/index.ts
@@ -22,14 +22,13 @@ class MyApp {
22
23
this.http.get(baseUrl + '?method=flickr.groups.pools.getPhotos&group_id=1463451@N25&safe_search=1&api_key='
24
+ FLICKR_API_KEY + '&nojsoncallback=1&format=json&tags=' + tags)
25
- .map(res => res.json())
26
.subscribe(data => {
27
- this.images = data.photos.photo.slice(0, 20);
+ this.images = data.json().photos.photo.slice(0, 20);
28
setTimeout(() => {
29
this.slider.update();
30
});
31
}, (err) => {
32
- alert('Unable to load images');
+ console.info('Unable to load images');
33
console.error(err);
34
})
35
}
0 commit comments