-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eddf460
commit 5bcaf8a
Showing
1 changed file
with
0 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +0,0 @@ | ||
|
||
var GU_CONTENT_API = 'http://content.guardianapis.com/search'; | ||
|
||
var feeds = [ | ||
{ | ||
'title': 'News', | ||
'url': '?section=news&page-size=3&format=json&show-fields=thumbnail' | ||
} | ||
]; | ||
|
||
// build component markup | ||
|
||
var i, n = feeds.length, feed; | ||
for (i = 0; i < n; i++) { | ||
feed = feeds[i]; | ||
console.log(GU_CONTENT_API + feed.url); | ||
|
||
// ajax call to GU_CONTENT_API + feed.url | ||
|
||
// build list markup | ||
|
||
// add markup to component | ||
|
||
} | ||
|
||
// draw component on the page | ||