We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I recently incorporated this library into my framework, and it works great! Thanks!
But I'm curious why it attempts to load CSS files as an "img" first?
getCss: function(url, callback){ var d = $.Deferred(), link = document.createElement('link'); link.type = 'text/css'; link.rel = 'stylesheet'; link.href = url; document.getElementsByTagName('head')[0].appendChild(link); var img = document.createElement('img'); img.onerror = function(){ d.resolve(); if(callback) callback(link); }; img.src = url; return d.promise(); }
What is the purpose of that? It's always failing in my browser.
The text was updated successfully, but these errors were encountered:
Answer is #2 but it's your! :)
Sorry, something went wrong.
No branches or pull requests
I recently incorporated this library into my framework, and it works great! Thanks!
But I'm curious why it attempts to load CSS files as an "img" first?
What is the purpose of that? It's always failing in my browser.
The text was updated successfully, but these errors were encountered: