Disable font loading for paper-styles
Need to move it to soy template, as bundled js loads paper-tabs before gr-app. Change-Id: Id844b093cd517912d698124117d1bc05330a4dc4
This commit is contained in:
@@ -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">
|
||||
|
@@ -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">
|
||||
|
@@ -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}
|
||||
|
Reference in New Issue
Block a user