Skip to content

Commit

Permalink
Release 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Sajnóg committed Aug 31, 2016
1 parent 67db35c commit dd79c6a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [2.1.0]
- Attach event listener to window instead of document for event `load`

## [2.0.4]

### Fixed
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ From version `2.0.0` attributes `aos` are no longer supported, always use `data-
### Install AOS

- Using `bower`

```bash
bower install aos --save
```

- Using `npm`

```bash
npm install aos --save
```
Expand Down Expand Up @@ -211,6 +211,8 @@ If you don't want to initialize AOS on `DOMContentLoaded` event, you can pass yo
</script>
```

**Important note:** If you set `startEvent: 'load'` it will add event listener on `window` instead of `document`.


### 👻 Animations

Expand Down
2 changes: 1 addition & 1 deletion dist/aos.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/aos.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aos",
"version": "2.0.4",
"version": "2.1.0",
"description": "Animate on scroll library",
"homepage": "http://michalsnik.github.io/aos/",
"author": "Michał Sajnóg <[email protected]>",
Expand Down

0 comments on commit dd79c6a

Please sign in to comment.