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

Update docs/dev_guide/intro/mojito_mvc.rst #784

Merged
merged 2 commits into from
Nov 25, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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