Remove ShadyDom/ShadyCSS

This is not needed, gerrit has been working under polymer 2 for a while.

Change-Id: Ib4be1f3e82ffbaba3d922c788a96ca96a12126b4
This commit is contained in:
Paladox none 2020-02-23 16:20:53 +00:00
parent 99edf2b6fc
commit 5a6e8debfa
2 changed files with 0 additions and 10 deletions

View File

@ -186,12 +186,6 @@ public class IndexHtmlUtil {
if (urlParameterMap.containsKey("ce")) {
data.put("polyfillCE", "true");
}
if (urlParameterMap.containsKey("sd")) {
data.put("polyfillSD", "true");
}
if (urlParameterMap.containsKey("sc")) {
data.put("polyfillSC", "true");
}
if (urlParameterMap.containsKey("gf")) {
data.put("useGoogleFonts", "true");
}

View File

@ -25,8 +25,6 @@
{@param? faviconPath: ?}
{@param? versionInfo: ?}
{@param? polyfillCE: ?}
{@param? polyfillSD: ?}
{@param? polyfillSC: ?}
{@param? useGoogleFonts: ?}
{@param? changeRequestsPath: ?}
{@param? defaultChangeDetailHex: ?}
@ -62,8 +60,6 @@
{if $staticResourcePath != ''}window.STATIC_RESOURCE_PATH = '{$staticResourcePath}';{/if}
{if $assetsPath}window.ASSETS_PATH = '{$assetsPath}';{/if}
{if $polyfillCE}if (window.customElements) window.customElements.forcePolyfill = true;{/if}
{if $polyfillSD}{literal}ShadyDOM = { force: true };{/literal}{/if}
{if $polyfillSC}{literal}ShadyCSS = { shimcssproperties: true};{/literal}{/if}
{if $gerritInitialData}
// INITIAL_DATA is a string that represents a JSON map. It's inlined here so that we can
// spare calls to the API when starting up the app.