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
Watson, Russell committed Aug 30, 2016
1 parent 4ff49d4 commit 33b04b2
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 33b04b2

Please sign in to comment.