Permalink
Browse files

fix(configure): checks the correct variable for type

  • Loading branch information...
bas080
bas080 committed Sep 22, 2016
1 parent 6e3d1c4 commit 2b83472dde2fe5f738863e3187caa46e2ac1f32e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/aurelia-view.js
@@ -3,7 +3,7 @@ import {Config} from './config';
export function configure(aurelia, configOrConfigure) {
let config = aurelia.container.get(Config);
if (typeof configCallback === 'function') {
if (typeof configOrConfigure === 'function') {
return configOrConfigure(config);
}
config.configure(configOrConfigure);

0 comments on commit 2b83472

Please sign in to comment.