Closed XhmikosR closed 10 years ago
Don't think this needs to support IE8 in the slightest, unless you mean IE on Windows Phone 8, in which case yeah maybe in the future per #263.
I was just testing the docs site with various browsers and noticed this.
Docs site should support all browsers like the Bootstrap, including IE 8.
@XhmikosR Did you try this? It's much cleaner.
window.addEventListener = window.addEventListener || window.attachEvent;
window.addEventListener('touchend', function (event) {
var modal = getModal(event);
if (modal) {
// There is a double `modal` check, nuke it
if (modal.classList.contains('modal')) modal.classList.toggle('active');
event.preventDefault(); // prevents rewriting url (apps can still use hash values in url)
}
});
Unfortunately, I cannot really test anything due to those TypeErrors. IE has the bad habit of stopping the page parsing when it hits an error in JS. I'll get back to this as soon as the TypeErrors are fixed.
@connor We should add some kind of device check. .js-device
isn't enough.
Docs site should support all browsers like the Bootstrap, including IE 8.
I disagree. If you're building Android or iOS apps, or even just prototyping for them, chances are you're not using any version of IE. IE9+ sounds about right to me.
Unless these errors crash the browser, I say ignore them.
From Google Analytics:
Less than 3% of views yesterday came from IE, and only 20% of that from IE8 or lower.
So, if the error doesn't prevent page load, let's close this.
I will test again tomorrow for ie9.
No need to hurry this :) with the time difference I need to be a vampire :p
@mdo 3 / (100 / 20) percents is a very small amount, just 0.6%. However, that rate may grow up with Windows Phone Ratchet support.
@XhmikosR lol
Unfortunately, even IE9 is affected by what I describe above; the page isn't being parsed due to the TypeErrors. So we'll need to get those fixed and revisit this.
Could you update the issue to reflect that?
There's nothing to update; the errors on IE9 aren't the same but as you can see from the screenshot I can't really check unless the TypeErrors are fixed.
Okay.
2014-02-27 10:52 GMT+01:00 XhmikosR notifications@github.com:
There's nothing to update; the errors on IE9 aren't the same but as you can see from the screenshot I can't really check unless the TypeErrors are fixed.
— Reply to this email directly or view it on GitHubhttps://github.com/twbs/ratchet/issues/309#issuecomment-36226260 .
Zlatan Vasović - ZDroid
The background not displaying in IE8 and IE9 issue is because it needs the IE gradient specified:
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a1855', endColorstr='#da0024',GradientType=0 );
Unless the type errors are fixed nothing can be done since ie doesn't parse any code after it hits a js error.
Closing since IE8 is not supported at this point.
I sort of worked around this but I don't like my way