By greimer on Nov 10, 2008
The reglib is now published to Google Code and available under the MIT license.
- Load: make it your business to know when the DOM has loaded.
- Traverse: use a query to scan said DOM, returning a list of elements.
- Modify: attach event handlers to, and otherwise manipulate, those elements.
So there you have it. Feel free to check it out (just check it out or actually check it out), read the documentation wiki, download, leave comments, etc. The lib also has a bunch of convenience functions for DOM manipulation, plus it has tools for doing LTM stuff because let's face it, sometimes there's no other way.
1 It took so long because, in a nutshell: 1) Sun has an open source review process, you can't just release code willy-nilly, 2) During the process, I failed to be a squeaky wheel, and in fact the lawyers waited on my responses as much as I waited on their responses. However development over that interval has been constantly active, and reglib is being used on sun.com.