diff --git a/docs/dev_guide/intro/mojito_mvc.rst b/docs/dev_guide/intro/mojito_mvc.rst index c715449c6..4c9d7d0d3 100644 --- a/docs/dev_guide/intro/mojito_mvc.rst +++ b/docs/dev_guide/intro/mojito_mvc.rst @@ -96,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(callback, flickr_query){ + get_photos: function(flickr_query, callback){ Y.YQL (flickr_query, function(rawYql) { // Handle empty response. if (null == rawYql || 0 == rawYql.query.count) {