fix(platform-server): interpret Native view encapsulation as Emulated on the server (#15155)

PR Close #15155
This commit is contained in:
Alex Rickabaugh
2017-03-14 14:09:24 -07:00
committed by Miško Hevery
parent a805d00256
commit de3d2eeeba
2 changed files with 27 additions and 1 deletions

View File

@ -29,6 +29,7 @@ export class ServerRendererFactory2 implements RendererFactory2 {
return this.defaultRenderer;
}
switch (type.encapsulation) {
case ViewEncapsulation.Native:
case ViewEncapsulation.Emulated: {
let renderer = this.rendererByCompId.get(type.id);
if (!renderer) {