<commit_before># Backbone.Paginator

Backbone.Paginator is a set of opinionated components for paginating collections of data using Backbone.js. It aims to provide both solutions for assisting with pagination of requests to a server (e.g an API) as well as pagination of single-loads of data, where we may wish to further paginate a collection of N results into M pages within a view.

## Downloads And Source Code

You can either download the raw source code for the project, fork the repository or use one of these links:

* Production: [production version][min] 3.3K file size (1.1K gzipped)
* Development: [development version][max] 7.01K file size (2.28K gzipped)

[min]: https://raw.github.com/addyosmani/backbone.baginator/master/dist/backbone.paginator.min.js
[max]: https://raw.github.com/addyosmani/backbone.baginator/master/dist/backbone.paginator.js


## Paginator's pieces

Backbone.Paginator supports two main pagination components:

* **Backbone.Paginator.requestPager**: For pagination of requests between a client and a server-side API
* **Backbone.Paginator.clientPager**: For pagination of data returned from a server which you would like to further paginate within the UI (e.g 60 results are returned, paginate into 3 pages of 20)


## Live Examples

Live previews of both pagination components using the Netflix API can be found below. Fork the repository to experiment with these examples further.<commit_msg>adding link to latest tarball<commit_after># Backbone.Paginator

Backbone.Paginator is a set of opinionated components for paginating collections of data using Backbone.js. It aims to provide both solutions for assisting with pagination of requests to a server (e.g an API) as well as pagination of single-loads of data, where we may wish to further paginate a collection of N results into M pages within a view.

## Downloads And Source Code

You can either download the raw source code for the project, fork the repository or use one of these links:

* Production: [production version][min] 3.3K file size (1.1K gzipped)
* Development: [development version][max] 7.01K file size (2.28K gzipped)
* Examples: [tarball](https://github.com/addyosmani/backbone.paginator/zipball/v0.15)

[min]: https://raw.github.com/addyosmani/backbone.baginator/master/dist/backbone.paginator.min.js
[max]: https://raw.github.com/addyosmani/backbone.baginator/master/dist/backbone.paginator.js


## Paginator's pieces

Backbone.Paginator supports two main pagination components:

* **Backbone.Paginator.requestPager**: For pagination of requests between a client and a server-side API
* **Backbone.Paginator.clientPager**: For pagination of data returned from a server which you would like to further paginate within the UI (e.g 60 results are returned, paginate into 3 pages of 20)


## Live Examples

Live previews of both pagination components using the Netflix API can be found below. Fork the repository to experiment with these examples further.
{'fraction_non_alphanumeric': 0.07354925775978408, 'fraction_numerical': 0.011133603238866396, 'mean_word_length': 4.918163672654691, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1388151', 'n_tokens_mistral': 835, 'n_tokens_neox': 815, 'n_words': 363}