Skip to content

Commit

Permalink
consistent order of expressions, #212
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 23, 2019
1 parent 89500ae commit 2348eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ValidatorDef.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ define( require => {

if ( validator.hasOwnProperty( 'isValidValue' ) ) {
assert(
validator.isValidValue === null ||
typeof validator.isValidValue === 'function' ||
validator.isValidValue === null ||
validator.isValidValue === undefined,
`isValidValue must be a function: ${validator.isValidValue}`
);
Expand Down

0 comments on commit 2348eb7

Please sign in to comment.