Skip to content

Commit

Permalink
Merge pull request #27 from jimt/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
stefanpenner committed May 13, 2014
2 parents 3eea3b5 + 1ca92af commit d7ec36b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var Promise = require('es6-promise').Promise;

## Usage in IE<10

`catch` is a reserved word in IE<10, meaning `promise.catch(func)` throws a syntax error. To work around this, to a string to access the property:
`catch` is a reserved word in IE<10, meaning `promise.catch(func)` throws a syntax error. To work around this, use a string to access the property:

```js
promise['catch'](function(err) {
Expand All @@ -49,4 +49,4 @@ Custom tasks:

* `grunt test` - Run Mocha tests through Node and PhantomJS.
* `grunt test:phantom` - Run Mocha tests through PhantomJS (browser build).
* `grunt test:node` - Run Mocha tests through Node (CommonJS build).
* `grunt test:node` - Run Mocha tests through Node (CommonJS build).

0 comments on commit d7ec36b

Please sign in to comment.