Skip to content

Commit 3cce2e8

Browse files
committed
chore: add jQuery Migrate for deprecation detection during upgrade
Include jQuery Migrate 3.4.1 to identify and resolve deprecated jQuery APIs used in the codebase. This temporary tool logs warnings in the browser console for outdated patterns (e.g., $.browser, $.live), helping us modernize the JavaScript safely. This addition is part of a migration plan: 1. Add Migrate 2. Fix reported issues 3. Remove Migrate when clean See: https://jquery.com/upgrade-guide/3.0/#jquery-migrate-plugin
1 parent 532753a commit 3cce2e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

layouts/partials/footer.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
<img src="{{ relURL "images/icons/[email protected]" }}" width="20" height="20" alt="scroll-to-top"/>
1212
</a>
1313

14-
<script src="{{ relURL "js/jquery-1.7.1.min.js" }}"></script>
15-
<script src="{{ relURL "js/jquery-ui-1.8.18.custom.min.js" }}"></script>
14+
<script src="https://code.jquery.com/jquery-migrate-3.4.1.min.js"></script>
15+
<script src="{{ relURL "js/jquery-3.7.1.min.js" }}"></script>
16+
<script src="{{ relURL "js/jquery-ui-1.14.1.min.js" }}"></script>
1617
<script src="{{ relURL "js/jquery.defaultvalue.js" }}"></script>
1718
<script src="{{ relURL "js/session.min.js" }}"></script>
1819
{{ $js := resources.Get "js/application.js" | resources.ExecuteAsTemplate "js/application.js" . | resources.Minify | fingerprint }}

0 commit comments

Comments
 (0)