OLD | NEW |
1 "use strict"; | 1 "use strict"; |
2 | 2 |
3 function addListener(element, eventType, callback, propagate) | 3 function addListener(element, eventType, callback, propagate) |
4 { | 4 { |
5 if (element.addEventListener) | 5 if (element.addEventListener) |
6 { | 6 { |
7 element.addEventListener(eventType, callback, propagate); | 7 element.addEventListener(eventType, callback, propagate); |
8 } | 8 } |
9 else | 9 else |
10 { | 10 { |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 // IE6-only | 32 // IE6-only |
33 if (exceptions.getAttribute("className")) | 33 if (exceptions.getAttribute("className")) |
34 exceptions.removeAttribute("className"); | 34 exceptions.removeAttribute("className"); |
35 else | 35 else |
36 exceptions.setAttribute("className", "visible"); | 36 exceptions.setAttribute("className", "visible"); |
37 } | 37 } |
38 | 38 |
39 init(); | 39 init(); |
40 })(); | 40 })(); |
OLD | NEW |