Ryan Gahl wrote:

> So basically it's equating to "this.remove()".

That's what we thought too, but for some reason I didn't think those Element.*
methods were added to each element.

> This is why creating global functions on a page has gone the way of the
> dinosaurs (namespace collisions, or also called "polluting the global
> namespace").

I also thought Prototype had fixed all of these issues.

> I recommend that you consider authoring all your home grown functions
> inside your own namespace object to avoid these problems (with prototype
> or any other library you end up using)...

Yeah, we temporarily renamed the offending sub and we'll be making project
specific namespaces for them later on.

-- 
Michael Peters
Developer
Plus Three, LP


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to