Revert back to jQuery v3.3.1
3.4.0 causes issues with older jQuery plugins that haven't been updated to support it.
This commit is contained in:
parent
b797deffeb
commit
b83ab5600c
5 changed files with 8 additions and 8 deletions
8
assets/js/main.min.js
vendored
8
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
2
assets/js/vendor/jquery/jquery-3.3.1.min.js
vendored
Normal file
2
assets/js/vendor/jquery/jquery-3.3.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
assets/js/vendor/jquery/jquery-3.4.0.min.js
vendored
2
assets/js/vendor/jquery/jquery-3.4.0.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -18,7 +18,7 @@ minimal mistakes
|
|||
| | | └── jquery.smooth-scroll.min.js # make same-page links scroll smoothly
|
||||
| | ├── vendor
|
||||
| | | └── jquery
|
||||
| | | └── jquery-3.4.0.min.js
|
||||
| | | └── jquery-3.3.1.min.js
|
||||
| | ├── _main.js # jQuery plugin settings and other scripts
|
||||
| | └── main.min.js # concatenated and minified scripts
|
||||
```
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"uglify-js": "^3.4.9"
|
||||
},
|
||||
"scripts": {
|
||||
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-3.4.0.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.ba-throttle-debounce.js assets/js/plugins/smooth-scroll.js assets/js/plugins/gumshoe.js assets/js/_main.js -c -m -o assets/js/main.min.js",
|
||||
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-3.3.1.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.ba-throttle-debounce.js assets/js/plugins/smooth-scroll.js assets/js/plugins/gumshoe.js assets/js/_main.js -c -m -o assets/js/main.min.js",
|
||||
"add-banner": "node banner.js",
|
||||
"watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
|
||||
"build:js": "npm run uglify && npm run add-banner"
|
||||
|
|
Loading…
Reference in a new issue