Left: | ||
Right: |
LEFT | RIGHT |
---|---|
(no file at all) | |
1 if (typeof window.addEventListener != "function") | |
2 { | |
3 window.addEventListener = function(type, handler, capture) | |
4 { | |
5 this.attachEvent("on" + type, handler) | |
6 }; | |
7 } | |
8 | |
9 if (typeof window.removeEventListener != "function") | |
10 { | |
11 window.removeEventListener = function(type, handler) | |
12 { | |
13 this.detachEvent("on" + type, handler) | |
14 }; | |
15 } | |
LEFT | RIGHT |