116 matches across 1 files for func main lang:JavaScript path:src/librustdoc/html/static/js/main.js
snippet_mode: grep · sorted by relevance
src/librustdoc/html/static/js/main.js JAVASCRIPT 116 matches · showing 5 view file →
5"use strict";
6
7// The amount of time that the cursor must remain still over a hover target before
8// revealing a tooltip.
9//
· · ·
19 * @param {string} extension
20 */
21function resourcePath(basename, extension) {
22 return getVar("root-path") + basename + getVar("resource-suffix") + extension;
23}
· · ·
24
25function hideMain() {
26 addClass(document.getElementById(MAIN_ID), "hidden");
27 const toggle = document.getElementById("toggle-all-docs");
· · ·
26 addClass(document.getElementById(MAIN_ID), "hidden");
27 const toggle = document.getElementById("toggle-all-docs");
28 if (toggle) {
· · ·
31}
32
33function showMain() {
34 const main = document.getElementById(MAIN_ID);
35 if (!main) {
+ 111 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.