export {Utilities} from './validation/utilities';
export {ValidationConfig} from './validation/validation-config';
export {ValidationLocale} from './validation/validation-locale';
export * from './validation/validation-result';
export * from './validation/validation-rules';
export {Validation} from './validation/validation';
export {ValidateCustomAttribute} from './validation/validate-custom-attribute';
export {ValidateCustomAttributeViewStrategy} from './validation/validate-custom-attribute-view-strategy';
export {ValidateCustomAttributeViewStrategyBase} from './validation/validate-custom-attribute-view-strategy';
export {ensure} from './validation/decorators';


import {ValidationConfig} from './validation/validation-config';
import {Validation} from './validation/validation';

export function configure(aurelia, configCallback) {

  aurelia.globalizeResources('./validation/validate-custom-attribute');
  if(configCallback !== undefined && typeof(configCallback) === 'function')
  {
    configCallback(Validation.defaults);
  }
  aurelia.withSingleton(ValidationConfig, Validation.defaults);
  return Validation.defaults.locale();
}

export {Utilities} from './validation/utilities';
export {ValidationConfig} from './validation/validation-config';
export {ValidationLocale} from './validation/validation-locale';
export * from './validation/validation-result';
export * from './validation/validation-rules';
export {Validation} from './validation/validation';
export {ValidateCustomAttribute} from './validation/validate-custom-attribute';
export {ValidateCustomAttributeViewStrategy} from './validation/validate-custom-attribute-view-strategy';
export {ValidateCustomAttributeViewStrategyBase} from './validation/validate-custom-attribute-view-strategy';
export {ensure} from './validation/decorators';


import {ValidationConfig} from './validation/validation-config';
import {Validation} from './validation/validation';

export function configure(aurelia, configCallback) {

  aurelia.globalResources('./validation/validate-custom-attribute');
  if(configCallback !== undefined && typeof(configCallback) === 'function')
  {
    configCallback(Validation.defaults);
  }
  aurelia.singleton(ValidationConfig, Validation.defaults);
  return Validation.defaults.locale();
}

Fix make plugin global after API change
Fix make plugin global after API change
