-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destroyable.own supports Deferred but not documented #174
Comments
It's probably just an oversite, but I should mention a standard Promise (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), unlike dojo's |
Hi Team, We are facing one issue with latest dojo and dijit upgrade to 1.17.3, we have our calendar view using widgets to display labels under each date, so when we are routing back (using router.go) to other view dojo is trying to destroy the widgets in calendar page and the below error was getting occurred with page getting struck without navigating to other view, with the older version of dojo/dijit like 1.9.X there wasn't any issue and navigation was working fine, if you could please check and let us know how this can be resolved it will be of great help and much appreciated. Thanks a lot in advance. Error: |
Hello !
dijit.Destroyable.own source code indicates than this method accepts Deferred objects. Nevertheless this is not documented. Is there any reason for that?
Deferred reference documentation could mention it too. Any strategies, « patterns » related to the prévention of callback calls and Deferred cancellation due to the destruction of the Destroyable - widget or else- targetted by callbacks would be welcome too.
Thank you.
The text was updated successfully, but these errors were encountered: