[Prototype-core] Prototype Pagination

2007-10-15 Thread Matt Foster
Greetings Everyone, I have developed a pretty smooth UI Control for handling client side pagination. It is composed of 3 classes that allow for maximum decoupling. In this manner the view is decoupled from the iteration control, such that the same iteration control can be used on any da

[Prototype-core] Cloning elements.

2007-10-15 Thread Yanick
I have been working on a Element.toHTML function, and added two methods to the Element object. And I was looking for any insight about my code. Please, feel free to comment. Thanks. start Bar ! Element.addMethods( { toHTML: func

[Prototype-core] Creating unit tests for asynchronous operations

2007-10-15 Thread Viktor Kojouharov
Currently, the only way to create unit tests for such operations is to use the wait function. However, async operations have a nasty habit of always finishing after the waiting time is over, which causes an unjust test failure. So I've made extension to the unittest library, which allows me to de