about summary refs log tree commit diff
path: root/src/librustdoc/html/static/main.js
AgeCommit message (Expand)AuthorLines
2021-03-23Rollup merge of #82732 - GuillaumeGomez:remove-theme-file, r=Nemo157Yuki Okushi-8/+69
2021-03-19Ignore main.js file lengthGuillaume Gomez-0/+1
2021-03-19Only build help popup when it's really neededGuillaume Gomez-12/+19
2021-03-16Rollup merge of #83077 - notriddle:gc-cleanup-rustdoc-search, r=GuillaumeGomezYuki Okushi-49/+78
2021-03-15Declare `word` outside the loop, as recommended by eslintMichael Howell-3/+3
2021-03-14Make nameWithoutUndescores lowercasedMichael Howell-14/+15
2021-03-14Use a number for row.id, instead of a stringMichael Howell-11/+5
2021-03-14Avoid generating new strings for names that have no undescoresMichael Howell-2/+8
2021-03-14Auto merge of #83028 - GuillaumeGomez:prevent-js-error-if-no-filter, r=Nemo157bors-1/+5
2021-03-13Remove tab characterMichael Howell-2/+2
2021-03-13Avoid potential collisions with `constructor` and the search queryMichael Howell-2/+2
2021-03-13Add comments regarding object shapes in buildIndexMichael Howell-0/+5
2021-03-13Fix jslint warningsMichael Howell-2/+3
2021-03-13Use null instead of undefined hereMichael Howell-2/+2
2021-03-13Update src/librustdoc/html/static/main.jsMichael Howell-1/+1
2021-03-13Eagerly generate the underscore-less name to search onMichael Howell-2/+4
2021-03-13In checkGenerics and checkType, don't use Array.prototype.splice so muchMichael Howell-37/+57
2021-03-12Get rid of the garbage produced by getObjectFromIdMichael Howell-7/+7
2021-03-11Prevent JS error when there is no dependency or other crate documentedGuillaume Gomez-1/+5
2021-03-10rustdoc: tweak the search index formatMichael Howell-19/+20
2021-03-10Rollup merge of #82807 - notriddle:cleanup-js, r=jyn514Dylan DPC-10/+2
2021-03-05Use substrings instead of split to grab enum variant pathsMichael Howell-3/+3
2021-03-05Remove redundant enableSearchInput functionMichael Howell-10/+2
2021-03-05Use global variables instead of functions for DOM IDsGuillaume Gomez-16/+11
2021-03-05Clean up code around theme elementsGuillaume Gomez-11/+19
2021-03-05Remove theme.js file creation and move its code inside main.jsGuillaume Gomez-1/+60
2021-03-04Remove unused code from main.jsMichael Howell-20/+0
2021-03-02Load rustdoc's JS search index on-demand.Jacob Hoffman-Andrews-42/+56
2021-02-27Auto merge of #82511 - jsha:fix-bfcache2, r=GuillaumeGomezbors-6/+14
2021-02-24Fix back-forward cache in rustdoc frontend.Jacob Hoffman-Andrews-6/+14
2021-02-23Rollup merge of #82234 - GuillaumeGomez:remove-query-param-on-esc, r=Nemo157Dylan DPC-1/+6
2021-02-17Remove query parameters when leaving search resultsGuillaume Gomez-1/+6
2021-02-15Fix ES5 errors (IE11)Guillaume Gomez-5/+11
2021-02-02Better styling of "Switch result tab" shortcutSmitty-1/+1
2021-02-01Rollup merge of #81592 - GuillaumeGomez:rustdoc-ui-fixes, r=Nemo157Jonas Schievink-9/+0
2021-01-31Remove unneeded explicit width from search resultsGuillaume Gomez-9/+0
2021-01-28Rollup merge of #81379 - GuillaumeGomez:improve-urls, r=Nemo157Yuki Okushi-7/+17
2021-01-25Improve URL handling when clicking on a menu link while being on the search r...Guillaume Gomez-7/+16
2021-01-25Completely remove search query parameter when clearing search inputGuillaume Gomez-1/+2
2021-01-25Fix some bugs reported by eslintGuillaume Gomez-28/+22
2021-01-19Rollup merge of #81161 - GuillaumeGomez:remove-inline-script, r=Nemo157Guillaume Gomez-12/+27
2021-01-19Rollup merge of #80382 - GuillaumeGomez:search-result-tab-picking, r=Nemo157,...Guillaume Gomez-0/+15
2021-01-18Remove inline script tagsGuillaume Gomez-12/+27
2021-01-15Use Array.some instead of onEach to have better performanceGuillaume Gomez-1/+1
2021-01-15Improve JS performance by storing length before comparing to it in loopsGuillaume Gomez-53/+45
2021-01-04Auto merge of #80554 - GuillaumeGomez:more-js-cleanup, r=jyn514bors-18/+12
2021-01-03Inline resetMouseMoved function directly into "mousemove" event handlerGuillaume Gomez-5/+1
2021-01-03Replace some loops with "onEachLazy" callGuillaume Gomez-13/+11
2020-12-31Use Array.prototype.filter instead of open-codingMichael Howell-7/+1
2020-12-30If the current search result tab is empty, it picks the first non-empty one. ...Guillaume Gomez-0/+15