MCPcopy Create free account
hub / github.com/TruthHun/BookStack / registerimport

Function registerimport

static/editor.md/lib/codemirror/mode/haxe/haxe.js:195–200  ·  view source on GitHub ↗
(importname)

Source from the content-addressed store, hash-verified

193
194
195 function registerimport(importname) {
196 var state = cx.state;
197 for (var t = state.importedtypes; t; t = t.next)
198 if(t.name == importname) return;
199 state.importedtypes = { name: importname, next: state.importedtypes };
200 }
201 // Combinator utils
202
203 var cx = {state: null, column: null, marked: null, cc: null};

Callers 2

importdefFunction · 0.85
typedefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected