Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sttk committed Sep 25, 2016
1 parent cdaf188 commit bfe754e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Usage
// => { a: 1, b: { c: 'CCC' }, d: { e: 'EEE' } }
```

* Can copy reversively (from *dst* to *src*) by option `{ reverse: true }` :
* Can copy reversively (from *dst* to *src*) by option `{ reverse: true }` (and return *src*):

```js
var src = { a: 1, b: { b1: 'bbb' }, c: 'ccc' };
Expand Down Expand Up @@ -177,7 +177,7 @@ copyProps(src, dst, {

*opts* can have following properties:

* **reverse** [boolean] : Copys reversively from *dst* to *src*. *fromToProps* is also reversively used from value to key. This default value is `false`.
* **reverse** [boolean] : Copys reversively from *dst* to *src* and returns *src* object. *fromToProps* is also reversively used from value to key. This default value is `false`.
* **rejectNull** [boolean] : if this option is `true`, a value of a source object or a return value of *converter* is not copied when the value is null. The default value is `true`.


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "copy-props",
"version": "1.1.0",
"version": "1.2.0",
"description": "Copy properties deeply between two objects.",
"main": "index.js",
"files": [
Expand Down

0 comments on commit bfe754e

Please sign in to comment.