Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tomek-f committed Apr 14, 2016
1 parent d3ac58c commit ccf1fff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ loadScripts(
});
```

Load more scripts (Promise.all) - objects and urls (no url-object pairs allowed), callback must be unique names
Load more scripts (Promise.all) - objects and urls, callback must be unique names

```js
var loadScripts = require('simple-load-script').all;
Expand All @@ -122,10 +122,10 @@ loadScripts(
callBackName: 'elo',
removeScript: true
},
{
url: 'https://api.twitter.com/1/statuses/oembed.json?id=507185938620219395&callback=elo2',
callBackName: 'elo2'
},
[
'https://api.twitter.com/1/statuses/oembed.json?id=507185938620219395&callback=elo2',
{ callBackName: 'elo2' }
],
'//code.jquery.com/jquery-2.2.3.js'
)
.then(function(scriptRef) {
Expand Down

0 comments on commit ccf1fff

Please sign in to comment.