From dfc3d9af81a833a924c5eea857f76da251724ed0 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 24 Sep 2015 20:28:38 -0500 Subject: [PATCH] chore(): remove unused e2e --- ionic/components/swiper/test/basic/index.ts | 37 --------------------- 1 file changed, 37 deletions(-) delete mode 100644 ionic/components/swiper/test/basic/index.ts 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') - } -}