30 matches across 1 files for func main lang:JavaScript lang:JavaScript path:src/librustdoc/html/static/js/storage.js
snippet_mode: auto · sorted by relevance
src/librustdoc/html/static/js/storage.js JAVASCRIPT 30 matches · showing 5 view file →
13const builtinThemes = ["light", "dark", "ayu"];
14const darkThemes = ["dark", "ayu"];
15window.currentTheme = (function() {
16 const currentTheme = document.getElementById("themeStyle");
17 return currentTheme instanceof HTMLLinkElement ? currentTheme : null;
· · ·
18})();
19
20const settingsDataset = (function() {
21 const settingsElement = document.getElementById("default-settings");
22 return settingsElement && settingsElement.dataset ? settingsElement.dataset : null;
· · ·
37// used in other files, not yet used in this one.
38// eslint-disable-next-line no-unused-vars
39function nonnull(x, msg) {
40 if (x === null) {
41 throw (msg || "unexpected null value!");
· · ·
59// used in other files, not yet used in this one.
60// eslint-disable-next-line no-unused-vars
61function nonundef(x, msg) {
62 if (x === undefined) {
63 throw (msg || "unexpected null value!");
· · ·
73 * @returns
74 */
75function getSettingValue(settingName) {
76 const current = getCurrentValue(settingName);
77 if (current === null && settingsDataset !== null) {
+ 25 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.