DescriptionForce the order of execution of JS using defer.
- Defer allows the scripts to be downloaded async, however it *forces* the
browser to execute them in the order they appear in the DOM.
- There's a chance that we've had users hitting out of order execution between
this code causing Y.juju.App to not be defined during startTheApp. This should
force this to not occur.
- Testing this just isn't possible. We're not 100% sure that it's the issue
and it's darn unrepeatable. The only repeatable case was a stale cache.
However, it has been demonstrated on machines in incognito mode so there is
something there. It's just very hard to reproduce.
https://code.launchpad.net/~rharding/juju-gui/defer-all-the-things/+merge/176442
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Force the order of execution of JS using defer. #
MessagesTotal messages: 4
|