Skip to content

Commit

Permalink
Sets the viewport object for the specified key on the instruction's c…
Browse files Browse the repository at this point in the history
…onfig object
  • Loading branch information
Roustalski committed Oct 4, 2016
1 parent e6accee commit 377fd8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ function evaluateNavigationStrategy(instruction: NavigationInstruction, evaluato
for (let key in modules) {
let vp = instruction.config.viewPorts[key] || {};
vp.moduleId = modules[key];
instruction.config.viewPorts[key] = vp;
}

return instruction;
Expand Down

0 comments on commit 377fd8b

Please sign in to comment.