[mochikit] Re: Why doesn't removeElement use the DOM Coercion rules?

2008-10-09 Thread Per Cederberg
Well... I think your case here is pretty uncommon. This is because the __dom__() function is really supposed to create a *new* DOM node. Otherwise people might run into issues when adding an object twice into the DOM tree. But sure, there is an inconsistency here. My suggestion would be to just

[mochikit] Re: Why doesn't removeElement use the DOM Coercion rules?

2008-10-09 Thread Jason Bunting
Per Cederberg wrote: Well... I think your case here is pretty uncommon. This is because the __dom__() function is really supposed to create a *new* DOM node. Otherwise people might run into issues when adding an object twice into the DOM tree. Excuse my ignorance, and permit me to ask