diff options
author | Gregory Durelle <gregory.durelle@gmail.com> | 2015-05-22 15:16:46 +0200 |
---|---|---|
committer | Gregory Durelle <gregory.durelle@gmail.com> | 2015-05-22 15:16:46 +0200 |
commit | 32cc4fbf4eefed0304756d05d5416a10ad930c66 (patch) | |
tree | 1d6e761f9fd5e784b3fad6d8d38d09c17775db13 | |
parent | 1d76148240aaed1564f7ebaa9c49dfb56fc4296d (diff) | |
download | jQuery-Timepicker-Addon-32cc4fbf4eefed0304756d05d5416a10ad930c66.zip jQuery-Timepicker-Addon-32cc4fbf4eefed0304756d05d5416a10ad930c66.tar.gz jQuery-Timepicker-Addon-32cc4fbf4eefed0304756d05d5416a10ad930c66.tar.bz2 |
Update README.md
Add explanation to require files properly with Rails.
-rw-r--r-- | README.md | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -19,6 +19,23 @@ I recommend getting the eBook [Handling Time](https://sellfy.com/p/8gxZ) as it h There is also a [Bower](http://bower.io/) package named `jqueryui-timepicker-addon`. Beware there are other similar package names that point to forks which may not be current. +Rails with Bower +----------------- +If you happen to use Rails with the [bower](gem "bower-rails", "~> 0.8.3") gem, here it is to use it easily : +#### Bowerfile +```asset "jqueryui-timepicker-addon", "1.5.4"``` + +#### application.js +```javascript +//= require jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon +//= require jqueryui-timepicker-addon/dist/i18n/jquery-ui-timepicker-fr +``` + +#### application.css.scss +```scss +@import "jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.css"; +``` + Contributing Code - Please Read! -------------------------------- - All code contributions and bug reports are much appreciated. @@ -26,4 +43,4 @@ Contributing Code - Please Read! - Also note tabs are appreciated over spaces. - Please read the [CONTRIBUTING.md][contributingmd] for more on using Grunt to produce builds. -[contributingmd]: CONTRIBUTING.md
\ No newline at end of file +[contributingmd]: CONTRIBUTING.md |