What about fixing String#escapeHTML for IE and WebKit?
What about enhancing Element#siblings to accept a selector?
(http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/4dd057addb2b0be1/c354acd62c1fbe43?lnk=gst&q=siblings+check#c354acd62c1fbe43)
What are the thoughts on adding an Object.isEmpty or
Object.hasProperties? (http://dev.rubyonrails.org/ticket/10356)
Thanks,
- Ken
Yes, those escapeHTML fixes are what I was thinking.
I'm excited to see Event delegation!
Also, I wanted to suggest some more ways to extend and customize Prototype:
Event.addMethods to allow adding methods to Event instances (http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/203)
Class.addMethods to allow adding methods to every class instance for classes created with Class.create() (http://dev.rubyonrails.org/ticket/10089)
Enumerable.addMethods as a quick way to add methods to all enumerables:
Enumerable.addMethods = function(methods) {
Hash.addMethods(methods);
ObjectRange.addMethods(methods);
Object.extend(Ajax.Responders, methods);
Object.extend(Array.prototype, methods);
Element.ClassNames.addMethods(methods); // i think this is deprecated now
};
- Ken
I am interested to see kangax's late-bound mixin implementation. That
sounds like multiple inheritance to me :)
- Ken
Maybe this is not the place to ask, but I had to try...
I wrote the current version, if you need help, ping me :-)
--
Christophe Porteneuve aka TDD
t...@tddsworld.com