- Create Account

addEvent human-readable non-compacted version

Forums > Cross-Browser DHTML API > addEvent human-readable non-compacted version
Author
Message

1) Paul Gobee Group: Members
Posts: 2 Joined: 12 Nov 2006 Location: the Netherlands IP: 82.171.--.--
I read the (now year old) discussion http://www.quirksmode.org/blog/archives/2005/10/_and_the_winner_1.html .
As  a service you provided a human-readable non-compacted commented version of your addEvent script. It was stated to be below the compacted script. I would be interested to read it, but don't manage to find it anymore now. Is it still available, if so, where? Thanks!
Paul

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 139.80.--.--
Er, I since rewrote the script :). The old PPK version is still online at /test/ for now but the new version is a lot slimmer.

Even though I'm a bad coder and use single-letter variable names, if you just follow through carefully you should be able to see what the script is doing as it's pretty short...

- Angus.

3) Paul Gobee Group: Members
Posts: 2 Joined: 12 Nov 2006 Location: the Netherlands IP: 82.171.--.--
Thanks for your direct response!
I believe the old script also is compacted version only, but I will go and study both. Thankyou!
Paul

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.