MCPcopy Create free account
hub / github.com/breck7/scroll / applicableHelpers

Function applicableHelpers

external/.scrollLibs.js:13796–13801  ·  view source on GitHub ↗
(cm, helpers)

Source from the content-addressed store, hash-verified

13794 }
13795
13796 function applicableHelpers(cm, helpers) {
13797 if (!cm.somethingSelected()) return helpers
13798 var result = []
13799 for (var i = 0; i < helpers.length; i++) if (helpers[i].supportsSelection) result.push(helpers[i])
13800 return result
13801 }
13802
13803 function fetchHints(hint, cm, options, callback) {
13804 if (hint.async) {

Callers 1

resolvedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected