Skip to content

Commit

Permalink
fixed a few small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
moollaza committed May 8, 2012
1 parent c530c98 commit 53427f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/DDG/Spice/Movie.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package DDG::Spice::Movie;

use DDG::Spice;

spice to => 'http://api.rottentomatoes.com/api/public/v1.0/movies.json?apikey=ccw2b5ce8dsy7sb3x2qxmn3x&q=$1&page_limit=1&page=1&callback={{callback}}'
spice to => 'http://api.rottentomatoes.com/api/public/v1.0/movies.json?apikey=ccw2b5ce8dsy7sb3x2qxmn3x&q=$1&page_limit=1&page=1&callback={{callback}}';

triggers startend => "movie";

Expand Down
8 changes: 4 additions & 4 deletions share/spice/movie/spice.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ function ddg_spice_movie(movie) {
items = new Array();
items[0] = new Array();
items[0]['a'] = result.title + ' is a '+result.year+ ' movie ('
+result.mpaa_rating+ ','
+result.audience_score+ '%, '
+result.critic_score+ '% critic approved)'
+result.cast + '. '
+result.mpaa_rating+ ', '
+result.ratings.audience_score+ '%, '
+result.ratings.critics_score+ '% critic approved)'
+cast+ '. '
+synopsis;

items[0]['h'] = header;
Expand Down

0 comments on commit 53427f7

Please sign in to comment.