Permalink
Browse files

Update docs/dev_guide/code_exs/calling_yql.rst

  • Loading branch information...
1 parent 69270fa commit 6644a082fe28fb26087ed443110663638fc4c10c @jianlin committed Jan 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/dev_guide/code_exs/calling_yql.rst
@@ -359,11 +359,11 @@ To set up and run ``model_yql``:
index: function(ac) {
// Use aliases to params addon
// if they exist.
- if(ac.params.hasOwnProperty('url')){
+ if (ac.params.hasOwnProperty('url')){
var q =ac.params.url('q') || 'muppet',
page = (ac.params.url('page') || 0) /1,
count = (ac.params.url('size') || 20) /1;
- }else{
+ } else {
var q =ac.params.getFromUrl('q') || 'muppet',
page = (ac.params.getFromUrl('page') || 0) / 1,
count = (ac.params.getFromUrl('count') || 20) / 1;

0 comments on commit 6644a08

Please sign in to comment.