relevance / blue-ridge

Framework for JavaScript Testing (currently a Rails Plugin)
http://groups.google.com/group/blueridgejs
MIT License
480 stars 40 forks source link

Multiple copies of js files included by browser #5

Closed aiwilliams closed 15 years ago

aiwilliams commented 15 years ago

It seems that, out of the box, two copies of the js files are being loaded into the browser.

http://img.skitch.com/20090521-d7hp4seqseft9wubugf67g5wqf.jpg

karnowski commented 15 years ago

Adam, thanks for pointing this out. Looks like we need to cleanup our imports.

karnowski commented 15 years ago

I'm seeing this on my Firebug too.

karnowski commented 15 years ago

This seems to be only a Firebug issue. I've viewed the source and the "generated source" using the web developer Firefox plugin, and there is definitely only one version of each file being loaded. Moreover, we're not seeing any of the negative behavior we've seen in the past from loading multiple copies of the files.

I think it's this old Firebug bug come back to haunt us: http://code.google.com/p/fbug/issues/detail?id=440 Basically, since we're using relative paths, Firebug gets confused.

I'm closing this issue until some negative behavior associated with multiple file loads is experienced.