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

Response Error Message #49

Open
GinaRare opened this issue Mar 31, 2014 · 5 comments
Open

Response Error Message #49

GinaRare opened this issue Mar 31, 2014 · 5 comments

Comments

@GinaRare
Copy link

When I inspect the site I am working on, I get an error message that says: 'response.js aborted due to missing dependency '

I have been having trouble getting response.js to work on this site and am coming up against a brick wall - any help would be great. (I want it to allow IE8 to see my media queries - which it is not currently)

http://www.ethosep.co.uk.gridhosted.co.uk/environment/

@ryanve
Copy link
Owner

ryanve commented Mar 31, 2014

That error comes from this check. jQuery was not found when response.js ran. jQuery (or a compatible lib) must exist in the global scope at the time that response.js runs. Does that explain it?

@ryanve
Copy link
Owner

ryanve commented Mar 31, 2014

I advise against polyfilling media queries because doing so makes your media queries unreliable. Instead use mobile-first media queries such that IE8 gets the unenhanced version. IE8 is obsolete.

@GinaRare
Copy link
Author

GinaRare commented Apr 4, 2014

I am not sure what you mean by polyfilling media queries - can you explain? Also, if I do this will it solve my problem?

@GinaRare
Copy link
Author

GinaRare commented Apr 4, 2014

I have actually looked up polyfilling and it seems that response.js uses it. So I am a little confused with your advice, you are telling me not to use it when your jQuery file is forcing me to. I need a fixable
solution to get this working.

@ryanve
Copy link
Owner

ryanve commented Apr 4, 2014

response.js is not a polyfill and does not use any. You seem confused with respond. I mentioned polyfills because your page was using css3-mediaqueries to polyfill media queries. Polyfill and shim are synonyms.

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

No branches or pull requests

2 participants