christiannaths / christiannaths/jquery.githubcode

IE issue

Offen
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
1
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.