aboutsummaryrefslogtreecommitdiffstats
path: root/fuzzyMode.js
diff options
context:
space:
mode:
authorPhil Crosby2012-05-05 17:27:54 -0700
committerPhil Crosby2012-05-05 18:32:14 -0700
commit98b3d851a74034db8cec07488f7c3ab8c33a9d5f (patch)
tree388a45d3977bda5408cdff886583ad27aaf39af9 /fuzzyMode.js
parent6451f8a8a35cbe81796032f0777f8c632a00a510 (diff)
downloadvimium-98b3d851a74034db8cec07488f7c3ab8c33a9d5f.tar.bz2
Add overview documentation to explain the completion workflow.
Diffstat (limited to 'fuzzyMode.js')
-rw-r--r--fuzzyMode.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzzyMode.js b/fuzzyMode.js
index fe5b542a..2a38fa6f 100644
--- a/fuzzyMode.js
+++ b/fuzzyMode.js
@@ -183,6 +183,7 @@ var fuzzyMode = (function() {
this.filterPort.onMessage.addListener(function(msg) {
if (msg.id != id) return;
callback(msg.results.map(function(result) {
+ // functionName will be either "navigateToUrl" or "switchToTab". args will be a URL or a tab ID.
var functionToCall = eval(result.action.functionName);
result.performAction = functionToCall.curry(result.action.args);
return result;