Skip to content

Commit 8f54af1

Browse files
committed
Fix syntax error in README.
1 parent 2e2ff79 commit 8f54af1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ $ npm install load-script
2020

2121
```javascript
2222
var load = require('load-script')
23+
2324
load('foo.js', function (err) {
2425
if (err) {
2526
// print useful message
27+
}
2628
else {
2729
// use script
2830
// note that in IE8 and below loading error wouldn't be reported

0 commit comments

Comments
 (0)