1
Fork 0

rustdoc: Move inlining to its own module

This commit is contained in:
Alex Crichton 2014-05-24 11:56:38 -07:00
parent bd339ced36
commit 3100bc5b82
9 changed files with 406 additions and 352 deletions

View file

@ -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');
}
}());