bokmann / font-awesome-rails

the font-awesome font bundled as an asset for the rails asset pipeline
http://fortawesome.github.com/Font-Awesome/
MIT License
1.86k stars 244 forks source link

font-awesome-rails and jquery-awesome-cursor #151

Closed DannyBen closed 9 years ago

DannyBen commented 9 years ago

This is a cross-project issue, so not sure it is the perfect place for this ticket, but I guess it's at least 50% ok... :)

I am trying to use jquery-awesome-cursor which, as the name suggests, provides a way to use Font Awesome as a cursor.

With font-awesome-rails, the icons are not loading. I have opened a detailed ticket over there, but the owner does not use rails, so can't help figuring out the problem.

rmm5t commented 9 years ago

Closing this out. Browsers can load fonts after DOMContentLoaded potentially causing a race condition with jquery-awesome-cursor. Either jquery-awesome-cursor should take this into consideration internally, or they should update their docs to only load the plugin after fonts are finished loading.