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
I use yepnope in my app to load dependencies. Once dependencies are loaded, I run my code, using yepnope's complete callback.
My dependencies use yepnope to load their dependencies. Once their dependencies are loaded, they run their code, using yepnope's complete callback.
Currently, as soon as my direct dependencies are loaded, my complete callback runs. The problem is that I need my complete callback to wait for the dependencies of my dependencies to load, and for my dependencies to run their complete callbacks. In other words, my complete callback should run last.
In Yepnope, my app code currently runs as soon as its direct dependencies are fulfilled; but it should wait until its indirect dependencies are fulfilled, too. The only solution right now is to add my dependencies' dependencies to my list of dependencies - but I shouldn't have to know anything about my dependencies' dependencies.
The text was updated successfully, but these errors were encountered:
See http://jsfiddle.net/GJZQz/6/ for a simple example of the bug. Here's the situation:
complete
callback.complete
callback.Currently, as soon as my direct dependencies are loaded, my
complete
callback runs. The problem is that I need mycomplete
callback to wait for the dependencies of my dependencies to load, and for my dependencies to run theircomplete
callbacks. In other words, mycomplete
callback should run last.In Yepnope, my app code currently runs as soon as its direct dependencies are fulfilled; but it should wait until its indirect dependencies are fulfilled, too. The only solution right now is to add my dependencies' dependencies to my list of dependencies - but I shouldn't have to know anything about my dependencies' dependencies.
The text was updated successfully, but these errors were encountered: