Skip to content

Commit

Permalink
Removed some old JS code.
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoochild committed Dec 8, 2011
1 parent eddf460 commit 5bcaf8a
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions static/js/readnext.js
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

0 comments on commit 5bcaf8a

Please sign in to comment.