From eb54f3a621f8232873b11b3fed35ea750655e2f5 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Mon, 13 Aug 2012 13:03:45 +0100 Subject: [PATCH] rename shouldSaveState to shouldSaveMomento --- resources/static/dialog/js/misc/state.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/static/dialog/js/misc/state.js b/resources/static/dialog/js/misc/state.js index eae6c18d7..afd16ccd7 100644 --- a/resources/static/dialog/js/misc/state.js +++ b/resources/static/dialog/js/misc/state.js @@ -36,7 +36,7 @@ BrowserID.State = (function() { // Save a snapshot of the current state off to the momentos. If // a state is ever cancelled, this momento will be used as the // new state. - if (shouldSaveState(msg)) momentos.push(_.extend({}, self)); + if (shouldSaveMomento(msg)) momentos.push(_.extend({}, self)); redirecting = false; callback(msg, info || {}); @@ -65,7 +65,7 @@ BrowserID.State = (function() { me.popState(); }; - function shouldSaveState(msg) { + function shouldSaveMomento(msg) { // Do not save temporal state machine state if we are cancelling // state or if we are redirecting. A redirection basically says // "continue the current state". A "cancel_state" would put the -- GitLab