summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorWyatt Allen <wyatta@google.com>2018-03-27 18:18:18 -0700
committerWyatt Allen <wyatta@google.com>2018-04-12 16:31:50 +0000
commit702c754c1676dcef9d4ffbc196b17074cb792a7b (patch)
treed54e3cd3486be03499e8b3f4f957c38bedbbc2fc /resources
parent4f51e4d1b5cbabfc0b4c81a6291a0b3c22d166d0 (diff)
Disable deps.js requests in the index template
Bug: Issue 8740 Change-Id: I6d38700e4bd79dff1840ce2ec9e53ecff280aef3
Diffstat (limited to 'resources')
-rw-r--r--resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy11
1 files changed, 5 insertions, 6 deletions
diff --git a/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy b/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy
index a01314036f..699dd0efbe 100644
--- a/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy
+++ b/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy
@@ -29,12 +29,11 @@
<meta name="description" content="Gerrit Code Review">{\n}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">{\n}
- {if $canonicalPath != '' or $versionInfo}
- <script>
- {if $canonicalPath != ''}window.CANONICAL_PATH = '{$canonicalPath}';{/if}
- {if $versionInfo}window.VERSION_INFO = '{$versionInfo}';{/if}
- </script>{\n}
- {/if}
+ <script>
+ window.CLOSURE_NO_DEPS = true;
+ {if $canonicalPath != ''}window.CANONICAL_PATH = '{$canonicalPath}';{/if}
+ {if $versionInfo}window.VERSION_INFO = '{$versionInfo}';{/if}
+ </script>{\n}
{if $faviconPath}
<link rel="icon" type="image/x-icon" href="{$canonicalPath}/{$faviconPath}">{\n}