Merge "Disable font loading for paper-styles"

This commit is contained in:
Tao Zhou
2019-10-16 12:11:14 +00:00
committed by Gerrit Code Review
3 changed files with 2 additions and 6 deletions

View File

@@ -21,9 +21,6 @@ limitations under the License.
-->
<script>
window.Gerrit = window.Gerrit || {};
// Disable extra font load from paper-styles
window.polymerSkipLoadingFontRoboto = true;
</script>
<link rel="import" href="/bower_components/polymer/polymer.html">

View File

@@ -32,9 +32,6 @@ limitations under the License.
}
}
window.Gerrit = window.Gerrit || {};
// Disable extra font load from paper-styles
window.polymerSkipLoadingFontRoboto = true;
</script>
<link rel="import" href="/bower_components/polymer/polymer.html">

View File

@@ -40,6 +40,8 @@
</noscript>
<script>
// Disable extra font load from paper-styles
window.polymerSkipLoadingFontRoboto = true;
window.CLOSURE_NO_DEPS = true;
// TODO(taoalpha): clean up once p2 fully rolled out
{if $polymer2}window.POLYMER2 = true;{/if}