Our code, uses quite a few singletons defined like this:
var gBlue_BeanUtils = new function() {
...
}
When running in a single window or even multiple windows we have no
problems.
However, as soon as the first window is closed, the code in the second and
other windows
stops working and throws an error saying that singletons are not defined.
We were under the impression that each window is essentially a separate
JavaScript sandbox. Is this not the case?
Thanks for your help,
Alex
--
alex iskold
founder & cto
http://www.adaptiveblue.com