Skip to content

Commit

Permalink
Make comment more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
bebraw committed Nov 16, 2016
1 parent 6f0c586 commit 7171735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function mergeSmart() {
function mergeStrategy() {
var rules = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];

// rules: { <field>: 'append': 'prepend' }
// rules: { <field>: <'append'|'prepend'> }
// All default to append but you can override here
return function () {
var _ref3;
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function mergeSmart() {
}

function mergeStrategy(rules = {}) {
// rules: { <field>: 'append': 'prepend' }
// rules: { <field>: <'append'|'prepend'> }
// All default to append but you can override here
return function () {
return lodashMerge.apply(null, [{}].concat(...arguments).concat([
Expand Down

0 comments on commit 7171735

Please sign in to comment.