Re: loadJavascriptFile()
Reply #8 –
Feature Cat loves the quandaries between performance freaks and extensibility freaks.
With the JS the feeling (ok mine) was that themes really don't tend to include there own copy's, so the default_theme thing was used to always point to the base site files. Of course since that's in the sources it does not allow an easy way to themers to load their own version of say script.js or whatever. We have a lot of js on some pages now, so really checking if 6 or 7 files exist on a page load when 99.9% of the time they are only going to be in the default area seemed unnecessary, does that sound biased 
Feature Cat jumps up and down.
I know, I know! A theme setting for js.
Feature Cat runs before getting slapped banned into non-existence.