Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The load order is depth first, but unfortunately the alphabetical sorting works on the file level only. So for example if you have the following structure:
- * `client`
- * `cl.js`
- * `common`
- * `co.js`
- * `lib`
- * `li.js`
- * `server`
- * `serv_nest`
- * `se_ne.js`
- * `se_a.js`
- * `se_b.js`
- Then the load order on the server side would be:
- 1. `li.js`
- 1. `se_ne.js`
- 1. `se_a.js`
- 1. `se_b.js`
- 1. `co.js`
- So **if alphabetical ordering worked on folder** level as well then the order would be:
- 1. `li.js`
- 1. `co.js`
- 1. `se_ne.js`
- 1. `se_a.js`
- 1. `se_b.js`
- ! Unfortunately this is not the case. !
- Note: If anyone knows where this is documented please let me know (or if I am wrong)
Add Comment
Please, Sign In to add comment