<commit_before># jumper

A small, modern, dependency-free smooth scrolling library.

## Usage

Create an instance:

```javascript
var jumper = new Jumper();
```

Use the `jump` method:

```javascript
jumper.jump(target, duration, offset);
```

### target

Relative to the document:

```javascript
// scroll the page to 500px from the top
jumper.jump(500, duration, offset);
```

Relative to an element:

```javascript
// scroll the page to the top of .element
jumper.jump(document.querySelector('.element'), duration, offset);
```

## Roadmap

- [ ] Add `container` option
- [ ] Add `callback` option
- [ ] Add option to scroll at `px/s` instead of a fixed duration
- [ ] Add `duration` and `offset` instance defaults

- [ ] Change easing to easeInOutQuad? Easing option?
- [ ] Improve code commenting<commit_msg>fix roadmap<commit_after># jumper

A small, modern, dependency-free smooth scrolling library.

## Usage

Create an instance:

```javascript
var jumper = new Jumper();
```

Use the `jump` method:

```javascript
jumper.jump(target, duration, offset);
```

### target

Relative to the document:

```javascript
// scroll the page to 500px from the top
jumper.jump(500, duration, offset);
```

Relative to an element:

```javascript
// scroll the page to the top of .element
jumper.jump(document.querySelector('.element'), duration, offset);
```

## Roadmap

- [ ] Add `container` option
- [ ] Add `callback` option
- [ ] Add option to scroll at `px/s` instead of a fixed duration
- [ ] Add `duration` and `offset` instance defaults
- [ ] Change easing to easeInOutQuad? Easing option?
- [ ] Improve code commenting
{'fraction_non_alphanumeric': 0.13431916204559458, 'fraction_numerical': 0.0073937153419593345, 'mean_word_length': 4.324590163934427, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3326039', 'n_tokens_mistral': 524, 'n_tokens_neox': 483, 'n_words': 184}