Skip to content

Commit 5c11701

Browse files
Merge pull request #1 from rweng/master
Update
2 parents 1ce7536 + a411069 commit 5c11701

File tree

4 files changed

+31
-21
lines changed

4 files changed

+31
-21
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.1.10.0.2
2+
3+
Bugfixies:
4+
- Moved jquery-datatatables.bootstrap.js to correct folder (bootstrap/2)
5+
16
## 2.1.10.0.1
27

38
Features:

Readme.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ If you encounter any errors, please fork the repository, update the plugin files
1515

1616
## General Installation
1717

18-
**This is README is valid only for 2.1.10.0.1 version**
18+
**This is README is valid only for 2.1.10.0.2 version**
1919

2020
1 - Add to your Gemfile:
2121

2222
```ruby
23-
gem 'jquery-datatables-rails', '~> 2.1.10.0.1'
23+
gem 'jquery-datatables-rails', '~> 2.1.10.0.2'
2424
```
2525

2626
2 - Install the gem:
@@ -43,7 +43,8 @@ bundle install
4343

4444
## Twitter Bootstrap 2 Installation
4545

46-
1 - Complete steps 1-3 of the General Installation
46+
1 - Complete steps 1-3 of the General Installation.
47+
4748
2 - Add some more JavaScript to `application.js`:
4849

4950
```javascript
@@ -74,7 +75,8 @@ $('.datatable').dataTable({
7475

7576
## Twitter Bootstrap 3 Installation
7677

77-
1 - Complete steps 1-3 of the General Installation
78+
1 - Complete steps 1-3 of the General Installation.
79+
7880
2 - Add some more JavaScript to `application.js`:
7981

8082
```javascript
@@ -84,7 +86,7 @@ $('.datatable').dataTable({
8486
3 - Add this (and only this) stylesheet to `application.css`:
8587

8688
```css
87-
*= require dataTables/bootstrap/3jquery.dataTables.bootstrap3
89+
*= require dataTables/bootstrap/3/jquery.dataTables.bootstrap
8890
```
8991

9092
4 - Initialize your datatables using these option:
@@ -122,7 +124,8 @@ $('.datatable').dataTable({
122124

123125
## Responsive Installation
124126

125-
1 - Complete steps 1-3 of the General Installation
127+
1 - Complete steps 1-3 of the General Installation.
128+
126129
2 - Add the lodash gem to your application:
127130

128131
```ruby
@@ -189,19 +192,21 @@ These files can be found in the [assets directory][assets].
189192

190193
## Extras
191194

192-
Official extras are available:
193-
194-
* AutoFill
195-
* ColReorder
196-
* ColVis
197-
* FixedColumns
198-
* FixedHeader
199-
* KeyTable
200-
* Scroller
201-
* TableTools
202-
203-
Unofficial extra is available:
204-
* Responsive
195+
````ruby
196+
# Official extras are available:
197+
[Plugin] : [ExtraName]
198+
AutoFill : dataTables.autoFill
199+
ColReorder : dataTables.colReorder
200+
ColVis : dataTables.colVis
201+
FixedColumns : dataTables.fixedColumn
202+
FixedHeader : dataTables.fixedHeader
203+
KeyTable : dataTables.keyTable
204+
Scroller : dataTables.scroller
205+
TableTools : dataTables.tableTools
206+
207+
# Unofficial extra is available:
208+
Responsive : dataTables.responsive
209+
````
205210

206211
### How to use Extras
207212
1 - To add an extra into your application, add its JS file to `application.js` using the following pattern:
@@ -236,7 +241,7 @@ Make sure to also add it's initialization as described on [datatables extras' si
236241

237242
Thanks to Comanche for responsive support files [datatables-responsive]
238243

239-
[assets]: https://github.com/rweng/jquery-datatables-rails/tree/master/vendor/assets/javascripts/dataTables
244+
[assets]: app/assets/javascripts/dataTables
240245
[datatables_extras]: http://datatables.net/extras/
241246
[datatables-responsive]: https://github.com/Comanche/datatables-responsive
242247
[RailsCast #340 DataTables]: http://railscasts.com/episodes/340-datatables
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Jquery
22
module Datatables
33
module Rails
4-
VERSION = "2.1.10.0.1"
4+
VERSION = "2.1.10.0.2"
55
end
66
end
77
end

0 commit comments

Comments
 (0)