dnewcome / jath

Jath is a simple template language for parsing xml using json markup.
MIT License
68 stars 15 forks source link

msie detection is now working properly #15

Closed petrica closed 11 years ago

petrica commented 11 years ago

navigator.userAgent is Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)

Current msie check will consider this a msie browser which is wrong. Parser will yield the following error:

Uncaught TypeError: Object # has no method 'setProperty'

Solution:

else if( navigator.appName == 'Microsoft Internet Explorer' ) {

line 30

Thanks!

petrica commented 11 years ago

please ignore this.