Ken, destroyCache and all the event wrapper methods are exactly what I meant by referring to private functions. It just doesn't feel right to create duplication when all of this is already in the source (but is encapsulated as a closure)
Ryan, this is indeed a way to go. We at http://prototype-ui.com also give each class-widget a destroy method for cleaning up observers. best, kangax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
