Skip to content

Commit

Permalink
docs(README): clarify example
Browse files Browse the repository at this point in the history
  • Loading branch information
javiercejudo committed Jan 1, 2016
1 parent c58612f commit 78f04e5
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 @@ -13,8 +13,8 @@ Find closing symbol (parentheses, curly braces...)
## Usage

```js
var findClosingSymbol = require('find-closing-symbol');
var findClosingParenthesis = findClosingSymbol('(', ')');
var findClosingSymbolFactory = require('find-closing-symbol');
var findClosingParenthesis = findClosingSymbolFactory('(', ')');

findClosingParenthesis('2 + (5 + 1)) * 5'); // => 12
```
Expand Down

0 comments on commit 78f04e5

Please sign in to comment.