JSLoad Test Page

Test dependency structures:

In the diagram below, children in the tree depend on their parents. C is marked (loaded), meaning that it has already been loaded by an outside library. The (tag) marker denotes a tag, meaning that that label does not correspond with a source file. Rather, it's an arbitrary label for marking a dependency on B and C.

      A                   A
      |___                |___
      |   |               |   |
      B   C(loaded)       F   G(tag)
      |___|               |___|
      |                   |       
      D                   H(tag)   
                          |       
                          |              
                          I                       
    

Tests:

  1. Test
    getSrcToLoad(["X"])
    for all tags:
  2. Test actual load of H using a callback:
  3. With H already loaded, make sure that loaded libs are kept track of and not re-loaded:
  4. Race condition and queue testing:

Ajax-updated div: