JS error on IE8

43 views
Skip to first unread message

Itzik Harel

unread,
Dec 24, 2012, 7:57:15 AM12/24/12
to agil...@googlegroups.com
While testing cross browser compatibility, came across the next error in IE8:

Message: Object doesn't support this property or method
Line: 69
Char: 339
Code: 0
URI: http://xxx.xxx.xxx.xxx/javascripts/agility.min.js

Error happens on the next line:
$.each(events,function(i,ev){ev=ev.trim();bindEvent(ev,handler);});
Looks like the ev.trim() causes the error.
I tried a fix according to http://api.jquery.com/jQuery.trim/ which seems to work ev=$.trim(ev).

Anyone else seen this problem?

Pouledodue

unread,
Dec 24, 2012, 11:11:58 AM12/24/12
to agil...@googlegroups.com
yes there is a pull request on github

Artur Adib

unread,
Dec 24, 2012, 11:22:21 AM12/24/12
to agil...@googlegroups.com
thanks for you patience guys, it's merged now.
Reply all
Reply to author
Forward
0 new messages