diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2015-02-20 03:36:22 +0300 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2015-02-20 03:36:22 +0300 |
commit | d1dd1fb8b1c2ab3c4175adcda386cd973866f04d (patch) | |
tree | 2752a4cfef08c62d8f62446ca9842c05ea609591 | |
parent | 1d355261013ad2537790af4b09a96fddbfca8545 (diff) | |
parent | c2a4ebb98b988b2771012e4af4096b478cefe11a (diff) |
Merge pull request #854 from shawnacscott/readme-js-info
Include Javascript require caveat in README per #829
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -51,6 +51,11 @@ Require Bootstrap Javascripts in `app/assets/javascripts/application.js`: //= require bootstrap-sprockets ``` +`bootstrap-sprockets` and `bootstrap` [should not both be included](https://github.com/twbs/bootstrap-sass/issues/829#issuecomment-75153827) in `application.js`. + +`bootstrap-sprockets` provides individual Bootstrap Javascript files (`alert.js` or `dropdown.js`, for example), while +`bootstrap` provides a concatenated file containing all Bootstrap Javascripts. + #### Bower with Rails When using [bootstrap-sass Bower package](#c-bower) instead of the gem in Rails, configure assets in `config/application.rb`: |