typekit/webfontloader — pull request #147 by bramstein (2013-07-24 08:48:18+00:00)
Title: Add DomHelper loadStylesheet method and use it where applicable.

*Needs review.* This pull request introduces a `loadStylesheet` method that creates a `` element and inserts it into `

`. It has an optional callback that is called either the stylesheet has loaded or when it has failed to load. This callback is not guaranteed to be called on all browsers.

This change is a first step towards failing fast on browsers that support load/error events on `` elements.