chrisdutz commented on issue #899:
URL: https://github.com/apache/royale-asjs/issues/899#issuecomment-679946643


   I think I narrowed down the problem: 
   So I assume that the "{modulename}__deps.js" files act as a hint to where to 
get stuff that's missing and what's the actual content of the module 
("goog.require('JewelModule');" call after all of the goog.addDependency calls) 
... and when setting autoLoad=true both start loading almost simultaneously. I 
know it's not multi-threadded, but I would assume the first module starts and 
as nothing is declared yet, it fetches all ... asynchronously using the urls it 
has in it's __deps.js file. Then comes the next module and as the asnychronous 
call hasn't returned and the browser hasn't registered the types yet the second 
module requests it's versions (which have a different URL) ... so as soon as 
the first request is returned all is ok ... but as soon as the second comes: 
BOOM!
   
![autoLoad-true](https://user-images.githubusercontent.com/651105/91164760-e43c5780-e6cf-11ea-99f9-bd1c67a305db.png)
   
![autoLoad-false](https://user-images.githubusercontent.com/651105/91164762-e56d8480-e6cf-11ea-9638-eada3eb688ed.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to