mithra62/ee_debug_toolbar — pull request #6 by ckimrie (2012-12-18 22:59:40+00:00)
Title: Moved CSS & JS to themes folder

OK things are a lot clearer with this branch now that CSS & JS have been broken out. I also did some housecleaning so the JS no validates with JSLint.

I also noticed that we could get things firing quicker by simply moving the script tag to the end of the toolbar view and then initializing on script load as opposed to waiting for window.load since the position of the script tag means all our meaningful HTML will already be available to us.

Before I go ahead and do this though I wasnt sure what was going on in the window.onload call here:

```javascript
var EEDebugLoad = window.onload;
window.onload = function()
{

if (EEDebugLoad)
{
EEDebugLoad();
}

EEDebugCollapsed();
};
```
Did you encounter an edge case whereby that required the onload call being needed to be manually called within itself?