christiannaths / christiannaths/jquery.githubcode

IE issue

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
1
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

FYI:
I'm studying the code more carefully, and I notice a little trick you're doing to get the url using an anchor element. While researching that a bit, I found on SO (see below) that there can be a bug in IE8 where the leading slash isn't included (IE not following the standard because the standard came after the implementation, and changing to the standard would break backward compatibility for the browser).

I'm not sure yet if this is a potential bug or not (I see the url is being dis-assembled for later re-assembly), but I thought I should jot the observation in an issue for reference, if we need it.
- http://stackoverflow.com/questions/3807674/get-pathname-from-href-in-javascript
- http://stackoverflow.com/questions/956233/javascript-pathname-ie-quirk

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.