response.js icon indicating copy to clipboard operation
response.js copied to clipboard

Response Error Message

Open GinaRare opened this issue 11 years ago • 5 comments

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/

GinaRare avatar Mar 31 '14 13:03 GinaRare

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 avatar Mar 31 '14 16:03 ryanve

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.

ryanve avatar Mar 31 '14 16:03 ryanve

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 avatar Apr 04 '14 09:04 GinaRare

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.

GinaRare avatar Apr 04 '14 09:04 GinaRare

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.

ryanve avatar Apr 04 '14 16:04 ryanve