gr-app-p2 is still needed for google hosts
Change-Id: Idc3ec6787507781706d438ed161cc311438a8e52
This commit is contained in:
@@ -92,8 +92,17 @@
|
||||
<link rel="import" href="{$assetsPath}/{$assetsBundle}">{\n}
|
||||
{/if}
|
||||
|
||||
<link rel="import" href="{$staticResourcePath}/elements/gr-app.html">{\n}
|
||||
// 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}
|
||||
|
Reference in New Issue
Block a user