Skip to content

Commit 6f4c12e

Browse files
Remove jquery dependency
1 parent 33535af commit 6f4c12e

File tree

6 files changed

+457
-246
lines changed

6 files changed

+457
-246
lines changed

src/librustdoc/html/layout.rs

-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ r##"<!DOCTYPE html>
137137
window.rootPath = "{root_path}";
138138
window.currentCrate = "{krate}";
139139
</script>
140-
<script src="{root_path}jquery.js"></script>
141140
<script src="{root_path}main.js"></script>
142141
<script defer src="{root_path}search-index.js"></script>
143142
</body>

src/librustdoc/html/render.rs

-2
Original file line numberDiff line numberDiff line change
@@ -660,8 +660,6 @@ fn write_shared(cx: &Context,
660660
// Add all the static files. These may already exist, but we just
661661
// overwrite them anyway to make sure that they're fresh and up-to-date.
662662

663-
write(cx.dst.join("jquery.js"),
664-
include_bytes!("static/jquery-2.1.4.min.js"))?;
665663
write(cx.dst.join("main.js"),
666664
include_bytes!("static/main.js"))?;
667665
write(cx.dst.join("rustdoc.css"),

src/librustdoc/html/static/COPYRIGHT.txt

-5
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ included, and carry their own copyright notices and license terms:
2727
Licensed under the SIL Open Font License, Version 1.1.
2828
See Heuristica-LICENSE.txt.
2929

30-
* jQuery (jquery-2.1.4.min.js):
31-
32-
Copyright 2005, 2015 jQuery Foundation, Inc.
33-
Licensed under the MIT license (see LICENSE-MIT.txt).
34-
3530
* rustdoc.css, main.js, and playpen.js:
3631

3732
Copyright 2015 The Rust Developers.

src/librustdoc/html/static/jquery-2.1.4.min.js

-4
This file was deleted.

0 commit comments

Comments
 (0)