From 123b92e468249adae3f813754cb26e6e2e397c0a Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Tue, 6 Sep 2011 11:52:15 +0200 Subject: [PATCH 1/2] Fix incorrect variable name on docs for delegateEvents --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index 0c703cf9..31f5541a 100644 --- a/backbone.js +++ b/backbone.js @@ -936,7 +936,7 @@ return el; }, - // Set callbacks, where `this.callbacks` is a hash of + // Set callbacks, where `this.events` is a hash of // // *{"event selector": "callback"}* // From 9ba9cefd43a32a7c89401dfa077d16c6cda82623 Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Thu, 3 Mar 2011 17:12:45 -0500 Subject: [PATCH 2/2] fix a small error in the documentation --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index 31f5541a..223fa3e3 100644 --- a/backbone.js +++ b/backbone.js @@ -1022,7 +1022,7 @@ // Override this function to change the manner in which Backbone persists // models to the server. You will be passed the type of request, and the - // model in question. By default, uses makes a RESTful Ajax request + // model in question. By default, makes a RESTful Ajax request // to the model's `url()`. Some possible customizations could be: // // * Use `setTimeout` to batch rapid-fire updates into a single request.