Prefixing pitfall: "var foo = window.foo || window.mozFoo || window.oFoo || window.msFoo || window.webkitFoo" only works if foo is prefixed.
3
3
2
@tabatkins @bz_moz It works inside a function, but doesn't work at toplevel since |var foo| overwrites window.foo before reading it.
Jul 8, 2012 · 7:45 PM UTC
1
2
1



