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:
@@ -186,12 +186,6 @@ public class IndexHtmlUtil {
|
|||||||
if (urlParameterMap.containsKey("ce")) {
|
if (urlParameterMap.containsKey("ce")) {
|
||||||
data.put("polyfillCE", "true");
|
data.put("polyfillCE", "true");
|
||||||
}
|
}
|
||||||
if (urlParameterMap.containsKey("sd")) {
|
|
||||||
data.put("polyfillSD", "true");
|
|
||||||
}
|
|
||||||
if (urlParameterMap.containsKey("sc")) {
|
|
||||||
data.put("polyfillSC", "true");
|
|
||||||
}
|
|
||||||
if (urlParameterMap.containsKey("gf")) {
|
if (urlParameterMap.containsKey("gf")) {
|
||||||
data.put("useGoogleFonts", "true");
|
data.put("useGoogleFonts", "true");
|
||||||
}
|
}
|
||||||
|
@@ -25,8 +25,6 @@
|
|||||||
{@param? faviconPath: ?}
|
{@param? faviconPath: ?}
|
||||||
{@param? versionInfo: ?}
|
{@param? versionInfo: ?}
|
||||||
{@param? polyfillCE: ?}
|
{@param? polyfillCE: ?}
|
||||||
{@param? polyfillSD: ?}
|
|
||||||
{@param? polyfillSC: ?}
|
|
||||||
{@param? useGoogleFonts: ?}
|
{@param? useGoogleFonts: ?}
|
||||||
{@param? changeRequestsPath: ?}
|
{@param? changeRequestsPath: ?}
|
||||||
{@param? defaultChangeDetailHex: ?}
|
{@param? defaultChangeDetailHex: ?}
|
||||||
@@ -62,8 +60,6 @@
|
|||||||
{if $staticResourcePath != ''}window.STATIC_RESOURCE_PATH = '{$staticResourcePath}';{/if}
|
{if $staticResourcePath != ''}window.STATIC_RESOURCE_PATH = '{$staticResourcePath}';{/if}
|
||||||
{if $assetsPath}window.ASSETS_PATH = '{$assetsPath}';{/if}
|
{if $assetsPath}window.ASSETS_PATH = '{$assetsPath}';{/if}
|
||||||
{if $polyfillCE}if (window.customElements) window.customElements.forcePolyfill = true;{/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}
|
{if $gerritInitialData}
|
||||||
// INITIAL_DATA is a string that represents a JSON map. It's inlined here so that we can
|
// 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.
|
// spare calls to the API when starting up the app.
|
||||||
|
Reference in New Issue
Block a user