Changes between Initial Version and Version 1 of Ticket #16918


Ignore:
Timestamp:
Mar 27, 2013, 7:40:27 PM (8 years ago)
Author:
bill
Comment:

Sort of a dup of #8646? Seems like something a user could do with their own AMD loader, but not something that we would want to add into dojo, now or for 2.0.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16918

    • Property Owner set to Rawld Gill
    • Property Component changed from Core to Loader
    • Property Summary changed from load require modules by one time to load multiple modules via single script tag
  • Ticket #16918 – Description

    initial v1  
    11when i use dojo.require(["moduleA","moduleB","moduleC"]);
    22can it generate only one script tag like
    3 "<scirpt src="url/to/server/dojo.package?moduleA&moduleB&moduleC"></scirpt>"
     3"<script src="url/to/server/dojo.package?moduleA&moduleB&moduleC"></scirpt>"
    44
    55by this way ,the server can return only one javascript file which is compressed by server contains three modules.(in the server side can do a lot of cache works.)