You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
In "Setting Up this Example", Step 9, the code is:
// Query for the image metadata
var query = 'select * from flickr.photos.info where photo_id="' + imageId + '"';
thatNode.one('#display').setContent('Loading ...');
Y.YQL(query, function(raw) {
needs to be -
//on the top:
var API_KEY = "{api_key}";
// and then for YQL query:
var query = 'select * from flickr.photos.info where photo_id="' + imageId + '" and api_key="' + API_KEY + '"';
as is done for model.server.js
Another very minor annoyance to the reader is that the example talks about model.server.js but "mojito create mojit" creates foo.server.js - maybe add a step "Rename the model file foo.server.js to model.server.js"
The text was updated successfully, but these errors were encountered:
http://developer.yahoo.com/cocktails/mojito/docs/code_exs/binding_events.html does not work if you just copy and paste as it is missing an api_key:
In "Setting Up this Example", Step 9, the code is:
// Query for the image metadata
var query = 'select * from flickr.photos.info where photo_id="' + imageId + '"';
thatNode.one('#display').setContent('Loading ...');
Y.YQL(query, function(raw) {
needs to be -
//on the top:
var API_KEY = "{api_key}";
// and then for YQL query:
var query = 'select * from flickr.photos.info where photo_id="' + imageId + '" and api_key="' + API_KEY + '"';
as is done for model.server.js
Another very minor annoyance to the reader is that the example talks about model.server.js but "mojito create mojit" creates foo.server.js - maybe add a step "Rename the model file foo.server.js to model.server.js"
The text was updated successfully, but these errors were encountered: