Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Nais committed Feb 14, 2012
1 parent 5591d1f commit d3f3885
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -92,14 +92,13 @@ Output format (see more details below) : nike_shoes=(Array containing the gadget
So to use it you can do :
xscript.onload=function() {
var res=eval('nike_shoes');
var res=eval('nike_shoes'+this.shoe_number); //for example if the parameter name depends on some var in your code
if (res.length>0) {
...
}
or
or simply
eval('nike_shoes');
if (nike_shoes.length>0) {
...
}
Expand Down

0 comments on commit d3f3885

Please sign in to comment.