gr-app-p2 is still needed for google hosts

Change-Id: Idc3ec6787507781706d438ed161cc311438a8e52
This commit is contained in:
Tao Zhou
2019-10-15 17:09:31 +02:00
parent 83432a974e
commit f920648fd0

View File

@@ -92,8 +92,17 @@
<link rel="import" href="{$assetsPath}/{$assetsBundle}">{\n}
{/if}
// TODO(taoalpha): only used by Google, remove once polymer 2 fully rolled out
{if $polymer2}
<link rel="import" href="{$staticResourcePath}/elements/gr-app-p2.html">{\n}
{else}
<link rel="import" href="{$staticResourcePath}/elements/gr-app.html">{\n}
{/if}
<body unresolved>{\n}
{if $polymer2}
<gr-app-p2 id="app"></gr-app-p2>{\n}
{else}
<gr-app id="app"></gr-app>{\n}
{/if}
{/template}