Skip to content

Commit d3df8e6

Browse files
committed
Add a one liner to load all the javascript
1 parent 8a797e2 commit d3df8e6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,22 @@ Add necessary stylesheet file to app/assets/stylesheets/application.css
4040

4141
## Javascripts
4242

43-
Add necessary javascript(s) files to app/assets/javascripts/application.js
43+
Bootstrap-wysihtml5 depends on jquery and bootstrap-button.
4444

4545
``` javascript
4646
//= require jquery # Not included
4747
//= require bootstrap-button # Not included
48+
```
49+
50+
Add necessary javascript(s) files to app/assets/javascripts/application.js
51+
52+
```javascript
4853
//= require wysihtml5
4954
//= require bootstrap-wysihtml5
55+
56+
or
57+
58+
//= require bootstrap-wysihtml5-all
5059
```
5160

5261
## Using bootstrap-wysihtml5-rails
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
//= require bootstrap-wysihtml5
2+
//= require wysihtml5

0 commit comments

Comments
 (0)