Skip to content

Commit 3841f50

Browse files
authored
Merge pull request #4349 from 3scale/THREESCALE-15551_dev_portal_jquery
⬆️ Upgrade dev portal main template to jQuery 3.7.1
2 parents 5166660 + 949ebe5 commit 3841f50

4 files changed

Lines changed: 12 additions & 13 deletions

File tree

doc/liquid/tags.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@ Font Awesome:
2525
- font-awesome/4.3.0/css/font-awesome.css
2626
- font-awesome/4.3.0/css/font-awesome.min.css
2727

28-
jQuery 1.7.1:
29-
- jquery/1.7.1/jquery.min.js
30-
31-
jQuery 3.5.0:
32-
- jquery/3.5.0/jquery.min.js
28+
jQuery:
29+
- jquery/3.7.1/jquery.min.js
3330

3431
jQuery UI 1.11.4:
3532
- jquery-ui/1.11.4/jquery-ui.css
@@ -43,7 +40,7 @@ SwaggerUI 2.1.3
4340

4441
SwaggerUI 2.2.10
4542
- swagger-ui/2.2.10/swagger-ui.js
46-
43+
4744

4845
__Example:__ Using cdn_asset tag in liquid
4946
```liquid
@@ -58,7 +55,7 @@ Renders body of a page. Use this only inside a layout.
5855

5956
Prints all liquid variables available in a template into an HTML comment.'
6057
We recommend __to remove this tag__ from public templates.
61-
58+
6259

6360
```liquid
6461
{% debug:help %}
@@ -94,7 +91,7 @@ SMTP header for the message.
9491
| reply-to | | {% reply-to = 'support@example.com' %} |
9592
| header | custom SMTP header | {% header 'X-SMTP-Group' = 'Important' %} |
9693
| do_not_send | discard the email | {% do_not_send %} |
97-
94+
9895

9996
__Example:__ Conditional blind carbon copy
10097
```liquid
@@ -212,7 +209,7 @@ of the form. The supported forms are:
212209
</td>
213210
</tr>
214211
</table>
215-
212+
216213

217214
__Example:__ A form to create an application
218215
```liquid
@@ -283,7 +280,7 @@ Includes a widget to review or change application plan
283280

284281

285282
This tag includes portlet by system name.
286-
283+
287284
# Tag 'sort_link'
288285

289286
Renders a link that sorts the column of table based on current params

lib/developer_portal/app/views/developer_portal/main_layout.html.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{{ '/css/bootstrap.css' | stylesheet_link_tag }}
1717
{% cdn_asset /font-awesome/4.3.0/css/font-awesome.css %}
1818

19-
{% cdn_asset /jquery/3.5.0/jquery.min.js %}
19+
{% cdn_asset /jquery/3.7.1/jquery.min.js %}
2020

2121
{{ '/javascripts/bootstrap.min.js' | javascript_include_tag }}
2222
{{ '/javascripts/vendor/colorbox/jquery.colorbox-patched.js' | javascript_include_tag }}

lib/developer_portal/lib/liquid/tags/cdn_asset.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def initialize(tag_name, file, tokens)
2525
- font-awesome/4.3.0/css/font-awesome.css
2626
- font-awesome/4.3.0/css/font-awesome.min.css
2727
28-
jQuery 3.5.0:
29-
- jquery/3.5.0/jquery.min.js
28+
jQuery:
29+
- jquery/3.7.1/jquery.min.js
3030
3131
jQuery UI 1.11.4:
3232
- jquery-ui/1.11.4/jquery-ui.css

public/dev-portal-assets/jquery/3.7.1/jquery.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)