3 ms·
Am I the first person to go "Woah! That's cool!" then look at the code and instantly go "WTF?!"? - Browser sniffing using `document.all` to test for IE -
by laughinghan 16y ago
Am I the first person to go "Woah! That's cool!" then look at the code and instantly go "WTF?!"?
- Browser sniffing using `document.all` to test for IE
- Browser sniffing at all!
- Aborting `trace` rather than just removing it
- In `init`, repeatedly calling `document.getElementById` with the same `id`
instead of storing them in variables
- Calling `document.getElementById` every time `parallax`, the `mousemove` event
handler, is triggered rather than `init` storing them *once* in variables that
`parallax` has access to