I use hammer.js for the touch menu for the site and get:
"The object does not support the property or method 'addEventListener'" hammer.js, line 247 character 13
with IE8.
Actual code from hammer.js that doesn't work:
bindDom: function(element, type, handler) { var types = type.split(' '); for(var t=0; t<types.length; t++) { element.addEventListener(types[t], handler, false); } },
Any idea how I can fix this?
Jquery had a similar problem: http://bugs.jquery.com/ticket/11127
source share