From 2d095a713b3514a0a661daf2e9fa4b22bc6950d2 Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Sat, 26 May 2012 23:09:52 -0700 Subject: Rename the force parameter --- content_scripts/vomnibar.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'content_scripts/vomnibar.js') diff --git a/content_scripts/vomnibar.js b/content_scripts/vomnibar.js index 88210d05..3add1e6a 100644 --- a/content_scripts/vomnibar.js +++ b/content_scripts/vomnibar.js @@ -142,10 +142,8 @@ var vomnibar = (function() { this.updateSelection(); }, - update: function(force, callback) { - force = force || false; // explicitely default to asynchronous updating - - if (force) { + update: function(updateSynchronously, callback) { + if (updateSynchronously) { // cancel scheduled update if (this.updateTimer !== null) window.clearTimeout(this.updateTimer); -- cgit v1.2.3