Skip to content

Commit

Permalink
Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations
Browse files Browse the repository at this point in the history
- Removed jQuery-Migrate as it seems to no longer be needed.
- Removed a dead code section.
- Fixed some deprecations detected by jQuery-Migrate.

Ref: https://jquery.com/upgrade-guide/3.5/
Ref: https://github.com/gogs/gogs/search?q=repo-name-change-prompt
Ref: https://github.com/go-gitea/gitea/search?q=repo-name-change-prompt
Fixes: #9372
  • Loading branch information
silverwind committed Apr 17, 2020
1 parent 12960b9 commit d0cf578
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 137 deletions.
11 changes: 3 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
"fomantic-ui": "2.8.4",
"highlight.js": "9.18.1",
"imports-loader": "0.8.0",
"jquery": "3.4.1",
"jquery": "3.5.0",
"jquery-datetimepicker": "2.5.21",
"jquery-migrate": "3.1.0",
"jquery.are-you-sure": "1.9.0",
"less-loader": "5.0.0",
"mini-css-extract-plugin": "0.9.0",
Expand Down
7 changes: 1 addition & 6 deletions public/vendor/librejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@
<tr>
<td><a href="../js/jquery.js">jQuery</a></td>
<td><a href="https://jquery.org/license/">MIT</a></td>
<td><a href="https://code.jquery.com/jquery-3.4.1.min.js">jquery-3.4.1.min.js</a></td>
</tr>
<tr>
<td><a href="../js/jquery.js">jQuery Migrate</a></td>
<td><a href="https://jquery.org/license/">MIT</a></td>
<td><a href="https://code.jquery.com/jquery-migrate-3.1.0.min.js">jquery-migrate-3.1.0.min.js</a></td>
<td><a href="https://code.jquery.com/jquery-3.5.0.min.js">jquery-3.5.0.min.js</a></td>
</tr>
<tr>
<td><a href="../fomantic/semantic.min.js">semantic.min.js</a></td>
Expand Down
Loading

0 comments on commit d0cf578

Please sign in to comment.