HaroonBadsha / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

Multiple files with same name in different locations loaded in wrong order #442

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When two javascript files have same name but are located in different locations 
of the same hierarchy tree, the deepest file is loaded first, no matter in what 
order they are specified in the "load" clause of the config file.

For example, let's assume we have the following directory structure:

src/Namespaces.js
src/sub/Namespaces.js

At that in the config file, we want to load them in the same order:

load
  - src/Namespaces.js
  - src/sub/Namespaces.js

When running with DEBUG runnerMode, we get the following load order:

[src/sub/Namespaces.js
, src/Namespaces.js
]

Actually, even if you do not add the src/sub/Namespaces.js entry in the config, 
it will still be loaded first!

MA

Original issue reported on code.google.com by ma.thibo...@gmail.com on 19 Aug 2013 at 6:12