Skip to content

Commit

Permalink
update document
Browse files Browse the repository at this point in the history
  • Loading branch information
0xvoidmain committed Dec 2, 2016
1 parent ea6102a commit 048b81e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

Set and get values on objects via dot-notation strings.

[![testling badge](https://ci.testling.com/acstll/deep-get-set.png)](https://ci.testling.com/acstll/deep-get-set)

## Example

```js
Expand Down Expand Up @@ -78,8 +76,11 @@ Where `path` is a string like `foo.bar` or `foo.bar[0][1]` or `[0][1].foo['bar']
The function will return an array of path;

Ex:

`foo.bar` => `['foo', 'bar']`

`foo.bar[0][1]` => `['foo', 'bar', 0, 1]`

`[0][1].foo['bar']` => [0, 1, 'foo', 'bar']

## Installation
Expand Down

0 comments on commit 048b81e

Please sign in to comment.