Skip to content

Commit 2c8dfbf

Browse files
committed
updated readme
noted Datepair.js is now a separate file. added require for Datepair added link to Datepair project
1 parent 454741b commit 2c8dfbf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# jQuery timepicker for Rails
22
[![Gem Version](https://badge.fury.io/rb/jquery-timepicker-rails.png)](http://badge.fury.io/rb/jquery-timepicker-rails)
33

4-
jquery-timepicker packaged for the Rails 3.1+ asset pipeline.
5-
Check [jquery-timepicker project home page](http://github.com/jonthornton/jquery-timepicker).
4+
jquery-timepicker and Datepair.js packaged for the Rails 3.1+ asset pipeline.
5+
See the [jquery-timepicker project home page](http://github.com/jonthornton/jquery-timepicker) and the [Datepair.js home page](https://github.com/jonthornton/Datepair.js).
66

77
## Installation
88

@@ -28,13 +28,13 @@ Add the following stylesheet file to `app/assets/stylesheets/application.css`:
2828

2929
*= require jquery.timepicker.css
3030

31-
Optionally, you can also use `jquery.datepair.js`:
31+
You can also include `Datepair.js`, and optionally it's accompanying jquery plugin, `jquery.datepair.js`:
3232

33+
//= require Datepair
3334
//= require jquery.datepair.js
3435

35-
Most people will prefer to copy-paste this file in order to customize it.
36-
37-
jquery-timepicker depends on jQuery and [bootstrap-datepicker](http://github.com/eternicode/bootstrap-datepicker) or [jQuery UI Datepicker](http://jqueryui.com/demos/datepicker/).
36+
Datepair.js depends on [bootstrap-datepicker](http://github.com/eternicode/bootstrap-datepicker) or [jQuery UI Datepicker](http://jqueryui.com/demos/datepicker/).
37+
jquery-timepicker depends on `jQuery`.
3838

3939
## License
4040

0 commit comments

Comments
 (0)