<commit_before>export {AuthService} from './authService';
export {AuthorizeStep} from './authorizeStep';
import {BaseConfig} from './baseConfig';
export {FetchConfig} from './app.fetch-httpClient.config';

export function configure(aurelia, configCallback) {
  aurelia.globalResources('./authFilter');

  var baseConfig = aurelia.container.get(BaseConfig);
  if (configCallback !== undefined && typeof(configCallback) === 'function') {
    configCallback(baseConfig);
  }
}<commit_msg>On configure take the config directly as an object<commit_after>export {AuthService} from './authService';
export {AuthorizeStep} from './authorizeStep';
import {BaseConfig} from './baseConfig';
export {FetchConfig} from './app.fetch-httpClient.config';

export function configure(aurelia, config) {
  aurelia.globalResources('./authFilter');

  var baseConfig = aurelia.container.get(BaseConfig);
  if (typeof config === 'function') {
    config(baseConfig);
  } else if (typeof config === 'object') {
    baseConfig.configure(config);
  }
}
{'fraction_non_alphanumeric': 0.1460564751703992, 'fraction_numerical': 0.0, 'mean_word_length': 5.589743589743589, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2300456', 'n_tokens_mistral': 291, 'n_tokens_neox': 287, 'n_words': 73}