Disable deps.js requests in the index template

Bug: Issue 8740
Change-Id: I6d38700e4bd79dff1840ce2ec9e53ecff280aef3
This commit is contained in:
Wyatt Allen 2018-03-27 18:18:18 -07:00 committed by Paladox none
parent 6ac93d7ec6
commit 32a00aff61
1 changed files with 5 additions and 6 deletions

View File

@ -32,12 +32,11 @@
To use PolyGerrit, please enable JavaScript in your browser settings, and then refresh this page.
</noscript>
{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}
<link rel="icon" type="image/x-icon" href="{$canonicalPath}/favicon.ico">{\n}