When was handleError removed from jQuery?
Asked Answered
O

1

14

I'm revisiting some old code, and have found it doesn't work with jQuery 1.6 because it cannot find $.handleError(). A quick search of the jQuery code shows nothing, so I guess this function has been removed/replaced.

Does anyone know which version the handleError function was first missing from, and if it has a direct replacement?

Odetteodeum answered 13/6, 2011 at 11:7 Comment(0)
S
19

It looks like handleError() was removed in jQuery 1.5. Most solutions I've seen online create their own error functions. Hope that helps

Semantics answered 13/6, 2011 at 11:13 Comment(2)
+1. It's worth mentioning that the method was never documented (therefore, never really part of the official API), which is probably why there was nothing about the method's removal in the 1.5 release notes.Cynical
The lack of documentation is what's annoying me!Odetteodeum

© 2022 - 2024 — McMap. All rights reserved.