Skip to content

Commit

Permalink
fix: wrong jquery in default template
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih committed Jun 20, 2023
1 parent 75e836a commit babd293
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 21 deletions.
4 changes: 2 additions & 2 deletions templates/default/src/docfx.vendor.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
require('@default/bootstrap/dist/css/bootstrap.css')
require('@default/highlight.js/styles/github.css')

window.$ = window.jQuery = require('@default/jquery')
window.$ = window.jQuery = require('jquery')

require('@default/bootstrap')
require('@default/twbs-pagination')
require('@default/mark.js/src/jquery.js')
require('@default/mark.js/src/jquery')

const AnchorJS = require('@default/anchor-js')
window.anchors = new AnchorJS()
Expand Down
25 changes: 7 additions & 18 deletions templates/package-lock.json

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

2 changes: 1 addition & 1 deletion templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@default/anchor-js": "npm:[email protected]",
"@default/bootstrap": "npm:[email protected]",
"@default/highlight.js": "npm:[email protected]",
"@default/jquery": "npm:[email protected]",
"@default/lunr": "npm:[email protected]",
"@default/mark.js": "npm:[email protected]",
"@default/twbs-pagination": "josecebe/twbs-pagination#1.3.1",
Expand All @@ -31,6 +30,7 @@
"bootstrap": "^5.3.0",
"bootstrap-icons": "^1.10.5",
"highlight.js": "^11.8.0",
"jquery": "3.6.3",
"lit-html": "^2.7.4",
"lunr": "2.3.9",
"mathjax": "^3.2.2",
Expand Down

0 comments on commit babd293

Please sign in to comment.