nathansmith / formalize

Teach your forms some manners!
http://formalize.me
1.31k stars 120 forks source link

jQuery.browser removed in jQuery since version 1.9 - Uncaught Exception #75

Closed rbulto closed 6 years ago

rbulto commented 6 years ago

Hi there!

The following statements trigger an "Uncaught TypeError: Cannot read property 'msie' of undefined" exception with jQuery 1.9 and newer since jQuery.browser has been deprecated since jQuery 1.3 and finally removed in 1.9 (http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed).

var IE6 = !!($.browser.msie && parseInt($.browser.version, 10) === 6); var IE7 = !!($.browser.msie && parseInt($.browser.version, 10) === 7);

Is this project still active?

Thanks,

thezoggy commented 6 years ago

https://github.com/nathansmith/formalize/branches

not touched in 4 years... so probably not.

nathansmith commented 6 years ago

@rbulto What file are you seeing this in?

I haven't used $.browser.msie in awhile.

For example, that doesn't appear anywhere in the jQuery flavored file…

https://github.com/nathansmith/formalize/blob/master/assets/js/jquery.formalize.js