diff --git a/backbone.js b/backbone.js
index 5e690b0ca..18d484386 100644
--- a/backbone.js
+++ b/backbone.js
@@ -1,4 +1,4 @@
-// Backbone.js 0.5.0
+// Backbone.js 0.5.1
// (c) 2010 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
@@ -25,7 +25,7 @@
}
// Current version of the library. Keep in sync with `package.json`.
- Backbone.VERSION = '0.5.0';
+ Backbone.VERSION = '0.5.1';
// Require Underscore, if we're on the server, and it's not already present.
var _ = root._;
diff --git a/docs/backbone.html b/docs/backbone.html
index 93581cdcb..3ee0e99a8 100644
--- a/docs/backbone.html
+++ b/docs/backbone.html
@@ -1,4 +1,4 @@
-
Backbone.js 0.5.1
(c) 2010 Jeremy Ashkenas, DocumentCloud Inc.
Backbone may be freely distributed under the MIT license.
For all details and documentation:
@@ -9,7 +9,7 @@
Backbone=exports;}else{Backbone=root.Backbone={};
- }
Mix in each Underscore method as a proxy to Collection#models.
_.each(methods,function(method){Backbone.Collection.prototype[method]=function(){return_[method].apply(_,[this.models].concat(_.toArray(arguments)));
@@ -467,7 +467,7 @@
browser does not support onhashchange, falls back to polling.
Save a fragment into the hash history. You are responsible for properly
URL-encoding the fragment in advance. This does not trigger
a hashchange event.
We've taken the opportunity to clarify some naming with the 0.5.0
@@ -2462,6 +2462,15 @@
F.A.Q.
Change Log
+
+
+ 0.5.1 — July 5, 2011
+ Cleanups from the 0.5.0 release, to wit: improved transparent upgrades from
+ hash-based URLs to pushState, and vice-versa. Fixed inconsistency with
+ non-modified attributes being passed to Model#initialize. Reverted
+ a 0.5.0 change that would strip leading hashbangs from routes.
+ Added contains as an alias for includes.
+