homepage Welcome to WebmasterWorld Guest from 54.205.193.39
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Respond.min.js and IE8
toplisek




msg:4676885
 4:28 pm on Jun 2, 2014 (gmt 0)

I'm testing respond.min.js and conflicts. There is an issue with
IE8 throwing error like:
'undefined' is null or not an object respond.min.js, line 6 character 845

Error is the following:
{var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi)

Why is this actually?

I'm using currently Respond.js v1.1.0

 

penders




msg:4677091
 2:18 pm on Jun 3, 2014 (gmt 0)

Maybe 'a' is not a string object?

Are other browsers not reporting this error, or are other browsers simply not alerting you to this error?

Fotiman




msg:4677096
 2:52 pm on Jun 3, 2014 (gmt 0)

Are you viewing the page via a file:// protocol instead of http:// or https://? That is known to cause respond.js to not work due to security restrictions.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved