diff --git a/ionic/components/swiper/test/basic/index.ts b/ionic/components/swiper/test/basic/index.ts deleted file mode 100644 index 8c08f5b548..0000000000 --- a/ionic/components/swiper/test/basic/index.ts +++ /dev/null @@ -1,37 +0,0 @@ -import {App, Http} from 'ionic/ionic'; - - -@App({ - templateUrl: 'main.html' -}) -class MyApp { - constructor() { - this.extraOptions = { - loop: true - }; - - this.images = []; - - let tags = "amsterdam"; - let FLICKR_API_KEY = '504fd7414f6275eb5b657ddbfba80a2c'; - let baseUrl = 'https://api.flickr.com/services/rest/'; - - Http.get(baseUrl + '?method=flickr.groups.pools.getPhotos&group_id=1463451@N25&safe_search=1&api_key=' + FLICKR_API_KEY + '&jsoncallback=JSON_CALLBACK&format=json&tags=' + tags, { - method: 'jsonp' - }).then((val) => { - console.log('Loaded', val); - this.images = val.photos.photo; - }, (err) => { - alert('Unable to load images'); - console.error(err); - }) - } - - getImageUrl(item) { - return "http://farm"+ item.farm +".static.flickr.com/"+ item.server +"/"+ item.id +"_"+ item.secret + "_z.jpg"; - } - - doRefresh() { - console.log('DOREFRESH') - } -}