Skip to content

Commit

Permalink
Readme: clean up code style
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
fvdm committed Feb 5, 2015
1 parent a34cc25 commit 537e55b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,31 @@ On error `err` is an instance of _Error_ and `data` is not set, see *Errors* bel
### Example

```js
var searchitunes = require('searchitunes')
var searchitunes = require ('searchitunes');

// Find free Github app for iPhone in Dutch App Store
searchitunes(
searchitunes (
{
entity: 'software',
country: 'NL',
term: 'github',
limit: 1,
price: 0
},
function( err, data ) {
if( err ) {
function (err, data) {
if (err) {

// Error
console.log( 'Search failed: '+ err.message )
console.log ('Search failed: %s', err.message);

} else {

// All good
console.log( data )
console.log (data);

}
}
)
);
```


Expand Down

0 comments on commit 537e55b

Please sign in to comment.