diff options
| author | Giovanni Totaro <[email protected]> | 2017-10-30 12:24:39 +0100 |
|---|---|---|
| committer | Giovanni Totaro <[email protected]> | 2017-10-30 12:27:23 +0100 |
| commit | 8776e80ffab945772a6f3442521117e1abe7c3c5 (patch) | |
| tree | c650d464bc1acc28b8b3c3c6c37de5b54d7cb474 | |
| parent | 6d00ed586b645c6e81fce9257ab2af6a9160463b (diff) | |
| download | bootstrap-8776e80ffab945772a6f3442521117e1abe7c3c5.tar.xz bootstrap-8776e80ffab945772a6f3442521117e1abe7c3c5.zip | |
Explain contents of bundled JS files in docs (#23735)
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | docs/4.0/getting-started/contents.md | 32 |
2 files changed, 32 insertions, 2 deletions
@@ -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 diff --git a/docs/4.0/getting-started/contents.md b/docs/4.0/getting-started/contents.md index 975f29a0a..af99c696c 100644 --- a/docs/4.0/getting-started/contents.md +++ b/docs/4.0/getting-started/contents.md @@ -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: |
