aboutsummaryrefslogtreecommitdiffstats
path: root/clark.js
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-03-28 00:52:48 +0100
committerGravatar Tom Willemsen2013-03-28 00:52:48 +0100
commit09f37ea2e1a4ab254019a98d45d991eca758a636 (patch)
tree5b5e124289f37229b18d20eb6590c5d1db18bfaa /clark.js
parentcf50ebad50ef1c8321f0dde23afd28a51489b3c7 (diff)
downloadclark-conkeror-09f37ea2e1a4ab254019a98d45d991eca758a636.tar.gz
clark-conkeror-09f37ea2e1a4ab254019a98d45d991eca758a636.zip
Change order of script output
The order of parameters for `--script' and without it was different, to keep things simple these should be the same.
Diffstat (limited to 'clark.js')
-rw-r--r--clark.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/clark.js b/clark.js
index b1ea691..80eff5d 100644
--- a/clark.js
+++ b/clark.js
@@ -148,9 +148,9 @@ function clark_complete(input, pos, conservative)
});
let c = { count: ret.length,
- get_string: function (i) ret[i][0],
- get_description: function (i) ret[i][1],
- get_input_state: function (i) [ret[i][2]] };
+ get_string: function (i) ret[i][1],
+ get_description: function (i) ret[i][2],
+ get_input_state: function (i) [ret[i][0]] };
yield co_return(c);
}
}