Commit 78ab91bc authored by Camil Staps's avatar Camil Staps 🍃

Don't add type to macro results now that the fe_representation includes this

parent a90fd457
Subproject commit 616eb28e57b434149830b722200fa2622769bba8
Subproject commit 83be952cf91d90d4df7797f71dd2fded3bf71892
......@@ -588,14 +588,6 @@ function getResults(str, libs, include_builtins, include_core, include_apps, pag
}
var code = highlightClean(extra['func'], highlightCallback, hl_entry);
if ('type_doc' in extra) {
var lines = extra['func'].split('\n');
if (lines.length <= 1 || lines[0].indexOf(' :: ') == -1) {
var name = extra['func'].split(' ')[0];
var type = highlightClean(name + ' :: ' + extra['type_doc'], highlightCallback);
code = type + '\r\n' + code;
}
}
return makeGenericResultHTML(basic, meta, hidden, code);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment