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

Method register

external/.scrollLibs.js:21579–21584  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21577 : null
21578 }
21579 register() {
21580 const codeMirrorLib = this._getCodeMirrorLib()
21581 codeMirrorLib.defineMode(this._name, () => this)
21582 codeMirrorLib.defineMIME("text/" + this._name, this._name)
21583 return this
21584 }
21585 _advanceStreamAndReturnTokenType(stream, state) {
21586 let nextCharacter = stream.next()
21587 const lineNumber = stream.lineOracle.line + 1 // state.lineIndex

Callers 1

.datatables.jsFile · 0.80

Calls 1

_getCodeMirrorLibMethod · 0.95

Tested by

no test coverage detected