aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-15 14:21:01 +0200
committerGitHub <[email protected]>2020-11-15 14:21:01 +0200
commitb5a64ce60f900a4ab3a594dc366526f8d09f8f76 (patch)
tree41a2449b2f881a5fbf037c67b23393404eec6e46
parent6316565fa9ac4aea997d07f71af58e780fadf9d8 (diff)
downloadbootstrap-b5a64ce60f900a4ab3a594dc366526f8d09f8f76.tar.xz
bootstrap-b5a64ce60f900a4ab3a594dc366526f8d09f8f76.zip
Switch to jsDelivr for the remaining docs assets (#32158)
-rw-r--r--site/content/docs/5.0/examples/dashboard/index.html8
-rw-r--r--site/content/docs/5.0/examples/masonry/index.html4
2 files changed, 6 insertions, 6 deletions
diff --git a/site/content/docs/5.0/examples/dashboard/index.html b/site/content/docs/5.0/examples/dashboard/index.html
index dbba41f51..3965e38f6 100644
--- a/site/content/docs/5.0/examples/dashboard/index.html
+++ b/site/content/docs/5.0/examples/dashboard/index.html
@@ -4,10 +4,10 @@ title: Dashboard Template
extra_css:
- "dashboard.css"
extra_js:
- - src: "https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.24.1/feather.min.js"
- integrity: "sha384-EbSscX4STvYAC/DxHse8z5gEDaNiKAIGW+EpfzYTfQrgIlHywXXrM9SUIZ0BlyfF"
- - src: "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js"
- integrity: "sha384-i+dHPTzZw7YVZOx9lbH5l6lP74sLRtMtwN2XjVqjf3uAGAREAF4LMIUDTWEVs4LI"
+ - src: "https://cdn.jsdelivr.net/npm/[email protected]/dist/feather.min.js"
+ integrity: "sha384-uO3SXW5IuS1ZpFPKugNNWqTZRRglnUJK6UAZ/gxOX80nxEkN9NcGZTftn6RzhGWE"
+ - src: "https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"
+ integrity: "sha384-zNy6FEbO50N+Cg5wap8IKA4M/ZnLJgzc6w2NqACZaK0u0FXfOWRRJOnQtpZun8ha"
- src: "dashboard.js"
---
diff --git a/site/content/docs/5.0/examples/masonry/index.html b/site/content/docs/5.0/examples/masonry/index.html
index ceb3790ec..7e442d852 100644
--- a/site/content/docs/5.0/examples/masonry/index.html
+++ b/site/content/docs/5.0/examples/masonry/index.html
@@ -2,7 +2,7 @@
layout: examples
title: Masonry example
extra_js:
- - src: "https://cdnjs.cloudflare.com/ajax/libs/masonry/4.2.2/masonry.pkgd.min.js"
+ - src: "https://cdn.jsdelivr.net/npm/[email protected]/dist/masonry.pkgd.min.js"
integrity: "sha384-GNFwBvfVxBkLMJpYMOABq3c+d3KnQxudP/mGPkzpZSTYykLBNsZEnG2D9G/X/+7D"
async: true
---
@@ -14,7 +14,7 @@ extra_js:
<p>Masonry is not included in Bootstrap. Add it by including the JavaScript plugin manually, or using a CDN like so:</p>
<pre><code>
-&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/masonry/4.2.2/masonry.pkgd.min.js&quot; integrity=&quot;sha384-GNFwBvfVxBkLMJpYMOABq3c+d3KnQxudP/mGPkzpZSTYykLBNsZEnG2D9G/X/+7D&quot; crossorigin=&quot;anonymous&quot; async&gt;&lt;/script&gt;
+&lt;script src=&quot;https://cdn.jsdelivr.net/npm/[email protected]/dist/masonry.pkgd.min.js&quot; integrity=&quot;sha384-GNFwBvfVxBkLMJpYMOABq3c+d3KnQxudP/mGPkzpZSTYykLBNsZEnG2D9G/X/+7D&quot; crossorigin=&quot;anonymous&quot; async&gt;&lt;/script&gt;
</code></pre>
<p>By adding <code>data-masonry='{"percentPosition": true }'</code> to the <code>.row</code> wrapper, we can combine the powers of Bootstrap's responsive grid and Masonry's positioning.</p>