andrewdavey/vogue — Issue #31: Vogue is incorrect in assuming it's the last script in scripts array
Author: anentropic
Created: 2011-11-05 19:06:48+00:00
State: open

I am getting errors like this:
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/products/undefinedsocket.io/socket.io.js"

The problem lies in getScriptInfo() in vogue-client.js

it assumes the Vogue script will be the last one in the array returned by ```document.getElementsByTagName("script")``` but because it appends itself to the \... and common practice is now to put all your scripts at the bottom of the \ (see html5 boilerplate etc)... so it is not selecting the Vogue script, it's grabbing my Google Analytics script block instead.

It really needs to look for ```vogue-client.js``` specifically.