[Pkg-javascript-commits] [backbone] 70/74: save -> saveLocation
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 16:59:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.3.0
in repository backbone.
commit 1e0986b4e76a52d84921b665b9aaefe3cceea63f
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Tue Nov 9 12:38:59 2010 -0500
save -> saveLocation
---
backbone.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/backbone.js b/backbone.js
index fe07c2f..443c038 100644
--- a/backbone.js
+++ b/backbone.js
@@ -603,8 +603,8 @@
},
// Simply proxy to `Backbone.history` to save a fragment into the history.
- save : function(fragment) {
- Backbone.history.save(fragment);
+ saveLocation : function(fragment) {
+ Backbone.history.saveLocation(fragment);
},
// Bind all defined routes to `Backbone.history`.
@@ -710,7 +710,7 @@
// 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.
- save : function(fragment) {
+ saveLocation : function(fragment) {
fragment = (fragment || '').replace(hashStrip, '');
if (this.fragment == fragment) return;
window.location.hash = this.fragment = fragment;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list