How to Determine if There Are Any Un-Resolved Promises, Deferreds or Callbacks using jQuery? -
is there way determine if there unsolved promises, deferreds or callbacks in jquery? have large single-page javascript application hanging on $(document).ready(). debugging purposes see if missed calling callback or resolving promise or deferred see if might affecting .ready().
two pieces of news :
- jquery , deferreds , promises both have
state()method returns "pending", "resolved" or "rejected". - nothing jquery promises inhibit firing of event underlying
$(document).ready().
bad news - still have issue needs fixing.
without seeing code (preferably minimal example exhibits issue), it's impossible cause might be.
first thing in browser's console see if shows sort of error.
Comments
Post a Comment