- From: Adam Rice <notifications@github.com>
- Date: Mon, 31 Jul 2017 20:35:16 -0700
- To: whatwg/xhr <xhr@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 1 August 2017 03:36:08 UTC
What I mean is you can do: ```html <script src="/applicationContext/getApplicationContext"></script> <script type="text/javascript" crossorigin="anonymous" src="/js/dist/applicationCore.js.gz"></script> <script type="text/javascript" crossorigin="anonymous" src="/v7/v7Core.min.js.gz"></script> <script type="text/javascript" crossorigin="anonymous" src="bundle.js.gz"></script> ``` This requires that getApplicationContext return valid Javascript that sets `context` itself, but if you control the server this just means prefixing the existing JSON with something like `window.context = `. The other Javascript files are guaranteed to be executed after it is loaded. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/xhr/issues/20#issuecomment-319258507
Received on Tuesday, 1 August 2017 03:36:08 UTC