<commit_before>infinite-scroll
===============

High performance infinite scrolling for AngularJS.

## Features

- High performance: doesn't slow the user's scrolling
- Tiny
- Configurable
- Supports any number of infinite scroll views on one page

## Why?

Because [ngInfiniteScroll](https://github.com/BinaryMuse/ngInfiniteScroll) listens to the `onScroll` event, bogging down page performance, and is unnecessarily complex.

## Installation

```bash
npm install --save git://stash.turn.com:7999/cnsl/infinite-scroll.git
```

## Usage

*template.html*
```html
	...
	<div ng-infinite-scroll="callbackFn"></div>
	...
```

*module.js*
```js
var infiniteScroll = require('infinite-scroll');

angular
.module('myModule', [])
.directive('infiniteScroll', infiniteScroll)
...
```

*controller.js*
```js
function Controller ($scope) {
   $scope.callbackFn = function() { ... };
   ...
}
```

## Configuration

*template.html*
```html
	...<commit_msg>readme formatting<commit_after>infinite-scroll
===============

High performance infinite scrolling for AngularJS.

## Features

- High performance: doesn't slow the user's scrolling
- Tiny
- Configurable
- Supports any number of infinite scroll views on one page

## Why?

Because [ngInfiniteScroll](https://github.com/BinaryMuse/ngInfiniteScroll) listens to the `onScroll` event, bogging down page performance, and is unnecessarily complex.

## Installation

```bash
npm install --save git://stash.turn.com:7999/cnsl/infinite-scroll.git
```

## Usage

*template.html*

```html
	...
	<div ng-infinite-scroll="callbackFn"></div>
	...
```

*module.js*

```js
var infiniteScroll = require('infinite-scroll');

angular
.module('myModule', [])
.directive('infiniteScroll', infiniteScroll)
...
```

*controller.js*

```js
function Controller ($scope) {
   $scope.callbackFn = function() { ... };
   ...
}
```

## Configuration

*template.html*

```html
	...
{'fraction_non_alphanumeric': 0.1751054852320675, 'fraction_numerical': 0.004219409282700422, 'mean_word_length': 4.358757062146893, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1282880', 'n_tokens_mistral': 634, 'n_tokens_neox': 588, 'n_words': 147}