dist/lemurro.js
function adaptInputValidator(legacyValidator) {
  return function adaptedInputValidator(inputValue, extraParams) {
    return legacyValidator.call(this, inputValue, extraParams).then(function () {
      return undefined;
    }, function (validationMessage) {
      return validationMessage;
    });
  };
}
function adaptInputValidator(legacyValidator) {
  return function adaptedInputValidator(inputValue, extraParams) {
    return legacyValidator.call(this, inputValue, extraParams).then(function () {
      return undefined;
    }, function (validationMessage) {
      return validationMessage;
    });
  };
}
function adaptInputValidator ( legacyValidator ) { return function adaptedInputValidator ( inputValue , extraParams ) { return legacyValidator . call ( this , inputValue , extraParams ) . then ( function ( ) { return undefined ; } , function ( validationMessage ) { return validationMessage ; } ) ; } ; }
Adapt a legacy inputValidator for use with expectRejections=false
Adapt a legacy inputValidator for use with expectRejections = false