Hi,
I recently switch job and part of it is JS (Dojo framework) based UI.
Now, I am no stranger in JS, but also not an advanced user. What would be the best (or at least recommended) way to get a grasp on the code. There are a quite few components scattered around, some of them producing compressed output (unfortunately, a very base, common one - used by other parts) and it is safe to say that there is no documentation.
I was thinking to create maybe some xhr hook so I can log in calls as I click on UI that I can turn on/off, but not sure.
Also was considering to add JSDoc as I go, but that's hard because I don't know the code and interaction. There is no cross-referencing atm, because code is organized using Debian packages, so not sure shall I first make this one work.
Many thanks
master
and for 1.17
.
Can I somehow override postCreate method in custom dojo widget to be async? I have widget with form that has to wait for response from server to create it's fields. The problem is server is sometimes taking long time to respond and then the async operation that I call inside postCreate somehow stops executing and is never finished.
I've tried to use custom events and aspects but nothing seems to work.
.?
or ??=