W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: What is the meaning of the DOM ECMAScript binding?

From: Neil Laurance <neil_laurance@yahoo.co.uk>
Date: Fri, 9 Nov 2001 15:04:18 +0000 (GMT)
Message-ID: <20011109150418.65272.qmail@web20708.mail.yahoo.com>
To: Jim Ley <jim@jibbering.com>, www-dom@w3.org
> if (window.document) doc=window.document
>  else if (window.neil) doc=window.neil
>   etc.

Cheers Jim.
Already using object detection, but didn't realise ;) A much better way of
testing as you pointed out. PS, you missed an important code statement:

else if (window.neil) { bank.account.deposit.all( neil.account ); doc =
window.neil }  // I wish


=====
+44 7866 462220           (mobile)
neil_laurance@yahoo.co.uk (mobile)
neil_laurance@adc.com     (work)

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
Received on Friday, 9 November 2001 10:04:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT