rustdoc: Separate filter-empty-string out into its own function
This commit is contained in:
parent
6530b3243a
commit
227f5ed679
2 changed files with 13 additions and 3 deletions
|
@ -264,7 +264,8 @@ function loadMainJsAndIndex(mainJs, searchIndex, storageJs, crate) {
|
|||
// execQuery last parameter is built in buildIndex.
|
||||
// buildIndex requires the hashmap from search-index.
|
||||
var functionsToLoad = ["buildHrefAndPath", "pathSplitter", "levenshtein", "validateResult",
|
||||
"handleAliases", "getQuery", "buildIndex", "execQuery", "execSearch"];
|
||||
"handleAliases", "getQuery", "buildIndex", "execQuery", "execSearch",
|
||||
"removeEmptyStringsFromArray"];
|
||||
|
||||
ALIASES = {};
|
||||
finalJS += 'window = { "currentCrate": "' + crate + '", rootPath: "../" };\n';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue