Skip to content

Commit

Permalink
Updates README with instructions for jQuery 3
Browse files Browse the repository at this point in the history
  • Loading branch information
cannikin committed Jun 16, 2016
1 parent bfaaa31 commit 9bad7a7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@ jQuery! For Rails! So great.

This gem provides:

* jQuery 1 and jQuery 2
* jQuery 1, 2 and 3
* the jQuery UJS adapter
* assert_select_jquery to test jQuery responses in Ruby tests

Expand Down Expand Up @@ -38,6 +38,13 @@ If you want to use jQuery 2, you can require `jquery2` instead:
//= require jquery_ujs
```

And if you want to use jQuery 3, you can require `jquery3`:

```js
//= require jquery3
//= require jquery_ujs
```

For jQuery UI, we recommend the [jquery-ui-rails](https://github.com/joliss/jquery-ui-rails) gem, as it includes the jquery-ui css and allows easier customization.

*As of v3.0, jquery-rails no longer includes jQuery UI. Use the
Expand Down

0 comments on commit 9bad7a7

Please sign in to comment.