Skip to content
Browse files

Docs: correct spelling of "receive"

  • Loading branch information...
1 parent 979dc5c commit db572dc85022677f635b5103ca1c5daa5ead673f @jaspermdegroot jaspermdegroot committed Jul 7, 2012
Showing with 9 additions and 9 deletions.
  1. +5 −5 docs/api/events-nav.html
  2. +4 −4 docs/api/events.html
View
10 docs/api/events-nav.html
@@ -360,7 +360,7 @@ <h4 style="margin:.5em 0">Important: <code>pageCreate()</code> vs <code>pageInit
<p>Navigating between pages in the application is usually accomplished through a call to <code>$.mobile.changePage()</code>. This function is responsible for making sure that the page we are navigating to is loaded and inserted into the DOM, and then kicking off the transition animations between the current active page, and the page the caller wants to to make active. During this process, which is usually asynchronous, changePage() will fire off 2 events. The first is <code>pagebeforechange</code>. The second event depends on the success or failure of the change request. It will either be <code>pagechange</code> or <code>pagechangefailed</code>.</p>
<dl>
<dt><code>pagebeforechange</code></dt>
- <dd>This event is triggered prior to any page loading or transition. Callbacks can prevent execution of the changePage() function by calling preventDefault on the event object passed into the callback. The callback also recieves a data object as its 2nd arg. The data object has the following properties:
+ <dd>This event is triggered prior to any page loading or transition. Callbacks can prevent execution of the changePage() function by calling preventDefault on the event object passed into the callback. The callback also receives a data object as its 2nd arg. The data object has the following properties:
<ul>
<li><code>toPage</code> (object or string)
<ul>
@@ -410,7 +410,7 @@ <h4 style="margin:.5em 0">Important: <code>pageCreate()</code> vs <code>pageInit
<p>Page transitions are used to animate the change from the current active page (fromPage) to a new page (toPage). Events are triggered before and after these transitions so that observers can be notified whenever pages are shown or hidden. The events triggered are as follows:</p>
<dl>
<dt><code>pagebeforeshow</code></dt>
- <dd>Triggered on the "toPage" we are transitioning to, before the actual transition animation is kicked off. Callbacks for this event will recieve a data object as their 2nd arg. This data object has the following properties on it:
+ <dd>Triggered on the "toPage" we are transitioning to, before the actual transition animation is kicked off. Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:
<ul>
<li><code>prevPage</code> (object)
<ul>
@@ -421,7 +421,7 @@ <h4 style="margin:.5em 0">Important: <code>pageCreate()</code> vs <code>pageInit
</dd>
<dt><code>pagebeforehide</code></dt>
- <dd>Triggered on the "fromPage" we are transitioning away from, before the actual transition animation is kicked off. Callbacks for this event will recieve a data object as their 2nd arg. This data object has the following properties on it:
+ <dd>Triggered on the "fromPage" we are transitioning away from, before the actual transition animation is kicked off. Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:
<ul>
<li><code>nextPage</code> (object)
<ul>
@@ -433,7 +433,7 @@ <h4 style="margin:.5em 0">Important: <code>pageCreate()</code> vs <code>pageInit
</dd>
<dt><code>pageshow</code></dt>
- <dd>Triggered on the "toPage" after the transition animation has completed. Callbacks for this event will recieve a data object as their 2nd arg. This data object has the following properties on it:
+ <dd>Triggered on the "toPage" after the transition animation has completed. Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:
<ul>
<li><code>prevPage</code> (object)
<ul>
@@ -444,7 +444,7 @@ <h4 style="margin:.5em 0">Important: <code>pageCreate()</code> vs <code>pageInit
</dd>
<dt><code>pagehide</code></dt>
- <dd>Triggered on the "fromPage" after the transition animation has completed. Callbacks for this event will recieve a data object as their 2nd arg. This data object has the following properties on it:
+ <dd>Triggered on the "fromPage" after the transition animation has completed. Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:
<ul>
<li><code>nextPage</code> (object)
<ul>
View
8 docs/api/events.html
@@ -370,7 +370,7 @@ <h4 style="margin:.5em 0">Canceling an elements default click behavior</h4>
<p>Page transitions are used to animate the change from the current active page (fromPage) to a new page (toPage). Events are triggered before and after these transitions so that observers can be notified whenever pages are shown or hidden. The events triggered are as follows:</p>
<dl>
<dt><code>pagebeforeshow</code></dt>
- <dd>Triggered on the "toPage" we are transitioning to, before the actual transition animation is kicked off. Callbacks for this event will recieve a data object as their 2nd arg. This data object has the following properties on it:
+ <dd>Triggered on the "toPage" we are transitioning to, before the actual transition animation is kicked off. Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:
<ul>
<li><code>prevPage</code> (object)
<ul>
@@ -381,7 +381,7 @@ <h4 style="margin:.5em 0">Canceling an elements default click behavior</h4>
</dd>
<dt><code>pagebeforehide</code></dt>
- <dd>Triggered on the "fromPage" we are transitioning away from, before the actual transition animation is kicked off. Callbacks for this event will recieve a data object as their 2nd arg. This data object has the following properties on it:
+ <dd>Triggered on the "fromPage" we are transitioning away from, before the actual transition animation is kicked off. Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:
<ul>
<li><code>nextPage</code> (object)
<ul>
@@ -393,7 +393,7 @@ <h4 style="margin:.5em 0">Canceling an elements default click behavior</h4>
</dd>
<dt><code>pageshow</code></dt>
- <dd>Triggered on the "toPage" after the transition animation has completed. Callbacks for this event will recieve a data object as their 2nd arg. This data object has the following properties on it:
+ <dd>Triggered on the "toPage" after the transition animation has completed. Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:
<ul>
<li><code>prevPage</code> (object)
<ul>
@@ -404,7 +404,7 @@ <h4 style="margin:.5em 0">Canceling an elements default click behavior</h4>
</dd>
<dt><code>pagehide</code></dt>
- <dd>Triggered on the "fromPage" after the transition animation has completed. Callbacks for this event will recieve a data object as their 2nd arg. This data object has the following properties on it:
+ <dd>Triggered on the "fromPage" after the transition animation has completed. Callbacks for this event will receive a data object as their 2nd arg. This data object has the following properties on it:
<ul>
<li><code>nextPage</code> (object)
<ul>

6 comments on commit db572dc

@jaspermdegroot
jQuery Foundation member

@agcolom - Shouldn't that events-nav.html file be removed? Looks like a deprecated version.

@agcolom
jQuery Foundation member
agcolom commented on db572dc Jul 7, 2012

@uGoMobi You probably know more than me on that one. Have you found a page that was pointing to this one? (I haven't but haven't checkd everything)

@jaspermdegroot
jQuery Foundation member

@agcolom

It's an old version of events.html. I checked and there are no links to that page in the docs. I found it by accident when I did a search for "recieve".

@MauriceG

Hi!
I've also found that page some weeks ago and left it as is.
It sems it's still under construction.
Take look at the commit history. May @scottjehl or @toddparker know more.
Maurice

@jaspermdegroot
jQuery Foundation member

@MauriceG - Smart thinking to look at the commit history. It looks like I suggested to remove someone's work in progress :(

@jaspermdegroot
jQuery Foundation member

Note: I have cherry-picked this commit into 1.1-stable.

Please sign in to comment.
Something went wrong with that request. Please try again.