Skip to content

Commit

Permalink
Upgrade the internal jQuery to v3.4.1 (theme-next#903)
Browse files Browse the repository at this point in the history
  • Loading branch information
1v9 authored Jun 11, 2019
1 parent c3c5808 commit 1f9748c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1038,10 +1038,10 @@ vendors:
# Internal path prefix. Please do not edit it.
_internal: lib

# Internal version: 2.1.3
# Internal version: 3.4.1
# Example:
# jquery: //cdn.jsdelivr.net/npm/jquery@2/dist/jquery.min.js
# jquery: //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js
# jquery: //cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js
# jquery: //cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js
jquery:

# Internal version: 2.1.5 & 3.5.7
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"dependencies": {
"font-awesome": "fontawesome#*",
"jquery": "http://code.jquery.com/jquery-2.1.3.min.js",
"jquery": "https://code.jquery.com/jquery-3.4.1.min.js",
"velocity": "~1.2.1"
}
}
2 changes: 1 addition & 1 deletion layout/_scripts/vendors.swig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</script>

{% set js_vendors = {} %}
{% set js_vendors.jquery = 'jquery/index.js?v=2.1.3' %}
{% set js_vendors.jquery = 'jquery/index.js?v=3.4.1' %}

{% if theme.fastclick %}
{% set js_vendors.fastclick = 'fastclick/lib/fastclick.min.js?v=1.0.6' %}
Expand Down
6 changes: 2 additions & 4 deletions source/lib/jquery/index.js

Large diffs are not rendered by default.

0 comments on commit 1f9748c

Please sign in to comment.