]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Explain contents of bundled JS files in docs (#23735)
authorGiovanni Totaro <ingtotaro@ingtotaro.it>
Mon, 30 Oct 2017 11:24:39 +0000 (12:24 +0100)
committerGiovanni Totaro <ingtotaro@ingtotaro.it>
Mon, 30 Oct 2017 11:27:23 +0000 (12:27 +0100)
README.md
docs/4.0/getting-started/contents.md

index 0a79e97330b4e295d7023108778b4d423ca921bb..657183c598259352a8fcee5e3707abb7e088e4fe 100644 (file)
--- a/README.md
+++ b/README.md
@@ -89,7 +89,7 @@ bootstrap/
     └── bootstrap.min.js
 ```
 
-We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/web/tools/chrome-devtools/debug/readability/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools.
+We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/web/tools/chrome-devtools/debug/readability/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Bundled JS files (`bootstrap.bundle.js` and minified `bootstrap.bundle.min.js`) include [Popper](https://popper.js.org), but not [jQuery](https://jquery.com).
 
 
 ## Bugs and feature requests
index 975f29a0ab351de35b252b7dab438e5b9458eb95..af99c696cddce32e2a563d938eacdd46da8444ee 100644 (file)
@@ -34,7 +34,7 @@ bootstrap/
     └── bootstrap.min.js
 {% endhighlight %}
 
-This is the most basic form of Bootstrap: precompiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools.
+This is the most basic form of Bootstrap: precompiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Bundled JS files (`bootstrap.bundle.js` and minified `bootstrap.bundle.min.js`) include [Popper](https://popper.js.org), but not [jQuery](https://jquery.com).
 
 ### Comparison of CSS files
 
@@ -82,6 +82,36 @@ This is the most basic form of Bootstrap: precompiled files for quick drop-in us
   </tbody>
 </table>
 
+### Comparison of JS files
+
+<table class="table table-bordered table-responsive">
+  <thead>
+    <tr>
+      <th scope="col">JS files</th>
+      <th scope="col" class="text-center">Popper</th>
+      <th scope="col" class="text-center">jQuery</th>
+    </tr>
+  </thead>
+  <tbody>
+    <tr>
+      <th scope="row">
+        <div><code class="text-nowrap">bootstrap.bundle.js</code></div>
+        <div><code class="text-nowrap">bootstrap.bundle.min.js</code></div>
+      </th>
+      <td class="table-success text-center align-middle">Included</td>
+      <td class="table-danger text-center align-middle">Not included</td>
+    </tr>
+    <tr>
+      <th scope="row">
+        <div><code class="text-nowrap">bootstrap.js</code></div>
+        <div><code class="text-nowrap">bootstrap.min.js</code></div>
+      </th>
+      <td class="table-danger text-center align-middle">Not included</td>
+      <td class="table-danger text-center align-middle">Not included</td>
+    </tr>
+  </tbody>
+</table>
+
 ## Bootstrap source code
 
 The Bootstrap source code download includes the precompiled CSS and JavaScript assets, along with source Sass, JavaScript, and documentation. More specifically, it includes the following and more: