Skip to content

Commit

Permalink
fix typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xboy2012 committed Jul 27, 2017
1 parent 8a85b89 commit 000db9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -52,7 +52,7 @@ var XDefer = require('xdefer');
### ES6

```javascript
import XDefer from 'xdefer'
import XDefer from 'xdefer';
```

## Usage
Expand Down Expand Up @@ -97,7 +97,7 @@ XDefer.setPromise(Promise);

```javascript
XDefer.resolve(123); //is the same as (new XDefer()).resolve(123);
XDefer.reject(Error()); is the same as (new XDefer()).reject(Error());
XDefer.reject(Error()); //is the same as (new XDefer()).reject(Error());
```

## License
Expand Down

0 comments on commit 000db9c

Please sign in to comment.