Revert searches to SearchScreen.js - merging internally

This commit is contained in:
Tadeu Zagallo 2015-03-27 21:06:02 +00:00
parent 9b0c2a4d30
commit bcb8c4cee3
1 changed files with 1 additions and 9 deletions

View File

@ -31,16 +31,8 @@ var MovieScreen = require('./MovieScreen');
var fetch = require('fetch');
/**
* This is for demo purposes only, and rate limited.
* In case you want to use the Rotten Tomatoes' API on a real app you should
* create an account at http://developer.rottentomatoes.com/
*/
var API_URL = 'http://api.rottentomatoes.com/api/public/v1.0/';
var API_KEYS = [
'7waqfqbprs7pajbz28mqf6vz',
// 'y4vwv8m33hed9ety83jmv52f', Fallback api_key
];
var API_KEYS = ['7waqfqbprs7pajbz28mqf6vz', 'y4vwv8m33hed9ety83jmv52f'];
// Results should be cached keyed by the query
// with values of null meaning "being fetched"