diff options
author | Tom Willemsen | 2013-03-28 00:52:48 +0100 |
---|---|---|
committer | Tom Willemsen | 2013-03-28 00:52:48 +0100 |
commit | 09f37ea2e1a4ab254019a98d45d991eca758a636 (patch) | |
tree | 5b5e124289f37229b18d20eb6590c5d1db18bfaa /clark.js | |
parent | cf50ebad50ef1c8321f0dde23afd28a51489b3c7 (diff) | |
download | clark-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.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } } |