aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2019-06-30 15:24:24 +0200
committerXhmikosR <[email protected]>2019-07-22 16:08:58 +0300
commit3b73dfc44badc90953cc3f4b239b679c9e46cd34 (patch)
tree8e0974846022ccae78daddafa9c0c4011f437874 /site/content/docs
parentae0baff08762cf356723c71e08afd470780751a5 (diff)
downloadbootstrap-3b73dfc44badc90953cc3f4b239b679c9e46cd34.tar.xz
bootstrap-3b73dfc44badc90953cc3f4b239b679c9e46cd34.zip
Allow to pass integrity & async attribute to extra js
Diffstat (limited to 'site/content/docs')
-rw-r--r--site/content/docs/4.3/examples/checkout/index.html2
-rw-r--r--site/content/docs/4.3/examples/dashboard/index.html8
-rw-r--r--site/content/docs/4.3/examples/offcanvas/index.html2
3 files changed, 7 insertions, 5 deletions
diff --git a/site/content/docs/4.3/examples/checkout/index.html b/site/content/docs/4.3/examples/checkout/index.html
index 353111883..ac67d8a6e 100644
--- a/site/content/docs/4.3/examples/checkout/index.html
+++ b/site/content/docs/4.3/examples/checkout/index.html
@@ -4,7 +4,7 @@ title: Checkout example
extra_css:
- "form-validation.css"
extra_js:
- - "form-validation.js"
+ - src: "form-validation.js"
body_class: "bg-light"
---
diff --git a/site/content/docs/4.3/examples/dashboard/index.html b/site/content/docs/4.3/examples/dashboard/index.html
index f44d6b326..6e7953cdf 100644
--- a/site/content/docs/4.3/examples/dashboard/index.html
+++ b/site/content/docs/4.3/examples/dashboard/index.html
@@ -4,9 +4,11 @@ title: Dashboard Template
extra_css:
- "dashboard.css"
extra_js:
- - "https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.9.0/feather.min.js"
- - "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.min.js"
- - "dashboard.js"
+ - src: "https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.22.1/feather.min.js"
+ integrity: "sha256-v7ozvh+7DfgbxrO6V1UgXsR+DDFHZr5ESbMWn6J5c8s="
+ - src: "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js"
+ integrity: "sha256-Uv9BNBucvCPipKQ2NS9wYpJmi8DTOEfTA/nH2aoJALw="
+ - src: "dashboard.js"
---
<nav class="navbar navbar-dark fixed-top bg-dark flex-md-nowrap p-0 shadow">
diff --git a/site/content/docs/4.3/examples/offcanvas/index.html b/site/content/docs/4.3/examples/offcanvas/index.html
index 0e529d819..85a5cf4f7 100644
--- a/site/content/docs/4.3/examples/offcanvas/index.html
+++ b/site/content/docs/4.3/examples/offcanvas/index.html
@@ -4,7 +4,7 @@ title: Offcanvas template
extra_css:
- "offcanvas.css"
extra_js:
- - "offcanvas.js"
+ - src: "offcanvas.js"
body_class: "bg-light"
---