MCPcopy
hub / github.com/ajaxorg/ace / test

Function test

src/keyboard/vim_test.js:84–92  ·  view source on GitHub ↗
(name, fn)

Source from the content-addressed store, hash-verified

82var editor;
83var i = 0;
84function test(name, fn) {
85 // if (name != 'vim_search_history') return
86 // for (i = 0; i < 1000; i++)
87 // exports["test " + name + i] = fn; // vim_ex_global_confirm
88 if (i++ < 0 || /- /.test(name))
89 exports["test " + name] = function() {};
90 else
91 exports["test " + name] = fn;
92}
93
94vim.CodeMirror.Vim.unmap("Y");
95vim.CodeMirror.Vim.defineEx('write', 'w', function(cm) {

Callers 4

expandWordUnderCursorFunction · 0.70
testVimFunction · 0.70
vim_test.jsFile · 0.70
FoldingFunction · 0.50

Calls 3

delayFunction · 0.85
eqFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…