Skip to content

Commit 5834fdf

Browse files
committed
Fix exports initSearch
1 parent 4350ed0 commit 5834fdf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustdoc/html/static/js/search.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3914,6 +3914,10 @@ function initSearch(searchIndx) {
39143914
}
39153915
}
39163916

3917+
if (typeof exports !== "undefined") {
3918+
exports.initSearch = initSearch;
3919+
}
3920+
39173921
if (typeof window !== "undefined") {
39183922
window.initSearch = initSearch;
39193923
if (window.searchIndex !== undefined) {

0 commit comments

Comments
 (0)