Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Custom events are now namespaced; "contentloaded" is now "dom:loaded"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sam Stephenson  
View profile  
 More options Oct 11 2007, 3:36 pm
From: Sam Stephenson <s...@37signals.com>
Date: Thu, 11 Oct 2007 14:36:25 -0500
Local: Thurs, Oct 11 2007 3:36 pm
Subject: Custom events are now namespaced; "contentloaded" is now "dom:loaded"

A small but important change was made to custom events in [7835] (http://dev.rubyonrails.org/changeset/7835
): all custom event names must now include a namespace.  This is our  
solution to the problem of custom event names conflicting with non-
standard native DOM events, such as "mousewheel" and "DOMMouseScroll."

Prior to this change, Prototype treated only the event names present  
in the Event.DOMEvents array as native DOM events.  Now, Prototype  
looks for the presence of the namespace delimiter -- a single colon --  
to determine whether you're observing a custom event or a native event.

You'll need to update any code that uses 1.6.0_rc0's "contentloaded"  
event to use its new name, "dom:loaded."  You'll also need to give  
namespaces to any other custom events you may be firing or observing.  
We suggest using singular nouns for namespaces, and past-tense verbs  
for the event names (e.g. "effect:queued", "widget:activated", and so  
on).

-sam

  smime.p7s
3K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google