We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27209e8 commit e8cdc83Copy full SHA for e8cdc83
function-patterns/init-time-branching.html
@@ -36,6 +36,9 @@
36
utils.addListener=function(el,type,fn){
37
el.addEventListener(type,fn,false);
38
};
39
+utils.removeListener=function(el,type,fn){
40
+el.removeEventListener(type,fn,false);
41
+};
42
}elseif(typeofdocument.attachEvent!=='undefined'){// IE
43
44
el.attachEvent('on'+type,fn);
@@ -57,4 +60,4 @@
57
60
// http://shop.oreilly.com/product/9780596806767.do?sortby=publicationDate
58
61
</script>
59
62
</body>
-</html>
63
+</html>
0 commit comments