diff --git a/index.html b/index.html index 0e3e82db1..5b790e40f 100644 --- a/index.html +++ b/index.html @@ -1555,7 +1555,7 @@

Backbone.Collection

triggered on the collection directly, for convenience. This allows you to listen for changes to specific attributes in any model in a collection, for example: - Documents.on("change:selected", ...) + documents.on("change:selected", ...)

@@ -1813,7 +1813,7 @@

Backbone.Collection

-var book = Library.get(110);
+var book = library.get(110);
 

@@ -1931,7 +1931,7 @@

Backbone.Collection

pluckcollection.pluck(attribute)
Pluck an attribute from each model in the collection. Equivalent to calling - map, and returning a single attribute from the iterator. + map and returning a single attribute from the iterator.

@@ -2055,13 +2055,13 @@ 

Backbone.Collection

set options. For example, to fetch a collection, getting an "add" event for every new model, and a "change" event for every changed existing model, without - removing anything: collection.fetch({set: true, remove: false}) + removing anything: collection.fetch({remove: false})

jQuery.ajax options can also be passed directly as fetch options, so to fetch a specific page of a paginated collection: - Documents.fetch({data: {page: 3}}) + documents.fetch({data: {page: 3}})

@@ -2450,7 +2450,7 @@

Backbone.sync

encoded as application/json, setting Backbone.emulateJSON = true; will cause the JSON to be serialized under a model parameter, and the request to be made with a application/x-www-form-urlencoded - mime type, as if from an HTML form. + MIME type, as if from an HTML form.

Backbone.View

@@ -2525,7 +2525,7 @@

Backbone.View

-var doc = Documents.first();
+var doc = documents.first();
 
 new DocumentRow({
   model: doc,
@@ -3204,7 +3204,7 @@ 

Stripe

Stripe provides an API for accepting credit cards on the web. Stripe's management interface was recently - rewritten from scratch in Coffeescript using Backbone.js as the primary + rewritten from scratch in CoffeeScript using Backbone.js as the primary framework, Eco for templates, Sass for stylesheets, and Stitch to package everything together as CommonJS modules. The new app uses Stripe's API directly for the @@ -3286,7 +3286,7 @@

Art.sy

love. Art.sy is built on Rails, using Grape to serve a robust JSON API. The main site is a single page - app written in Coffeescript and uses Backbone to provide structure around + app written in CoffeeScript and uses Backbone to provide structure around this API. An admin panel and partner CMS have also been extracted into their own API-consuming Backbone projects.

@@ -3349,7 +3349,7 @@

Code School

everything it has to offer: the router, collections, models, and complex event handling. Before, the page was a mess of jQuery DOM manipulation and manual Ajax calls. Backbone.js helped introduce a new way to - think about developing an organized front-end application in Javascript. + think about developing an organized front-end application in JavaScript.

@@ -3416,11 +3416,11 @@

Prose

Prose is a content editor for GitHub, optimized for managing websites built with - Jekyll and Github Pages. Prose is + Jekyll 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 Github.js, a small data - abstraction layer for manipulating files directly on Github. Read more in the + abstraction layer for manipulating files directly on GitHub. Read more in the official introduction post, or take a look at the source code.

@@ -3612,7 +3612,7 @@

F.A.Q.

way.
  • - It's smaller. There's fewer kilobytes for your browser or phone to download, + It's smaller. There are fewer kilobytes for your browser or phone to download, and less conceptual surface area. You can read and understand the source in an afternoon.