Skip to content

Commit

Permalink
Rename pluck=>pick, see #189
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Dec 27, 2018
1 parent 738fae9 commit 0df6e30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/Property.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ define( function( require ) {
}, options );

// @private
this.validatorOptions = Validator.pluckOptions( options );
this.validatorOptions = Validator.pickOptions( options );

assert && Validator.validateOptions( this.validatorOptions );

Expand Down
2 changes: 1 addition & 1 deletion js/Validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ define( require => {
* @returns {Object}
* @public
*/
pluckOptions: options => _.pick( options, DEFAULT_OPTIONS_KEYS )
pickOptions: options => _.pick( options, DEFAULT_OPTIONS_KEYS )
};

Validator.DEFAULT_OPTIONS = DEFAULT_OPTIONS;
Expand Down

0 comments on commit 0df6e30

Please sign in to comment.