Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for some browsers. #87

Merged
merged 2 commits into from
Nov 8, 2014
Merged

Patch for some browsers. #87

merged 2 commits into from
Nov 8, 2014

Conversation

renzocastro
Copy link
Contributor

The event load or readystatechange don't fire to tag LINK (CSS) in:

  • iOS < 6 (default mobile browser)
  • Android < 4.4 (default mobile browser)
  • Safari < 6 (desktop browser)

Then use a patch found in:
https://github.com/kof/xLazyLoader/blob/master/src/jquery.xLazyLoader.js#L163
but applied to browsers with the problem

@ocombe ocombe closed this Nov 8, 2014
@ocombe
Copy link
Owner

ocombe commented Nov 8, 2014

I'd rather not do UA sniffing, I'd rather use a function checking every 10ms like this, I'll fix this, thanks for the report.

@ocombe
Copy link
Owner

ocombe commented Nov 8, 2014

Hmm ok in fact your solution works better, thanks for the PR

@ocombe ocombe reopened this Nov 8, 2014
ocombe added a commit that referenced this pull request Nov 8, 2014
fix: css onload patch for some old browsers.
@ocombe ocombe merged commit 14ce340 into ocombe:master Nov 8, 2014
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.

2 participants