Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Stylesheet detection #31

Closed
senseiweb opened this issue Jan 14, 2015 · 1 comment
Closed

Stylesheet detection #31

senseiweb opened this issue Jan 14, 2015 · 1 comment

Comments

@senseiweb
Copy link

I have been running through your examples for version 2 of the library, but I unable to get the css detection to work properly. The CSS cdns are called and are loaded on the page; but the library test fails to recognize it has been loaded. I have tried using the provided example by making the export a known class of the library (quite frankly not exactly sure how that logic was meant to work), and I have some custom check functions, but do seem to work as the browser doesn't update the document styles until after the library completes it cycle. Any ideas...

@sgarbesi
Copy link
Member

@senseiweb v2 is unstable and still a work in progress.

v1 should work though. Detecting CSS files loading properly in general is unreliable in the browsers, there's a discussion that was started about it here:

#16

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

No branches or pull requests

2 participants