Closed conchan closed 9 years ago
@mxie could you check this over? :grin:
How come we want to do the .erb route instead of keeping source/javascripts/typekit.js?
The typekit.js file held Typekit's async function, which resulted in FOUT since it ends up finish loading after the page. Loading their provided <script>
s at head fixes that, and I have it in an .erb since it's using the <script>
tag—should I do it differently?
I remember you said that you resolved the issue by contacting Typekit. Are we all set with this now or do we still need to figure something out?
Oh jeez I don't remember exactly what happened. I do remember contacting Typekit and we were able to fix the problem—but I think the problem was that none of the fonts were being loaded at all.
FOUT seems to be still happening on production right now, so I think this PR DOES fix that.
Ok cool. I think this is good to squash and merge then.
Removed async option because of FOUT