aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/clark.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/clark.js b/js/clark.js
index b1ea691..80eff5d 100644
--- a/js/clark.js
+++ b/js/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);
}
}