Skip to content

Conversation

dengjeffrey
Copy link

What this PR tries to accomplish

How it accomplishes them

Fixes #309

  • Adds an object FontModulesLoadCounter to keep track of the modules being loaded and which is the last one being processed as part of a WebFont.load request
  • Breaks down the methods in FontWatchRunner and NativeFontWatchRunner so that they are easier to test using jasmine
  • Adds an additional test to the webfont.spec to test that the active event triggers twice for two WebFont.load calls

@nuthinking
Copy link

Interesting improvement. Shame the repo is abandoned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

active-event not being triggered when two calls made back to back
2 participants