summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/externs.js
AgeCommit message (Collapse)AuthorLines
2022-06-27Add comments, fixes for `0` sentinelMichael Howell-0/+6
2022-06-27Update src/librustdoc/html/static/js/externs.jsMichael Howell-1/+1
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
2022-06-27Add documentationMichael Howell-0/+53
2022-05-07Change eslint rules from configuration comments to configuration filesFolyd-3/+0
2022-04-26Migrate externs.js to ES6Guillaume Gomez-7/+10
2022-04-18Apply suggestions:Guillaume Gomez-1/+0
* Forbid generics without a path (so "<p>" is forbidden). * Change `handleSingleArg` so that it takes `results_others`, `results_in_args` and `results_returned` as arguments instead of using the "global" variables. * Change `createQueryElement` so that it returns the newly created element instead of taking `elems` as argument. * Improve documentation
2022-04-18* Greatly improve the rustdoc search parser source codeGuillaume Gomez-6/+38
* Move all functions outside parseQuery
2022-04-18Improve naming of "val" fieldGuillaume Gomez-1/+1
2022-04-18Greatly improve rustdoc searchGuillaume Gomez-4/+24
2021-12-22Add some JSDoc comments to rustdoc JSJacob Hoffman-Andrews-0/+32
This follows the Closure Compiler dialect of JSDoc, so we can use it to do some basic type checking. We don't plan to compile with Closure Compiler, just use it to check types. See https://github.com/google/closure-compiler/wiki/ for details.