Skip to content

Commit

Permalink
Remove unnecessary js module file declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Folyd committed May 26, 2024
1 parent 88b9fd1 commit 3879fc9
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 17 deletions.
9 changes: 0 additions & 9 deletions docs/templates/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,5 @@ <h1>Notice</h1>
e.data.hasOwnProperty("frameHeight") && (document.getElementById("footer").style.height = `${e.data.frameHeight}px`)
}
</script>
<script src="/crates/index.js" type="module"></script>
<script src="/index/commands.js" type="module"></script>
<script src="/index/books.js" type="module"></script>
<script src="/index/labels.js" type="module"></script>
<script src="/index/rfcs.js" type="module"></script>
<script src="/index/lints.js" type="module"></script>
<script src="/index/caniuse.js" type="module"></script>
<script src="/index/rustc.js" type="module"></script>
<script src="/index/targets.js" type="module"></script>
<script src="/js/update-index.js" type="module"></script>
{% endblock footer %}
3 changes: 0 additions & 3 deletions manage/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
</div>
</div>
</div>
<script src="../core/compat.js" type="module"></script>
<script src="../core/storage.js" type="module"></script>
<script src="../settings.js" type="module"></script>
{% block js %}
{% endblock %}
</body>
Expand Down
2 changes: 0 additions & 2 deletions manage/templates/crates.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@
{% endblock %}

{% block js %}
<script src="../crate-manager.js" type="module"></script>
<script src="../statistics.js" type="module"></script>
<script src="./js/crates.js" type="module"></script>
{% endblock %}
2 changes: 0 additions & 2 deletions manage/templates/export.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@
{% endblock %}

{% block js %}
<script src="../crate-manager.js" type="module"></script>
<script src="../statistics.js" type="module"></script>
<script src="./js/export.js" type="module"></script>
<script src="./js/import.js" type="module"></script>
{% endblock %}
1 change: 0 additions & 1 deletion manage/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,5 @@ <h3>Top searched crates</h3>

{% block js %}
<script type="text/javascript" src="./js/bar-chart.js"></script>
<script src="../statistics.js" type="module"></script>
<script src="./js/index.js" type="module"></script>
{% endblock %}

0 comments on commit 3879fc9

Please sign in to comment.