MCPcopy
hub / github.com/jcubic/jquery.terminal / completion

Function completion

__tests__/terminal.spec.js:3046–3050  ·  view source on GitHub ↗
(term)

Source from the content-addressed store, hash-verified

3044 });
3045 describe('autocomplete_menu', function() {
3046 function completion(term) {
3047 return find_menu(term).find('li').map(function() {
3048 return a0($(this).text());
3049 }).get();
3050 }
3051 function find_menu(term) {
3052 return term.find('.cmd-cursor-line .cursor-wrapper .cmd-cursor + ul');
3053 }

Callers 1

terminal.spec.jsFile · 0.85

Calls 8

find_menuFunction · 0.85
a0Function · 0.85
$Function · 0.85
get_commandMethod · 0.80
parse_commandMethod · 0.80
escape_regexMethod · 0.80
getMethod · 0.65
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…