MCPcopy
hub / github.com/scutan90/DeepLearning-500-questions / done

Function done

docsify.js:2039–2058  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

2037 pending = tokens.length;
2038
2039 var done = function(err) {
2040 if (err) {
2041 opt.highlight = highlight;
2042 return callback(err);
2043 }
2044
2045 var out;
2046
2047 try {
2048 out = Parser.parse(tokens, opt);
2049 } catch (e) {
2050 err = e;
2051 }
2052
2053 opt.highlight = highlight;
2054
2055 return err
2056 ? callback(err)
2057 : callback(null, out);
2058 };
2059
2060 if (!highlight || highlight.length < 3) {
2061 return done();

Callers 3

markedFunction · 0.85
prerenderEmbedFunction · 0.85
fetchMixinFunction · 0.85

Calls 2

callbackFunction · 0.85
callHookFunction · 0.85

Tested by

no test coverage detected