Ah ok, because I seem to be missing stuff that has been said in the
blog, like for instance the changes to the Event class as described
here: http://prototypejs.org/2007/8/15/prototype-1-6-0-release-candidate.
Looks like none of that made it to the docs.

For instance, I was expecthing that the following would be possible
and that the 'this' in the initialize-function would refer to
MyObject. I guess I misunderstood the note in the blog as this does
not seem to be the case..

var MyObject = {
  initialize: function() {
    alert(this);
  }
}

document.observe('dom:loaded', MyObject.initialize);

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

Reply via email to