Permalink
Browse files

feat(plugin): Expose Config and Resolver

  • Loading branch information...
RWOverdijk committed Jan 15, 2016
1 parent efb314f commit 90d3de04ce4b0a4ee7a21c80dc906e0dc2cecaec
Showing with 6 additions and 3 deletions.
  1. +6 −3 src/index.js
@@ -1,6 +1,9 @@
import {HttpClient} from 'aurelia-fetch-client';
export {Rest} from './rest';
import {Config} from './config';
export {Config} from './config';
export {Endpoint} from './endpoint';

export function configure(aurelia, configCallback) {
aurelia.container.get(HttpClient).configure(configCallback);
let config = aurelia.container.get(Config);

configCallback(config);
}

0 comments on commit 90d3de0

Please sign in to comment.