MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / fileParsedFunc

Function fileParsedFunc

core/cb.addons/require-tools/less/lessc.js:96–106  ·  view source on GitHub ↗
(e, root, fullPath)

Source from the content-addressed store, hash-verified

94 this.queue.push(path);
95
96 var fileParsedFunc = function (e, root, fullPath) {
97 parserImports.queue.splice(parserImports.queue.indexOf(path), 1); // Remove the path from the queue
98
99 var importedPreviously = fullPath in parserImports.files || fullPath === rootFilename;
100
101 parserImports.files[fullPath] = root; // Store the root
102
103 if (e && !parserImports.error) { parserImports.error = e; }
104
105 callback(e, root, importedPreviously, fullPath);
106 };
107
108 if (less.Parser.importer) {
109 less.Parser.importer(path, currentFileInfo, fileParsedFunc, env);

Callers 1

lessc.jsFile · 0.85

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected