Permalink
Browse files

fix(configure): return callback promise

  • Loading branch information...
doktordirk committed Oct 14, 2016
1 parent 4a220a6 commit e6a4a3c351e5eaec47360fe7c82bfe21936fc507
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/aurelia-config.js
@@ -10,5 +10,5 @@ import {PluginManager} from './plugin-manager';
export function configure(use: FrameworkConfiguration, callback: Function): any {
let pluginManager = use.container.get(PluginManager);
callback((plugins: Array<stringPluginDefinition>, ...appConfigs: {}) => pluginManager.configure(use, plugins, ...appConfigs));
return callback((plugins: Array<stringPluginDefinition>, ...appConfigs: {}) => pluginManager.configure(use, plugins, ...appConfigs));
}

0 comments on commit e6a4a3c

Please sign in to comment.