Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #784 from lazybean/patch-1
Browse files Browse the repository at this point in the history
Update docs/dev_guide/intro/mojito_mvc.rst
  • Loading branch information
Joe Catera committed Nov 25, 2012
2 parents 439ce90 + 654d6d4 commit 7484c79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/dev_guide/intro/mojito_mvc.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@


=============
MVC in Mojito
=============
Expand Down Expand Up @@ -97,7 +96,7 @@ instructs Mojito to load the YUI module ``yql`` for getting data.
this.config = config;
},
// Model function to get data
get_photos: function(flickr_query){
get_photos: function(flickr_query, callback){
Y.YQL (flickr_query, function(rawYql) {
// Handle empty response.
if (null == rawYql || 0 == rawYql.query.count) {
Expand Down

0 comments on commit 7484c79

Please sign in to comment.