Skip to content

Commit 9268329

Browse files
committed
readme changes
1 parent 5a4f27b commit 9268329

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ I recommend getting the eBook [Handling Time](https://sellfy.com/p/8gxZ) as it h
1717

1818
### Rails 3.1 or greater (with asset pipeline *enabled*)
1919

20-
The jquery and jquery-ujs files will be added to the asset pipeline and available for you to use. If they're not already in `app/assets/javascripts/application.js` by default, add these lines:
20+
I'm lazy and have set this up for the asset pipeline only. If you'd like to backport it, send me a merge request and i'll gladly add it.
21+
2122

2223
```js
23-
//= require jquery
24-
//= require jquery_ujs
24+
//= require jquery-ui-timepicker/jquery-ui-sliderAccess
2525
```
2626

27-
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. This gem still packages the jQuery UI javascript for compatibility. To use it, add the following line to your `application.js`:
27+
You obviously need the [jquery-ui-rails](https://github.com/joliss/jquery-ui-rails) gem
28+
29+
for the provided CSS add this to your css manifest file
2830

2931
```js
30-
//= require jquery-ui
32+
//= require query-ui-timepicker/jquery-ui-timepicker
3133
```
3234

33-
In order to use the themed parts of jQuery UI, you will also need to supply [your own theme CSS](http://jqueryui.com) (or use the jquery-ui-rails gem mentioned above).
3435

35-
Just add
3636

3737
Contributing Code - Please Read!
3838
--------------------------------

0 commit comments

Comments
 (0)