MCPcopy Create free account
hub / github.com/unconed/TermKit / getValue

Function getValue

HTML/external/syntaxhighlighter_3.0.83/src/shCore.js:189–196  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

187 ;
188
189 function getValue(name)
190 {
191 var r = new RegExp(name + '_(\\w+)'),
192 match = r.exec(className)
193 ;
194
195 return match ? match[1] : null;
196 };
197
198 var highlighter = getHighlighterById(findParentElement(target, '.syntaxhighlighter').id),
199 commandName = getValue('command')

Callers 1

shCore.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected