Skip to content

Commit 2dd7de3

Browse files
committed
Sets a legacy branch to keep support for dataTables 1.9
1 parent d4505bc commit 2dd7de3

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,25 @@
33
[![Build Status](https://travis-ci.org/antillas21/ajax-datatables-rails.svg?branch=master)](https://travis-ci.org/antillas21/ajax-datatables-rails)
44
[![Gem Version](https://badge.fury.io/rb/ajax-datatables-rails.svg)](http://badge.fury.io/rb/ajax-datatables-rails)
55

6-
### Under new management
6+
### Versions
77

8-
> Hi,
9-
>
10-
> New maintainer here. Just to let you know that we have
11-
> released version 0.1.0 which includes breaking changes.
12-
>
13-
> Please check the [CHANGELOG](https://github.com/antillas21/ajax-datatables-rails/blob/master/CHANGELOG.md) to learn about these changes.
14-
>
15-
> All changes have been documented below.
8+
[Datatables](http://datatables.net) recently released version 1.10 and deprecated version 1.9 which includes a new API and features.
169

10+
If you have dataTables 1.9 in your project and want to keep using it, please use this gem's version `0.1.x` in your `Gemfile`:
11+
12+
```ruby
13+
# specific version number
14+
gem 'ajax-datatables-rails', '0.1.2'
15+
16+
# or, support on datatables 1.9
17+
gem 'ajax-datatables-rails', git: 'git://github.com/antillas21/ajax-datatables-rails.git', branch: 'legacy'
18+
```
19+
20+
If you have dataTables 1.10 in your project, then use the gem's latest version, or point to the `master` branch.
21+
22+
23+
24+
## Description
1725

1826
Datatables is a nifty jquery plugin that adds the ability to paginate, sort, and search your html tables. When dealing with large tables (more than a couple hundred rows) however, we run into performance issues. These can be fixed by using server-side pagination, but this breaks some datatables functionality.
1927

0 commit comments

Comments
 (0)