Skip to content

Commit

Permalink
Merge pull request addyosmani#97 from vitorbal/master
Browse files Browse the repository at this point in the history
Fix searchPhotos handler on GalleryRouter example
  • Loading branch information
addyosmani committed Apr 6, 2012
2 parents 60cffaa + 023bb63 commit 507c7d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,8 @@ var GalleryRouter = Backbone.Router.extend({
},

searchPhotos: function(query, page){
console.log("Page number: " + page + " of the results for " + query);
var page_number = page || 1;
console.log("Page number: " + page_number + " of the results for " + query);
},

downloadPhoto: function(id, path){
Expand Down

0 comments on commit 507c7d4

Please sign in to comment.