Skip to content

Commit

Permalink
Merge branch 'live-docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith committed Dec 6, 2011
2 parents 719e672 + b7514db commit f246d37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/event/docs/index.mustache
Expand Up @@ -116,7 +116,7 @@ need to stop all execution, use `e.stopImmediatePropagation()` or
<p>`node.on()` and all
<a href="#more">other subscription methods</a> return a
subscription object that can be used to unbind that subscription. Node also
supports a `detach()` method and <a href="#detach-methods">other ways to cleaup
supports a `detach()` method and <a href="#detach-methods">other ways to cleanup
subscriptions</a>.</p>
```
Expand Down Expand Up @@ -484,7 +484,7 @@ node.on('click', overlay.show, overlay);
node.once('mouseover', door.unlock, door);
// `this` override comes after the filter; also shifted for the 'key' event's
// custome signature.
// custom signature.
container.delegate('key', validator.isValid, 'enter,tab', 'input', validator);
// Corresponding alternatives from Y
Expand Down Expand Up @@ -834,7 +834,7 @@ code is needed.</p>

<h4 id="function-reference">My callback is executing at the wrong time. What's going on?</h4>

<p>It's likely that you've included parenthese in the subscription.</p>
<p>It's likely that you've included parenthesis in the subscription.</p>
```
// WRONG
node.on('click', someFunction());
Expand Down Expand Up @@ -1419,7 +1419,7 @@ Y.mix(Y.Node.DOM_EVENTS, {
<dd>
Prevents the default action associated with the event. E.g. page
navigation from an &lt;a&gt;nchor `click` or form submission and
page reload from a %lt;form&gt; `submit`.
page reload from a &lt;form&gt; `submit`.
</dd>
<dt>`e.stopPropagation()`</dt>
<dd>
Expand Down

0 comments on commit f246d37

Please sign in to comment.