rustdoc: Move inlining to its own module
This commit is contained in:
parent
bd339ced36
commit
3100bc5b82
9 changed files with 406 additions and 352 deletions
|
@ -676,13 +676,9 @@
|
|||
window.register_implementors(window.pending_implementors);
|
||||
}
|
||||
|
||||
|
||||
var query = window.location.search.substring(1);
|
||||
var vars = query.split('&');
|
||||
for (var i = 0; i < vars.length; i++) {
|
||||
var pair = vars[i].split('=');
|
||||
if (pair[0] == 'gotosrc') {
|
||||
window.location = $('#src-' + pair[1]).attr('href');
|
||||
}
|
||||
// See documentaiton in html/render.rs for what this is doing.
|
||||
var query = getQueryStringParams();
|
||||
if (query['gotosrc']) {
|
||||
window.location = $('#src-' + query['gotosrc']).attr('href');
|
||||
}
|
||||
}());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue