Merge pull request #1498 from braddunbar/clarify-off

Fix #1494 - Clarify documentation for `off`.
This commit is contained in:
Jeremy Ashkenas
2012-07-19 04:36:41 -07:00

View File

@@ -676,7 +676,7 @@ proxy.on("all", function(eventName) {
<b>context</b> is specified, all of the versions of the callback with
different contexts will be removed. If no
callback is specified, all callbacks for the <b>event</b> will be
removed. If no event is specified, <i>all</i> event callbacks on the object
removed. If no event is specified, callbacks for <i>all</i> events
will be removed.
</p>
@@ -2630,14 +2630,14 @@ var model = localBackbone.Model.extend(...);
<img width="543" height="525" data-original="docs/images/wunderkit.png" alt="Wunderkit" class="example_image" />
</a>
</div>
<h2 id="examples-disqus">Disqus</h2>
<p>
<a href="http://www.disqus.com">Disqus</a> chose Backbone.js to power the
latest version of their commenting widget. Backbone&rsquo;s small
footprint and easy extensibility made it the right choice for Disqus&rsquo;
distributed web application, which is hosted entirely inside an iframe and
<a href="http://www.disqus.com">Disqus</a> chose Backbone.js to power the
latest version of their commenting widget. Backbone&rsquo;s small
footprint and easy extensibility made it the right choice for Disqus&rsquo;
distributed web application, which is hosted entirely inside an iframe and
served on thousands of large web properties, including IGN, Wired, CNN, MLB, and more.
</p>
@@ -2821,13 +2821,13 @@ var model = localBackbone.Model.extend(...);
<h2 id="examples-airbnb">Airbnb</h2>
<p>
<a href="http://airbnb.com">Airbnb</a> uses Backbone in many of its products.
It started with <a href="http://m.airbnb.com">Airbnb Mobile Web</a>
(built in six weeks by a team of three) and has since grown to
<a href="https://www.airbnb.com/wishlists/popular">Wish Lists</a>,
<a href="http://www.airbnb.com/match">Match</a>,
<a href="http://www.airbnb.com/s/">Search</a>, Communities, Payments, and
<p>
<a href="http://airbnb.com">Airbnb</a> uses Backbone in many of its products.
It started with <a href="http://m.airbnb.com">Airbnb Mobile Web</a>
(built in six weeks by a team of three) and has since grown to
<a href="https://www.airbnb.com/wishlists/popular">Wish Lists</a>,
<a href="http://www.airbnb.com/match">Match</a>,
<a href="http://www.airbnb.com/s/">Search</a>, Communities, Payments, and
Internal Tools.
</p>
@@ -3011,17 +3011,17 @@ var model = localBackbone.Model.extend(...);
<img width="550" height="395" data-original="docs/images/easel.png" alt="Easel" class="example_image" />
</a>
</div>
<h2 id="examples-prose">Prose</h2>
<p>
<a href="http://prose.io">Prose</a> is a content editor for GitHub,
optimized for managing websites built with
<a href="http://jekyllrb.com/">Jekyll</a> and Github Pages. Prose is
itself implemented as a static Jekyll site, using Backbone.js to render
the views and handle the routes, as well as
<a href="http://github.com/michael/github">Github.js</a>, a small data
abstraction layer for manipulating files directly on Github. Read more in the
<a href="http://prose.io">Prose</a> is a content editor for GitHub,
optimized for managing websites built with
<a href="http://jekyllrb.com/">Jekyll</a> and Github Pages. Prose is
itself implemented as a static Jekyll site, using Backbone.js to render
the views and handle the routes, as well as
<a href="http://github.com/michael/github">Github.js</a>, a small data
abstraction layer for manipulating files directly on Github. Read more in the
<a href="http://developmentseed.org/blog/2012/june/25/prose-a-content-editor-for-github/">official introduction post</a>,
or <a href="https://github.com/prose/prose">take a look at the source code</a>.
</p>
@@ -3031,7 +3031,7 @@ var model = localBackbone.Model.extend(...);
<img width="550" height="447" data-original="docs/images/prose.png" alt="Prose" class="example_image" />
</a>
</div>
<h2 id="examples-grove">Grove.io</h2>