From: Thomas 'PointedEars' Lahn on
Eric Bednarz wrote:

> Jorge <jorge(a)jorgechamorro.com> writes:
>> And, what's wrong with global.window= global; ?
>
> I would put my bet on a runtime error in IE < 8 [...]

You would win. The second line of

var global = this;
global.window = global;

throws a ReferenceError(!) with description "Illegal assignment" in
IE 6.0.2800.1106.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(a)news.demon.co.uk>
From: Jorge on
On Jan 27, 1:22 pm, Thomas 'PointedEars' Lahn <PointedE...(a)web.de>
wrote:
> (...)
>   var global = this;
>   global.window = global;
>
> throws a ReferenceError(!) with description "Illegal assignment" in
> IE 6.0.2800.1106.

What part of "not intended to be run" you don't understand ?
--
Jorge.