Re: gEBI wrapper (Code Worth Recommending Project)



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
.