You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In most cases where a jQuery API call returns a Deferred or Deferred-compatible object, such as jQuery.ajax() or jQuery.when()
I think it'd be better to call these objects Promise-compatible because objects like jqXHR implement the Promise interface (source), so they can't call methods like resolve() or reject(). I know this is a very minor change but it seems reasonable to me.
The text was updated successfully, but these errors were encountered:
In the page about $.Deferred the text asserts:
I think it'd be better to call these objects Promise-compatible because objects like jqXHR implement the Promise interface (source), so they can't call methods like
resolve()
orreject()
. I know this is a very minor change but it seems reasonable to me.The text was updated successfully, but these errors were encountered: