Re: gEBI wrapper (Code Worth Recommending Project)
- From: Peter Michaux <petermichaux@xxxxxxxxx>
- Date: Sun, 9 Dec 2007 07:49:08 -0800 (PST)
On Dec 9, 2:34 am, David Mark <dmark.cins...@xxxxxxxxx> wrote:
On Dec 9, 4:39 am, Thomas 'PointedEars' Lahn <PointedE...@xxxxxx>
wrote:
Peter Michaux wrote:
Based on the repository design guidelines, the above could be
substantially reduced to just
[...]
Notes:
There is no need to check for the existence of "document" as no
browser, NN4+ and IE4+, missing "document".
There is no need to check that document.getElementById is a callable
since there has never been a known implementation where
document.getElementById that is not callable.
If these are the guidelines for your project, to produce code that is not
interoperable and inherently unreliable, I don't want to contribute.
I somewhat agree with that sentiment,
I would say your codes says otherwise and that you agree that a line
for feature testing should be drawn somewhere.
[quoted from the original post in this thread]
// Note that Array.prototype.reverse is not
// tested as it is from JS 1.1
--
Peter
Code Worth Recommending Project
http://cljs.michaux.ca
.
- Follow-Ups:
- Re: gEBI wrapper (Code Worth Recommending Project)
- From: David Mark
- Re: gEBI wrapper (Code Worth Recommending Project)
- References:
- Various DOM-related wrappers (Code Worth Recommending Project)
- From: David Mark
- Re: gEBI wrapper (Code Worth Recommending Project)
- From: Peter Michaux
- Re: gEBI wrapper (Code Worth Recommending Project)
- From: Thomas 'PointedEars' Lahn
- Re: gEBI wrapper (Code Worth Recommending Project)
- From: David Mark
- Various DOM-related wrappers (Code Worth Recommending Project)
- Prev by Date: Re: gEBI wrapper (Code Worth Recommending Project)
- Next by Date: Re: gEBI wrapper (Code Worth Recommending Project)
- Previous by thread: Re: gEBI wrapper (Code Worth Recommending Project)
- Next by thread: Re: gEBI wrapper (Code Worth Recommending Project)
- Index(es):