Permalink
Browse files

Removed dead code.

  • Loading branch information...
1 parent e1c6eeb commit b828edd054eb389673e2b4b2a672da3bae811594 @jaxzin committed Mar 29, 2012
Showing with 0 additions and 16 deletions.
  1. +0 −16 models/collections.js
View
@@ -40,21 +40,5 @@ Collections.Headlines = Backbone.Collection.extend({
console.log("Parsing headlines response.");
response.headlines[0].active = true;
return response.headlines;
- },
-
- // realistically, this fetch call would go out to some external endpoint (database, cache, service, etc)
- // for this demo, it just uses setTimeout to simulate an asynchronous request that takes some amount of time
-// fetch: function() {
-// console.log("Fetching headlines:" + this.url);
-// var self = this;
-// this.each(function(model) {
-// console.log("Fetching headline:" + headline);
-// self.updateModel(model);
-// });
-// },
-
- updateModel: function(model) {
- // TODO: call API here
- model.set({headline: 'Example fetched headline', web_url: 'http://games.espn.go.com'});
}
});

0 comments on commit b828edd

Please sign in to comment.