Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #550 from lzhan/updateapps

update yql api key
  • Loading branch information...
commit b23c00d237e1197586515c64c15e3d6efcf7f3b0 2 parents e4a034a + 157ddb8
@lzhan lzhan authored
View
2  examples/developer-guide/binding_events/mojits/PagerMojit/models/model.server.js
@@ -5,7 +5,7 @@
*/
YUI.add('PagerMojitModel', function(Y) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
/**
* The PagerMojitModel module.
View
2  tests/func/applications/frameworkapp/common/mojits_subdir2/mojits/SimpleModel/models/model.common.js
@@ -6,7 +6,7 @@ YUI.add('SimpleModelModel', function(Y) {
},
getTurkeyImages: function(callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var queryString = 'wild turkey';
var q = 'select * from flickr.photos.search where text="wild turkey" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
View
2  tests/func/applications/frameworkapp/usecase/mojits/Flickr/models/model.common.js
@@ -19,7 +19,7 @@ YUI.add('FlickrModel', function(Y) {
* @return {Object} photots
*/
getFlickrImages: function(queryString, callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q = 'select * from flickr.photos.search where text="%' + queryString + '" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
Y.log(rawYqlData);
View
2  tests/func/applications/frameworkapp/usecase/mojits/FlickrDetail/models/model.common.js
@@ -24,7 +24,7 @@ YUI.add('FlickrDetailModelFlickr', function(Y) {
* data has been retrieved.
*/
getFlickrDetail: function(imageId, callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q = 'select * from flickr.photos.info where photo_id="' + imageId + '" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
if (!rawYqlData || !rawYqlData.query || !rawYqlData.query.results) {
View
2  tests/func/applications/frameworkapp/usecase/mojits/PagedFlickr/models/model.common.js
@@ -8,7 +8,7 @@ YUI.add('PagedFlickrModel', function(Y) {
Y.mojito.models.flickr = {
getFlickrImages: function(queryString, start, count, callback) {
- var APP_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var APP_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q;
start = parseInt(start) || 0;
count = parseInt(count) || 10;
View
2  tests/func/applications/frameworkapp/usecase/mojits/PagedFlickr2/models/model.common.js
@@ -8,7 +8,7 @@ YUI.add('PagedFlickr2Model', function(Y) {
Y.mojito.models.flickr = {
getFlickrImages: function(queryString, start, count, callback) {
- var APP_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var APP_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q;
start = parseInt(start) || 0;
count = parseInt(count) || 10;
View
2  tests/func/applications/frameworkapp/usecase/mojits/PagedFlickr5/models/model.common.js
@@ -24,7 +24,7 @@ YUI.add('PagedFlickr5Model', function(Y) {
* data has been retrieved.
*/
getFlickrImages: function(queryString, start, count, callback) {
- var APP_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var APP_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q;
start = parseInt(start) || 0;
count = parseInt(count) || 10;
View
2  tests/func/applications/frameworkapp/usecase/mojits/i18nMojit/models/model.server.js
@@ -28,7 +28,7 @@ YUI.add('i18nMojitModel', function(Y) {
* data has been retrieved.
*/
getFlickrImages: function(queryString, callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q = 'select * from flickr.photos.search where text="%' + queryString + '" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
var rawPhotos = rawYqlData.query.results.photo,
View
2  tests/func/applications/frameworkapp/usecase/mojits/i18n_Mojit/models/model.server.js
@@ -17,7 +17,7 @@ YUI.add('i18n_MojitModel', function(Y) {
* data has been retrieved.
*/
getFlickrImages: function(queryString, callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q = 'select * from flickr.photos.search where text="%' + queryString + '" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
var rawPhotos = rawYqlData.query.results.photo,
Please sign in to comment.
Something went wrong with that request. Please try again.