Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q189

irt.org | About | Feedback | 615 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q189

Sent by
William Finke on November 23, 1999 at 09:25:20:

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
I had near-zero knowledge of javascript and needed this functionality. The FAQ came in handy, but I found a bug.

The statement in join():


if (escape(temp.substring(0,1) == '%0A'))

should read:


if (escape(temp.substring(0,1)) == '%0A')

The former statement tests the escape of comparing the first character with a three-character string (which will *never* be true).

The latter statement compares a three character string to the escape of the first character.

This bug was very difficult to find for a first timer. I encourage you to correct all the instances of join() in your FAQs.




Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.